1 line
5.6 KiB
JSON
1 line
5.6 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\notice-view.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\notice-view.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport mixinViewModule from '@/mixins/view-module'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/notice/user/page',\n createdIsNeed: false,\n activatedIsNeed: true,\n getDataListIsPage: true\n },\n dataForm: {\n id: ''\n }\n }\n },\n created () {\n this.dataForm.id = this.$route.params.id || 0\n this.getInfo()\n },\n methods: {\n // 获取信息\n getInfo () {\n this.$http.get(`/sys/notice/${this.dataForm.id}`).then(({ data: res }) => {\n if (res.code !== 0) {\n return this.$message.error(res.msg)\n }\n this.dataForm = {\n ...this.dataForm,\n ...res.data\n }\n }).catch(() => {})\n }\n }\n}\n",{"version":3,"sources":["notice-view.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"notice-view.vue","sourceRoot":"src/views/modules/sys","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div style=\"text-align: center;font-size: 28px\">{{dataForm.title}}</div>\n <el-divider></el-divider>\n <div v-html=\"dataForm.content\"></div>\n <div>\n <hr size=1 color=\"#ddd\" style=\"margin:30px 0 10px 0;\">\n <span><i class=\"el-icon-user-solid\" style=\"color: #e6444a\"></i> {{ $t('notice.senderName') }}:{{dataForm.senderName}}</span>\n <el-divider direction=\"vertical\"></el-divider>\n <span><i class=\"el-icon-time\" style=\"color: #e6444a\"></i> {{ $t('notice.senderDate') }}:{{dataForm.senderDate}}</span>\n <el-divider direction=\"vertical\" style=\"margin: 0px;padding:0px;\"></el-divider>\n <span><i class=\"el-icon-s-order\" style=\"color: #E6A23C\"></i> {{ $t('notice.type') }}:\n <template>\n {{ $getDictLabel(\"notice_type\", dataForm.type) }}\n </template>\n </span>\n <hr size=1 color=\"#ddd\" style=\"margin:10px 0 30px 0;\">\n </div>\n <el-table v-loading=\"dataListLoading\" :data=\"dataList\" border @selection-change=\"dataListSelectionChangeHandle\" style=\"width: 100%;\">\n <el-table-column prop=\"receiverName\" :label=\"$t('notice.receiverName')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"readStatus\" :label=\"$t('notice.readStatus')\" header-align=\"center\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-tag v-if=\"scope.row.readStatus === 0\" size=\"small\" type=\"danger\">{{ $t('notice.readStatus0') }}</el-tag>\n <el-tag v-else size=\"small\" type=\"success\">{{ $t('notice.readStatus1') }}</el-tag>\n </template>\n </el-table-column>\n <el-table-column prop=\"readDate\" :label=\"$t('notice.readDate')\" header-align=\"center\" align=\"center\"></el-table-column>\n </el-table>\n <el-pagination\n :current-page=\"page\"\n :page-sizes=\"[10, 20, 50, 100]\"\n :page-size=\"limit\"\n :total=\"total\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n @size-change=\"pageSizeChangeHandle\"\n @current-change=\"pageCurrentChangeHandle\">\n </el-pagination>\n <el-divider></el-divider>\n <div style=\"text-align: center;\"><el-button type=\"danger\" @click=\"closeCurrentTab()\">{{ $t('notice.close') }}</el-button></div>\n </el-card>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/notice/user/page',\n createdIsNeed: false,\n activatedIsNeed: true,\n getDataListIsPage: true\n },\n dataForm: {\n id: ''\n }\n }\n },\n created () {\n this.dataForm.id = this.$route.params.id || 0\n this.getInfo()\n },\n methods: {\n // 获取信息\n getInfo () {\n this.$http.get(`/sys/notice/${this.dataForm.id}`).then(({ data: res }) => {\n if (res.code !== 0) {\n return this.$message.error(res.msg)\n }\n this.dataForm = {\n ...this.dataForm,\n ...res.data\n }\n }).catch(() => {})\n }\n }\n}\n</script>\n"]}]} |