| | |
| | | let val = document.getElementById("insertimageFile").files; |
| | | |
| | | this.insertViewGuid = val[0].name; |
| | | this.insertViewName = val[0].name; |
| | | this.insertViewName = val[0].name; |
| | | } |
| | | }, |
| | | async setinsertFile(res) { |
| | |
| | | } |
| | | if (this.viewFile != null) { |
| | | this.insertform.viewGuid = this.viewFile; |
| | | this.insertform.vname = this.insertViewName; |
| | | this.insertform.vname = this.insertViewName; |
| | | } |
| | | |
| | | |
| | | const data = await insertStyle(this.insertform); |
| | | if (data.code == 200) { |
| | | this.InsertFormdialog = false; |
| | |
| | | this.upform.status = this.statusFormat(this.upform.status); |
| | | } |
| | | if (this.guidFile != null) { |
| | | this.upform.fname = this.upform.fileGuid; |
| | | this.upform.fileGuid = this.guidFile; |
| | | } |
| | | if (this.viewFile != null) { |
| | | this.upform.vname = this.upform.viewGuid; |
| | | this.upform.viewGuid = this.viewFile; |
| | | } |
| | | const data = await updateStyle(this.upform); |
| | |
| | | showDetail(index, row) { |
| | | var token = getToken(); |
| | | this.showinfoBox = true; |
| | | |
| | | |
| | | this.itemdetail = row; |
| | | this.itemdetail.createTime = this.formomentTime( |
| | | this.itemdetail.createTime |
| | |
| | | this.upform = row; |
| | | this.upform.depValue = row.depName; |
| | | this.upform.dirValue = row.dirName; |
| | | this.upform.fileGuid = row.fname; |
| | | this.upform.viewGuid = row.vname; |
| | | this.upform.status = this.forMontStatus(row.status); |
| | | }, |
| | | handleDelete(index, row) { |