|
@@ -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);
|