{"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\\gisTabComponents\\module\\HydropowerModel.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\frontScreens\\components\\gisTabComponents\\module\\HydropowerModel.vue","mtime":1684458238637},{"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//\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport gisMap from '@/api/frontScreen/gisMap.js';\nexport default {\n name: 'hydropowerModel',\n props: {\n currentPoint: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n activeName: '测站详情',\n params: {\n appTypeList: [],\n endTime: \"\",\n id: \"\",\n mpcd: \"\",\n periodTime: \"\",\n rscd: \"\",\n startTime: \"\",\n stcd: \"\",\n stlc: \"\",\n stnm: \"\",\n sttp: \"\",\n sttpList: [],\n usfl: \"\"\n },\n tableData: [],\n yjdj: []\n };\n },\n inject: ['mapData'],\n created: function created() {\n var mapData = this.mapData();\n this.districtData = this.originData;\n this.L = mapData.L;\n this.map = mapData.map;\n this.yjdj = dictUtils.getDictItemsFromCache('yjdj'); // this.getFlowList()\n },\n watch: {\n currentPoint: {\n handler: function handler(newVal) {\n this.getFlowList();\n this.activeName = '测站详情';\n }\n }\n },\n mounted: function mounted() {},\n beforeDestroy: function beforeDestroy() {},\n methods: {\n handleClick: function handleClick(tab, event) {},\n engStat: function engStat(val) {\n var name;\n var gcjsqk = dictUtils.getDictItemsFromCache('gcjsqk');\n gcjsqk.forEach(function (e) {\n if (e.value == val) {\n name = e.name;\n }\n });\n return name;\n },\n tableRowClassName: function tableRowClassName(_ref) {\n var row = _ref.row,\n rowIndex = _ref.rowIndex;\n\n if (row.warnGrade == 2) {\n return 'orange-row';\n } else if (row.warnGrade == 1) {\n return 'alert-row';\n } else if (row.warnGrade == 3) {\n return 'warning-row';\n }\n },\n getFlowList: function getFlowList() {\n var _this = this;\n\n this.params.stcd = this.currentPoint.stcd;\n this.params.sttp = this.currentPoint.sttp;\n gisMap.hdswLatestList(this.params, function (res) {\n if (res.state) {\n _this.tableData = res.value;\n\n _this.tableData.forEach(function (e) {\n _this.yjdj.forEach(function (c) {\n if (e.warnGrade == c.value) {\n e.level = c.name;\n }\n });\n });\n }\n });\n }\n }\n};",null]}