优化完成-0116
parent
20fd59898b
commit
93afa6c769
|
@ -89,10 +89,11 @@
|
|||
onLoad() {
|
||||
// 获取工地列表
|
||||
this.getWorksiteList();
|
||||
},
|
||||
onShow() {
|
||||
// 获取打卡列表
|
||||
this.getOvertimeList();
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
onReachBottom() {
|
||||
if(this.overtimeList.length<this.total){
|
||||
|
|
|
@ -54,10 +54,11 @@
|
|||
if(op.id){
|
||||
this.worker_id = op.id;
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
// 获取评级列表
|
||||
this.getEvaluateList();
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 获取评级列表
|
||||
|
|
|
@ -41,11 +41,11 @@
|
|||
}
|
||||
},
|
||||
onLoad(op) {
|
||||
|
||||
},
|
||||
onShow() {
|
||||
// 获取工地公告
|
||||
this.getWorksiteNotice();
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 改变公告开启状态
|
||||
|
|
|
@ -67,11 +67,11 @@
|
|||
}
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
},
|
||||
onShow() {
|
||||
// 获取离职列表
|
||||
this.getQuitApplyList();
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
onReachBottom() {
|
||||
if(this.quitApplyList.length<this.total){
|
||||
|
|
|
@ -66,11 +66,11 @@
|
|||
}
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
},
|
||||
onShow() {
|
||||
// 获取补卡列表
|
||||
this.getRepairList();
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
onReachBottom() {
|
||||
if(this.repairList.length<this.total){
|
||||
|
|
|
@ -71,11 +71,11 @@
|
|||
}
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
},
|
||||
onShow() {
|
||||
// 获取工人列表
|
||||
this.getWorkerList();
|
||||
},
|
||||
onShow() {
|
||||
|
||||
},
|
||||
onReachBottom() {
|
||||
if(this.signList.length<this.total){
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -234,11 +234,10 @@ var _default = {
|
|||
onLoad: function onLoad() {
|
||||
// 获取工地列表
|
||||
this.getWorksiteList();
|
||||
},
|
||||
onShow: function onShow() {
|
||||
// 获取打卡列表
|
||||
this.getOvertimeList();
|
||||
},
|
||||
onShow: function onShow() {},
|
||||
onReachBottom: function onReachBottom() {
|
||||
if (this.overtimeList.length < this.total) {
|
||||
this.page++;
|
||||
|
|
|
@ -220,11 +220,10 @@ var _default = {
|
|||
if (op.id) {
|
||||
this.worker_id = op.id;
|
||||
}
|
||||
},
|
||||
onShow: function onShow() {
|
||||
// 获取评级列表
|
||||
this.getEvaluateList();
|
||||
},
|
||||
onShow: function onShow() {},
|
||||
methods: {
|
||||
// 获取评级列表
|
||||
getEvaluateList: function getEvaluateList() {
|
||||
|
|
|
@ -186,11 +186,11 @@ var _default = {
|
|||
noticeMsg: '' //公告内容
|
||||
};
|
||||
},
|
||||
onLoad: function onLoad(op) {},
|
||||
onShow: function onShow() {
|
||||
onLoad: function onLoad(op) {
|
||||
// 获取工地公告
|
||||
this.getWorksiteNotice();
|
||||
},
|
||||
onShow: function onShow() {},
|
||||
methods: {
|
||||
// 改变公告开启状态
|
||||
changeNotickStatus: function changeNotickStatus(index) {
|
||||
|
|
|
@ -211,11 +211,11 @@ var _default = {
|
|||
ids: '' //选中的id
|
||||
};
|
||||
},
|
||||
onLoad: function onLoad() {},
|
||||
onShow: function onShow() {
|
||||
onLoad: function onLoad() {
|
||||
// 获取离职列表
|
||||
this.getQuitApplyList();
|
||||
},
|
||||
onShow: function onShow() {},
|
||||
onReachBottom: function onReachBottom() {
|
||||
if (this.quitApplyList.length < this.total) {
|
||||
this.page++;
|
||||
|
|
|
@ -211,11 +211,11 @@ var _default = {
|
|||
ids: '' //选中的id
|
||||
};
|
||||
},
|
||||
onLoad: function onLoad() {},
|
||||
onShow: function onShow() {
|
||||
onLoad: function onLoad() {
|
||||
// 获取补卡列表
|
||||
this.getRepairList();
|
||||
},
|
||||
onShow: function onShow() {},
|
||||
onReachBottom: function onReachBottom() {
|
||||
if (this.repairList.length < this.total) {
|
||||
this.page++;
|
||||
|
|
|
@ -222,11 +222,11 @@ var _default = {
|
|||
changeIndex: 0 //改变星级位置
|
||||
};
|
||||
},
|
||||
onLoad: function onLoad() {},
|
||||
onShow: function onShow() {
|
||||
onLoad: function onLoad() {
|
||||
// 获取工人列表
|
||||
this.getWorkerList();
|
||||
},
|
||||
onShow: function onShow() {},
|
||||
onReachBottom: function onReachBottom() {
|
||||
if (this.signList.length < this.total) {
|
||||
this.page++;
|
||||
|
|
Loading…
Reference in New Issue