Browse Source

feature 投诉建议和保修增加户号户名

xiahan 3 months ago
parent
commit
5914812c31
2 changed files with 6 additions and 2 deletions
  1. 3 1
      pages/baoxiudj/baoxiudj.js
  2. 3 1
      pages/tousujianyi/tousujianyi.js

+ 3 - 1
pages/baoxiudj/baoxiudj.js

@@ -435,7 +435,9 @@ Page({
       phone: this.data.phone,
       repairType: this.data.repairTypeValue,
       description: this.data.description,
-      images: this.data.imageList
+      images: this.data.imageList,
+      userName: app.globalData.currentAccountInfo.username,
+      userNum:  app.globalData.currentAccountInfo.usernumber
     };
     // 设置正在提交中 防止重复点击提交按钮
     this.setData({

+ 3 - 1
pages/tousujianyi/tousujianyi.js

@@ -256,7 +256,9 @@ Page({
       contact: this.data.contact,
       phone: this.data.phone,
       description: this.data.description,
-      images: this.data.imageList
+      images: this.data.imageList,
+      userName: app.globalData.currentAccountInfo.username,
+      userNum:  app.globalData.currentAccountInfo.usernumber
     };
 debugger
     // 设置正在提交中 防止重复点击提交按钮