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