{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\reform-fvue\\src\\api\\satisfaction\\satisfaction.js","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\api\\satisfaction\\satisfaction.js","mtime":1681724617782},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import req from '@/request.js';\nvar portal = window.context.portal;\nvar headers = {\n 'Content-type': 'application/x-www-form-urlencoded'\n};\nexport default {\n // 分页查询\n // getSurveyList(pamars,cb) {\n // \treq.post(portal + `/biz/bizReformSatisfactionManagement/v1/page`, pamars).then(res => {\n // \t\tcb(res.data)\n // \t})\n // },\n // 专员查询\n getSurveyList: function getSurveyList(data, cb) {\n req.post(portal + \"/biz/bizReformSatisfactionManagement/v1/query\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 满意度审核查询\n getSurveyList1: function getSurveyList1(data, cb) {\n req.post(portal + \"/biz/bizReformSatisfactionManagement/v1/auditQuery\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 满意度确认\n getSurveyList2: function getSurveyList2(data, cb) {\n req.post(portal + \"/biz/bizReformSatisfactionManagement/v1/reformQuery\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 新增、修改\n addSurvey: function addSurvey(data, cb) {\n req.post(portal + \"/biz/bizReformSatisfactionManagement/v1/saveOrUpdateSatisfaction\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 删除\n deleteSurvey: function deleteSurvey(ids, cb) {\n req.post(portal + \"/biz/bizReformSatisfactionManagement/v1/delete?id=\".concat(ids)).then(function (res) {\n cb(res.data);\n });\n },\n // 查询所有区县\n getDistrictList: function getDistrictList(cb) {\n req.get(portal + \"/api/org/v1/selectQx\").then(function (res) {\n cb(res.data);\n });\n },\n // 满意度审核\n auditById: function auditById(data, cb) {\n req.post(portal + \"/biz/bizReformSatisfactionManagement/v1/updateStatusById?id=\".concat(data.id, \"&status=\").concat(data.status)).then(function (res) {\n cb(res.data);\n });\n },\n // 分页查询项目改革满意度管理\n getProjectList: function getProjectList(data, cb) {\n req.post(portal + \"/fill/bizReformSatisfactionProject/v1/query\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 删除项目满意度调查\n deleteProject: function deleteProject(ids, cb) {\n req.post(portal + \"/fill/bizReformSatisfactionProject/v1/delete?id=\".concat(ids)).then(function (res) {\n cb(res.data);\n });\n },\n // 新增、修改改革项目满意度调查\n addProject: function addProject(data, cb) {\n req.post(portal + \"/fill/bizReformSatisfactionProject/v1/save\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 根据id查询所有附件信息\n getFileListById: function getFileListById(data, cb) {\n req.post(portal + \"/file/v1/query\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 根据id下载文件\n getDownloadById: function getDownloadById(id, cb) {\n req.get(portal + \"/file/v1/downloadFile?fileId=\".concat(id)).then(function (res) {\n cb(res.data);\n });\n },\n // 根据id删除附件\n deleteFileById: function deleteFileById(ids, cb) {\n req.post(portal + \"/file/v1/remove\", ids).then(function (res) {\n cb(res.data);\n });\n },\n // 根据id获取已导入的数据\n getImportDataById: function getImportDataById(data, cb) {\n req.request({\n method: 'post',\n url: portal + \"/biz/reformSatisfaction/districts/detailQuery\",\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 分页查询\n queryByPage: function queryByPage(data) {\n var status = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'false';\n var cb = arguments.length > 2 ? arguments[2] : undefined;\n req.post(portal + \"/biz/bizReformSatisfactionManagement/v1/queryByPage?isAffirm=\".concat(status), data).then(function (res) {\n cb(res.data);\n });\n },\n // 根据id查询\n queryById: function queryById(data, cb) {\n req.request({\n method: 'post',\n url: portal + \"/biz/bizReformSatisfactionManagement/v1/queryById\",\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n }\n};",null]}