{"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\\Mobile\\Manage\\MobileTrainingPlanDetail.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Mobile\\Manage\\MobileTrainingPlanDetail.vue","mtime":1687831404002},{"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/web.dom.iterable\";\nimport _defineProperty from \"D:/jenkins/workspace/bzzgj-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 SecurityFileApi from '@/views/Manage/saftyDanger/api/SecurityFileApi';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport navBar from \"../components/navBar.vue\";\nimport { mapState } from 'vuex';\nexport default {\n name: 'DeviceDetail',\n components: {\n navBar: navBar\n },\n data: function data() {\n var _ref;\n\n return _ref = {\n previewUrl: window.context.portal + '/file/onlinePreviewController/v1/getFileById_',\n //图标预览\n queryParam: {\n pageBean: ''\n },\n querys: [{\n group: 'main',\n operation: 'BETWEEN',\n parentGroup: '',\n property: 'checkDate',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'unitId',\n relation: 'AND',\n value: ''\n }],\n tableData: [],\n showPicker: false,\n value: '',\n showCalendar: false\n }, _defineProperty(_ref, \"showPicker\", false), _defineProperty(_ref, \"title\", '隐患内容'), _defineProperty(_ref, \"columns\", ['九小场所', '重点单位']), _defineProperty(_ref, \"deviceData\", {}), _defineProperty(_ref, \"paramsValueList\", []), _defineProperty(_ref, \"extendParams\", []), _defineProperty(_ref, \"loading\", false), _ref;\n },\n computed: mapState({\n header: function header(state) {\n return {\n Authorization: \"Bearer \".concat(state.login.currentUser.token)\n };\n }\n }),\n mounted: function mounted() {\n this.deviceStatus = dictUtils.getDictItemsFromCache('sbzt');\n this.deviceAzlc = dictUtils.getDictItemsFromCache('azlc');\n this.deviceAzddlx = dictUtils.getDictItemsFromCache('azddlx');\n this.device = this.$route.query.id;\n this.Update(this.device);\n },\n methods: {\n onSubmit: function onSubmit(values) {\n console.log('submit', values);\n },\n onClickLeft: function onClickLeft() {\n this.$router.push({\n name: 'MobileTrainingPlan'\n });\n },\n // 获取list\n loadData: function loadData() {\n var _this = this;\n\n this.loading = true;\n this.tableData = [];\n this.queryParam.pageBean = {\n pageSize: -1,\n page: -1\n };\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 SecurityFileApi.cmgtSaftyDangerCheckplanPlan(this.queryParam, function (res) {\n console.log(res);\n res.detail.map(function (item) {\n var key = 'fileList';\n item[key] = [];\n var key1 = 'fileList1';\n item[key1] = [];\n\n if (item.imgUrlArray) {\n item.imgUrlArray.forEach(function (items) {\n item[key].push({\n url: _this.previewUrl + items,\n isImage: true\n });\n });\n }\n\n if (item.reformImgUrlArray) {\n item.reformImgUrlArray.forEach(function (items) {\n item[key1].push({\n url: _this.previewUrl + items,\n isImage: true\n });\n });\n }\n });\n _this.tableData = res.rows;\n console.log(_this.tableData);\n _this.loading = false;\n });\n },\n Update: function Update(id) {\n this.readType = false;\n this.title = '隐患历史记录'; // this.fromType = type\n\n this.showFormDia = true;\n this.querys[1].value = id;\n this.loadData(); // CmgtSaftyDangerCheckrecordApi.getItemById(id, res => {\n // console.log(res)\n // this.params.id = res.id\n // this.params.unitId = res.unitId\n // res.detail.map(item => {\n // if (item.imgUrlArray) {\n // item.imgUrlArray.forEach(items => {\n // let key = 'fileList'\n // item[key] = [\n // {\n // url: this.previewUrl + items,\n // isImage: true\n // }\n // ]\n // })\n // }\n // if (item.reformImgUrlArray) {\n // item.reformImgUrlArray.forEach(items => {\n // let key1 = 'fileList1'\n // item[key1] = [\n // {\n // url: this.previewUrl + items,\n // isImage: true\n // }\n // ]\n // })\n // }\n // })\n // this.params.detail = res.detail\n // console.log(this.params.detail)\n // })\n }\n }\n};",null]}