52837 【线上】未符合项流程,批准节点,审定节点上传的文件,现在在批准节点显示的文件不全
This commit is contained in:
@@ -315,17 +315,18 @@ export default {
|
|||||||
},
|
},
|
||||||
// 文件上传成功
|
// 文件上传成功
|
||||||
handleOnsuccess(res, file, fileList) {
|
handleOnsuccess(res, file, fileList) {
|
||||||
|
console.log(res);
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
if (this.fileTextList !== null) {
|
if (this.fileTextList !== null) {
|
||||||
this.newDataList = this.fileTextList
|
this.newDataList = this.fileTextList
|
||||||
this.newDataList.push({
|
this.newDataList.push({
|
||||||
id: res.data.attId,
|
id: res.data.attId,
|
||||||
name: res.data.standName
|
name: res.data.name
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.newDataList.push({
|
this.newDataList.push({
|
||||||
id: res.data.attId,
|
id: res.data.attId,
|
||||||
name: res.data.standName
|
name: res.data.name
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.fileListData.fileText = this.newDataList
|
this.fileListData.fileText = this.newDataList
|
||||||
@@ -460,10 +461,10 @@ export default {
|
|||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
let flag=false
|
let flag = false
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if (item.fileText.length === 0) {
|
if (item.fileText.length === 0) {
|
||||||
flag=true
|
flag = true
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user