|
@ -135,7 +135,7 @@ const user = { |
|
|
}).then(task => { |
|
|
}).then(task => { |
|
|
messagePush.push({ |
|
|
messagePush.push({ |
|
|
key: 'MyTask', |
|
|
key: 'MyTask', |
|
|
value: task.totalCount |
|
|
value: task.total |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
getRenwuListByPath({ // 待分配任务
|
|
|
getRenwuListByPath({ // 待分配任务
|
|
@ -147,10 +147,10 @@ const user = { |
|
|
}, 'list').then(task => { |
|
|
}, 'list').then(task => { |
|
|
messagePush.push({ |
|
|
messagePush.push({ |
|
|
key: 'AllotList', |
|
|
key: 'AllotList', |
|
|
value: task.totalCount |
|
|
value: task.total |
|
|
}, { |
|
|
}, { |
|
|
key: 'allot', |
|
|
key: 'allot', |
|
|
value: task.totalCount > 0 ? 1 : 0 |
|
|
value: task.total > 0 ? 1 : 0 |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
getRenwuListByPath({ // 退回任务
|
|
|
getRenwuListByPath({ // 退回任务
|
|
@ -160,7 +160,7 @@ const user = { |
|
|
}, 'getTuihuiList').then(task => { |
|
|
}, 'getTuihuiList').then(task => { |
|
|
messagePush.push({ |
|
|
messagePush.push({ |
|
|
key: 'BackRenwu', |
|
|
key: 'BackRenwu', |
|
|
value: task.totalCount |
|
|
value: task.total |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
getNeedRecordList({ // 待办记录
|
|
|
getNeedRecordList({ // 待办记录
|
|
@ -173,10 +173,10 @@ const user = { |
|
|
}).then((ysjl) => { |
|
|
}).then((ysjl) => { |
|
|
messagePush.push({ |
|
|
messagePush.push({ |
|
|
key: 'TODOYsjl', |
|
|
key: 'TODOYsjl', |
|
|
value: ysjl.totalCount |
|
|
value: ysjl.total |
|
|
}, { |
|
|
}, { |
|
|
key: 'ysjl', |
|
|
key: 'ysjl', |
|
|
value: ysjl.totalCount > 0 ? 1 : 0 |
|
|
value: ysjl.total > 0 ? 1 : 0 |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
getNeedRecordList({ // 检验报告列表
|
|
|
getNeedRecordList({ // 检验报告列表
|
|
@ -190,10 +190,10 @@ const user = { |
|
|
}).then((ysjl) => { |
|
|
}).then((ysjl) => { |
|
|
messagePush.push({ |
|
|
messagePush.push({ |
|
|
key: 'TODOReport', |
|
|
key: 'TODOReport', |
|
|
value: ysjl.totalCount |
|
|
value: ysjl.total |
|
|
}, { |
|
|
}, { |
|
|
key: 'bggl', |
|
|
key: 'bggl', |
|
|
value: ysjl.totalCount > 0 ? 1 : 0 |
|
|
value: ysjl.total > 0 ? 1 : 0 |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
getNeedRecordList({ // 待审报告列表
|
|
|
getNeedRecordList({ // 待审报告列表
|
|
@ -205,7 +205,7 @@ const user = { |
|
|
}).then((ysjl) => { |
|
|
}).then((ysjl) => { |
|
|
messagePush.push({ |
|
|
messagePush.push({ |
|
|
key: 'dsbg-list', |
|
|
key: 'dsbg-list', |
|
|
value: ysjl.totalCount |
|
|
value: ysjl.total |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
if (departmentId === 75) { // 锅炉科室定检
|
|
|
if (departmentId === 75) { // 锅炉科室定检
|
|
@ -222,7 +222,7 @@ const user = { |
|
|
}).then((data) => { |
|
|
}).then((data) => { |
|
|
messagePush.push({ |
|
|
messagePush.push({ |
|
|
key: 'PrintReportGlKsWdy', |
|
|
key: 'PrintReportGlKsWdy', |
|
|
value: data.totalCount |
|
|
value: data.total |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
getNeedRecordList({ // 未发放
|
|
|
getNeedRecordList({ // 未发放
|
|
@ -239,10 +239,10 @@ const user = { |
|
|
}).then((data) => { |
|
|
}).then((data) => { |
|
|
messagePush.push({ |
|
|
messagePush.push({ |
|
|
key: 'GrantReportGlCreate', |
|
|
key: 'GrantReportGlCreate', |
|
|
value: data.totalCount |
|
|
value: data.total |
|
|
}, { |
|
|
}, { |
|
|
key: 'grant', |
|
|
key: 'grant', |
|
|
value: data.totalCount > 0 ? 1 : 0 |
|
|
value: data.total > 0 ? 1 : 0 |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
getNeedRecordList({ // 已发放
|
|
|
getNeedRecordList({ // 已发放
|
|
@ -259,7 +259,7 @@ const user = { |
|
|
}).then((data) => { |
|
|
}).then((data) => { |
|
|
messagePush.push({ |
|
|
messagePush.push({ |
|
|
key: 'GrantReportGlYiFafang', |
|
|
key: 'GrantReportGlYiFafang', |
|
|
value: data.totalCount |
|
|
value: data.total |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|