{"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\\ProductDetails.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\deviceManage\\components\\ProductDetails.vue","mtime":1687336502346},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 dictUtils from '@/components/dict/DictSelectUtils.js'\nimport ProductPhysicalModel from './modle/ProductPhysicalModel.vue'\nimport AlarmConfiguration from './modle/AlarmConfiguration.vue'\nimport BasicInformationDialog from './modle/BasicInformationDialog.vue'\nimport productExtendDialog from '@/views/Device/deviceManage/components/productExtendDialog'\nimport productManage from '@/api/device/productManage.js'\nexport default {\n\tname: 'EquipmentDetails',\n\tcomponents: {\n\t\tProductPhysicalModel,\n\t\tBasicInformationDialog,\n\t\tproductExtendDialog,\n\t\tAlarmConfiguration\n\t},\n\tmixins: [TableMixin],\n\tdata() {\n\t\treturn {\n\t\t\tproductId: '',\n\t\t\tactiveName: 'first',\n\t\t\tparameter: {}, //接收参数\n\t\t\tsize: '',\n\t\t\tfullName: '',\n\t\t\tdeviceTypeList: [],\n\t\t\tctlTypeList: [],\n\t\t\tisIntellectList: [],\n\t\t\tdeviceTypeName: '',\n\t\t\tisIntellectName: '',\n\t\t\tpreviewUrl: window.context.portal + '/file/onlinePreviewController/v1/getFileById_' //图标预览\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.productId = this.$route.query.id\n\t\tthis.deviceTypeList = dictUtils.getDictItemsFromCache('sblx')\n\t\tthis.ctlTypeList = dictUtils.getDictItemsFromCache('kjlx') //\n\t\tthis.isIntellectList = dictUtils.getDictItemsFromCache('znfl') //智能分类\n\t\tthis.loadData()\n\t},\n\tmounted() {\n\t\t// this.parameter = this.$route.query\n\t},\n\tmethods: {\n\t\thandleClick(tab, event) {},\n\t\tgoBack() {\n\t\t\tthis.$router.go(-1)\n\t\t},\n\t\talterBasis() {\n\t\t\tthis.$refs.formModal.add()\n\t\t},\n\t\tloadData(page) {\n\t\t\tproductManage.productInfoDetail(this.productId).then(res => {\n\t\t\t\tthis.parameter = res\n\t\t\t\tthis.deviceTypeList.forEach(e => {\n\t\t\t\t\tif (e.value == this.parameter.deviceType) {\n\t\t\t\t\t\tthis.deviceTypeName = e.name\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\tthis.isIntellectList.forEach(s => {\n\t\t\t\t\tif (s.value == this.parameter.isIntellect) {\n\t\t\t\t\t\tthis.isIntellectName = s.name\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\tproductManage.productTypeDetail(this.parameter.typeId).then(res => {\n\t\t\t\t\tthis.fullName = res.name\n\t\t\t\t})\n\t\t\t})\n\t\t}\n\t}\n}\n",null]}