{"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\\monitor\\otherMonitor\\waterStationMonitor.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\monitor\\otherMonitor\\waterStationMonitor.vue","mtime":1684458239356},{"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":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 sdzQuery from '@/api/monitor/otherMonitor/waterStation.js';\nimport req from '@/request.js';\nimport { TableMixin } from '@/mixins/tableMixin';\nexport default {\n name: 'sdzQuery',\n components: {// FormDialog,\n // hysRelation\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n time: '',\n setKesLabel: {\n value: 'code',\n label: 'name',\n children: 'children'\n },\n basAdNames: [],\n //行政区\n loading: false,\n statuss: [{\n id: \"1\",\n value: \"正常\"\n }, {\n id: \"2\",\n value: \"异常\"\n }],\n queryParam: {\n pageBean: {\n pageSize: 20,\n page: 1\n },\n params: {\n stnm: null,\n wpcSn: null,\n usfl: null,\n time: null\n }\n },\n total: 0,\n tableData: []\n };\n },\n created: function created() {\n this.getSysDict();\n },\n methods: {\n openMore: function openMore() {\n this.showMore = !this.showMore;\n },\n //获取字典数据\n getSysDict: function getSysDict() {\n var _this = this;\n\n var portal = window.context.portal;\n return new Promise(function (resolve, reject) {\n req.post(portal + '/sys/sysDictionary/v1/queryAllDictItems').then(function (response) {\n resolve(response.data);\n sdzQuery.getbasAdName({}, function (res) {\n _this.basAdNames = res.value;\n });\n _this.hystTypes = response.data.sdzlx; //水电站类型\n\n _this.engScals = response.data.gcgm; //工程规模\n\n _this.getDateList();\n }, function (error) {\n reject(error);\n });\n });\n },\n getDateList: function getDateList() {\n var _this2 = this;\n\n this.loading = true;\n this.tableData = [];\n sdzQuery.ListGet(this.queryParam, function (res) {\n _this2.total = res.value.total; // for (let index = 0; index < res.value.rows.length; index++) {\n // if (res.value.rows[index].usfl==1) {\n // res.value.rows[index].usfl = \"正常\"\n // }else{\n // res.value.rows[index].usfl = \"异常\"\n // }\n // }\n\n _this2.tableData = res.value.rows;\n _this2.loading = false;\n });\n },\n handleSizeChange: function handleSizeChange(val) {\n this.queryParam.pageBean.pageSize = val;\n this.getDateList();\n },\n handleCurrentChange: function handleCurrentChange(val) {\n this.queryParam.pageBean.page = val;\n this.getDateList();\n },\n // // 点击查询\n onClickSearch: function onClickSearch() {\n this.queryParam.pageBean.page = 1;\n this.getDateList();\n },\n // 重置\n resetQuery: function resetQuery() {\n this.queryParam.params = {};\n this.time = '';\n this.getDateList();\n }\n }\n};",null]}