forked from zhurui/management
1 line
6.3 KiB
JSON
1 line
6.3 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!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":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\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: function 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: function created() {\n this.dataForm.id = this.$route.params.id || 0;\n this.getInfo();\n },\n methods: {\n // 获取信息\n getInfo: function getInfo() {\n var _this = this;\n\n this.$http.get(\"/sys/notice/\".concat(this.dataForm.id)).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this.$message.error(res.msg);\n }\n\n _this.dataForm = _objectSpread({}, _this.dataForm, {}, res.data);\n }).catch(function () {});\n }\n }\n};",{"version":3,"sources":["notice-user-view.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,OAAA,eAAA,MAAA,sBAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,uBADA;AAEA,QAAA,aAAA,EAAA,KAFA;AAGA,QAAA,eAAA,EAAA,IAHA;AAIA,QAAA,iBAAA,EAAA;AAJA,OADA;AAOA,MAAA,QAAA,EAAA;AACA,QAAA,EAAA,EAAA;AADA;AAPA,KAAA;AAWA,GAdA;AAeA,EAAA,OAfA,qBAeA;AACA,SAAA,QAAA,CAAA,EAAA,GAAA,KAAA,MAAA,CAAA,MAAA,CAAA,EAAA,IAAA,CAAA;AACA,SAAA,OAAA;AACA,GAlBA;AAmBA,EAAA,OAAA,EAAA;AACA;AACA,IAAA,OAFA,qBAEA;AAAA;;AACA,WAAA,KAAA,CAAA,GAAA,uBAAA,KAAA,QAAA,CAAA,EAAA,GAAA,IAAA,CAAA,gBAAA;AAAA,YAAA,GAAA,QAAA,IAAA;;AACA,YAAA,GAAA,CAAA,IAAA,KAAA,CAAA,EAAA;AACA,iBAAA,KAAA,CAAA,QAAA,CAAA,KAAA,CAAA,GAAA,CAAA,GAAA,CAAA;AACA;;AACA,QAAA,KAAA,CAAA,QAAA,qBACA,KAAA,CAAA,QADA,MAEA,GAAA,CAAA,IAFA;AAIA,OARA,EAQA,KARA,CAQA,YAAA,CAAA,CARA;AASA;AAZA;AAnBA,CAAA","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 }) => {\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"],"sourceRoot":"src/views/modules/sys"}]} |