gaoyognxing hace 4 años
padre
commit
590826ca19
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      client/pages/servant/servantdetail/servantdetail.js

+ 5 - 5
client/pages/servant/servantdetail/servantdetail.js

@@ -13,9 +13,9 @@ Page({
   },
   onLoad() {
     this.setData({
-      customerName: app.globalData.relationInfo.servantName,
-      weekday: app.globalData.relationInfo.servantTaskPeriod.workDay,
-      servantTypeValue: app.globalData.relationInfo.servantType
+      servantName: app.globalData.servantInfo.employerName,
+      weekday: app.globalData.servantInfo.servantTaskPeriod.workDay,
+      servantTypeValue: app.globalData.servantInfo.servantType
     }),
       console.log("employRelationNo=" + app.globalData.employRelationNo)
     this.initServantDescribleInfo()
@@ -23,8 +23,8 @@ Page({
   initServantDescribleInfo() {
     let params = {
       "employRelationNo": app.globalData.employRelationNo,
-      "subjectType": "SN000002",
-      "userType": "1"
+      "subjectType": "SN000001",
+      "userType": "2"
     }
     request.httpServicePost(apiUrl.customerDescribleInfo, params).then(data => {
       console.log("保姆描述信息=" + data.length);