diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index 8a4d22587..4afcc8a12 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -3075,8 +3075,6 @@ export default {
/*padding: 0 67px;*/
.details-content-modular {
- margin-bottom: 20px;
-
.modular-header {
display: flex;
align-items: center;
diff --git a/src/pages/details/process/ruku/index.vue b/src/pages/details/process/ruku/index.vue
index 6e82b6638..ee24e0886 100644
--- a/src/pages/details/process/ruku/index.vue
+++ b/src/pages/details/process/ruku/index.vue
@@ -5,7 +5,7 @@
{{ title }}
@@ -201,6 +243,7 @@
name: "bzdyStep1-1",
data() {
return {
+ fileMadel2: false,
nodeList: [],
nodeList2: [],
commentText: '',
@@ -216,6 +259,8 @@
form: {
title: '', // 调研标题
date: '', // 完成时间
+ fjList: [],
+ fjNameList: '',
modelList: [],
modelNameList: ''
},
@@ -362,6 +407,20 @@
})
this.form.modelNameList = list
},
+ importFileRemove2 (file, fileList) {
+ let list = ''
+ this.form.fjList = []
+ fileList.forEach(item => {
+ this.form.fjList.push(item)
+ if (list.length > 0) {
+ list += ','
+ list += item.name
+ } else {
+ list+= item.name
+ }
+ })
+ this.form.fjNameList = list
+ },
// 导入标准数据成功后执行
importFileSuccess (response, file) {
if (response.ok) {
@@ -383,9 +442,32 @@
})
}
},
+ importFileSuccess2 (response, file) {
+ if (response.ok) {
+ this.form.fjList.push(response.data)
+ let list = ''
+ this.form.fjList.forEach(item => {
+ if (list.length > 0) {
+ list += ','
+ list += item.name
+ } else {
+ list+= item.name
+ }
+ })
+ this.form.fjNameList = list
+ this.$message({
+ showClose: true,
+ message: response.message,
+ type: 'success'
+ })
+ }
+ },
fileUpload () {
this.fileMadel = true
},
+ fileUpload2 () {
+ this.fileMadel2 = true
+ },
handleTabs(name) {
this.active = name
},
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
index d0324a5ff..ec04289c7 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
@@ -60,6 +60,28 @@
+
+
+
+
+
+ 点击上传
+
+
+
@@ -169,7 +191,7 @@
@checkedRole="checkedRole"
:nodeList="nodeList"
>
-
+
+
+
+
+
+
@@ -202,6 +244,7 @@ export default {
name: "bzdyStep1",
data() {
return {
+ fileMadel2: false,
commentText: '',
nodeList: [],
nodeList2: [],
@@ -217,6 +260,8 @@ export default {
form: {
title: '', // 调研标题
date: '', // 完成时间
+ fjList: [],
+ fjNameList: '',
modelList: [],
modelNameList: ''
},
@@ -325,7 +370,6 @@ export default {
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
return true
} else {
- this.spinShow = false
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
return false
}
@@ -353,6 +397,20 @@ export default {
})
this.form.modelNameList = list
},
+ importFileRemove2 (file, fileList) {
+ let list = ''
+ this.form.fjList = []
+ fileList.forEach(item => {
+ this.form.fjList.push(item)
+ if (list.length > 0) {
+ list += ','
+ list += item.name
+ } else {
+ list+= item.name
+ }
+ })
+ this.form.fjNameList = list
+ },
// 导入标准数据成功后执行
importFileSuccess (response, file) {
if (response.ok) {
@@ -374,9 +432,32 @@ export default {
})
}
},
+ importFileSuccess2 (response, file) {
+ if (response.ok) {
+ this.form.fjList.push(response.data)
+ let list = ''
+ this.form.fjList.forEach(item => {
+ if (list.length > 0) {
+ list += ','
+ list += item.name
+ } else {
+ list+= item.name
+ }
+ })
+ this.form.fjNameList = list
+ this.$message({
+ showClose: true,
+ message: response.message,
+ type: 'success'
+ })
+ }
+ },
fileUpload () {
this.fileMadel = true
},
+ fileUpload2 () {
+ this.fileMadel2 = true
+ },
handleTabs(name) {
this.active = name
},
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue
index b8f2b7825..0378c41da 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue
@@ -50,6 +50,16 @@
- -
+
+
+
+ - -
+
+
{
let data = JSON.parse(res.mesg)
+ this.form.fjList = data.fjList || data.form.fjList
this.form.modelList = data.modelList || data.form.modelList
this.form.title = data.title || data.form.title
this.form.date = data.date || data.form.date
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue
index a3183f640..32e314426 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step3.vue
@@ -50,6 +50,16 @@
- -
+
+
+
+ - -
+
+
+
+
+
+ - -
+
+
{{ form.fileName }}
@@ -172,6 +182,7 @@
title: '', // 调研标题
date: '', // 完成时间
modelList: [],
+ fjList: [],
fileId: '',
fileName: '',
responUserList: '',
@@ -259,6 +270,7 @@
this.form.file = data.fileId || data.form.fileId
this.form.fileName = data.fileName || data.form.fileName
this.form.modelList = data.modelList || data.form.modelList
+ this.form.fjList = data.fjList || data.form.fjList
}).catch(e => {
})
})