@ -492,6 +492,9 @@ async function exportData (ctx) {
let { packageUser: exportD, pepUserIds } = await packageUserData(userRes)
let preHeader = [{
title: '员工编号',
key: 'userCode',
}, {
title: '姓名',
key: 'userName',
}]
@ -347,7 +347,7 @@ module.exports = function (app, opts) {
}
let returnD = []
let pepUserIds = []
let pepUserIds = [-1]
userRes.rows.forEach(u => {
let existUser = returnD.find(r => r.pepUserId == u.pepUserId)
if (existUser) {