Files
tekelanew_acs/acs/nladmin-ui/node_modules/.cache/vue-loader/4912bd21904a67781930e18da75362cf.json
2024-12-05 09:33:18 +08:00

1 line
2.6 KiB
JSON

{"remainingRequest":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\system\\notice\\NoticeIconReader.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\system\\notice\\NoticeIconReader.vue","mtime":1732871026791},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":1732872825017},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":1732872825835}],"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport crudNotice from './sysNotice'\r\nimport { NOTICE_SHOW_MESSAGE } from './VueBaseCode'\r\nexport default {\r\n dicts: ['deal_status', 'have_read_type', 'notice_type'],\r\n name: 'NoticeIconReader',\r\n data() {\r\n return {\r\n visible: false,\r\n confirmLoading: false,\r\n message: {\r\n have_read: false,\r\n notice_type: null,\r\n deal_status: null,\r\n notice_content: null,\r\n notice_id: '',\r\n create_time: '',\r\n notice_title: '',\r\n read_time: ''\r\n },\r\n bodyStyle: {\r\n padding: '0',\r\n maxHeight: (window.innerHeight * 0.6) + 'px',\r\n 'overflow-y': 'auto'\r\n },\r\n modelStyle: {\r\n width: '60%',\r\n style: { top: '10px' },\r\n fullScreen: false\r\n }\r\n }\r\n },\r\n mounted() {\r\n // 绑定查看站内信消息事件\r\n this.$bus.on(NOTICE_SHOW_MESSAGE, this.show)\r\n },\r\n destroyed() {\r\n this.$bus.off(NOTICE_SHOW_MESSAGE)\r\n },\r\n methods: {\r\n /**\r\n * 显示消息内容\r\n */\r\n show(row) {\r\n console.log('sss', row)\r\n this.visible = true\r\n this.confirmLoading = true\r\n this.message = row\r\n crudNotice.findById(row.notice_id).then(res => {\r\n this.message = res\r\n this.confirmLoading = false\r\n })\r\n },\r\n /**\r\n * 关闭\r\n */\r\n handleCancel() {\r\n this.visible = false\r\n }\r\n }\r\n}\r\n",null]}