|
@@ -2,6 +2,11 @@ Page({
|
|
|
data: {
|
|
|
listShow:false,
|
|
|
editModalShow:false,//编辑弹框
|
|
|
+ unSetModal:true,//未设置服务者提醒
|
|
|
+ unSetBtn: [
|
|
|
+ { text: '设置', extClass: 'buttonBold' },
|
|
|
+ { text: '暂不' },
|
|
|
+ ],
|
|
|
customerName:'',//客户姓名输入
|
|
|
buttonFooter:[
|
|
|
{ text: '取消' },
|
|
@@ -53,5 +58,19 @@ Page({
|
|
|
},
|
|
|
enterServantCenter(){
|
|
|
// my.navigateTo({ url: '../servantCenter/servantCenter' });
|
|
|
+ },
|
|
|
+ // 点击设置按钮
|
|
|
+ onSetButtonClick(e){
|
|
|
+ console.log(e.target);
|
|
|
+ if(e.target.dataset.index==0){
|
|
|
+ this.setData({
|
|
|
+ unSetModal: false,
|
|
|
+ });
|
|
|
+ my.navigateTo({ url: '../createServant/createServant' });
|
|
|
+ }else{
|
|
|
+ this.setData({
|
|
|
+ unSetModal: false,
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
});
|