{"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\\VideoContract.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\deviceManage\\components\\modle\\VideoContract.vue","mtime":1667545182442},{"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//\n//\n//\n//\n//\n\r\nimport { TableMixin } from '@/mixins/tableMixin'\r\nimport VideoFacilities from '@/api/device/VideoFacilities.js'\r\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\r\nimport relatedDeviceDialog from './relatedDeviceDialog'\r\nexport default {\r\n name: 'relatedDevice',\r\n components: {\r\n relatedDeviceDialog,\r\n },\r\n mixins: [TableMixin],\r\n props: {\r\n parameter: {\r\n type: Object,\r\n default: function () {\r\n return\r\n },\r\n },\r\n },\r\n data() {\r\n return {\r\n url: {\r\n delete: '/device/relation/contract/',\r\n }, // 删除关联信息\r\n tableData: [],\r\n multipleSelection: [],\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'deviceId',\r\n relation: 'AND',\r\n value: this.parameter.code,\r\n },\r\n ],\r\n }\r\n },\r\n created() { },\r\n mounted() { },\r\n methods: {\r\n handleAdd() {\r\n this.$refs.formModal.add(this.parameter)\r\n },\r\n loadData(page) {\r\n if (page) {\r\n this.queryParam.pageBean.page = page\r\n }\r\n this.loading = true\r\n this.tableData = []\r\n this.queryParam.querys = []\r\n if (this.querys[0].value) {\r\n this.queryParam.querys.push(this.querys[0])\r\n }\r\n VideoFacilities.getDeviceList(this.queryParam, (res) => {\r\n this.total = res.total\r\n this.tableData = res.rows\r\n this.$set(this.tableData)\r\n this.loading = false\r\n })\r\n },\r\n },\r\n}\r\n",null]}