Merge branch 'xiaoman'

This commit is contained in:
shixiaoman
2021-12-08 18:16:00 +08:00
3 changed files with 39 additions and 10 deletions

2
.env
View File

@@ -1,3 +1,3 @@
VUE_APP_VERSION=1.0.0
VUE_APP_NAME=生态环境监测数据综合分析平台
VUE_APP_API_BASE_URL=http://1.14.132.108:10002/api
VUE_APP_API_BASE_URL=http://localhost:10001/api

View File

@@ -235,6 +235,7 @@
return;
}
const tasks = [];
let _this =this;
if (billData.length > 0) {
hide();
saveJudgeInfo({
@@ -260,7 +261,10 @@
title: "导入成功",
content: `成功导入${billData.length}条数据`,
});
this.$refs.water && this.$refs.water.reload();
_this.$refs.water && _this.$refs.water.reload();
_this.$router.replace({
path: "/water/river/collect/water/" + res.data.data.surfaceWaterSectionBillId
})
} else {
Modal.error({
title: "导入失败",
@@ -287,7 +291,10 @@
title: "导入成功",
content: `成功导入${billData.length}条数据`,
});
this.$refs.water && this.$refs.water.reload();
_this.$refs.water && _this.$refs.water.reload();
_this.$router.replace({
path: "/water/river/collect/water/" + res.data.data.surfaceWaterSectionBillId
})
} else {
Modal.error({
title: "导入失败",
@@ -368,6 +375,7 @@
}
const tasks = [];
var varType = this.exportType;
let _this = this;
if (billData.length > 0) {
if (this.exportType == "1") {
hide();
@@ -391,7 +399,10 @@
title: "导入成功",
content: `成功导入${billData.length}条数据`,
});
this.$refs.water && this.$refs.water.reload();
_this.$refs.water && _this.$refs.water.reload();
_this.$router.replace({
path: "/water/river/function/collect/water/" + res.data.data.nationalLevelWaterFunctionAreaBillId
})
} else {
Modal.error({
title: "导入失败",
@@ -417,7 +428,10 @@
title: "导入成功",
content: `成功导入${billData.length}条数据`,
});
this.$refs.water && this.$refs.water.reload();
_this.$refs.water && _this.$refs.water.reload();
_this.$router.replace({
path: "/water/river/function/collect/water/" + res.data.data.nationalLevelWaterFunctionAreaBillId
})
} else {
Modal.error({
title: "导入失败",
@@ -457,7 +471,10 @@
title: "导入成功",
content: `成功导入${billData.length}条数据`,
});
this.$refs.water && this.$refs.water.reload();
_this.$refs.water && _this.$refs.water.reload();
_this.$router.replace({
path: "/water/river/function/city/collect/water/" + res.data.data.nationalLevelWaterFunctionAreaBillId
})
} else {
Modal.error({
title: "导入失败",
@@ -483,7 +500,10 @@
title: "导入成功",
content: `成功导入${billData.length}条数据`,
});
this.$refs.water && this.$refs.water.reload();
_this.$refs.water && _this.$refs.water.reload();
_this.$router.replace({
path: "/water/river/function/city/collect/water/" + res.data.data.nationalLevelWaterFunctionAreaBillId
})
} else {
Modal.error({
title: "导入失败",
@@ -563,6 +583,7 @@
}
const tasks = [];
var system = this.param.system;
let _this = this;
if (billData.length > 0) {
hide();
saveJudgeInfoSite({
@@ -585,7 +606,10 @@
title: "导入成功",
content: `成功导入${billData.length}条数据`,
});
this.$refs.water && this.$refs.water.reload();
_this.$refs.water && _this.$refs.water.reload();
_this.$router.replace({
path: "/water/river/station/collect/water/" + res.data.data.waterSiteBillId
})
} else {
Modal.error({
title: "导入失败",
@@ -611,7 +635,10 @@
title: "导入成功",
content: `成功导入${billData.length}条数据`,
});
this.$refs.water && this.$refs.water.reload();
_this.$refs.water && _this.$refs.water.reload();
_this.$router.replace({
path: "/water/river/station/collect/water/" + res.data.data.waterSiteBillId
})
} else {
Modal.error({
title: "导入失败",

View File

@@ -171,7 +171,9 @@
if (res.data.code == 0) {
this.$message.success(res.data.msg);
res.data.data.forEach((m) => {
m.transnormalItem = "--"
if(m.transnormalItem==""){
m.transnormalItem = "--"
}
this.momData.push(m);
})
} else {