import request from '../../../util/http' import apiUrl from '../../../util/apiUrl1' import util from '../../../util/util' import moment from 'moment' var app = getApp(); Page({ data: { servantlist:[], }, onLoad() { this.getservantlist("SN000002"); }, getservantlist(subjectType){ request.httpServiceGet(apiUrl.servantappletservicePath,{subjectType:subjectType}).then(data=>{ //console.log(data); this.setData({ servantlist: data }); }); }, dailytasksdeit(){ let employRelationNo = app.globalData.employRelationNo; let servantselectedlist=[]; for(let i=0;i{ my.alert({ title: data, }); }); }, answerselected(e){ //console.log(e.target.dataset.id); //console.log(e.detail.value); let checkedlist=e.detail.value; let servantlist=this.data.servantlist; //先做清除 for(let i=0;i