{"remainingRequest":"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\\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//\n\nimport sdzQuery from '@/api/monitor/otherMonitor/waterStation.js'\nimport req from '@/request.js'\nimport {\n\tTableMixin\n} from '@/mixins/tableMixin'\nexport default {\n\tname: 'sdzQuery',\n\tcomponents: {\n\t\t// FormDialog,\n\t\t// hysRelation\n\t},\n\tmixins: [TableMixin],\n\tdata() {\n\t\treturn {\n\t\t\ttime: '',\n\t\t\tsetKesLabel: {\n\t\t\t\tvalue: 'code',\n\t\t\t\tlabel: 'name',\n\t\t\t\tchildren: 'children',\n\t\t\t},\n\t\t\tbasAdNames: [], //行政区\n\t\t\tloading: false,\n\t\t\tstatuss: [{\n\t\t\t\t\tid: \"1\",\n\t\t\t\t\tvalue: \"正常\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tid: \"2\",\n\t\t\t\t\tvalue: \"异常\"\n\t\t\t\t}\n\t\t\t],\n\t\t\tqueryParam: {\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\tstnm: null,\n\t\t\t\t\twpcSn: null,\n\t\t\t\t\tusfl: null,\n\t\t\t\t\ttime: null\n\t\t\t\t},\n\t\t\t},\n\t\t\ttotal: 0,\n\t\t\ttableData: [],\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.getSysDict()\n\n\t},\n\tmethods: {\n\n\t\topenMore() {\n\t\t\tthis.showMore = !this.showMore\n\t\t},\n\t\t//获取字典数据\n\t\tgetSysDict() {\n\t\t\tlet portal = window.context.portal\n\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\treq.post(portal + '/sys/sysDictionary/v1/queryAllDictItems').then(\n\t\t\t\t\t(response) => {\n\t\t\t\t\t\tresolve(response.data)\n\t\t\t\t\t\tsdzQuery.getbasAdName({}, (res) => {\n\t\t\t\t\t\t\tthis.basAdNames = res.value;\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.hystTypes = response.data.sdzlx //水电站类型\n\t\t\t\t\t\tthis.engScals = response.data.gcgm //工程规模\n\t\t\t\t\t\tthis.getDateList()\n\t\t\t\t\t},\n\t\t\t\t\t(error) => {\n\t\t\t\t\t\treject(error)\n\t\t\t\t\t}\n\t\t\t\t)\n\t\t\t})\n\t\t},\n\t\tgetDateList() {\n\t\t\tthis.loading = true\n\t\t\tthis.tableData = []\n\t\t\tsdzQuery.ListGet(this.queryParam, (res) => {\n\t\t\t\tthis.total = res.value.total\n\t\t\t\t// for (let index = 0; index < res.value.rows.length; index++) {\n\t\t\t\t// if (res.value.rows[index].usfl==1) {\n\t\t\t\t// res.value.rows[index].usfl = \"正常\"\n\t\t\t\t// }else{\n\t\t\t\t// res.value.rows[index].usfl = \"异常\"\n\t\t\t\t// }\n\t\t\t\t// }\n\t\t\t\tthis.tableData = res.value.rows\n\t\t\t\tthis.loading = false\n\t\t\t})\n\t\t},\n\t\thandleSizeChange(val) {\n\t\t\tthis.queryParam.pageBean.pageSize = val\n\t\t\tthis.getDateList()\n\t\t},\n\t\thandleCurrentChange(val) {\n\t\t\tthis.queryParam.pageBean.page = val\n\t\t\tthis.getDateList()\n\t\t},\n\t\t// // 点击查询\n\t\tonClickSearch() {\n\n\t\t\tthis.queryParam.pageBean.page = 1\n\t\t\tthis.getDateList()\n\t\t},\n\t\t// 重置\n\t\tresetQuery() {\n\t\t\tthis.queryParam.params = {}\n\t\t\tthis.time = ''\n\t\t\tthis.getDateList()\n\t\t},\n\t},\n}\n",null]}