diff --git a/.env.development b/.env.development index 60641d3..55ca987 100644 --- a/.env.development +++ b/.env.development @@ -10,3 +10,5 @@ VUE_APP_BASE_API = 'https://quanyidaojia.xinelu.cn' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true + + diff --git a/src/api/system/certificate.js b/src/api/system/certificate.js new file mode 100644 index 0000000..5c291f8 --- /dev/null +++ b/src/api/system/certificate.js @@ -0,0 +1,51 @@ +import request from '@/utils/request' + +// 查询健康咨询-科室人员资质证书信息列表 +export function listCertificate(query) { + return request({ + url: '/system/certificate/list', + method: 'get', + params: query + }) +} +// 查询健康咨询-科室人员信息列表 +export function listHospitalPerson(query) { + return request({ + url: '/system/hospitalPerson/list', + method: 'get', + params: query + }) +} +// 查询健康咨询-科室人员资质证书信息详细 +export function getCertificate(id) { + return request({ + url: '/system/certificate/' + id, + method: 'get' + }) +} + +// 新增健康咨询-科室人员资质证书信息 +export function addCertificate(data) { + return request({ + url: '/system/certificate/add', + method: 'post', + data: data + }) +} + +// 修改健康咨询-科室人员资质证书信息 +export function updateCertificate(data) { + return request({ + url: '/system/certificate/edit', + method: 'post', + data: data + }) +} + +// 删除健康咨询-科室人员资质证书信息 +export function delCertificate(id) { + return request({ + url: '/system/certificate/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/coupon.js b/src/api/system/coupon.js new file mode 100644 index 0000000..e369d09 --- /dev/null +++ b/src/api/system/coupon.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询优惠券信息列表 +export function listCoupon(query) { + return request({ + url: '/system/coupon/list', + method: 'get', + params: query + }) +} + +// 查询优惠券信息详细 +export function getCoupon(id) { + return request({ + url: '/system/coupon/' + id, + method: 'get' + }) +} + +// 新增优惠券信息 +export function addCoupon(data) { + return request({ + url: '/system/coupon/add', + method: 'post', + data: data + }) +} + +// 修改优惠券信息 +export function updateCoupon(data) { + return request({ + url: '/system/coupon/edit', + method: 'post', + data: data + }) +} + +// 删除优惠券信息 +export function delCoupon(id) { + return request({ + url: '/system/coupon/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/groupQrCodeInfo.js b/src/api/system/groupQrCodeInfo.js new file mode 100644 index 0000000..e9a21f9 --- /dev/null +++ b/src/api/system/groupQrCodeInfo.js @@ -0,0 +1,51 @@ +import request from '@/utils/request' + +// 查询在线客服列表 +export function listGroupQrCodeInfo(query) { + return request({ + url: '/system/groupQrCodeInfo/list', + method: 'get', + params: query + }) +} + +// 查询在线客服详细 +export function getGroupQrCodeInfo(id) { + return request({ + url: '/system/groupQrCodeInfo/' + id, + method: 'get' + }) +} + +// 新增在线客服 +export function addGroupQrCodeInfo(data) { + return request({ + url: '/system/groupQrCodeInfo/add', + method: 'post', + data: data + }) +} +export function getListByUser(query) { + return request({ + url: '/system/station/list', + method: 'GET', + params: query + }) +} + +// 修改在线客服 +export function updateGroupQrCodeInfo(data) { + return request({ + url: '/system/groupQrCodeInfo/edit', + method: 'post', + data: data + }) +} + +// 删除在线客服 +export function delGroupQrCodeInfo(id) { + return request({ + url: '/system/groupQrCodeInfo/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/settings.js b/src/api/system/settings.js new file mode 100644 index 0000000..978b2bf --- /dev/null +++ b/src/api/system/settings.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询泉医到家平台系统业务设置信息列表 +export function listSettings(query) { + return request({ + url: '/system/settings/list', + method: 'get', + params: query + }) +} + +// 查询泉医到家平台系统业务设置信息详细 +export function getSettings(id) { + return request({ + url: '/system/settings/' + id, + method: 'get' + }) +} + +// 新增泉医到家平台系统业务设置信息 +export function addSettings(data) { + return request({ + url: '/system/settings/add', + method: 'post', + data: data + }) +} + +// 修改泉医到家平台系统业务设置信息 +export function updateSettings(data) { + return request({ + url: '/system/settings/edit', + method: 'post', + data: data + }) +} + +// 删除泉医到家平台系统业务设置信息 +export function delSettings(id) { + return request({ + url: '/system/settings/' + id, + method: 'delete' + }) +} diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue index 92b62f6..2379b0f 100644 --- a/src/views/system/OperateGoodsInfo/index.vue +++ b/src/views/system/OperateGoodsInfo/index.vue @@ -213,6 +213,7 @@ @click="clickinnerVisible" v-if="StationName == '请选择所属护理站'" style=" + width: 210px; text-align: left; height: 36px; @@ -344,7 +345,47 @@ > - + + + + + + + + + + + diff --git a/src/views/system/goodsOrder/indexjs.js b/src/views/system/goodsOrder/indexjs.js index 458e802..97cf9bb 100644 --- a/src/views/system/goodsOrder/indexjs.js +++ b/src/views/system/goodsOrder/indexjs.js @@ -25,47 +25,60 @@ export default { innerrefund: false, orderList: [], refundlist: [], + orderTypelist: [ + { + value: "INTEGRAL_EXCHANGE", + label: "积分兑换", + }, + { + value: "DIRECT_BUY", + label: "直接购买", + }, { + value: "HEALTH_CONSULTATION", + label: "健康咨询", + } + ], ratelist: {}, //评分list orderStatuslist: [{ - value: "WAIT_PAY", - label: "待付款", - }, - { - value: "PAY", - label: "待发货", - }, - { - value: "WAIT_RECEIVED_GOODS", - label: "待收货", - }, - { - value: "RECEIVED_GOODS", - label: "待评价", - }, - { - value: "EVALUATED", - label: "交易完成", - }, - { - value: "CANCEL", - label: "已取消", - }, - { - value: "WAIT_RETURNED_GOODS", - label: "待退货", - }, - { - value: "RETURNED_GOODS", - label: "已退货", - }, - { - value: "WAIT_REFUND", - label: "退款中", - }, - { - value: "REFUNDED", - label: "退款成功", - }, + value: "WAIT_PAY", + label: "待付款", + }, + { + value: "PAY", + label: "待发货", + }, + { + value: "WAIT_RECEIVED_GOODS", + label: "待收货", + }, + { + value: "RECEIVED_GOODS", + label: "待评价", + }, + { + value: "EVALUATED", + label: "交易完成", + }, + { + value: "CANCEL", + label: "已取消", + }, + { + value: "WAIT_RETURNED_GOODS", + label: "待退货", + }, + { + value: "RETURNED_GOODS", + label: "已退货", + }, + { + value: "WAIT_REFUND", + label: "退款中", + }, + { + value: "REFUNDED", + label: "退款成功", + }, ], // 遮罩层 loading: true, @@ -245,7 +258,7 @@ export default { this.ratelist = {} if (row.orderStatus == 'EVALUATED') { this.ratelist = res.data.orderEvaluatePictureInfoList - } else {} + } else { } }); }, // 查看录入物流单号弹框 @@ -285,6 +298,7 @@ export default { //确认退款 确定按钮 submitRefundOrder() { var obj = {}; + obj.orderType=this.refundlist.orderType; obj.orderNo = this.refundlist.goOrderNo; obj.refundReason = this.refundlist.dictLabel; obj.refundPrice = this.refundlist.godTotalPrice; @@ -405,21 +419,21 @@ export default { const ids = row.id || this.ids; this.$modal .confirm('是否确认删除商品订单编号为"' + ids + '"的数据项?') - .then(function() { + .then(function () { return delGoodsOrder(ids); }) .then(() => { this.getList(); this.$modal.msgSuccess("删除成功"); }) - .catch(() => {}); + .catch(() => { }); }, /** 导出按钮操作 */ handleExport() { this.download( "system/goodsOrder/export", { - ...this.queryParams, - }, + ...this.queryParams, + }, `goodsOrder_${new Date().getTime()}.xlsx` ); }, diff --git a/src/views/system/groupQrCodeInfo/index.vue b/src/views/system/groupQrCodeInfo/index.vue new file mode 100644 index 0000000..d88b304 --- /dev/null +++ b/src/views/system/groupQrCodeInfo/index.vue @@ -0,0 +1,757 @@ + + + diff --git a/src/views/system/hospital/index.vue b/src/views/system/hospital/index.vue index 6834fdc..491fb7e 100644 --- a/src/views/system/hospital/index.vue +++ b/src/views/system/hospital/index.vue @@ -128,10 +128,10 @@ - + - + - + @@ -280,7 +281,7 @@ :rules="rules.hospitalPersonInfoList.cardNo" :prop="`hospitalPersonInfoList.${index}.cardNo`" > - + @@ -316,7 +318,10 @@ :rules="rules.hospitalPersonInfoList.personSort" :prop="`hospitalPersonInfoList.${index}.personSort`" > - + - - + + {{ form.hospitalName }} - - - - + - + @@ -1243,11 +1259,11 @@ export default { // } this.innerVisibledepartmentxg = false; }, -//医院关闭 + //医院关闭 innerVisiblecancel() { this.innerVisible = false; }, - + innerVisiblecancelxg() { this.innerVisiblexg = false; }, @@ -1314,7 +1330,7 @@ export default { this.innerVisibledepartment = true; }, // 修改科室按钮 - clickdepartmentlist(){ + clickdepartmentlist() { this.departmentList(); // this.form.departmentId = item.departmentId; this.innerVisibledepartmentxg = true; diff --git a/src/views/system/informationInfo/index.vue b/src/views/system/informationInfo/index.vue index 4656ba0..a79cf60 100644 --- a/src/views/system/informationInfo/index.vue +++ b/src/views/system/informationInfo/index.vue @@ -134,6 +134,7 @@ diff --git a/src/views/system/patientArchives/index.vue b/src/views/system/patientArchives/index.vue index 5162d49..5b1f063 100644 --- a/src/views/system/patientArchives/index.vue +++ b/src/views/system/patientArchives/index.vue @@ -231,7 +231,7 @@ label-width="110px" :inline="true" > - + + + + + + + + + + + + + { - console.log(res) + console.log(res); const params = { id, - password: res.value - } + password: res.value, + }; updatePassword(params).then((response) => { this.$modal.msgSuccess("修改成功,新密码是:" + res.value); }); }) - .catch(() => { }); + .catch(() => {}); }, // 查询省事件 province(item) { @@ -858,7 +901,7 @@ export default { this.getList(); this.$modal.msgSuccess("删除成功"); }) - .catch(() => { }); + .catch(() => {}); }, /** 导出按钮操作 */ handleExport() { diff --git a/src/views/system/settings/index.vue b/src/views/system/settings/index.vue new file mode 100644 index 0000000..f3e9973 --- /dev/null +++ b/src/views/system/settings/index.vue @@ -0,0 +1,622 @@ + + + diff --git a/src/views/system/stationAvatar/index.vue b/src/views/system/stationAvatar/index.vue index 7098564..0b6d6e1 100644 --- a/src/views/system/stationAvatar/index.vue +++ b/src/views/system/stationAvatar/index.vue @@ -304,6 +304,10 @@ export default { this.items.posterPictureUrl = response.imgUrl; this.$emit("item", JSON.stringify(this.items)); } + if(this.types == "certificateUrl"){ + this.items.certificateUrl = response.imgUrl; + this.$emit("item", JSON.stringify(this.items)); + } this.openimg = false; }); }