{"remainingRequest":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\frontScreens\\components\\stationsDetails.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\frontScreens\\components\\stationsDetails.vue","mtime":1684458238824},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\nimport digitalReservoir from '@/api/frontScreen/digitalReservoir.js'\nexport default {\n\tname: 'stationsDetails',\n\tdata() {\n\t\treturn {\n\t\t\t// 字典中的站列表\n\t\t\tdata: [],\n\t\t\t// 视频列表\n\t\t\t// videoData: [],\n\t\t\t// WYData: [],\n\t\t\t// CYData: [],\n\t\t\tCYShow: false,\n\t\t\tWYShow: false,\n\t\t\tvisible: false,\n\t\t\tdataShow: false,\n\t\t\tvideoShow: false,\n\t\t\ttitle: '',\n\t\t\tmultipleSelection: [],\n\t\t\tparams: {\n\t\t\t\tappTypeList: [],\n\t\t\t\tsttpList: [],\n\t\t\t\tusfl: ''\n\t\t\t},\n\t\t\tstationApps: [], //测站应用分类\n\t\t\tstationClass: [], //统计测站类别\n\t\t\tqueryData: {\n\t\t\t\tpageBean: {\n\t\t\t\t\tpageSize: 20,\n\t\t\t\t\tpage: 1\n\t\t\t\t},\n\t\t\t\tparams: {\n\t\t\t\t\tusfl: ''\n\t\t\t\t}\n\t\t\t},\n\t\t\tvidoeParams: {\n\t\t\t\tgroupRelation: \"AND\",\n\t\t\t\tgroupTree: {},\n\t\t\t\tpageBean: {\n\t\t\t\t\tpage: 1,\n\t\t\t\t\tpageSize: -1,\n\t\t\t\t\tshowTotal: true\n\t\t\t\t},\n\t\t\t\tparams: {\n\t\t\t\t\tstatus: \"\",\n\t\t\t\t\tappType: ''\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.stationApps = dictUtils.getDictItemsFromCache('czyyfl') //测站应用分类\n\t\tthis.stationClass = dictUtils.getDictItemsFromCache('czzl') //统计-测站类别\n\t\tconsole.log(this.stationClass);\n\t},\n\tmethods: {\n\t\topen(title, data) {\n\t\t\tconsole.log(data)\n\t\t\tthis.title = `${title}详情`\n\t\t\tthis.visible = true\n\t\t\t// 单独的视频站\n\t\t\tif (data.stationType == '视频站') {\n\t\t\t\t// if (data.seriesName == '正常') {\n\t\t\t\t// this.vidoeParams.params.status = '1'\n\t\t\t\t// } else {\n\t\t\t\t// this.vidoeParams.params.status = '0'\n\t\t\t\t// }\n\t\t\t\tthis.stationApps.forEach(ea => {\n\t\t\t\t\tif (data.type == ea.name) {\n\t\t\t\t\t\tthis.vidoeParams.params.appType = ea.value\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t// console.log(vidoeParams)\n\t\t\t\tthis.videoList(this.vidoeParams)\n\t\t\t}\n\t\t\t// 水库中的位移/测压\n\t\t\tif (data.type == '水库') {\n\t\t\t\t// if (data.seriesName == \"正常\") {\n\t\t\t\t// this.queryData.params.usfl = '1'\n\t\t\t\t// } else {\n\t\t\t\t// this.queryData.params.usfl = '0'\n\t\t\t\t// }\n\t\t\t\tconsole.log(this.queryData)\n\t\t\t\tif (data.stationType == '位移点') {\n\t\t\t\t\tthis.displacementList(this.queryData)\n\t\t\t\t}\n\t\t\t\tif (data.stationType == '测压管') {\n\t\t\t\t\tthis.OsmosisList({\n\t\t\t\t\t\tpageBean: {\n\t\t\t\t\t\t\tpageSize: -1,\n\t\t\t\t\t\t\tpage: 1\n\t\t\t\t\t\t},\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tusfl: \"\"\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t\t// 字典中的站\n\t\t\tif (\n\t\t\t\tdata.stationType == '雨量站' ||\n\t\t\t\tdata.stationType == '河道水文站' ||\n\t\t\t\tdata.stationType == '河道水位站' ||\n\t\t\t\tdata.stationType == '水库水位站' ||\n\t\t\t\tdata.stationType == '生态流量站'\n\t\t\t) {\n\t\t\t\t// if (data.seriesName == '正常') {\n\t\t\t\t// this.params.usfl = '1'\n\t\t\t\t// } else {\n\t\t\t\t// this.params.usfl = '0'\n\t\t\t\t// }\n\t\t\t\tthis.stationApps.forEach(ea => {\n\t\t\t\t\tif (data.type == ea.name) {\n\t\t\t\t\t\tthis.params.appTypeList.push(ea.value)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t\n\t\t\t\tthis.stationClass.forEach(ec => {\n\t\t\t\t\tif (data.stationType == ec.name) {\n\t\t\t\t\t\tthis.params.sttpList.push(ec.value)\n\t\t\t\t\t}\n\t\t\t\t\tif (data.stationType == '水库水位站' && ec.name == \"水库水位站\") {\n\t\t\t\t\t\tthis.params.sttpList.push(ec.value)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\tthis.getList()\n\t\t\t}\n\n\n\t\t\t// console.log(this.params);\n\t\t},\n\t\t// 位移\n\t\tdisplacementList(item) {\n\t\t\tdigitalReservoir.findDisplacementList(item, res => {\n\t\t\t\tif (res.state) {\n\t\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\t\tthis.data = res.value.rows\n\t\t\t\t\t\tthis.WYShow = true\n\t\t\t\t\t\tthis.videoShow = false\n\t\t\t\t\t\tthis.dataShow = false\n\t\t\t\t\t\tthis.CYShow = false\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\t// 渗压\n\t\tOsmosisList(item) {\n\t\t\tdigitalReservoir.findOsmosisList(item, res => {\n\t\t\t\tif (res.state) {\n\t\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\t\tthis.data = res.value.rows\n\t\t\t\t\t\tthis.CYShow = true\n\t\t\t\t\t\tthis.videoShow = false\n\t\t\t\t\t\tthis.dataShow = false\n\t\t\t\t\t\tthis.WYShow = false\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\t// 视频\n\t\tvideoList(item) {\n\t\t\tdigitalReservoir.findVideoList(item, res => {\n\t\t\t\tif (res.state) {\n\t\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\t\tthis.data = res.value.rows\n\t\t\t\t\t\tthis.videoShow = true\n\t\t\t\t\t\tthis.dataShow = false\n\t\t\t\t\t\tthis.WYShow = false\n\t\t\t\t\t\tthis.CYShow = false\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\t// 字典查询的类型\n\t\tgetList() {\n\t\t\tdigitalReservoir.findStList(this.params, res => {\n\t\t\t\tif (res.state) {\n\t\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\t\tthis.data = res.value\n\t\t\t\t\t\tthis.dataShow = true\n\t\t\t\t\t\tthis.videoShow = false\n\t\t\t\t\t\tthis.WYShow = false\n\t\t\t\t\t\tthis.CYShow = false\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\tthis.params = {\n\t\t\t\t\tappTypeList: [],\n\t\t\t\t\tsttpList: [],\n\t\t\t\t\tusfl: ''\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\n\t\thandleSelectionChange(val) {\n\t\t\tthis.multipleSelection = this.multipleSelection = val.map(item => {\n\t\t\t\treturn item.id\n\t\t\t})\n\t\t},\n\t\tclose() {\n\t\t\tthis.visible = false\n\t\t\tthis.videoShow = false\n\t\t\tthis.dataShow = false\n\t\t\tthis.WYShow = false\n\t\t\tthis.CYShow = false\n\t\t\tthis.params = {\n\t\t\t\tappTypeList: [],\n\t\t\t\tsttpList: [],\n\t\t\t\tusfl: ''\n\t\t\t}\n\t\t}\n\t}\n}\n",null]}