{"remainingRequest":"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\\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\nimport {\n\tTableMixin\n} 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\tname: 'relatedDevice',\n\tcomponents: {\n\t\trelatedDeviceDialog,\n\t\trelatedDeviceDetailsDialog,\n\t},\n\tmixins: [TableMixin],\n\tprops: {\n\t\tparameter: {\n\t\t\ttype: Object,\n\t\t\tdefault: function() {\n\t\t\t\treturn\n\t\t\t},\n\t\t},\n\t\tinquireType:{\n\t\t\ttype: Boolean,\n\t\t\tdefault:'',\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\turl: {\n\t\t\t\tdelete: '/device/relation/contract/',\n\t\t\t}, // 删除关联信息\n\t\t\ttableData: [],\n\t\t\tmultipleSelection: [],\n\t\t\tcontractObj: {}, //当前双击合同详情\n\t\t\tquerys: [{\n\t\t\t\tgroup: 'main',\n\t\t\t\toperation: 'EQUAL',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 'deviceId',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: this.parameter.id,\n\t\t\t}, ],\n\t\t}\n\t},\n\tcreated() {},\n\tmounted() {},\n\tmethods: {\n\t\thandleAdd() {\n\t\t\tthis.$refs.formModal.add(this.parameter)\n\t\t},\n\t\tloadData(page) {\n\t\t\tif (page) {\n\t\t\t\tthis.queryParam.pageBean.page = page\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\tthis.tableData = []\n\t\t\tthis.queryParam.querys = []\n\t\t\tif (this.querys[0].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[0])\n\t\t\t}\n\t\t\tequipmentManage.getDeviceList(this.queryParam, (res) => {\n\t\t\t\tthis.total = res.total\n\t\t\t\tthis.tableData = res.rows\n\t\t\t\tthis.$set(this.tableData)\n\t\t\t\tthis.loading = false\n\t\t\t})\n\t\t},\n\t\t//双击后弹框\n\t\thandleDbClick(val) {\n\t\t\tthis.$refs.formDetail.addDetail(val)\n\t\t},\n\t},\n}\n",null]}