{"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\\CmgtSaftyDangerCheckrecordManage.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\saftyDanger\\CmgtSaftyDangerCheckrecordManage.vue","mtime":1689316540093},{"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//\nimport { TableMixin } from '@/mixins/tableMixin';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport dictContracts from '@/components/dict/DictSelectUtils.js';\nimport CmgtSaftyDangerCheckrecordApi from '@/views/Manage/saftyDanger/api/CmgtSaftyDangerCheckrecordApi';\nimport CmgtSaftyDangerCheckrecordFormDialog from '@/views/Manage/saftyDanger/components/CmgtSaftyDangerCheckrecordFormDialog';\nimport CmgtSaftyDangerCheckplanApi from '@/views/Manage/saftyDanger/api/CmgtSaftyDangerCheckplanApi';\nimport nineLittlePlaceApi from '@/views/Manage/saftyDanger/api/nineLittlePlaceApi';\nimport programApi from '@/views/Manage/saftyDanger/api/programApi';\nexport default {\n name: 'CmgtSaftyDangerCheckrecordManage',\n components: {\n CmgtSaftyDangerCheckrecordFormDialog: CmgtSaftyDangerCheckrecordFormDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n unitData: [],\n programmeData: [],\n url: {\n delete: '/manager/cmgtSaftyDangerCheckrecord/delete'\n },\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'unit_id_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'unit_type_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'status',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'checkschemeId',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'BETWEEN',\n parentGroup: '',\n property: 'checkDate',\n relation: 'AND',\n value: ''\n }],\n StshowFormDias: false,\n units: [],\n types: [],\n sorter: [{\n direction: 'DESC',\n property: 'checkYearMonth'\n }],\n isShow: false\n };\n },\n created: function created() {\n this.aqyhlxList = dictContracts.getDictItemsFromCache('cmgt_aqyhlx');\n this.dwlxList = dictContracts.getDictItemsFromCache('zhgl-dwlx');\n this.yhztList = dictContracts.getDictItemsFromCache('aqjczt');\n this.getUnit();\n this.getprogramme();\n },\n mounted: function mounted() {},\n methods: {\n // 获取方案列表\n getprogramme: function getprogramme() {\n var _this = this;\n\n programApi.loadCmgtSaftyDangerUnit({\n pageBean: {\n pageSize: -1,\n page: 1\n },\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'pubState',\n relation: 'AND',\n value: 2\n }]\n }, function (res) {\n _this.programmeData = res.rows;\n });\n },\n //获取单位\n getUnit: function getUnit() {\n var _this2 = this;\n\n nineLittlePlaceApi.loadCmgtSaftyDangerUnit({\n pageBean: {\n pageSize: -1,\n page: 1\n }\n }, function (res) {\n // this.total = res.total\n _this2.unitData = res.rows;\n });\n },\n // 重置\n clearQuerys: function clearQuerys() {\n this.querys[0].value = '';\n this.querys[1].value = '';\n this.querys[2].value = '';\n this.querys[3].value = '';\n this.querys[4].value = '';\n },\n // 获取list\n loadData: function loadData(page) {\n var _this3 = 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 }\n\n if (this.querys[3].value) {\n this.queryParam.querys.push(this.querys[3]);\n }\n\n if (this.querys[4].value) {\n this.queryParam.querys.push(this.querys[4]);\n }\n\n CmgtSaftyDangerCheckrecordApi.loadCmgtSaftyDangerCheckrecord(this.queryParam, function (res) {\n _this3.total = res.total;\n _this3.tableData = res.rows;\n\n _this3.tableData.forEach(function (item) {\n _this3.dwlxList.forEach(function (val) {\n if (item.unitType == val.value) {\n item['unitTypeName'] = val.name;\n }\n });\n\n _this3.aqyhlxList.forEach(function (val) {\n if (item.dangerType == val.value) {\n item['dangerTypeName'] = val.name;\n }\n });\n\n _this3.yhztList.forEach(function (val) {\n if (item.status == val.value) {\n item['statusName'] = val.name;\n }\n });\n });\n\n _this3.$set(_this3.tableData);\n\n _this3.loading = false;\n });\n },\n handleAdd: function handleAdd() {\n // 增加\n this.$refs.formModal.add();\n },\n handleFc: function handleFc() {\n var _this4 = this;\n\n // 复查按钮\n if (this.multipleSelection.length != 1) {\n this.$message({\n message: '请选择一条需要修改的数据!',\n type: 'warning'\n });\n } else {\n var row = null;\n this.tableData.forEach(function (item) {\n if (item.id == _this4.multipleSelection[0]) {\n row = item;\n }\n });\n\n if (row.result === '1') {\n this.$refs.formModal.Update(row, 2);\n } else {\n this.$message({\n message: '该排查记录不存在隐患无需填写复查信息!',\n type: 'warning'\n });\n }\n }\n },\n // 安全检查\n securityCheck: function securityCheck(row) {\n this.$refs.formModal.Update(row, 1, 0);\n },\n // 修改\n handleUpdate: function handleUpdate(row, column, cell, event) {\n this.$refs.formModal.Update(row, 1, 0);\n },\n closeStshowForm: function closeStshowForm() {\n this.StshowFormDias = false;\n },\n formatUnitName: function formatUnitName(row, column, cellValue, index) {\n var obj = this.units.find(function (item) {\n if (item.id === row.recipient) {\n //\n return item;\n }\n });\n\n if (obj !== undefined) {\n return obj.unitName;\n } else {\n return '';\n }\n },\n handleCilck: function handleCilck(row) {}\n }\n};",null]}