forked from zhurui/management
1 line
4.2 KiB
JSON
1 line
4.2 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-user-view.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\notice-user-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\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-user-view.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAuBA;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-user-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 <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 }) => {\
|