优化完成-0116

master
Lee 2023-01-16 15:13:07 +08:00
parent 20fd59898b
commit 93afa6c769
18 changed files with 34 additions and 34 deletions

View File

@ -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){

View File

@ -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: {
// //

View File

@ -41,11 +41,11 @@
} }
}, },
onLoad(op) { onLoad(op) {
},
onShow() {
// //
this.getWorksiteNotice(); this.getWorksiteNotice();
},
onShow() {
}, },
methods: { methods: {
// //

View File

@ -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){

View File

@ -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){

View File

@ -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

View File

@ -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++;

View File

@ -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() {

View File

@ -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) {

View File

@ -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++;

View File

@ -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++;

View File

@ -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++;