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