diff --git a/src/components/giveCouponModal.vue b/src/components/giveCouponModal.vue
new file mode 100644
index 0000000..f457a07
--- /dev/null
+++ b/src/components/giveCouponModal.vue
@@ -0,0 +1,134 @@
+
+
+
+ 发放优惠劵
+
+
+
+
+
+ 具体用户
+ 全部用户
+
+
+
+
+ {{item.user_name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/hospitalDetailModal.vue b/src/components/hospitalDetailModal.vue
new file mode 100644
index 0000000..9dc6896
--- /dev/null
+++ b/src/components/hospitalDetailModal.vue
@@ -0,0 +1,315 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.area_name }}
+
+
+
+ {{ item.area_name }}
+
+
+ {{ item.area_name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 一级
+ 二级
+ 三级
+ 三甲
+ 其他
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/inquiryDetailModal.vue b/src/components/inquiryDetailModal.vue
index 0719c4c..002c649 100644
--- a/src/components/inquiryDetailModal.vue
+++ b/src/components/inquiryDetailModal.vue
@@ -51,7 +51,7 @@
-
+
{{ formatMode(modalForm.inquiry_mode) }}
@@ -311,7 +311,6 @@ const handleClose = () => {
diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index 5541196..741eb29 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -9,4 +9,5 @@
\ No newline at end of file
diff --git a/src/layout/components/Menu/SubMenu.vue b/src/layout/components/Menu/SubMenu.vue
index b3cd39d..e81268f 100644
--- a/src/layout/components/Menu/SubMenu.vue
+++ b/src/layout/components/Menu/SubMenu.vue
@@ -1,13 +1,17 @@
{
}
})
+
diff --git a/src/main.js b/src/main.js
index e0a7a23..57826e6 100644
--- a/src/main.js
+++ b/src/main.js
@@ -4,6 +4,7 @@ import App from './App.vue';
import ArcoVue from '@arco-design/web-vue';
import { Message, Modal, Notification } from '@arco-design/web-vue';
import '@arco-design/web-vue/dist/arco.css';
+import 'element-plus/dist/index.css'
import router from './router/';
import { parseTime } from '@/utils/parseTime';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
diff --git a/src/utils/format.js b/src/utils/format.js
index bba579e..2a0a8a5 100644
--- a/src/utils/format.js
+++ b/src/utils/format.js
@@ -52,6 +52,15 @@ export const formatDoctorTitle=(val)=>{
return ''
}
}
+ export const formatServiceCancelReason=(val)=>{
+ //1医生未接受服务 2:主动取消 3:"支付超时" 4:客服取消 5:支付超时
+ let data={1:'医生未接受服务', 2:'主动取消',3:"支付超时",4:'客服取消',5:'支付超时'}
+ if(val){
+ return data[val]
+ }else{
+ return ''
+ }
+ }
export const fromatReportStatus=(val)=>{
//上报处方平台状态(0:未上报 1:已上报 2:上报失败))
let data={0:'未上报', 1:'已上报', 2:'上报失败'}
@@ -89,6 +98,16 @@ export const formatRelation=(val)=>{
return ''
}
};
+ export const formatMedinceStatus=(val)=>{
+ // 1:待支付 2:待发货 3:已发货 4:已签收 5:已取消
+ let data={1:'待支付', 2:'待发货', 3:'已发货', 4:'已签收',5:'已取消'}
+ if(val){
+ return data[val]
+ }else{
+ return ''
+ }
+ };
+
export const formatMultipoint=(val)=>{
//医生多点执业认证状态(0:未认证 1:认证通过 2:审核中 3:认证失败)
let data={0:'未认证',1:'认证通过', 2:'审核中', 3:'认证失败'}
@@ -101,7 +120,7 @@ export const formatRelation=(val)=>{
export const formatMode=(val)=>{
//1:图文 2:视频 3:语音 4:电话 5:会员
- let data={1:'图文',2:'视频', 3:'语音', 4:'电话',5:'会员',6:'疑难会诊',7:'附赠沟通'}
+ let data={1:'图文',2:'视频', 3:'语音', 4:'电话',5:'会员',6:'疑难会诊',7:'附赠沟通',8:'健康包',9:'随访包'}
if(val){
return data[val]
}else{
@@ -135,4 +154,42 @@ export const formatRelation=(val)=>{
}else{
return ''
}
+ };
+ export const formatCouponStatus=(val)=>{
+ //-1:'注册即发放',0:'未使用', 1:'已使用',2:'已过期'
+ let data={'-1':'注册即发放',0:'未使用',1:'已使用', 2:'已过期'}
+ if(val || val==0){
+ return data[val]
+ }else{
+ return ''
+ }
+ };
+
+ export const formatCouponType=(val)=>{
+ //1:无门槛 2:满减 3:数量
+ let data={1:'无门槛', 2:'满减',3:'数量'}
+ if(val ){
+ return data[val]
+ }else{
+ return ''
+ }
+ };
+ export const formatCouponObject=(val)=>{ //发放对象
+ //1:全部用户 2:新注册用户 3:会员 4:近期消费 5:近期购药 6:存量用户 7:健康包服务用户
+ let data={1:'全部用户', 2:'新注册用户',3:'会员',4:'近期消费',5:'近期购药',6:'存量用户',7:'健康包服务用户'}
+ if(val){
+ return data[val]
+ }else{
+ return ''
+ }
+ };
+
+ export const formatCouponRange=(val)=>{ //适用范围
+ //1:全场通用 2:问诊 3:按品牌适用 4:按类别适用 5:单品使用 6:全品类药品
+ let data={1:'全场通用', 2:'问诊',3:'按品牌适用',4:'按类别适用',5:'单品使用',6:'全品类药品'}
+ if(val){
+ return data[val]
+ }else{
+ return ''
+ }
};
\ No newline at end of file
diff --git a/src/views/basic/area/index.vue b/src/views/basic/area/index.vue
new file mode 100644
index 0000000..0762fa4
--- /dev/null
+++ b/src/views/basic/area/index.vue
@@ -0,0 +1,321 @@
+
+
+
+
+
+
+ {{ node.label }}-{{ data.custom_id}}
+
+
+
+
+
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/basic/hospital/index.vue b/src/views/basic/hospital/index.vue
new file mode 100644
index 0000000..2259dff
--- /dev/null
+++ b/src/views/basic/hospital/index.vue
@@ -0,0 +1,399 @@
+
+
+
+
+
+
+
+
+
+
+ 一级
+ 二级
+ 三级
+
+
+
+
+ {{ item.area_name}}
+
+
+
+
+
+ {{ item.area_name}}
+
+
+
+
+ {{ item.area_name}}
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
{deleteData = selection;console.log(selection)}"
+ @page-change="handlePageChange" @page-size-change="handlepage_sizeChange">
+
+ {{(rowIndex+1)+(pager.page-1)*pager.page_size}}
+
+
+
+ 详情
+
+
+
+
+
+
+
{modalVisible=false,modalForm.hospital_id=''}">
+
+
+
+
okVisible=false">
+
+ 提示
+
+ 确定保存当前信息?
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/coupon/coupon-list/index.vue b/src/views/coupon/coupon-list/index.vue
new file mode 100644
index 0000000..61e4e7d
--- /dev/null
+++ b/src/views/coupon/coupon-list/index.vue
@@ -0,0 +1,495 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 正常
+ 强制失效
+ 结束
+ 删除
+
+
+
+
+
+ 全部用户
+ 新注册用户
+ 会员
+ 近期消费
+ 近期购药
+ 存量用户
+ 健康包服务用户
+
+
+
+
+
+ 全场通用
+ 问诊
+ 按品牌适用
+ 按类别适用
+ 单品使用
+ 全品类药品
+
+
+
+
+
+
+ 专家问诊
+ 快速问诊
+ 公益问诊
+ 问诊购药
+ 糖组检测
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
{deleteData = selection;console.log(selection)}"
+ @page-change="handlePageChange" @page-size-change="handlepage_sizeChange">
+
+ {{(rowIndex+1)+(pager.page-1)*pager.page_size}}
+
+
+ 小程序
+
+
+ {{formatCouponObject(record.distribution_object)}}
+
+
+ {{formatCouponRange(record.application_scope)}}
+
+
+ {{formatCouponType(record.coupon_type)}}
+
+
+ 绝对时效
+ 相对时效
+
+
+
+ 正常
+ 强制失效
+ 结束
+ 删除
+
+
+
+
+ 详情
+
+
+ 发放优惠劵
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提示
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/coupon/userCoupon-list/index.vue b/src/views/coupon/userCoupon-list/index.vue
new file mode 100644
index 0000000..a4fcd77
--- /dev/null
+++ b/src/views/coupon/userCoupon-list/index.vue
@@ -0,0 +1,265 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 未使用
+ 已使用
+ 已过期
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
{deleteData = selection;console.log(selection)}"
+ @page-change="handlePageChange" @page-size-change="handlepage_sizeChange">
+
+ {{(rowIndex+1)+(pager.page-1)*pager.page_size}}
+
+
+
+ {{parseTime(record.coupon_use_date)}}
+ -
+
+
+ {{parseTime(record.valid_start_time)+'——'+parseTime(record.valid_end_time)}}
+
+
+ {{record.coupon.coupon_name}}
+
+
+
+ {{parseTime(record.created_at)}}
+
+
+
+ 未使用
+ 已使用
+ 已过期
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/inquiry/health/index.vue b/src/views/inquiry/health/index.vue
new file mode 100644
index 0000000..b1c61d3
--- /dev/null
+++ b/src/views/inquiry/health/index.vue
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
{deleteData = selection;console.log(selection)}"
+ @page-change="handlePageChange" @page-size-change="handlepage_sizeChange">
+
+ {{(rowIndex+1)+(pager.page-1)*pager.page_size}}
+
+
+ 不限次
+ {{ record.monthly_frequency}}
+
+
+ {{record.service_rate+"%"}}
+
+
+
+ {{item.product_name }}
+ -
+
+
+
+
+
+
+ 修改
+
+
+
+
+
+
+
{modalVisible=false;package_id='';}">
+
okVisible=false">
+
+ 提示
+
+ 确定保存当前信息?
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/inquiry/healthconfig/index.vue b/src/views/inquiry/healthconfig/index.vue
new file mode 100644
index 0000000..54caed7
--- /dev/null
+++ b/src/views/inquiry/healthconfig/index.vue
@@ -0,0 +1,326 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
{deleteData = selection;console.log(selection)}"
+ @page-change="handlePageChange" @page-size-change="handlepage_sizeChange">
+
+ {{(rowIndex+1)+(pager.page-1)*pager.page_size}}
+
+
+ {{record.user_doctor.user_name}}
+
+
+ {{record.user_doctor.department_custom_name}}
+
+
+ {{formatDoctorTitle(record.user_doctor.doctor_title)}}
+
+
+ {{formatMultipoint(record.user_doctor.multi_point_status)}}
+
+
+
+ 自己
+ 后台
+
+
+ 不限次
+ {{ record.health_package.monthly_frequency}}
+
+
+ {{record.health_package.effective_days}}
+
+
+ 开启
+ 关闭
+
+
+
+ {{record.health_package.service_rate+"%"}}
+
+
+
+ 修改
+
+
+
+
+
+
+
{modalVisible=false;health_package_id='';}" @setPrice="setPrice">
+
okVisible=false">
+
+ 提示
+
+ 确定保存当前信息?
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/inquiry/inquiry-list/index.vue b/src/views/inquiry/inquiry-list/index.vue
index b59978b..11c3f4b 100644
--- a/src/views/inquiry/inquiry-list/index.vue
+++ b/src/views/inquiry/inquiry-list/index.vue
@@ -29,6 +29,8 @@
会员
疑难会诊
附赠沟通
+ 健康包服务
+ 服务包服务
@@ -110,12 +112,19 @@
@deleteVisibleChange="() => deleteVisible = false" /> -->
okVisible=false">
+ @cancel="()=>okVisible=false" >
提示
确定保存当前信息?
+ goVisible=false" @ok="goOk">
+
+ 提示
+
+ {{goTitle}}
+
@@ -123,13 +132,16 @@
import { reactive, ref, getCurrentInstance, onMounted, nextTick, watch, computed } from 'vue';
import { getInquiryconfigList} from '@/api/inquiry/config';
import {formatDoctorTitle,formatInquiryType,formatMultipoint,formatMode} from "@/utils/format"
-
+ import {useRouter} from 'vue-router'
+ const router = useRouter()
// Akiraka 20230210 删除数据
const deleteData = ref([])
// Akiraka 20230210 删除对话框
const deleteVisible = ref(false)
// Akiraka 20230210 监听删除事件
const okVisible = ref(false);
+ const goVisible =ref(false);
+ const goTitle=ref('即将跳转健康包配置列表?')
const inquiry_config_id=ref("");
watch(() => deleteVisible.value, (value) => {
if (value == false) {
@@ -211,10 +223,26 @@
//详情
const handleDetail = async (record) => {
- inquiry_config_id.value=record.inquiry_config_id;
- modalVisible.value = true;
+ if(record.inquiry_mode==8){
+ goVisible.value=true;
+ goTitle.value='即将跳转健康包配置列表?'
+ }else if(record.inquiry_mode==9){
+ goVisible.value=true;
+ goTitle.value='即将跳转随访包配置列表?'
+ }else{
+ inquiry_config_id.value=record.inquiry_config_id;
+ modalVisible.value = true;
+ }
+
+ };
+ const goOk=()=>{
+ if( goTitle.value=='即将跳转健康包配置列表?'){
+ router.push('/inquiry/healthconfig')
+ }else{
+ router.push('/inquiry/visitconfig')
+ }
+
};
-
/**
* 分页改变
* @param {Number} [page]
diff --git a/src/views/inquiry/visitconfig/index.vue b/src/views/inquiry/visitconfig/index.vue
new file mode 100644
index 0000000..ff54fe3
--- /dev/null
+++ b/src/views/inquiry/visitconfig/index.vue
@@ -0,0 +1,307 @@
+