|
@@ -15,7 +15,7 @@ Page({
|
|
|
loadpage(subtypeNo){
|
|
|
let employRelationNo = app.globalData.employRelationNo;
|
|
|
let params = {employRelationNo:employRelationNo}
|
|
|
- request.httpServiceGet(apiUrl.getSubjectWhenEdit, params).then(data => {
|
|
|
+ request.httpServiceGet(apiUrl.getEmployerSubjectWhenEdit, params).then(data => {
|
|
|
if (data.length > 0) {
|
|
|
//加载全部的类别
|
|
|
let subjectList={};
|
|
@@ -56,7 +56,7 @@ Page({
|
|
|
}
|
|
|
}
|
|
|
//console.log(servantselectedlist);
|
|
|
- request.httpServicePost(apiUrl.updateServantLove,{employRelationNo:employRelationNo,subjectList:servantselectedlist,subjectType:"SN000002"}).then(data=>{
|
|
|
+ request.httpServicePost(apiUrl.updateEmployerLove,{employRelationNo:employRelationNo,subjectList:servantselectedlist,subjectType:"SN000002"}).then(data=>{
|
|
|
my.alert({
|
|
|
title: '提示',
|
|
|
content: '设置完成',
|