-
+
-
{{ item.name }}
+
+ {{ item.name }}
+
-
- 现状分类:
+
+ 现状分类:
总投资额:{{ item.ztze }}
填报时间:{{ item.updateTime }}
-
@@ -41,9 +54,7 @@
-
- 暂无数据
-
+
暂无数据
@@ -59,39 +70,28 @@
\ No newline at end of file
diff --git a/src/views/compilation/onecailiao/index.vue b/src/views/compilation/monolithic/index.vue
similarity index 99%
rename from src/views/compilation/onecailiao/index.vue
rename to src/views/compilation/monolithic/index.vue
index 76d988d..63f0f85 100644
--- a/src/views/compilation/onecailiao/index.vue
+++ b/src/views/compilation/monolithic/index.vue
@@ -114,7 +114,7 @@ export default {
title: undefined,
startTime: undefined,
},
- // 所有数据(模拟从后端获取)
+ // 该页面使用默认数据
allPostList: [
{
id: 1,
diff --git a/src/views/evalute/configtable/index.vue b/src/views/evalute/configtable/index.vue
index 26a0181..e88fa6b 100644
--- a/src/views/evalute/configtable/index.vue
+++ b/src/views/evalute/configtable/index.vue
@@ -208,6 +208,7 @@ export default {
this.$modal.confirm(`是否确认删除"${pjys}"的数据项?`).then(() => {
return deleteProjectEvaluation(postIds);
}).then(() => {
+ this.queryParams.current = 1;
this.getList();
this.$modal.msgSuccess('删除成功');
}).catch(() => { });
diff --git a/src/views/index.vue b/src/views/index.vue
index 6a9bc69..3294d2a 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -18,7 +18,7 @@ export default {
this.$router.push({path:"/statistics"})
}else{
//企业人员
- this.$router.push({path:"/tongjifenxi"})
+ this.$router.push({path:"/Home"})
}
}
};
diff --git a/src/views/manage-info/index.vue b/src/views/manage-info/index.vue
index a7b47ce..c5f0626 100644
--- a/src/views/manage-info/index.vue
+++ b/src/views/manage-info/index.vue
@@ -252,6 +252,9 @@ export default {
zjzmj: 0,
ztze: 0,
zydmj: 0,
+ jhtze: "",
+ ml: "",
+ xfcy: "",
},
planInformation: {
bzcjzmj: 0,
@@ -314,7 +317,7 @@ export default {
}
},
methods: {
- async fetchOtherInfo() {
+ async fetchOtherInfo() {
try {
const response = await getzwBasicInformationById(this.projectId);
const data = response.data;
@@ -457,7 +460,6 @@ export default {
},
// 提交数据
async submitAll() {
-
// 创建全局加载动画
const loading = this.$loading({
lock: true,
@@ -465,14 +467,52 @@ export default {
spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)",
});
-
+ // 校验 basicInformation
+ const basicRequiredFields = [
+ "acceptanceTime",
+ "begainTime",
+ "endTime",
+ "fj",
+ "introduction",
+ "issuingTime",
+ "jsdd",
+ "jsjd",
+ "jsms",
+ "label",
+ "latitude",
+ "longitude",
+ "name",
+ "nature",
+ "phone",
+ "prioritize",
+ "projectLeader",
+ "sgdw",
+ "sjdw",
+ "ssgnq",
+ "tyshxydm",
+ "unitIntroduction",
+ "xmfrdwxz",
+ "xzfl",
+ "ztze",
+ "jhtze",
+ "ml",
+ "xfcy",
+ ];
+ const basicMissingFields = basicRequiredFields.filter(
+ (field) => !this.basicInformation[field]
+ );
+ if (basicMissingFields.length > 0) {
+ this.$message.error("请填写完整的基本信息");
+ loading.close();
+ return;
+ }
// 校验建筑信息是否填写
if (!this.hasBuildingData) {
this.$message.error("请填写建筑信息");
loading.close();
return;
}
-
+
// 校验 wysmxInformations
if (
this.wysmxInformations.length === 0 ||
@@ -496,8 +536,16 @@ export default {
"zydmj",
"rjl",
"zjzmj",
+ "bzcjzmj",
+ "jrjljzmj",
+ "jzmd",
+ "ldl",
"jzds",
+ "dsjzmj",
+ "dxjzmj",
"zgjzcs",
+ "jdctcw",
+ "fjdctcw",
"fhdj",
];
const planMissingFields = planRequiredFields.filter(
@@ -509,22 +557,7 @@ export default {
return;
}
- // 校验 basicInformation
- const basicRequiredFields = [
- "ssgnq",
- "begainTime",
- "endTime",
- "xzfl",
- "jsms",
- ];
- const basicMissingFields = basicRequiredFields.filter(
- (field) => !this.basicInformation[field]
- );
- if (basicMissingFields.length > 0) {
- this.$message.error("请填写完整的基本信息");
- loading.close();
- return;
- }
+
// 准备数据并提交
const submitData = this.prepareSubmitData();
diff --git a/src/views/manage/index.vue b/src/views/manage/index.vue
index 5dcc14d..c0986dd 100644
--- a/src/views/manage/index.vue
+++ b/src/views/manage/index.vue
@@ -669,6 +669,7 @@ export default {
return deleteBasicInformation(ids);
})
.then(() => {
+ this.queryParams.current = 1;
this.getList();
this.$modal.msgSuccess("删除成功");
})
diff --git a/src/views/models/badlist/index.vue b/src/views/models/badlist/index.vue
index fb13433..d59637a 100644
--- a/src/views/models/badlist/index.vue
+++ b/src/views/models/badlist/index.vue
@@ -299,6 +299,7 @@ export default {
return deleteBasicInformation(ids);
})
.then(() => {
+ this.queryParams.current = 1; // 重置页码
this.getList();
this.$modal.msgSuccess("删除成功");
})
diff --git a/src/views/orientedtwo/content/index.vue b/src/views/orientedtwo/content/index.vue
index 477117d..afd77c2 100644
--- a/src/views/orientedtwo/content/index.vue
+++ b/src/views/orientedtwo/content/index.vue
@@ -476,6 +476,7 @@ export default {
return deleteCatalog([catalogIds]);
})
.then(() => {
+ this.queryParams.current = 1;
this.getList(catalogIds);
this.$modal.msgSuccess("删除成功");
})
diff --git a/src/views/orientedtwo/subdivide/index.vue b/src/views/orientedtwo/subdivide/index.vue
index ce71205..16c041e 100644
--- a/src/views/orientedtwo/subdivide/index.vue
+++ b/src/views/orientedtwo/subdivide/index.vue
@@ -491,6 +491,7 @@ export default {
return deleteXfcygl([catalogIds]);
})
.then(() => {
+ this.queryParams.current = 1;
this.getList();
this.$modal.msgSuccess("删除成功");
})