123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- import request from "../../common/request"
- export default {
-
- // 查询我提交的问题反馈单
- myQuestionFeedbackList: function(params) {
- return request({
- url: '/api/chain/questionFeedback/getMyQuestionFeedbackList',
- method: 'GET', // method 可以不传,默认get
- params: params
-
- })
- },
- // 查询我提交的企业经营单
- myEnterpriseOpeList: function(params) {
- return request({
- url: '/api/chain/enterpriseOperation/getMyEnterpriseOpeList',
- method: 'GET', // method 可以不传,默认get
- params: params
-
- })
- },
- // 待处理数据统计
- myDealingCount: function(params) {
- return request({
- url: '/api/chain/questionFeedback/myDealingCount',
- method: 'GET', // method 可以不传,默认get
- params: params
-
- })
- },
- // 新建问题反馈单
- createQuestionFeedback: function(params) {
- return request({
- url: '/api/chain/questionFeedback/createQuestionFeedback',
- method: 'POST', // method 可以不传,默认get
- data
- })
- },
- // 处理问题单
- dealQuestionFeedback: function(params) {
- return request({
- url: '/api/chain/questionFeedback/dealQuestionFeedback',
- method: 'POST', // method 可以不传,默认get
- data
- })
- },
-
- // 保存问题明细
- saveQuestProcess: function(params) {
- return request({
- url: '/api/chain/questionFeedback/saveQuestProcess',
- method: 'POST', // method 可以不传,默认get
- data
- })
- },
-
- // 查询待处理的问题反馈单
- getMyDealingQuestionFeedback: function(params) {
- return request({
- url: '/api/chain/questionFeedback/getMyDealingQuestionFeedback',
- method: 'GET', // method 可以不传,默认get
- data
- })
- },
- // 查询是否存在草稿状态的问题单
- getMyQuestionFeedback: function(params) {
- return request({
- url: '/api/chain/questionFeedback/getMyQuestionFeedback',
- method: 'GET', // method 可以不传,默认get
- params: params
-
- })
- },
- // 查询当前登录用户的角色类型
- getMyRole: function(params) {
- return request({
- url: '/api/chain/questionFeedback/getMyRole',
- method: 'GET', // method 可以不传,默认get
- params: params
-
- })
- },
- // 根据问题单id查询问题单详情
- getQuestionFeedbackDetail(id) {
- return request({
- url: `/api/chain/questionFeedback/getQuestionFeedbackDetail/${id}`,
- method: 'GET' // method 可以不传,默认get
- })
- },
-
- assignEditFlag(id) {
- return request({
- url: `/api/chain/questionFeedback/assignEditFlag/${id}`,
- method: 'GET' // method 可以不传,默认get
- })
- },
-
- // 查询待处理的企业经营单
- getMyDealingEnterpriseOpe: function(params) {
- return request({
- url: `/api/chain/enterpriseOperation/getMyDealingEnterpriseOpe`,
- method: 'GET', // method 可以不传,默认get
- data
- })
- },
- // 处理企业经营单
- dealEnterpriseOpe: function(params) {
- return request({
- url: `/api/chain/enterpriseOperation/dealEnterpriseOpe`,
- method: 'POST', // method 可以不传,默认get
- data
- })
- },
- // 待评价的问题列表
- evaluateList: function(params) {
- return request({
- url: `/api/chain/questionEvaluate/evaluateList`,
- method: 'GET', // method 可以不传,默认get
- data
- })
- },
- // 创建问题评价记录
- evaluateCreate: function(params) {
- return request({
- url: `/api/chain/questionEvaluate/create`,
- method: 'POST', // method 可以不传,默认get
- data
- })
- },
- // 绑定企业
- bindEnterprise: function(params) {
- return request({
- url: '/api/chain/enterpriseCadreRel/bindEnterprise',
- method: 'POST', // method 可以不传,默认get
- data
- })
- },
- // 批量查询企业和挂钩干部
- fetchAllEnterpriseCadre: function(params) {
- return request({
- url: '/api/chain/enterpriseCadreRel/fetchAllEnterpriseCadre',
- method: 'GET', // method 可以不传,默认get
- params: params
-
- })
- },
- // 新增/修改企业经营情况
- enterpriseOperationModify: function(params) {
- return request({
- url: '/api/chain/enterpriseOperation/modify',
- method: 'POST', // method 可以不传,默认get
- data
- })
- },
- // 获取企业经营情况详情
- enterpriseOperationDetail(id) {
- return request({
- url: `/api/chain/enterpriseOperation/detail/${id}`,
- method: 'GET' // method 可以不传,默认get
- })
- },
- // 获取绑定干部下的企业列表
- fetchOwnManagerEnterprise: function(params) {
- return request({
- url: '/api/chain/enterpriseCadreRel/fetchOwnManagerEnterprise',
- method: 'GET', // method 可以不传,默认get
- params: params
-
- })
- },
- // 查询是否存在草稿状态的问题单
- enterpriseOperationStatus: function(params) {
- return request({
- url: `/api/chain/enterpriseOperation/getDraft`,
- method: 'GET', // method 可以不传,默认get
- params: params
-
- })
- },
- // 问题反馈、经营情况操作记录相关接口
- recordCreate: function(params) {
- return request({
- url: `/api/chain/questionOpeRecord/create`,
- method: 'POST', // method 可以不传,默认get
- params: params
-
- })
- },
- // 问题反馈/经营情况处理结果消息统计
- countNotice: function(params) {
- return request({
- url: `/api/chain/questionResultNotice/countNotice`,
- method: 'GET', // method 可以不传,默认get
- params: params
-
- })
- },
- // 问题反馈/经营情况处理结果消息列表
- noticeList: function(params) {
- return request({
- url: `/api/chain/questionResultNotice/list`,
- method: 'GET', // method 可以不传,默认get
- data
- })
- },
- // 问题反馈/经营情况处理结果消息列表
- noticeRead: function(params) {
- return request({
- url: `/api/chain/questionResultNotice/read`,
- method: 'GET', // method 可以不传,默认get
- data
- })
- },
- // 字典项接口
- dict: function(params) {
- return request({
- url: `/api/system/DictionaryData/getListByTypeCode`,
- method: 'GET', // method 可以不传,默认get
- params: params
-
- })
- },
-
-
- //看板接口
- //看板统计接口
- count: function(params) {
- return request({
- url: `/api/chain/lookBoard/count`,
- method: 'POST', // method 可以不传,默认get
- params: params
- })
- },
- //看板饼图接口
- viewQuestionPie: function(params) {
- return request({
- url: `/api/chain/questionFeedback/viewQuestionPie`,
- method: 'GET', // method 可以不传,默认get
- params: params
- })
- },
-
- //走访明细接口
- viewDetailByArea: function(params) {
- return request({
- url: `/api/chain/enterpriseOperation/viewDetailByArea`,
- method: 'GET', // method 可以不传,默认get
- params: params
- })
- },
-
- //走访记录
- pageViewDate: function(params) {
- return request({
- url: `/api/chain/enterpriseOperation/pageViewDate`,
- method: 'GET', // method 可以不传,默认get
- params: params
- })
- },
-
- //问题反馈-看板
- pageQuestions: function(params) {
- return request({
- url: `/api/chain/questionFeedback/pageQuestions`,
- method: 'GET', // method 可以不传,默认get
- params: params
- })
- },
-
- }
|