{"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\\Manage\\saftyDanger\\program.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\saftyDanger\\program.vue","mtime":1686910374783},{"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":["import \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\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//\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 dictUtils from '@/components/dict/DictSelectUtils.js';\nimport dictContracts from '@/components/dict/DictSelectUtils.js';\nimport programApi from '@/views/Manage/saftyDanger/api/programApi';\nimport programDialog from '@/views/Manage/saftyDanger/components/programDialog';\nexport default {\n name: 'nineLittlePlace',\n components: {\n programDialog: programDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n url: {\n delete: '/manager/cmgtSaftyDangerCheckscheme/delete'\n },\n querys: [{\n group: 'main',\n operation: 'BETWEEN',\n parentGroup: '',\n property: 'checkYearMonth',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'check_type_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'pub_state_',\n relation: 'AND',\n value: ''\n } // {\n // group: 'main',\n // operation: 'EQUAL',\n // parentGroup: '',\n // property: 'status_',\n // relation: 'AND',\n // value: ''\n // }\n ],\n StshowFormDias: false,\n types: [],\n sorter: [{\n direction: 'DESC',\n property: 'checkYearMonth'\n }] // levels:[]\n\n };\n },\n created: function created() {\n this.dwlxList = dictContracts.getDictItemsFromCache('zhgl-dwlx');\n this.pclbList = dictContracts.getDictItemsFromCache('pclb');\n this.pcztList = dictContracts.getDictItemsFromCache('pczt');\n this.fazxztList = dictContracts.getDictItemsFromCache('fazxzt');\n this.faztList = dictContracts.getDictItemsFromCache('fazt');\n },\n mounted: function mounted() {},\n methods: {\n // 重置\n clearQuerys: function clearQuerys() {\n this.querys[0].value = '';\n this.querys[1].value = '';\n this.querys[2].value = ''; // this.querys[3].value = ''\n },\n // 获取list\n loadData: function loadData(page) {\n var _this = 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 this.queryParam.sorter = this.sorter;\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 if (this.querys[2].value) {\n this.queryParam.querys.push(this.querys[2]);\n } // if (this.querys[3].value) {\n // this.queryParam.querys.push(this.querys[3])\n // }\n\n\n programApi.loadCmgtSaftyDangerUnit(this.queryParam, function (res) {\n _this.total = res.total;\n _this.tableData = res.rows;\n\n _this.tableData.forEach(function (item) {\n _this.pclbList.forEach(function (val) {\n if (item.checkType == val.value) {\n item['checkTypeName'] = val.name;\n }\n }); // \titem['emphasisTypeName'] = ''\n // \tthis.zddwflList.forEach((val) => {\n // \t\tconsole.log(item.emphasisType);\n // \t\tif (item.emphasisType) {\n // \t\t\titem.emphasisType.split(',').forEach((e, ei) => {\n // \t\t\t\tif (e == val.value) {\n // \t\t\t\t\tif (ei + 1 < item.emphasisType.split(',').length) {\n // \t\t\t\t\t\titem['emphasisTypeName'] += val.name + ','\n // \t\t\t\t\t} else {\n // \t\t\t\t\t\titem['emphasisTypeName'] += val.name\n // \t\t\t\t\t}\n // \t\t\t\t}\n // \t\t\t})\n // \t\t}\n // \t})\n\n\n _this.faztList.forEach(function (val) {\n if (item.pubState == val.value) {\n item['pubStateName'] = val.name;\n }\n });\n\n _this.fazxztList.forEach(function (val) {\n if (item.status == val.value) {\n item['statusName'] = val.name;\n }\n });\n });\n\n _this.$set(_this.tableData);\n\n _this.loading = false;\n });\n },\n // 修改\n handleUpdate: function handleUpdate(row) {\n console.log(row.id);\n this.$refs.formModal.Update(row);\n },\n closeStshowForm: function closeStshowForm() {\n this.StshowFormDias = false;\n },\n handleRelease: function handleRelease(val) {\n var _this2 = this;\n\n val.pubState = 2;\n programApi.publishCmgtSaftyDangerUnit(val.id, function (res) {\n if (res.state) {\n _this2.$notify({\n type: 'success',\n message: '发布成功',\n duration: 2000\n }); // this.$emit('loadData')\n\n\n _this2.loadData();\n } else {\n _this2.$message.warning(res.message);\n }\n });\n },\n // formartLevelName(row, column, cellValue, index){\n // \tvar obj = this.levels.find(function(item) {\n // \t\tif (item.value === row.level) { //\n // \t\t\treturn item\n // \t\t}\n // \t})\n // \tif (obj !== undefined) {\n // \t\treturn obj.name;\n // \t} else {\n // \t\treturn \"\";\n // \t}\n // },\n formartTyepName: function formartTyepName(row, column, cellValue, index) {\n var obj = this.types.find(function (item) {\n if (item.value === row.type) {\n //\n return item;\n }\n });\n\n if (obj !== undefined) {\n return obj.name;\n } else {\n return '';\n }\n }\n }\n};",null]}