{"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\\deviceManage\\components\\modle\\relatedDevice.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\deviceManage\\components\\modle\\relatedDevice.vue","mtime":1686910374768},{"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//\nimport { TableMixin } from '@/mixins/tableMixin';\nimport equipmentManage from '@/api/device/equipmentManage.js';\nimport contractManage from '@/api/device/contractManage.js';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport relatedDeviceDialog from \"./relatedDeviceDialog\";\nimport relatedDeviceDetailsDialog from \"./relatedDeviceDetailsDialog\";\nexport default {\n name: 'relatedDevice',\n components: {\n relatedDeviceDialog: relatedDeviceDialog,\n relatedDeviceDetailsDialog: relatedDeviceDetailsDialog\n },\n mixins: [TableMixin],\n props: {\n parameter: {\n type: Object,\n default: function _default() {\n return;\n }\n },\n inquireType: {\n type: Boolean,\n default: ''\n }\n },\n data: function data() {\n return {\n url: {\n delete: '/device/relation/contract/'\n },\n // 删除关联信息\n tableData: [],\n multipleSelection: [],\n contractObj: {},\n //当前双击合同详情\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'deviceId',\n relation: 'AND',\n value: this.parameter.id\n }]\n };\n },\n created: function created() {},\n mounted: function mounted() {},\n methods: {\n handleAdd: function handleAdd() {\n this.$refs.formModal.add(this.parameter);\n },\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\n if (this.querys[0].value) {\n this.queryParam.querys.push(this.querys[0]);\n }\n\n equipmentManage.getDeviceList(this.queryParam, function (res) {\n _this.total = res.total;\n _this.tableData = res.rows;\n\n _this.$set(_this.tableData);\n\n _this.loading = false;\n });\n },\n //双击后弹框\n handleDbClick: function handleDbClick(val) {\n this.$refs.formDetail.addDetail(val);\n }\n }\n};",null]}