{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\operationCheck\\CheckItem.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\operationCheck\\CheckItem.vue","mtime":1686706098943},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\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//\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 { TableMixin } from '@/mixins/tableMixin';\nimport operationCheck from '@/api/device/operationCheck.js';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport CheckItemDialog from '@/views/Device/operationCheck/components/CheckItemDialog.vue';\nexport default {\n name: 'CheckItem',\n components: {\n CheckItemDialog: CheckItemDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n url: {\n delete: '/device/appraiseBase/'\n },\n assessTypeList: [],\n //考核方式字段\n publishStatusList: [],\n //发布状态字段\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'assess_type_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'publish_status_',\n relation: 'AND',\n value: ''\n }]\n };\n },\n created: function created() {\n this.assessTypeList = dictUtils.getDictItemsFromCache('jxkh-khfs');\n this.publishStatusList = dictUtils.getDictItemsFromCache('fbzt');\n },\n mounted: function mounted() {},\n methods: {\n // 重置\n clearQuerys: function clearQuerys() {\n this.querys[0].value = '';\n this.querys[1].value = '';\n },\n toLogQuery: function toLogQuery(row) {\n var _this = this;\n\n console.log(row);\n var data = {\n id: row.id,\n publishStatus: '2'\n };\n operationCheck.updatePublish(data, function (res) {\n if (res.state) {\n _this.$notify({\n message: '结束成功',\n type: 'success',\n duration: 2000\n });\n\n _this.loadData(1);\n }\n });\n },\n // 获取list\n loadData: function loadData(page) {\n var _this2 = this;\n\n if (page) {\n this.queryParam.pageBean.page = page;\n }\n\n this.loading = true;\n this.tableData = [];\n this.queryParam.querys = [];\n\n if (this.querys[0].value) {\n this.queryParam.querys.push(this.querys[0]);\n }\n\n if (this.querys[1].value) {\n this.queryParam.querys.push(this.querys[1]);\n }\n\n operationCheck.loadAppraiseItems(this.queryParam, function (res) {\n _this2.total = res.total;\n _this2.tableData = res.rows;\n\n _this2.$set(_this2.tableData);\n\n _this2.loading = false;\n });\n },\n handleRelease: function handleRelease(row) {\n var _this3 = this;\n\n var data = {\n id: row.id,\n publishStatus: '1'\n };\n operationCheck.updatePublish(data, function (res) {\n if (res.state) {\n _this3.$notify({\n message: '发布成功',\n type: 'success',\n duration: 2000\n });\n\n _this3.loadData(1);\n }\n });\n }\n }\n};",null]}