{"remainingRequest":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!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\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"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":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\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 name: 'stationsDetails',\n data: function data() {\n return {\n // 字典中的站列表\n data: [],\n // 视频列表\n // videoData: [],\n // WYData: [],\n // CYData: [],\n CYShow: false,\n WYShow: false,\n visible: false,\n dataShow: false,\n videoShow: false,\n title: '',\n multipleSelection: [],\n params: {\n appTypeList: [],\n sttpList: [],\n usfl: ''\n },\n stationApps: [],\n //测站应用分类\n stationClass: [],\n //统计测站类别\n queryData: {\n pageBean: {\n pageSize: 20,\n page: 1\n },\n params: {\n usfl: ''\n }\n },\n vidoeParams: {\n groupRelation: \"AND\",\n groupTree: {},\n pageBean: {\n page: 1,\n pageSize: -1,\n showTotal: true\n },\n params: {\n status: \"\",\n appType: ''\n }\n }\n };\n },\n created: function created() {\n this.stationApps = dictUtils.getDictItemsFromCache('czyyfl'); //测站应用分类\n\n this.stationClass = dictUtils.getDictItemsFromCache('czzl'); //统计-测站类别\n\n console.log(this.stationClass);\n },\n methods: {\n open: function open(title, data) {\n var _this = this;\n\n console.log(data);\n this.title = \"\".concat(title, \"\\u8BE6\\u60C5\");\n this.visible = true; // 单独的视频站\n\n if (data.stationType == '视频站') {\n // if (data.seriesName == '正常') {\n // this.vidoeParams.params.status = '1'\n // } else {\n // this.vidoeParams.params.status = '0'\n // }\n this.stationApps.forEach(function (ea) {\n if (data.type == ea.name) {\n _this.vidoeParams.params.appType = ea.value;\n }\n }); // console.log(vidoeParams)\n\n this.videoList(this.vidoeParams);\n } // 水库中的位移/测压\n\n\n if (data.type == '水库') {\n // if (data.seriesName == \"正常\") {\n // this.queryData.params.usfl = '1'\n // } else {\n // this.queryData.params.usfl = '0'\n // }\n console.log(this.queryData);\n\n if (data.stationType == '位移点') {\n this.displacementList(this.queryData);\n }\n\n if (data.stationType == '测压管') {\n this.OsmosisList({\n pageBean: {\n pageSize: -1,\n page: 1\n },\n params: {\n usfl: \"\"\n }\n });\n }\n } // 字典中的站\n\n\n if (data.stationType == '雨量站' || data.stationType == '河道水文站' || data.stationType == '河道水位站' || data.stationType == '水库水位站' || data.stationType == '生态流量站') {\n // if (data.seriesName == '正常') {\n // this.params.usfl = '1'\n // } else {\n // this.params.usfl = '0'\n // }\n this.stationApps.forEach(function (ea) {\n if (data.type == ea.name) {\n _this.params.appTypeList.push(ea.value);\n }\n });\n this.stationClass.forEach(function (ec) {\n if (data.stationType == ec.name) {\n _this.params.sttpList.push(ec.value);\n }\n\n if (data.stationType == '水库水位站' && ec.name == \"水库水位站\") {\n _this.params.sttpList.push(ec.value);\n }\n });\n this.getList();\n } // console.log(this.params);\n\n },\n // 位移\n displacementList: function displacementList(item) {\n var _this2 = this;\n\n digitalReservoir.findDisplacementList(item, function (res) {\n if (res.state) {\n _this2.$nextTick(function () {\n _this2.data = res.value.rows;\n _this2.WYShow = true;\n _this2.videoShow = false;\n _this2.dataShow = false;\n _this2.CYShow = false;\n });\n }\n });\n },\n // 渗压\n OsmosisList: function OsmosisList(item) {\n var _this3 = this;\n\n digitalReservoir.findOsmosisList(item, function (res) {\n if (res.state) {\n _this3.$nextTick(function () {\n _this3.data = res.value.rows;\n _this3.CYShow = true;\n _this3.videoShow = false;\n _this3.dataShow = false;\n _this3.WYShow = false;\n });\n }\n });\n },\n // 视频\n videoList: function videoList(item) {\n var _this4 = this;\n\n digitalReservoir.findVideoList(item, function (res) {\n if (res.state) {\n _this4.$nextTick(function () {\n _this4.data = res.value.rows;\n _this4.videoShow = true;\n _this4.dataShow = false;\n _this4.WYShow = false;\n _this4.CYShow = false;\n });\n }\n });\n },\n // 字典查询的类型\n getList: function getList() {\n var _this5 = this;\n\n digitalReservoir.findStList(this.params, function (res) {\n if (res.state) {\n _this5.$nextTick(function () {\n _this5.data = res.value;\n _this5.dataShow = true;\n _this5.videoShow = false;\n _this5.WYShow = false;\n _this5.CYShow = false;\n });\n }\n\n _this5.params = {\n appTypeList: [],\n sttpList: [],\n usfl: ''\n };\n });\n },\n handleSelectionChange: function handleSelectionChange(val) {\n this.multipleSelection = this.multipleSelection = val.map(function (item) {\n return item.id;\n });\n },\n close: function close() {\n this.visible = false;\n this.videoShow = false;\n this.dataShow = false;\n this.WYShow = false;\n this.CYShow = false;\n this.params = {\n appTypeList: [],\n sttpList: [],\n usfl: ''\n };\n }\n }\n};",null]}