{"remainingRequest":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\reservoirManagement\\components\\hysStresRelation.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\reservoirManagement\\components\\hysStresRelation.vue","mtime":1684458239512},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-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\r\nimport videoManger from '@/api/stManager/czManager.js'\r\nimport req from '@/request.js'\r\nimport {TableMixin} from '@/mixins/tableMixin'\r\nexport default {\r\n name: 'videoManger',\r\n props: {\r\n StshowFormDias: {\r\n type: Boolean,\r\n default: false\r\n },\r\n relation: {\r\n type: String,\r\n default: ''\r\n },\r\n rowId: {\r\n type: String,\r\n default: ''\r\n }\r\n },\r\n components: {},\r\n mixins: [TableMixin],\r\n data() {\r\n return {\r\n relationList: {\r\n reCode: null,\r\n stationList: [],\r\n Relation: [],\r\n reType: null\r\n },\r\n value1: [],\r\n veideoF: [],\r\n values: '',\r\n loading: false,\r\n query: {\r\n zoneCode: null\r\n },\r\n multipleSelection: [], // 复选框\r\n multipleSelection1: [], // 复选框\r\n queryParam: {\r\n pageBean: {\r\n pageSize: 10,\r\n page: 1\r\n },\r\n params: {\r\n zoneCode: null\r\n }\r\n },\r\n total: 0,\r\n pId: '',\r\n tableData: [],\r\n tableData1: [],\r\n videoTree: [],\r\n defaultProps: {\r\n value: 'code',\r\n label: 'name'\r\n },\r\n data: [],\r\n params: {\r\n id: '',\r\n rscd: '',\r\n rsnm: '',\r\n query: ''\r\n },\r\n\t search:'',\r\n\t search1:'',\r\n\t \r\n }\r\n },\r\n created() {\r\n this.getRelation()\r\n this.getRelationList()\r\n this.relationList.reCode = this.relation\r\n },\r\n methods: {\r\n getRelationList() {\r\n this.relationList.reType = 4\r\n videoManger.getRelation(this.relationList, res => {\r\n\t\t this.tableData1 = res.value\r\n\t\t if(this.tableData1.length>0){\r\n\t\t\t this.$nextTick(() => {\r\n\t\t\t this.$refs.multipleTable.toggleAllSelection()\r\n\t\t\t })\r\n\t\t }\r\n\t\t \r\n // let arr = []\r\n // for (let i = 0; i < res.value.length; i++) {\r\n // arr.push(res.value[i].stcd)\r\n // }\r\n // this.relationList.Relation = arr\r\n })\r\n },\r\n getRelation() {\r\n videoManger.HyddetailRelation({}, res => {\r\n console.log(res, 'sssssssssss')\r\n this.loading = true\r\n this.tableData = res.value\r\n })\r\n },\r\n\r\n\thandleSelectionChange(val) {\r\n\t\tthis.multipleSelection = val\r\n\t\t// if(this.multipleSelection.length>0){\r\n\t\t// \tthis.rightDisabled=false\r\n\t\t// }\r\n\t},\r\n\thandleSelectionChange1(val) {\r\n\t\tthis.multipleSelection1 = val\r\n\t\t// if(this.multipleSelection1.length>0){\r\n\t\t// \tthis.leftDisabled=false\r\n\t\t// }\r\n\t},\r\n\trightChang() {\r\n\t\t// 点击选择按钮\r\n\t\tthis.tableData1 = this.tableData1.concat(this.multipleSelection)\r\n\t\tthis.tableData = this.tableData.filter(item => !this.tableData1.some(citem => citem.id == item.id))\r\n\t},\r\n\tleftChang(){\r\n\t\tthis.tableData=this.tableData.concat(this.multipleSelection1)\r\n\t\tthis.tableData1 = this.tableData1.filter(item => !this.tableData.some(citem => citem.id == item.id))\r\n\t},\r\n filterNode(value, data) {\r\n if (!value) return true\r\n return data.name.indexOf(value) !== -1\r\n },\r\n changeTable(val) {\r\n for (let index = 0; index < val.length; index++) {\r\n let parma = {}\r\n for(let i = 0;i {\r\n if (res.state) {\r\n this.$notify({\r\n type: 'success',\r\n message: '关联测站成功',\r\n duration: 2000\r\n })\r\n this.$emit('closeStshowForm')\r\n this.$emit('refList')\r\n }\r\n })\r\n // }\r\n },\r\n handleClose() {\r\n this.params = {\r\n name: null, //树点击查询条件\r\n zoneCode: null\r\n }\r\n this.$emit('closeStshowForm')\r\n }\r\n }\r\n}\r\n",null]}