enterpriseVisit.js 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. import request from "../../common/request"
  2. export default {
  3. // 查询我提交的问题反馈单
  4. myQuestionFeedbackList: function(params) {
  5. return request({
  6. url: '/api/chain/questionFeedback/getMyQuestionFeedbackList',
  7. method: 'GET', // method 可以不传,默认get
  8. params: params
  9. })
  10. },
  11. // 查询我提交的企业经营单
  12. myEnterpriseOpeList: function(params) {
  13. return request({
  14. url: '/api/chain/enterpriseOperation/getMyEnterpriseOpeList',
  15. method: 'GET', // method 可以不传,默认get
  16. params: params
  17. })
  18. },
  19. // 待处理数据统计
  20. myDealingCount: function(params) {
  21. return request({
  22. url: '/api/chain/questionFeedback/myDealingCount',
  23. method: 'GET', // method 可以不传,默认get
  24. params: params
  25. })
  26. },
  27. // 新建问题反馈单
  28. createQuestionFeedback: function(params) {
  29. return request({
  30. url: '/api/chain/questionFeedback/createQuestionFeedback',
  31. method: 'POST', // method 可以不传,默认get
  32. data
  33. })
  34. },
  35. // 处理问题单
  36. dealQuestionFeedback: function(params) {
  37. return request({
  38. url: '/api/chain/questionFeedback/dealQuestionFeedback',
  39. method: 'POST', // method 可以不传,默认get
  40. data
  41. })
  42. },
  43. // 保存问题明细
  44. saveQuestProcess: function(params) {
  45. return request({
  46. url: '/api/chain/questionFeedback/saveQuestProcess',
  47. method: 'POST', // method 可以不传,默认get
  48. data
  49. })
  50. },
  51. // 查询待处理的问题反馈单
  52. getMyDealingQuestionFeedback: function(params) {
  53. return request({
  54. url: '/api/chain/questionFeedback/getMyDealingQuestionFeedback',
  55. method: 'GET', // method 可以不传,默认get
  56. data
  57. })
  58. },
  59. // 查询是否存在草稿状态的问题单
  60. getMyQuestionFeedback: function(params) {
  61. return request({
  62. url: '/api/chain/questionFeedback/getMyQuestionFeedback',
  63. method: 'GET', // method 可以不传,默认get
  64. params: params
  65. })
  66. },
  67. // 查询当前登录用户的角色类型
  68. getMyRole: function(params) {
  69. return request({
  70. url: '/api/chain/questionFeedback/getMyRole',
  71. method: 'GET', // method 可以不传,默认get
  72. params: params
  73. })
  74. },
  75. // 根据问题单id查询问题单详情
  76. getQuestionFeedbackDetail(id) {
  77. return request({
  78. url: `/api/chain/questionFeedback/getQuestionFeedbackDetail/${id}`,
  79. method: 'GET' // method 可以不传,默认get
  80. })
  81. },
  82. assignEditFlag(id) {
  83. return request({
  84. url: `/api/chain/questionFeedback/assignEditFlag/${id}`,
  85. method: 'GET' // method 可以不传,默认get
  86. })
  87. },
  88. // 查询待处理的企业经营单
  89. getMyDealingEnterpriseOpe: function(params) {
  90. return request({
  91. url: `/api/chain/enterpriseOperation/getMyDealingEnterpriseOpe`,
  92. method: 'GET', // method 可以不传,默认get
  93. data
  94. })
  95. },
  96. // 处理企业经营单
  97. dealEnterpriseOpe: function(params) {
  98. return request({
  99. url: `/api/chain/enterpriseOperation/dealEnterpriseOpe`,
  100. method: 'POST', // method 可以不传,默认get
  101. data
  102. })
  103. },
  104. // 待评价的问题列表
  105. evaluateList: function(params) {
  106. return request({
  107. url: `/api/chain/questionEvaluate/evaluateList`,
  108. method: 'GET', // method 可以不传,默认get
  109. data
  110. })
  111. },
  112. // 创建问题评价记录
  113. evaluateCreate: function(params) {
  114. return request({
  115. url: `/api/chain/questionEvaluate/create`,
  116. method: 'POST', // method 可以不传,默认get
  117. data
  118. })
  119. },
  120. // 绑定企业
  121. bindEnterprise: function(params) {
  122. return request({
  123. url: '/api/chain/enterpriseCadreRel/bindEnterprise',
  124. method: 'POST', // method 可以不传,默认get
  125. data
  126. })
  127. },
  128. // 批量查询企业和挂钩干部
  129. fetchAllEnterpriseCadre: function(params) {
  130. return request({
  131. url: '/api/chain/enterpriseCadreRel/fetchAllEnterpriseCadre',
  132. method: 'GET', // method 可以不传,默认get
  133. params: params
  134. })
  135. },
  136. // 新增/修改企业经营情况
  137. enterpriseOperationModify: function(params) {
  138. return request({
  139. url: '/api/chain/enterpriseOperation/modify',
  140. method: 'POST', // method 可以不传,默认get
  141. data
  142. })
  143. },
  144. // 获取企业经营情况详情
  145. enterpriseOperationDetail(id) {
  146. return request({
  147. url: `/api/chain/enterpriseOperation/detail/${id}`,
  148. method: 'GET' // method 可以不传,默认get
  149. })
  150. },
  151. // 获取绑定干部下的企业列表
  152. fetchOwnManagerEnterprise: function(params) {
  153. return request({
  154. url: '/api/chain/enterpriseCadreRel/fetchOwnManagerEnterprise',
  155. method: 'GET', // method 可以不传,默认get
  156. params: params
  157. })
  158. },
  159. // 查询是否存在草稿状态的问题单
  160. enterpriseOperationStatus: function(params) {
  161. return request({
  162. url: `/api/chain/enterpriseOperation/getDraft`,
  163. method: 'GET', // method 可以不传,默认get
  164. params: params
  165. })
  166. },
  167. // 问题反馈、经营情况操作记录相关接口
  168. recordCreate: function(params) {
  169. return request({
  170. url: `/api/chain/questionOpeRecord/create`,
  171. method: 'POST', // method 可以不传,默认get
  172. params: params
  173. })
  174. },
  175. // 问题反馈/经营情况处理结果消息统计
  176. countNotice: function(params) {
  177. return request({
  178. url: `/api/chain/questionResultNotice/countNotice`,
  179. method: 'GET', // method 可以不传,默认get
  180. params: params
  181. })
  182. },
  183. // 问题反馈/经营情况处理结果消息列表
  184. noticeList: function(params) {
  185. return request({
  186. url: `/api/chain/questionResultNotice/list`,
  187. method: 'GET', // method 可以不传,默认get
  188. data
  189. })
  190. },
  191. // 问题反馈/经营情况处理结果消息列表
  192. noticeRead: function(params) {
  193. return request({
  194. url: `/api/chain/questionResultNotice/read`,
  195. method: 'GET', // method 可以不传,默认get
  196. data
  197. })
  198. },
  199. // 字典项接口
  200. dict: function(params) {
  201. return request({
  202. url: `/api/system/DictionaryData/getListByTypeCode`,
  203. method: 'GET', // method 可以不传,默认get
  204. params: params
  205. })
  206. },
  207. //看板接口
  208. //看板统计接口
  209. count: function(params) {
  210. return request({
  211. url: `/api/chain/lookBoard/count`,
  212. method: 'POST', // method 可以不传,默认get
  213. params: params
  214. })
  215. },
  216. //看板饼图接口
  217. viewQuestionPie: function(params) {
  218. return request({
  219. url: `/api/chain/questionFeedback/viewQuestionPie`,
  220. method: 'GET', // method 可以不传,默认get
  221. params: params
  222. })
  223. },
  224. //走访明细接口
  225. viewDetailByArea: function(params) {
  226. return request({
  227. url: `/api/chain/enterpriseOperation/viewDetailByArea`,
  228. method: 'GET', // method 可以不传,默认get
  229. params: params
  230. })
  231. },
  232. //走访记录
  233. pageViewDate: function(params) {
  234. return request({
  235. url: `/api/chain/enterpriseOperation/pageViewDate`,
  236. method: 'GET', // method 可以不传,默认get
  237. params: params
  238. })
  239. },
  240. //问题反馈-看板
  241. pageQuestions: function(params) {
  242. return request({
  243. url: `/api/chain/questionFeedback/pageQuestions`,
  244. method: 'GET', // method 可以不传,默认get
  245. params: params
  246. })
  247. },
  248. }