{"remainingRequest":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\sfz-lh-fvue\\src\\api\\BasicDataManagement\\workUser.js","dependencies":[{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\src\\api\\BasicDataManagement\\workUser.js","mtime":1702580926969},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import req from \"@/request.js\";\nvar portal = window.context.portal;\nexport default {\n // 获取排班信息\n queryWorkUser: function queryWorkUser(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizRankUser/v1/query\", data).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n });\n },\n // 获取某月的排班信息\n queryMonthWorkUser: function queryMonthWorkUser(queryDate, tollStationId, rankGroupId) {\n return new Promise(function (resolve, reject) {\n if (rankGroupId) {\n req.get(portal + \"/bizRankUser/v1/findMonthArrangeInfo?queryDate=\" + queryDate + '&tollStationId=' + tollStationId + '&rankGroupId=' + rankGroupId).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n } else {\n req.get(portal + \"/bizRankUser/v1/findMonthArrangeInfo?queryDate=\" + queryDate + '&tollStationId=' + tollStationId).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n }\n });\n },\n //提交\n batchSubmit: function batchSubmit(dialogForm, cb) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizRankUser/v1/save\", dialogForm).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n });\n },\n //批量添加\n batchAdd: function batchAdd(dialogForm, cb) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizRankUser/v1/saveList\", dialogForm).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n });\n },\n // 批量删除\n batchDelete: function batchDelete(deleteIds, cb) {\n return new Promise(function (resolve, reject) {\n req.remove(portal + '/bizRankUser/v1/?ids=' + deleteIds).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n });\n },\n // 根据id删除\n deleteOne: function deleteOne(deleteId, cb) {\n return new Promise(function (resolve, reject) {\n req.remove(portal + '/bizRankUser/v1/' + deleteId).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n });\n }\n};",null]}