c8155e74f39ebbf821d6b0bad4b6acd1.json 4.3 KB

1
  1. {"remainingRequest":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\HTC\\program\\善行少年\\security-enterprise-admin\\src\\views\\modules\\notice\\notice-user-view.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\src\\views\\modules\\notice\\notice-user-view.vue","mtime":1581948666000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["\r\nimport mixinViewModule from '@/mixins/view-module'\r\nexport default {\r\n mixins: [mixinViewModule],\r\n data () {\r\n return {\r\n mixinViewModuleOptions: {\r\n getDataListURL: '/sys/notice/user/page',\r\n createdIsNeed: false,\r\n activatedIsNeed: true,\r\n getDataListIsPage: true\r\n },\r\n dataForm: {\r\n id: ''\r\n }\r\n }\r\n },\r\n created () {\r\n this.dataForm.id = this.$route.params.id || 0\r\n this.getInfo()\r\n },\r\n methods: {\r\n // 获取信息\r\n getInfo () {\r\n this.$http.get(`/sys/notice/${this.dataForm.id}`).then(({ data: res }) => {\r\n if (res.code !== 0) {\r\n return this.$message.error(res.msg)\r\n }\r\n this.dataForm = {\r\n ...this.dataForm,\r\n ...res.data\r\n }\r\n }).catch(() => {})\r\n }\r\n }\r\n}\r\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/notice","sourcesContent":["<template>\r\n <el-card shadow=\"never\" class=\"aui-card--fill\">\r\n <div style=\"text-align: center;font-size: 28px\">{{dataForm.title}}</div>\r\n <el-divider></el-divider>\r\n <div v-html=\"dataForm.content\"></div>\r\n <div>\r\n <hr size=1 color=\"#ddd\" style=\"margin:30px 0 10px 0;\">\r\n <span><i class=\"el-icon-user-solid\" style=\"color: #e6444a\"></i> {{ $t('notice.senderName') }}:{{dataForm.senderName}}</span>\r\n <el-divider direction=\"vertical\"></el-divider>\r\n <span><i class=\"el-icon-time\" style=\"color: #e6444a\"></i> {{ $t('notice.senderDate') }}:{{dataForm.senderDate}}</span>\r\n <el-divider direction=\"vertical\" style=\"margin: 0px;padding:0px;\"></el-divider>\r\n <span><i class=\"el-icon-s-order\" style=\"color: #E6A23C\"></i> {{ $t('notice.type') }}:\r\n <template>\r\n {{ $getDictLabel(\"notice_type\", dataForm.type) }}\r\n </template>\r\n </span>\r\n <hr size=1 color=\"#ddd\" style=\"margin:10px 0 30px 0;\">\r\n </div>\r\n <div style=\"text-align: center;\"><el-button type=\"danger\" @click=\"closeCurrentTab()\">{{ $t('notice.close') }}</el-button></div>\r\n </el-card>\r\n</template>\r\n\r\n<script>\r\nimport mixinViewModule from '@/mixins/view-module'\r\nexport default {\r\n mixins: [mixinViewModule],\r\n data () {\r\n return {\r\n mixinViewModuleOptions: {\r\n getDataListURL: '/sys/notice/user/page',\r\n createdIsNeed: false,\r\n activatedIsNeed: true,\r\n getDataListIsPage: true\r\n },\r\n dataForm: {\r\n id: ''\r\n }\r\n }\r\n },\r\n created () {\r\n this.dataForm.id = this.$route.params.id || 0\r\n this.getInfo()\r\n },\r\n methods: {\r\n // 获取信息\r\n getInfo () {\r\n this.$http.get(`/sys/notice/${this.dataForm.id}`).then(({ data: res }) => {\r\n if (res.code !== 0) {\r\n return this.$message.error(res.msg)\r\n }\r\n this.dataForm = {\r\n ...this.dataForm,\r\n ...res.data\r\n }\r\n }).catch(() => {})\r\n }\r\n }\r\n}\r\n</script>\r\n"]}]}