Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
jingqi.liu
pica-admin-consultation
提交
6c61fa4e
提交
6c61fa4e
编写于
7月 02, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
弹窗提示,assist-list-temp为测试项请忽略
上级
756b4716
变更
10
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
1915 行增加
和
0 行删除
+1915
-0
appointment-time.vue
src/components/common/appointment-time.vue
+121
-0
coordinating-doctor.vue
src/components/common/coordinating-doctor.vue
+98
-0
diagnosis-doctor.vue
src/components/common/diagnosis-doctor.vue
+190
-0
diagnosis.vue
src/components/common/diagnosis.vue
+116
-0
followup.vue
src/components/common/followup.vue
+98
-0
match.vue
src/components/common/match.vue
+125
-0
matching-doctor.vue
src/components/common/matching-doctor.vue
+115
-0
refund.vue
src/components/common/refund.vue
+100
-0
router.js
src/router/router.js
+4
-0
assist-list-temp.vue
src/views/IM/diagnosis-admin/assist-list-temp.vue
+948
-0
未找到文件。
src/components/common/appointment-time.vue
0 → 100644
浏览文件 @
6c61fa4e
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"appointmentTimeVisible"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<el-form-item
label=
"问诊方式"
prop=
"audioCommissionType"
class=
"required-label"
>
<el-col
:span=
"16"
>
<el-radio-group
v-model=
"model.audioCommissionType"
size=
"small"
style=
"line-height: 45px;"
>
<el-radio
:label=
"1"
>
APP问诊(系统发起问诊)
</el-radio>
<el-radio
:label=
"2"
>
线下问诊(APP不会自动发起问诊)
</el-radio>
</el-radio-group>
</el-col>
</el-form-item>
<el-form-item
label=
"预约时间"
>
<el-date-picker
v-model=
"rangeTime"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:picker-options=
"pickerOptions1"
>
</el-date-picker>
</el-form-item>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'appointmentTimeVisible'
],
data
()
{
return
{
show
:
false
,
title
:
'设置预约时间(问诊时间)'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
_promise
:
null
,
model
:{
userName
:
""
,
title
:
""
},
rangeTime
:
''
,
addRules
:{
userName
:
[
{
required
:
true
,
message
:
"请输入稍后跟进原因"
,
trigger
:
'blur'
}
]
},
pickerOptions1
:
{
disabledDate
:
time
=>
{
return
(
time
.
getTime
()
>
new
Date
().
getTime
()
);
//减去一天的时间代表可以选择同一天;
}
},
}
},
created
()
{},
methods
:
{
reset
()
{
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
_promise
=
null
},
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
resolve
,
reject
};
})
},
async
cancle
()
{
this
.
show
=
false
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
},
async
confirm
()
{
this
.
show
=
false
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
this
.
reset
()
},
hide
()
{
this
.
show
=
false
this
.
reset
()
},
cancel
(){
this
.
$emit
(
'update:appointmentTimeVisible'
,
false
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/components/common/coordinating-doctor.vue
0 → 100644
浏览文件 @
6c61fa4e
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"coordinatingVisible"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<el-form-item
label=
"备注"
class=
"required-label"
prop=
"userName"
>
<el-col
:span=
"15"
>
<el-input
type=
"textarea"
v-model=
"model.userName"
style=
"width: 90%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入备注"
></el-input>
</el-col>
</el-form-item>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'coordinatingVisible'
],
data
()
{
return
{
show
:
false
,
title
:
'设置待协调医生'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
_promise
:
null
,
model
:{
userName
:
""
,
title
:
""
},
commissionTypeList
:[],
addRules
:{
userName
:
[
{
required
:
true
,
message
:
"请输入稍后跟进原因"
,
trigger
:
'blur'
}
]
}
}
},
created
()
{},
methods
:
{
reset
()
{
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
_promise
=
null
},
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
resolve
,
reject
};
})
},
async
cancle
()
{
this
.
show
=
false
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
},
async
confirm
()
{
this
.
show
=
false
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
this
.
reset
()
},
hide
()
{
this
.
show
=
false
this
.
reset
()
},
cancel
(){
this
.
$emit
(
'update:coordinatingVisible'
,
false
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/components/common/diagnosis-doctor.vue
0 → 100644
浏览文件 @
6c61fa4e
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"diagnosisDoctorVisible"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<el-form-item
label=
"接诊医生"
>
<el-select
v-model=
"model.commissionType"
id=
"statusSelector"
placeholder=
"请选择接诊医生"
clearable
style=
"width:56%;height: 32px;line-height: 32px;"
>
<el-option
v-for=
"item in commissionTypeList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"接诊医生职称"
>
<el-select
v-model=
"model.commissionType"
id=
"statusSelector"
placeholder=
"请选择医生职称"
clearable
style=
"width:56%;height: 32px;line-height: 32px;"
>
<el-option
v-for=
"item in commissionTypeList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"接诊医生所在机构"
>
<el-select
v-model=
"model.commissionType"
id=
"statusSelector"
placeholder=
"请选择医生所在机构"
clearable
style=
"width:56%;height: 32px;line-height: 32px;"
>
<el-option
v-for=
"item in commissionTypeList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"接诊医生所在科室"
>
<el-select
v-model=
"model.commissionType"
id=
"statusSelector"
placeholder=
"请选择医生所在科室"
clearable
style=
"width:56%;height: 32px;line-height: 32px;"
>
<el-option
v-for=
"item in commissionTypeList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"接诊电话"
class=
"required-label"
prop=
"userName"
>
<el-col
:span=
"15"
>
<el-input
type=
"text"
v-model=
"model.userName"
style=
"width: 90%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入电话"
></el-input>
</el-col>
</el-form-item>
<el-form-item
label=
"外部医生姓名"
class=
"required-label"
prop=
"userName"
>
<el-col
:span=
"15"
>
<el-input
type=
"text"
v-model=
"model.userName"
style=
"width: 90%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入电话"
></el-input>
</el-col>
</el-form-item>
<el-form-item
label=
"接诊意向时间"
>
<el-date-picker
v-model=
"rangeTime"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:picker-options=
"pickerOptions1"
>
</el-date-picker>
</el-form-item>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'diagnosisDoctorVisible'
],
data
()
{
return
{
show
:
false
,
title
:
'设置接诊医生'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
_promise
:
null
,
model
:{
userName
:
""
,
title
:
""
},
commissionTypeList
:[],
rangeTime
:
''
,
addRules
:{
userName
:
[
{
required
:
true
,
message
:
"请输入稍后跟进原因"
,
trigger
:
'blur'
}
]
},
pickerOptions1
:
{
disabledDate
:
time
=>
{
return
(
time
.
getTime
()
>
new
Date
().
getTime
()
);
//减去一天的时间代表可以选择同一天;
}
},
}
},
created
()
{},
methods
:
{
reset
()
{
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
_promise
=
null
},
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
resolve
,
reject
};
})
},
async
cancle
()
{
this
.
show
=
false
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
},
async
confirm
()
{
this
.
show
=
false
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
this
.
reset
()
},
hide
()
{
this
.
show
=
false
this
.
reset
()
},
cancel
(){
this
.
$emit
(
'update:diagnosisDoctorVisible'
,
false
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/components/common/diagnosis.vue
0 → 100644
浏览文件 @
6c61fa4e
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"diagnosisVisible"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<el-form-item
label=
"助诊意向时间"
>
<el-date-picker
v-model=
"rangeTime"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:picker-options=
"pickerOptions1"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"备注"
class=
"required-label"
>
<el-col
:span=
"15"
>
<el-input
type=
"textarea"
v-model=
"model.userName"
style=
"width: 130%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入原因"
></el-input>
</el-col>
</el-form-item>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'diagnosisVisible'
],
data
()
{
return
{
show
:
false
,
title
:
'设置预约时间(问诊时间)'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
_promise
:
null
,
model
:{
userName
:
""
,
title
:
""
},
rangeTime
:
''
,
addRules
:{
userName
:
[
{
required
:
true
,
message
:
"请输入稍后跟进原因"
,
trigger
:
'blur'
}
]
},
pickerOptions1
:
{
disabledDate
:
time
=>
{
return
(
time
.
getTime
()
>
new
Date
().
getTime
()
);
//减去一天的时间代表可以选择同一天;
}
},
}
},
created
()
{},
methods
:
{
reset
()
{
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
_promise
=
null
},
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
resolve
,
reject
};
})
},
async
cancle
()
{
this
.
show
=
false
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
},
async
confirm
()
{
this
.
show
=
false
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
this
.
reset
()
},
hide
()
{
this
.
show
=
false
this
.
reset
()
},
cancel
(){
this
.
$emit
(
'update:diagnosisVisible'
,
false
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/components/common/followup.vue
0 → 100644
浏览文件 @
6c61fa4e
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"followupVisible"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<el-form-item
label=
"稍后跟进原因"
class=
"required-label"
prop=
"userName"
>
<el-col
:span=
"15"
>
<el-input
type=
"textarea"
v-model=
"model.userName"
style=
"width: 130%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入原因"
></el-input>
</el-col>
</el-form-item>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'followupVisible'
],
data
()
{
return
{
show
:
false
,
title
:
'设为稍后跟进'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
_promise
:
null
,
model
:{
userName
:
""
,
title
:
""
},
addRules
:{
userName
:
[
{
required
:
true
,
message
:
"请输入稍后跟进原因"
,
trigger
:
'blur'
}
]
}
}
},
created
()
{},
methods
:
{
reset
()
{
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
_promise
=
null
},
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
resolve
,
reject
};
})
},
async
cancle
()
{
this
.
show
=
false
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
},
async
confirm
()
{
this
.
show
=
false
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
this
.
reset
()
},
hide
()
{
this
.
show
=
false
this
.
reset
()
},
cancel
(){
this
.
$emit
(
'update:followupVisible'
,
false
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/components/common/match.vue
0 → 100644
浏览文件 @
6c61fa4e
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"matchVisible"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setPriceForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<!--
<el-form-item
label=
"助诊医生"
class=
"required-label"
prop=
"userName"
>
-->
<!--
<el-col
:span=
"15"
>
-->
<!--
<el-select
v-model=
"model.userName"
--
>
<!-- filterable-->
<!-- remote-->
<!-- placeholder="请输入专家姓名或医院名称,多个关键字用空格隔开,至少输入两个字符"-->
<!-- clearable-->
<!-- style="width: 130%;"-->
<!-- :remote-method="remoteMethod"-->
<!-- :disabled="isEdit"-->
<!-- @change="nameChange"-->
<!-- @visible-change="noSelectHand">-->
<!--
<el-option-->
<!-- v-for="item in nameList"-->
<!-- :key="item.id"-->
<!-- :label="item.name"-->
<!-- :value="item.id">-->
<!--
<span>
{{
item
.
value
}}
</span>
-->
<!--
</el-option>
-->
<!--
</el-select>
-->
<!--
</el-col>
-->
<!--
</el-form-item>
-->
<!--
<el-col
:span=
"15"
style=
"margin-left: 105px;"
>
-->
<!-- 实际收入(接诊后实际到账金额): ¥
{{
tempPrice
|
rounding
}}
-->
<!--
</el-col>
-->
<el-form-item
label=
"运营名称"
class=
"required-label"
prop=
"userName"
>
<el-col
:span=
"15"
>
<el-input
v-model=
"model.userName"
style=
"width: 130%;"
size=
"small"
></el-input>
</el-col>
</el-form-item>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'matchVisible'
],
data
()
{
return
{
show
:
false
,
title
:
'匹配运营'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
_promise
:
null
,
model
:{
userName
:
""
,
title
:
""
},
addRules
:{
userName
:
[
{
required
:
true
,
message
:
"请输入运营名称"
,
trigger
:
'blur'
}
]
}
}
},
created
()
{},
methods
:
{
reset
()
{
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
_promise
=
null
},
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
resolve
,
reject
};
})
},
async
cancle
()
{
this
.
show
=
false
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
},
async
confirm
()
{
this
.
show
=
false
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
this
.
reset
()
},
hide
()
{
this
.
show
=
false
this
.
reset
()
},
cancel
(){
this
.
$emit
(
'update:matchVisible'
,
false
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/components/common/matching-doctor.vue
0 → 100644
浏览文件 @
6c61fa4e
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"doctorVisible"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<el-form-item
label=
"分诊科室"
>
<el-select
v-model=
"model.commissionType"
id=
"statusSelector"
placeholder=
"请选择分诊科室"
clearable
style=
"width:56%;height: 32px;line-height: 32px;"
>
<el-option
v-for=
"item in commissionTypeList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"备注"
class=
"required-label"
prop=
"userName"
>
<el-col
:span=
"15"
>
<el-input
type=
"textarea"
v-model=
"model.userName"
style=
"width: 90%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入备注"
></el-input>
</el-col>
</el-form-item>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'doctorVisible'
],
data
()
{
return
{
show
:
false
,
title
:
'设置分诊科室'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
_promise
:
null
,
model
:{
userName
:
""
,
title
:
""
},
commissionTypeList
:[],
addRules
:{
userName
:
[
{
required
:
true
,
message
:
"请输入稍后跟进原因"
,
trigger
:
'blur'
}
]
}
}
},
created
()
{},
methods
:
{
reset
()
{
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
_promise
=
null
},
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
resolve
,
reject
};
})
},
async
cancle
()
{
this
.
show
=
false
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
},
async
confirm
()
{
this
.
show
=
false
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
this
.
reset
()
},
hide
()
{
this
.
show
=
false
this
.
reset
()
},
cancel
(){
this
.
$emit
(
'update:doctorVisible'
,
false
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/components/common/refund.vue
0 → 100644
浏览文件 @
6c61fa4e
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"refundVisible"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<div
style=
"margin-bottom: 20px;margin-top: -20px;text-align: center;"
><span
style=
"color: red;"
>
温馨提示:订单一旦退款,订单关联的预约单将被同步取消,请谨慎操作退款
</span></div>
<el-form-item
label=
"退款原因"
class=
"required-label"
prop=
"userName"
>
<el-col
:span=
"15"
>
<el-input
type=
"textarea"
v-model=
"model.userName"
style=
"width: 130%;"
size=
"small"
placeholder=
"请输入原因"
></el-input>
</el-col>
</el-form-item>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'refundVisible'
],
data
()
{
return
{
show
:
false
,
title
:
'取消/退款'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
_promise
:
null
,
model
:{
userName
:
""
,
title
:
""
},
addRules
:{
userName
:
[
{
required
:
true
,
message
:
"请输入退款原因"
,
trigger
:
'blur'
}
]
}
}
},
created
()
{},
methods
:
{
reset
()
{
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
_promise
=
null
},
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
resolve
,
reject
};
})
},
async
cancle
()
{
this
.
show
=
false
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
},
async
confirm
()
{
this
.
show
=
false
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
this
.
reset
()
},
hide
()
{
this
.
show
=
false
this
.
reset
()
},
cancel
(){
this
.
$emit
(
'update:refundVisible'
,
false
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/router/router.js
浏览文件 @
6c61fa4e
...
@@ -6,6 +6,7 @@ const diagnosisIm = r => require.ensure([], () => r(require('../views/IM/diagnos
...
@@ -6,6 +6,7 @@ const diagnosisIm = r => require.ensure([], () => r(require('../views/IM/diagnos
const
diagnosisLive
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/diagnosis-live.vue'
)),
'diagnosisLive'
)
const
diagnosisLive
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/diagnosis-live.vue'
)),
'diagnosisLive'
)
const
serviceList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/service-list.vue'
)),
'serviceList'
)
const
serviceList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/service-list.vue'
)),
'serviceList'
)
const
assistList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/assist-list.vue'
)),
'assistList'
)
const
assistList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/assist-list.vue'
)),
'assistList'
)
const
assistListTemp
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/assist-list-temp.vue'
)),
'assistListTemp'
)
const
diagnosisEditor
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/diagnosis-editor.vue'
)),
'diagnosisEditor'
)
const
diagnosisEditor
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/diagnosis-editor.vue'
)),
'diagnosisEditor'
)
const
diagnosisListLod
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/diagnosis-list-old.vue'
)),
'diagnosisListLod'
)
const
diagnosisListLod
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/IM/diagnosis-admin/diagnosis-list-old.vue'
)),
'diagnosisListLod'
)
...
@@ -34,6 +35,9 @@ export default [{
...
@@ -34,6 +35,9 @@ export default [{
},
{
},
{
path
:
'/assist-list'
,
path
:
'/assist-list'
,
component
:
assistList
component
:
assistList
},
{
path
:
'/assist-list-temp'
,
component
:
assistListTemp
},
{
},
{
path
:
'/diagnosis-editor'
,
path
:
'/diagnosis-editor'
,
component
:
diagnosisEditor
component
:
diagnosisEditor
...
...
src/views/IM/diagnosis-admin/assist-list-temp.vue
0 → 100644
浏览文件 @
6c61fa4e
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录