{"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\\tollStationManagement.js","dependencies":[{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\src\\api\\BasicDataManagement\\tollStationManagement.js","mtime":1702494522476},{"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 queryTollStation: function queryTollStation(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/tollstation/manager/v1/query\", data).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n });\n },\n //提交\n batchSubmit: function batchSubmit(dialogForm) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/tollstation/manager/v1/save\", dialogForm).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n });\n },\n // 批量删除\n batchDelete: function batchDelete(deleteIds) {\n return new Promise(function (resolve, reject) {\n req.remove(portal + '/tollstation/manager/v1/?ids=' + deleteIds).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n });\n },\n // 路段不分页查询\n queryRoad: function queryRoad(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + '/bizRoadSection/v1/query', data).then(function (res) {\n resolve(res.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n // 收费站下人员查询\n queryWorker: function queryWorker(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + '/tollstation/manager/v1/getAllUser', data).then(function (res) {\n resolve(res.data);\n }, function (error) {\n reject(error);\n });\n });\n }\n};",null]}