{"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\\resIns\\dsmInsInin.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\resIns\\dsmInsInin.vue","mtime":1684458239465},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 dsmInsInin from '@/api/resIns/dsmInsInin.js';\nimport dsmdoalog from \"./components/dsm-doalog.vue\";\nimport { TableMixin } from '@/mixins/tableMixin';\nexport default {\n components: {\n dsmdoalog: dsmdoalog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n //数据\n rowId: '',\n nol: '',\n StshowFormDias: false,\n scopeTime: '',\n queryParam: {\n params: {\n rscd: '',\n //水库名称\n startTime: null,\n endTime: null,\n intp: null,\n //巡检类别\n isNormal: null,\n //是否正常\n rz: null,\n //水库水位\n inps: null //负责人\n\n },\n pageBean: {\n pageSize: 20,\n page: 1\n }\n },\n intps: [{\n name: '日常巡视检查',\n value: '1'\n }, {\n name: '年度巡视检查',\n value: '2'\n }, {\n name: '特别巡视检查',\n value: '3'\n }],\n //巡检类别数组\n isNormals: [{\n name: '正常',\n value: 1\n }, {\n name: '异常',\n value: 2\n }],\n //是否正常\n tableData: [],\n //数据\n rscds: [],\n //水库名称数组\n total: 0 //总数据\n\n };\n },\n created: function created() {\n var _this = this;\n\n this.getDateList(); //获取水库下拉\n\n dsmInsInin.getResName({}, function (res) {\n _this.rscds = res.value;\n console.log(_this.rscds, 'this.rscds');\n });\n },\n methods: {\n relationStation: function relationStation(row) {\n this.row = row;\n this.nol = this.row.isNormal;\n this.rowId = this.row.id;\n this.StshowFormDias = true;\n },\n closeStshowForm: function closeStshowForm() {\n this.StshowFormDias = false;\n this.getDateList();\n },\n openMore: function openMore() {\n this.showMore = !this.showMore;\n },\n changeDate: function changeDate(val) {\n if (val) {\n this.queryParam.params.startTime = val[0];\n this.queryParam.params.endTime = val[1];\n } else {\n this.queryParam.params.startTime = '';\n this.queryParam.params.endTime = '';\n }\n },\n getDateList: function getDateList() {\n var _this2 = this;\n\n this.loading = true;\n this.tableData = [];\n dsmInsInin.ListGet(this.queryParam, function (res) {\n if (res.state) {\n _this2.tableData = res.value.rows;\n\n _this2.tableData.forEach(function (item) {\n _this2.intps.forEach(function (ii) {\n if (item['intp'] == ii.value) {\n item['intp'] = ii.name;\n }\n });\n\n _this2.isNormals.forEach(function (ss) {\n console.log();\n\n if (item['isNormal'] == ss.value) {\n item['isNormal'] = ss.name;\n }\n });\n });\n\n _this2.$set(_this2.tableData, _this2.tableData); // this.total = res.value.total\n\n\n _this2.loading = false;\n } else {\n _this2.$message(res.message);\n }\n });\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.scopeTime = '';\n this.onClickSearch();\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 // // 指定一个key标识这一行的数据\n getRowKey: function getRowKey(row) {\n return row.id;\n }\n }\n};",null]}