|
@@ -474,8 +474,11 @@ export default {
|
|
|
},
|
|
|
// 上传附件打开
|
|
|
submitFJ(){
|
|
|
- getUpload({woId: this.queryParam.woId}).then(res => {
|
|
|
+ getUpload({weituoId: this.queryParam2.weituoId}).then(res => {
|
|
|
console.log(res.result)
|
|
|
+ if (res.result === '') {
|
|
|
+ this.fileList=[]
|
|
|
+ }
|
|
|
this.fileList = res.result.split(',')
|
|
|
console.log(this.fileList)
|
|
|
this.visible = true;
|
|
@@ -484,7 +487,7 @@ export default {
|
|
|
// 上传附件确定
|
|
|
handleOk () {
|
|
|
var query = {
|
|
|
- woId: this.queryParam.woId,
|
|
|
+ weituoId: this.queryParam2.weituoId,
|
|
|
images: this.fileList.toString()
|
|
|
}
|
|
|
upload(query).then(res => {
|