Commit 352f3f57 by 王昆

gsb

parent 628c824e
......@@ -827,6 +827,22 @@ class LaoActionApi extends APIBase {
}
}
async workloadTotal(obj) {
try {
obj.pageSize = 1;
obj.status = 1;
var rs = await this.workloadSve.pageByCondition(obj);
if(!rs || !rs.count) {
return system.getResultSuccess(0);
}
return system.getResultSuccess(rs.count);
} catch (e) {
console.log(e);
return system.getErrResult2("您的网络不稳, 请稍后重试")
}
}
// 确认列表
async workloadHistory(obj) {
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment