diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step7.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step7.vue
index 471af52e5..239463f8c 100644
--- a/src/pages/processCenter/pages/creatProcess/bzpg/step7.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzpg/step7.vue
@@ -135,6 +135,15 @@
填写信息
+
+
+
+
{
+ if(item.projectName === tab.name){
+ this.dataList.push(item)
+ }
+ })
+ },
//折叠/展开基础信息方法
foldForm() {
this.foldFormFlag = !this.foldFormFlag
@@ -583,7 +604,13 @@ export default {
this.listForm.prcNum = this.prcNum
this.listForm.prcName = this.prcName
this.listForm['id'] = item.id
+ this.newDataList = item.dataList
this.dataList = item.dataList
+ item.dataList.forEach(item => {
+ if(!this.projectTabName.includes(item.projectName)){
+ this.projectTabName.push(item.projectName)
+ }
+ })
} else {
this.listForm = item.form;
this.dataList = item.form.dataList;
@@ -594,7 +621,7 @@ export default {
//提交事件
handleSubmit() {
- this.listForm.dataList = this.dataList
+ this.listForm.dataList = this.newDataList
this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm);
this.isSubmit = true
diff --git a/src/pages/processCenter/pages/creatProcess/bzpg/step8.vue b/src/pages/processCenter/pages/creatProcess/bzpg/step8.vue
index a8264ba86..4293a0906 100644
--- a/src/pages/processCenter/pages/creatProcess/bzpg/step8.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzpg/step8.vue
@@ -1,4 +1,4 @@
-
+
@@ -135,6 +135,15 @@
填写信息
+
+
+
+
{
+ if(item.projectName === tab.name){
+ this.dataList.push(item)
+ }
+ })
+ },
//折叠/展开基础信息方法
foldForm() {
this.foldFormFlag = !this.foldFormFlag
@@ -583,7 +604,13 @@ export default {
this.listForm.prcNum = this.prcNum
this.listForm.prcName = this.prcName
this.listForm['id'] = item.id
+ this.newDataList = item.dataList
this.dataList = item.dataList
+ item.dataList.forEach(item => {
+ if(!this.projectTabName.includes(item.projectName)){
+ this.projectTabName.push(item.projectName)
+ }
+ })
} else {
this.listForm = item.form;
this.dataList = item.form.dataList;
@@ -594,7 +621,7 @@ export default {
//提交事件
handleSubmit() {
- this.listForm.dataList = this.dataList
+ this.listForm.dataList = this.newDataList
this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm);
this.isSubmit = true