MrShi
2025-07-19 edb50cb0dc65061d5ce9f8d4ff26fcee12b09eee
small-program/pages/using-workers/using-workers.vue
@@ -195,15 +195,18 @@
            this.$u.api.getDetail({
               orderId: option.id
            }).then(res => {
               this.info = res.data
               for (const key in this.form) {
                  this.form[key] = res.data[key]
               if (res.code === 200) {
                  this.info = res.data
                  for (const key in this.form) {
                     this.form[key] = res.data[key]
                  }
                  this.form.days = res.data.totalDays
                  this.form.price = Number(this.form.price) / 100
                  if (!this.form.multifileList) {
                     this.form.multifileList = []
                  }
               }
               this.form.days = res.data.totalDays
               this.form.price = Number(this.form.price) / 100
               if (!this.form.multifileList) {
                  this.form.multifileList = []
               }
            })
         } else {
            this.form.linkPhone = this.userInfo.telephone
@@ -271,8 +274,10 @@
                  type: this.form.type,
                  workType: this.form.workType
               }).then(res => {
                  this.modify = true
                  this.form.estimatedAccount = res.data
                  if (res.code === 200) {
                     this.modify = true
                     this.form.estimatedAccount = res.data
                  }
               })
            }
         },
@@ -300,7 +305,9 @@
            this.$u.api.getCategoryList({
               type: 0
            }).then(res => {
               this.cateList = [res.data]
               if (res.code === 200) {
                  this.cateList = [res.data]
               }
            })
         },
         uploadImg() {