diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue
index 627b58150..a684c38a4 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue
@@ -312,8 +312,7 @@ export default {
} else {
this.dataList = [listJSON]
}
- this.newDataList = []
- this.dataList.forEach(item => {
+ this.dataList.forEach(item => {
if (item.fileText.length !== 0) {
item.fileText.forEach(item1 => {
this.fileTextList.push({
@@ -340,12 +339,7 @@ export default {
id: res.data.attId,
name: res.data.standName
})
- this.newDataList.forEach(item =>{
- this.fileListData.fileText.push({
- id: item.id,
- name: item.name
- })
- })
+ this.fileListData.fileText = this.newDataList
this.$message({
showClose: true,
message: res.message,
diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue
index 073001399..ab8c6df90 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue
@@ -107,15 +107,9 @@
-
+
-
-
+ 查看
@@ -212,6 +206,15 @@
submitBTNText="同意"
>
+
+
+
+
@@ -226,6 +229,7 @@ export default {
name: "wfhxzgStep5",
data() {
return {
+ fileMadel: false,
detailData: [],
loading: false,
commentText: '',
@@ -271,6 +275,10 @@ export default {
}
},
methods: {
+ queryFile(row) {
+ this.fileTextList = row.fileText
+ this.fileMadel = true
+ },
processTable() {
this.$http.get("lawss/activiti/get_list_by_instance", {
prcNum: this.$route.query.prcNum,
@@ -297,14 +305,14 @@ export default {
getFormFieldList (item) {
this.$nextTick(() => {
this.dataList = JSON.parse(JSON.stringify(item)).info.fileDataList
- this.dataList.forEach(item => {
+ /*this.dataList.forEach(item => {
item.fileText.forEach(item1 => {
this.fileTextList.push({
id: item1.id,
name: item1.name
})
})
- })
+ })*/
})
},
@@ -351,6 +359,9 @@ export default {
handleSubmitNo() {
if (this.commentText) {
var json = {
+ responUserInfo: {
+ info: this.dataList
+ },
actionFlag: 1,
commentText: this.commentText
}
@@ -361,6 +372,7 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success('驳回成功')
+ this.fileTextList = []
this.$router.push('/processCenter')
}
})
@@ -452,6 +464,13 @@ export default {
/deep/.el-upload{
display: block;
}
+ // 上传信息回显多余隐藏
+ /deep/.el-upload-list__item .el-icon-close {
+ font-size: 0;
+ }
+ /deep/.el-upload-list__item .el-icon-close-tip {
+ font-size: 0;
+ }
.content-center {
padding: 10px 0px 10px 10px;
}