修复问题
This commit is contained in:
parent
e04c62df44
commit
51a23c558b
|
@ -143,7 +143,7 @@ export default {
|
|||
return resolve(order);
|
||||
}
|
||||
return reject(response.msg);
|
||||
}).catch(e => { throw e });
|
||||
}).catch(e => { });
|
||||
});
|
||||
},
|
||||
/**
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
export default {
|
||||
worketTypeText(type) {
|
||||
switch (type) {
|
||||
case 0: return ['普通师傅', '#bfbfbf'];
|
||||
case 1: return ['入驻师傅', '#d9a019'];
|
||||
case 1: return ['普通师傅', '#bfbfbf'];
|
||||
case 2: return ['入驻师傅', '#d9a019'];
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
|
@ -123,10 +123,10 @@ export default {
|
|||
},
|
||||
],
|
||||
action: {
|
||||
item1: 1,
|
||||
item2: 2,
|
||||
item3: 3,
|
||||
item4: 4,
|
||||
item1: 0,
|
||||
item2: 0,
|
||||
item3: 0,
|
||||
item4: 0,
|
||||
},
|
||||
};
|
||||
},
|
||||
|
@ -137,14 +137,16 @@ export default {
|
|||
onShow() {
|
||||
this.$request({
|
||||
api: "system.serviceData",
|
||||
}).then((response) => {
|
||||
})
|
||||
.then((response) => {
|
||||
if (response.code == 1) {
|
||||
this.action.item1 = response.data.order1;
|
||||
this.action.item2 = response.data.order2;
|
||||
this.action.item3 = response.data.order3;
|
||||
this.action.item4 = response.data.order4;
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch((e) => {});
|
||||
},
|
||||
onReady() {},
|
||||
onReachBottom() {},
|
||||
|
|
Loading…
Reference in New Issue