{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\applicationCenter\\MessageConfig\\MessageClassification.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\applicationCenter\\MessageConfig\\MessageClassification.vue","mtime":1675071992772},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\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//\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//\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//\n//\n//\n//\n//\n//\nimport flow from '@/api/flow.js';\nimport portal from '@/api/portal.js';\nexport default {\n components: {},\n data: function data() {\n return {\n title: '',\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n dialogVisible: false,\n data: [],\n formData: {\n name: '',\n code: '',\n sn: ''\n },\n isSubmit: false,\n direction: 'rtl',\n sequence: {},\n defaultSort: [{\n direction: 'ASC',\n property: 'sn'\n }],\n dataBaseOptions: {\n dataBaseId: '',\n tableName: 'portal_sys_msg_type',\n tableSchema: ''\n },\n originAPIOptions: {\n url: '/msg/messageType/v1/query',\n method: 'post',\n moduleRoot: 'portal'\n },\n exportQuery: {}\n };\n },\n // mounted() {\n // this.Num();\n // },\n methods: {\n rowClick: function rowClick(row, column, event) {\n this.$refs.htTable.$refs.htTable.toggleRowSelection(row);\n },\n handleOpen: function handleOpen(param, row) {\n this.title = param;\n\n if (row) {\n this.formData = row;\n }\n\n this.dialogVisible = true;\n },\n loadData: function loadData(param, cb) {\n var _this = this;\n\n if (!param) {\n this.pageBean.total = 0;\n param = {\n pageBean: ''\n };\n param.pageBean = this.pageBean;\n param.sorter = this.defaultSort;\n }\n\n this.exportQuery = param;\n flow.getMsgClassificationData(param).then(function (resp) {\n _this.data = resp.data.rows;\n _this.pageBean = {\n page: resp.data.page,\n pageSize: resp.data.pageSize,\n total: resp.data.total\n };\n }).finally(function () {\n return cb();\n });\n },\n handleClose: function handleClose() {\n this.dialogVisible = false;\n this.formData = {\n name: '',\n code: '',\n sn: ''\n };\n },\n saveUrl: function saveUrl() {\n return window.context.portal + '/msg/messageType/v1/save';\n },\n beforeSaveData: function beforeSaveData() {\n if (!this.formData || !this.formData.isDefault) {\n this.formData.isDefault = 0;\n }\n\n this.isSubmit = true;\n },\n afterSaveData: function afterSaveData() {\n this.dialogVisible = false;\n this.formData = {\n name: '',\n code: '' // sn: '',\n\n };\n this.loadData();\n },\n formDeleteUrl: function formDeleteUrl() {\n return \"\".concat(window.context.portal, \"/msg/messageType/v1/removes\");\n },\n // Num() {\n // setTimeout(() => {\n // this.num = Number(this.pageBean.total) + 1\n // console.log(this.num , 'num')\n // }, 1000)\n // },\n updateSequence: function updateSequence() {\n var _this2 = this;\n\n if (Object.keys(this.sequence).length) {\n this.$refs.htTable.loading = true;\n portal.MsgClassupdateSequence(this.sequence).then(function (res) {\n if (res.state) {\n _this2.$message({\n type: 'success',\n message: res.message\n });\n\n _this2.loadData();\n }\n\n _this2.$refs.htTable.loading = false;\n });\n } else {\n this.$message({\n type: 'warning',\n message: '保存号未修改'\n });\n }\n },\n handleChangeSequ: function handleChangeSequ(res) {\n this.sequence[res.row.id] = res.row.sn;\n console.log(this.sequence);\n }\n }\n};",null]}