gaoyognxing %!s(int64=4) %!d(string=hai) anos
pai
achega
590826ca19
Modificáronse 1 ficheiros con 5 adicións e 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);