新增修改完成,已提交体验版-0114
parent
43c5803e38
commit
8951dfe254
|
@ -161,12 +161,14 @@
|
|||
worksite_id:this.worksiteList[this.worksiteIndex].id,
|
||||
type:this.radioList[this.radioIndex].type
|
||||
}
|
||||
this.$requst.post('/api/v1/worker/replenish',params).then(res=>{
|
||||
this.$requst.post('/api/v1/user/replenish',params).then(res=>{
|
||||
if(res.code==0){
|
||||
this.$toolAll.tools.showToast('补卡成功');
|
||||
this.showCard = false;
|
||||
// 获取状态列表
|
||||
this.$refs.signCalendar.getStatusObj();
|
||||
}else{
|
||||
this.$toolAll.tools.showToast(res.msg);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -308,12 +308,14 @@ var _default = {
|
|||
worksite_id: this.worksiteList[this.worksiteIndex].id,
|
||||
type: this.radioList[this.radioIndex].type
|
||||
};
|
||||
this.$requst.post('/api/v1/worker/replenish', params).then(function (res) {
|
||||
this.$requst.post('/api/v1/user/replenish', params).then(function (res) {
|
||||
if (res.code == 0) {
|
||||
_this2.$toolAll.tools.showToast('补卡成功');
|
||||
_this2.showCard = false;
|
||||
// 获取状态列表
|
||||
_this2.$refs.signCalendar.getStatusObj();
|
||||
} else {
|
||||
_this2.$toolAll.tools.showToast(res.msg);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue