web100 2 years ago
parent
commit
34a308849e
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/basicdata/dept/index.vue

+ 4 - 4
src/views/basicdata/dept/index.vue

@@ -738,19 +738,19 @@ export default {
             this.form.fProperties = this.form.fProperties.join(',');
             this.form.fType = this.form.fType.join(',');
             this.form.fGoodsType = this.form.fGoodsType.join(',');
-            this.form.annexList = []
+            this.form.fPhotoUrl = []
             for (let item in this.pictureEist) {
               if (this.pictureEist[item].response) {
-                this.form.annexList.push({
+                this.form.fPhotoUrl.push({
                   url: this.pictureEist[item].response.url
                 })
               } else {
-                this.form.annexList.push({
+                this.form.fPhotoUrl.push({
                   url: this.pictureEist[item].url
                 })
               }
             }
-            this.form.annexList = JSON.stringify(this.form.annexList)
+            this.form.fPhotoUrl = JSON.stringify(this.form.fPhotoUrl)
             updateDept(this.form).then(response => {
               this.msgSuccess("修改成功");
               this.open = false;