{"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\\stManager\\components\\ecologicalFlow.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\stManager\\components\\ecologicalFlow.vue","mtime":1684458239637},{"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.number.constructor\";\nimport \"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//\nimport FormDialog from \"./alertComponents/ecoForm-dialog.vue\";\nimport ecologicalFlow from '@/api/stManager/ecologicalFlow.js';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport portal from '@/api/portal.js';\nimport req from '@/request.js';\nimport { TableMixin } from '@/mixins/tableMixin';\nexport default {\n name: 'disPlacement',\n components: {\n FormDialog: FormDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n loading: false,\n multipleSelection: [],\n // 复选框\n queryParam: {\n pageBean: {\n pageSize: 20,\n page: 1\n },\n params: {},\n querys: []\n },\n rsnms: [],\n stnms: [],\n stzlxList: [],\n yjdjList: [],\n params: {},\n sttp: null,\n total: 0,\n title: '',\n showFormDia: false,\n tableData: [],\n pId: ''\n };\n },\n created: function created() {\n this.stzlxList = dictUtils.getDictItemsFromCache('czlb-stzlx');\n this.yjdjList = dictUtils.getDictItemsFromCache('yjdj');\n this.getDateList();\n this.getStation();\n this.getFindAll();\n },\n methods: {\n getStation: function getStation() {\n var _this = this;\n\n ecologicalFlow.staion({\n sttp: \"SS\"\n }, function (res) {\n if (res.state) {\n _this.stnms = res.value;\n }\n });\n },\n getFindAll: function getFindAll() {\n var _this2 = this;\n\n ecologicalFlow.findAll({}, function (res) {\n if (res.state) {\n _this2.rsnms = res.value;\n }\n });\n },\n getDateList: function getDateList() {\n var _this3 = this;\n\n this.loading = true;\n this.tableData = [];\n ecologicalFlow.ListGet(this.queryParam, function (res) {\n _this3.total = res.value.total;\n _this3.tableData = res.value.rows;\n\n _this3.tableData.forEach(function (e) {\n _this3.stzlxList.forEach(function (s) {\n if (e.sstp == s.value) {\n e.sstpName = s.name;\n }\n });\n });\n\n _this3.loading = false;\n });\n },\n openFormDiao: function openFormDiao() {\n this.title = '新增';\n this.showFormDia = true;\n },\n closeFormDiao: function closeFormDiao() {\n this.showFormDia = false;\n this.getDateList();\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 handleUpdate: function handleUpdate(row) {\n this.title = '修改';\n this.pId = row.id;\n this.showFormDia = true;\n },\n handleSelectionChange: function handleSelectionChange(val) {\n this.multipleSelection = val.map(function (item) {\n return item.id;\n });\n },\n // // 指定一个key标识这一行的数据\n getRowKey: function getRowKey(row) {\n return row.id;\n },\n // // 批量删除\n deleteSelect: function deleteSelect() {\n var _this4 = this;\n\n this.$confirm('确定删除选中数据?', '提示', {\n confirmButtonText: '确 定',\n cancelButtonText: '取 消',\n type: 'warning'\n }).then(function () {\n ecologicalFlow.remove(_this4.multipleSelection, function (res) {\n if (res.state) {\n _this4.$notify({\n type: 'success',\n message: '删除成功',\n duration: 2000 // offset: 80\n\n }); // this.multipleSelection = [];\n\n\n _this4.$refs.multipleSelection.clearSelection();\n\n _this4.queryParam.pageBean.page = 1;\n\n _this4.getDateList();\n }\n }).catch(function (res) {\n _this4.$notify({\n type: 'error',\n message: res.message,\n duration: 2000,\n offset: 80\n });\n\n _this4.getDateList();\n });\n }).catch(function () {});\n },\n openMore: function openMore() {\n this.showMore = !this.showMore;\n },\n // 点击查询\n onClickSearch: function onClickSearch() {\n this.queryParam.pageBean.page = 1;\n this.queryParam.querys = [];\n\n if (this.params.gradeCode) {\n this.queryParam.querys.push({\n property: \"s.grade_code\",\n value: Number(this.params.gradeCode),\n group: \"advance\",\n relation: \"AND\"\n });\n } else if (this.params.stcd) {\n this.queryParam.querys.push({\n property: \"s.stcd\",\n value: this.params.stcd,\n group: \"advance\",\n relation: \"AND\"\n });\n }\n\n this.getDateList();\n },\n // 重置\n resetQuery: function resetQuery() {\n this.params = {};\n this.onClickSearch();\n }\n }\n};",null]}