index.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. import request from "@/utils/request";
  2. // 查机构
  3. export function selectSpdList(data) {
  4. return request({
  5. url:"/web/mcsList/selectSpdList",
  6. method:"post",
  7. data
  8. })
  9. }
  10. // 查询配送目录接口汇总
  11. export function selectSplerMcsList(data) {
  12. return request({
  13. url:"/web/mcsList/selectSplerMcsList",
  14. method:"post",
  15. data
  16. })
  17. }
  18. // 查询招采耗材接口(弹窗分页)
  19. export function selectMcsList(data) {
  20. return request({
  21. url:"/web/mcsList/selectMcsList",
  22. method:"post",
  23. data
  24. })
  25. }
  26. // 新增耗材配送目录(弹窗确认)
  27. export function saveSplerMcs(data) {
  28. return request({
  29. url:"/web/mcsList/saveSplerMcs",
  30. method:"post",
  31. data
  32. })
  33. }
  34. // 耗材目录详情
  35. export function selectMcsListById(data) {
  36. return request({
  37. url:"/web/mcsList/selectMcsListById",
  38. method:"post",
  39. data
  40. })
  41. }
  42. // 耗材详情修改
  43. export function insertSplerMcsList(data) {
  44. return request({
  45. url:"/web/mcsList/insertSplerMcsList",
  46. method:"post",
  47. data
  48. })
  49. }
  50. // 查询目录记录接口(汇 selectSplerMcsListIntf
  51. export function selectSplerMcsListIntf(data) {
  52. return request({
  53. url:"/web/mcsList/selectSplerMcsListIntf",
  54. method:"post",
  55. data
  56. })
  57. }
  58. // // 查询目录记录接口详情接口
  59. export function selectMcsListIntfById(data) {
  60. return request({
  61. url:"/web/mcsList/selectMcsListIntfById",
  62. method:"post",
  63. data
  64. })
  65. }
  66. // 新增耗材资质接口
  67. export function insertMcsQua(data) {
  68. return request({
  69. url:"/web/mcsList/insertMcsQua",
  70. method:"post",
  71. data
  72. })
  73. }
  74. // 新增生产企业资质接口
  75. export function insertFacQua(data) {
  76. return request({
  77. url:"/web/mcsList/insertFacQua",
  78. method:"post",
  79. data
  80. })
  81. }
  82. //目录删除
  83. export function deleteSplerMcs(data) {
  84. return request({
  85. url:"/web/mcsList/deleteSplerMcs",
  86. method:"post",
  87. data
  88. })
  89. }
  90. // 药品目录管理查询--供应商端
  91. // export function getGrpListByPage(data) {
  92. // return request({
  93. // url:"/web/splerDrugList/getGrpListByPage",
  94. // method:"post",
  95. // data
  96. // })
  97. // }
  98. // 配送商申请调价变更
  99. export function PricChg(data) {
  100. return request({
  101. url:"/web/drugList/PricChg",
  102. method:"post",
  103. data
  104. })
  105. }
  106. // 调价状态变更
  107. // export function savePricChgStas(data) {
  108. // return request({
  109. // url:"/web/splerDrugList/savePricChgStas",
  110. // method:"post",
  111. // data
  112. // })
  113. // }
  114. // 医院列表查询(调价)
  115. export function getALLOrgTree(data) {
  116. return request({
  117. url:"/web/org/getALLOrgTree",
  118. method:"post",
  119. data
  120. })
  121. }
  122. // 获取医院药品目录(调价)
  123. export function QueryHospDrugListTJ(data) {
  124. return request({
  125. url:"/web/drugList/QueryHospDrugListTJ",
  126. method:"post",
  127. data
  128. })
  129. }
  130. // 获取医院列表(对码)
  131. export function QueryHospList(data) {
  132. return request({
  133. url:"/web/drugList/QueryHospList",
  134. method:"post",
  135. data
  136. })
  137. }
  138. // 获取医院药品目录(对码)
  139. export function QueryHospDrugList(data) {
  140. return request({
  141. url:"/web/drugList/QueryHospDrugList",
  142. method:"post",
  143. data
  144. })
  145. }
  146. // 获取供应商药品目录
  147. export function QuerySplerDrugList(data) {
  148. return request({
  149. url:"/web/drugList/QuerySplerDrugList",
  150. method:"post",
  151. data
  152. })
  153. }
  154. // 对码
  155. export function DrugMatch(data) {
  156. return request({
  157. url:"/web/drugList/DrugMatch",
  158. method:"post",
  159. data
  160. })
  161. }
  162. // 取消对码
  163. export function CancMatch(data) {
  164. return request({
  165. url:"/web/drugList/CancMatch",
  166. method:"post",
  167. data
  168. })
  169. }
  170. //下载模版
  171. export function exportMcsTemplate(data) {
  172. return request({
  173. url:"/web/mcsList/exportMcsTemplate",
  174. method:"post",
  175. data,
  176. responseType: "blob",
  177. })
  178. }
  179. //目录导入
  180. export function importMcsExcel(data) {
  181. return request({
  182. url:"/web/mcsList/importMcsExcel",
  183. method:"post",
  184. data,
  185. headers: { 'Content-Type': 'application/octet-stream'}
  186. })
  187. }