diff --git a/src/api/system/OperateGoodsInfo.js b/src/api/system/OperateGoodsInfo.js new file mode 100644 index 0000000..c648a1b --- /dev/null +++ b/src/api/system/OperateGoodsInfo.js @@ -0,0 +1,69 @@ +import request from '@/utils/request' + +// 查询商品基本信息列表 +export function goodsInfoList(query) { + return request({ + url: '/system/operateGoodInfo/goodsInfoList', + method: 'get', + params: query + }) +} + +// 查询商品基本信息详细 +export function getGoodsInfo(id) { + return request({ + url: `/system/operateGoodInfo/goodsDetails?` + `goodsInfoId=${id}`, + method: 'get' + }) +} +//取消 +export function updatePicture(data) { + return request({ + url: '/system/patientArchives/updatePicture', + method: 'post', + data: data + }) +} + +// 新增商品基本信息 +export function addGoodsInfo(data) { + return request({ + url: '/system/operateGoodInfo/add', + method: 'post', + data: data + }) +} + +// 查询商品分类列表 +export function goodsCategory(query) { + return request({ + url: '/system/goodsCategory/list ', + method: 'get', + params: query + }) +} +// 修改商品基本信息 +export function updateGoodsInfo(data) { + return request({ + url: '/system/operateGoodInfo/edit', + method: 'POST', + data: data + }) +} +// 修改上架下架状态 +// system/goodsInfo/editGoodsWhetherShelf +export function editGoodsWhetherShelf(data) { + return request({ + url: '/system/operateGoodInfo/editGoodsWhetherShelf', + method: 'post', + data: data + + }) +} +// 删除商品基本信息 +export function delGoodsInfo(goodsInfoId) { + return request({ + url: '/system/operateGoodInfo/' + goodsInfoId, + method: 'delete' + }) +} diff --git a/src/api/system/goodsCategory.js b/src/api/system/goodsCategory.js new file mode 100644 index 0000000..e32248e --- /dev/null +++ b/src/api/system/goodsCategory.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' + +// 查询商品分类信息列表 +export function listGoodsCategory(query) { + return request({ + url: '/system/goodsCategory/list', + method: 'get', + params: query + }) +} + +// 查询商品分类信息详细 +export function getGoodsCategory(id) { + return request({ + url: '/system/goodsCategory/' + id, + method: 'get' + }) +} +//取消 +export function updatePicture(data) { + return request({ + url: '/system/patientArchives/updatePicture', + method: 'post', + data: data + }) +} + +// 新增商品分类信息 +export function addGoodsCategory(data) { + return request({ + url: '/system/goodsCategory/add', + method: 'post', + data: data + }) +} + +// 修改商品分类信息 +export function updateGoodsCategory(data) { + return request({ + url: '/system/goodsCategory/edit', + method: 'POST', + data: data + }) +} + +// 删除商品分类信息 +export function delGoodsCategory(id) { + return request({ + url: '/system/goodsCategory/' + id, + method: 'POST' + }) +} \ No newline at end of file diff --git a/src/api/system/goodsInfo.js b/src/api/system/goodsInfo.js index 8ebd782..f71ee9e 100644 --- a/src/api/system/goodsInfo.js +++ b/src/api/system/goodsInfo.js @@ -76,3 +76,12 @@ export function delGoodsInfo(goodsInfoId) { method: 'delete' }) } +//取消 +export function updatePicture(data) { + return request({ + url: '/system/patientArchives/updatePicture', + method: 'post', + data: data + }) +} + diff --git a/src/api/system/goodsOrder.js b/src/api/system/goodsOrder.js index 17ab35b..cd126aa 100644 --- a/src/api/system/goodsOrder.js +++ b/src/api/system/goodsOrder.js @@ -19,14 +19,14 @@ export function getGoodsOrder(id) { // 查看商品详细信息 export function getGoodsOrderlist(id) { return request({ - url: `/system/goodsOrder/goodsOrderByOrder`+`?orderNo=${id}`, + url: `/system/goodsOrder/goodsOrderByOrder` + `?orderNo=${id}`, method: 'get' }) } // 退款 export function goodsOrderRefundinfo(id) { return request({ - url: `/system/goodsOrder/goodsOrderRefund`+`?goodsOrderId=${id}`, + url: `/system/goodsOrder/goodsOrderRefund` + `?goodsOrderId=${id}`, method: 'get', }) } @@ -41,7 +41,6 @@ export function editExpressNo(data) { } // 退款确定按钮 - export function weChatRefundOrderApply(data) { return request({ url: '/nurseApp/weChatPayment/weChatRefundOrderApply', @@ -74,4 +73,4 @@ export function delGoodsOrder(id) { url: '/system/goodsOrder/' + id, method: 'delete' }) -} +} \ No newline at end of file diff --git a/src/api/system/nurseItem.js b/src/api/system/nurseItem.js index 384f02e..49ad1da 100644 --- a/src/api/system/nurseItem.js +++ b/src/api/system/nurseItem.js @@ -59,4 +59,12 @@ export function delNurseItem(id) { url: '/system/stationItem/' + id, method: 'delete' }) -} \ No newline at end of file +} +// 删除图片 +export function updatePicture(data) { + return request({ + url: '/system/patientArchives/updatePicture', + method: 'post', + data: data + }) +} diff --git a/src/api/system/order.js b/src/api/system/order.js index e4bd74c..b6b3568 100644 --- a/src/api/system/order.js +++ b/src/api/system/order.js @@ -11,40 +11,61 @@ export function appointmentOrderDetailsList(query) { export function Detailed(id) { return request({ - url: `/system/appointmentOrderDetails/Detailed`+`?orderNo=${id}`, + url: `/system/appointmentOrderDetails/getCancelOrderInfo` + `?orderNo=${id}`, + method: 'get', + + }) +} + +export function appointmentOrderDetails(id) { + return request({ + url: `/system/appointmentOrderDetails/Detailed` + `?orderNo=${id}`, method: 'get', }) } + +// 确定按钮 +export function xylWeChatRefundNotify(data) { + return request({ + + url: '/nurseApp/weChatPayment/weChatRefundOrderApply', + method: 'post', + data: data + }) +} //删除 export function deldetailed(appointmentOrderId) { return request({ - url: '/system/appointmentOrder/'+appointmentOrderId, + url: '/system/appointmentOrder/' + appointmentOrderId, method: 'post', - } ) - } + + }) +} // 派单 export function getPerson(query) { return request({ url: '/system/appointmentOrder/getPerson', method: 'get', params: query + }) } // 确认派单 -export function dispatchsubmit(params) { +export function dispatchsubmit(data) { return request({ url: '/system/appointmentOrder/dispatch', method: 'post', - params + data: data }) } -// 认取消订单 -export function confirmCancel(params) { + + +// 确认取消订单 +export function confirmCancel(appointmentOrderId) { return request({ - url: '/system/appointmentOrder/confirmCancel', - method: 'post', - params + url: `/system/appointmentOrder/confirmCancel?appointmentOrderId=${appointmentOrderId}`, + method: 'post' }) -} \ No newline at end of file +} diff --git a/src/api/system/patientArchives.js b/src/api/system/patientArchives.js index f984aa4..56a1dec 100644 --- a/src/api/system/patientArchives.js +++ b/src/api/system/patientArchives.js @@ -63,3 +63,11 @@ export function delPatientArchives(id) { method: 'delete' }) } +// 重置密码 +export function updatePassword(params) { + return request({ + url: '/system/patientArchives/updatePassword', + method: 'post', + params: params + }) +} diff --git a/src/api/system/person.js b/src/api/system/person.js index 81f897d..c046256 100644 --- a/src/api/system/person.js +++ b/src/api/system/person.js @@ -16,14 +16,6 @@ export function stationList(query) { params: query }) } -//查看所属护理类型 - -export function getInfoLists(Code) { - return request({ - url: `/system/station/getNurseStationType?nurseTypeCode=${Code}`, - method: 'get' - }) -} // 查询所属科室 export function StationDepartmentList(query) { diff --git a/src/api/system/station.js b/src/api/system/station.js index e881784..418a9ec 100644 --- a/src/api/system/station.js +++ b/src/api/system/station.js @@ -95,4 +95,12 @@ export function getLabelList(id) { url: `/system/nurseStationlabel/getLabelList?nurseStationId=${id}`, method: 'get' }) -} \ No newline at end of file +} +//取消 +export function updatePicture(data) { + return request({ + url: '/system/patientArchives/updatePicture', + method: 'post', + data: data + }) +} diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue new file mode 100644 index 0000000..538de19 --- /dev/null +++ b/src/views/system/OperateGoodsInfo/index.vue @@ -0,0 +1,989 @@ + + + + + diff --git a/src/views/system/StationDepartment/index.vue b/src/views/system/StationDepartment/index.vue index f45476b..d8e8ca3 100644 --- a/src/views/system/StationDepartment/index.vue +++ b/src/views/system/StationDepartment/index.vue @@ -8,8 +8,11 @@ v-show="showSearch" label-width="68px" > - + - + - - - - - + + @@ -218,7 +190,34 @@ :rules="rules.nurseStationDepartmentList.nurseStationId" :prop="`nurseStationDepartmentList.${index}.nurseStationId`" > - {{ item.nurseStationName }} + + {{ item.nurseStationName }} + - - - - - + - - - + /> + @@ -350,6 +333,107 @@ 取 消 + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + + diff --git a/src/views/system/goodsInfo/index.vue b/src/views/system/goodsInfo/index.vue index 0962026..620ea83 100644 --- a/src/views/system/goodsInfo/index.vue +++ b/src/views/system/goodsInfo/index.vue @@ -8,6 +8,21 @@ v-show="showSearch" label-width="100px" > + + + + + + - + - - - + - + 新增 @@ -90,33 +98,11 @@ size="mini" :disabled="single" @click="handleUpdate" - v-hasPermi="['system:goodsInfo:edit']" + v-hasPermi="['system:operateGoodInfo:edit']" >修改 - - + - - - + + 修改 - 删除 - @@ -236,33 +206,28 @@ ref="form" :model="form" :rules="rules" - label-width="100px" + label-width="120px" :inline="true" > - - - - - + + - + + - - + @@ -339,7 +300,8 @@ @@ -347,7 +309,8 @@ @@ -394,173 +357,132 @@ 取 消 - + diff --git a/src/views/system/goodsOrder/index.vue b/src/views/system/goodsOrder/index.vue index ebbb4fe..0832727 100644 --- a/src/views/system/goodsOrder/index.vue +++ b/src/views/system/goodsOrder/index.vue @@ -6,8 +6,23 @@ size="small" :inline="true" v-show="showSearch" - label-width="68px" + label-width="90px" > + + + + + + - + + - + + + + 查看商品信息 - 录入物流单号 - + 确认退款 - - + icon="el-icon-edit" + disabled + v-hasPermi="['system:goodsOrder:goodsOrderRefund']" + >确认退款 - - + --> - + + + + + + + + + - - 确认 - 取消 - + @@ -416,60 +485,30 @@ v-model="refundlist.dictLabel" placeholder="" clearable - @keyup.enter.native="handleQuery" disabled /> - - + - - - - - + + + + + + + + + + + + + + + + + + + - + - + @@ -223,20 +231,16 @@ label-width="110px" :inline="true" > - + - + - - - - - - + - + - - - @@ -457,8 +436,8 @@ > - - + +