提交 552f9217 编写于 作者: wenxuan.liang's avatar wenxuan.liang

Merge branch 'dev-20210702' of...

Merge branch 'dev-20210702' of 192.168.110.53:com.pica.cloud.education.frontend/pica-admin-consultation into dev-20210702
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<el-form-item v-if="formData.receptionName == '站外医生' || formData.receptionName == '云鹊医助'" label="外部医生姓名" class="required-label" prop="outsideDoctor"> <el-form-item v-if="formData.receptionName == '站外医生' || formData.receptionName == '云鹊医助'" label="外部医生姓名" class="required-label" prop="outsideDoctor">
<el-input v-model="formData.outsideDoctor" placeholder="请输入外部医生姓名" class="set-width"></el-input> <el-input v-model="formData.outsideDoctor" placeholder="请输入外部医生姓名" class="set-width"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="接诊意向时间" class="required-label" prop="rangeTime"> <el-form-item label="接诊意向时间">
<el-date-picker <el-date-picker
v-model="rangeTime" v-model="rangeTime"
type="datetimerange" type="datetimerange"
...@@ -83,8 +83,8 @@ export default { ...@@ -83,8 +83,8 @@ export default {
default: 0 default: 0
}, },
doctorId: { doctorId: {
type: String, type: Number|String,
default: "" default: 0
}, },
}, },
data() { data() {
...@@ -115,20 +115,17 @@ export default { ...@@ -115,20 +115,17 @@ export default {
outsideDoctor: [ outsideDoctor: [
{required: true, message: "请输入外部医生姓名", trigger: 'blur'} {required: true, message: "请输入外部医生姓名", trigger: 'blur'}
], ],
rangeTime: [ // rangeTime: [
// {type: 'array',required: true, validator: checkDate, trigger: 'blur,change'} // {
{ // type: 'array',
type: 'array', // required: true,
required: true, // trigger: 'change',
// message: "预约时间不能为空", // fields: {
// validator: checkDate, // 0: {required: true, type: 'date', message: "开始时间不能为空"},
trigger: 'change', // 1: {required: true, type: 'date', message: '结束时间不能为空'}
fields: { // }
0: {required: true, type: 'date', message: "开始时间不能为空"}, // }
1: {required: true, type: 'date', message: '结束时间不能为空'} // ]
}
}
]
}, },
pickerOptions1: { pickerOptions1: {
disabledDate: time => { disabledDate: time => {
...@@ -159,10 +156,10 @@ export default { ...@@ -159,10 +156,10 @@ export default {
console.log("doctorId:" + this.doctorId); console.log("doctorId:" + this.doctorId);
this.$refs.setForm.validate((valid) => { this.$refs.setForm.validate((valid) => {
if (valid) { if (valid) {
if(!(this.rangeTime != null && this.rangeTime.length > 0)){ // if(!(this.rangeTime != null && this.rangeTime.length > 0)){
vm.$message.warning("请选择接诊意向时间"); // vm.$message.warning("请选择接诊意向时间");
return; // return;
} // }
if(this.formData.receptionName == "站外医生" || this.formData.receptionName == "云鹊医助"){ if(this.formData.receptionName == "站外医生" || this.formData.receptionName == "云鹊医助"){
this.formData.innerFlag = 2;// 外部 this.formData.innerFlag = 2;// 外部
} }
......
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
default: false default: false
}, },
operateUserID: { operateUserID: {
type: String, type: String|Number,
default: "" default: ""
}, },
}, },
......
...@@ -21,8 +21,23 @@ ...@@ -21,8 +21,23 @@
:label="item.label" :label="item.label"
:show-overflow-tooltip="item.showtooltip" :show-overflow-tooltip="item.showtooltip"
min-width="170" min-width="170"
align="center" align="center">
></el-table-column> <template slot-scope="scope">
<div v-if="scope.column.property == 'appointBeginTime'">
<p>{{scope.row.appointBeginTime}}</p>
<p>{{scope.row.appointEndTime}}</p>
</div>
<div v-else-if="scope.column.property == 'assistantBeginTime'">
<p>{{scope.row.assistantBeginTime}}</p>
<p>{{scope.row.assistantEndTime}}</p>
</div>
<div v-else-if="scope.column.property == 'receptionBeginTime'">
<p>{{scope.row.receptionBeginTime}}</p>
<p>{{scope.row.receptionEndTime}}</p>
</div>
<div v-else><p>{{scope.row[scope.column.property]}}</p></div>
</template>
</el-table-column>
<el-table-column <el-table-column
label="操作" label="操作"
fixed="right" fixed="right"
...@@ -35,11 +50,11 @@ ...@@ -35,11 +50,11 @@
<el-button type="primary" size="small" class="btn" @click="goDetail(scope.row,false)">查看详情</el-button> <el-button type="primary" size="small" class="btn" @click="goDetail(scope.row,false)">查看详情</el-button>
<el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,2,21,22,23,24,25,26,3)" @click="cancelRefund(scope.row)">取消/退款</el-button> <el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,2,21,22,23,24,25,26,3)" @click="cancelRefund(scope.row)">取消/退款</el-button>
<el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,21)" @click="witeGo(scope.row)">设为稍后跟进</el-button> <el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,21)" @click="witeGo(scope.row)">设为稍后跟进</el-button>
<el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,21,22)" @click="waitMatchDot(scope.row)">设为待匹配医生</el-button> <el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,22)" @click="waitMatchDot(scope.row)">设为待匹配医生</el-button>
<el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,3,4,5,6,21,22,23,24,25,26)" @click="sendMessage(scope.row)">发送消息</el-button> <el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,3,4,5,6,21,22,23,24,25,26)" @click="sendMessage(scope.row)">发送消息</el-button>
<el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,3)" @click="joinDiagnose(scope.row)">加入问诊</el-button> <el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,3)" @click="joinDiagnose(scope.row)">加入问诊</el-button>
<el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,2)" @click="matchRun(scope.row)">匹配运营</el-button> <el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,2)" @click="matchRun(scope.row)">匹配运营</el-button>
<el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,3,4,6,21,22,23,24,25,26)" @click="goDetail(scope.row,true)" >编辑</el-button> <el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,2,3,4,6,21,22,23,24,25,26)" @click="goDetail(scope.row,true)" >编辑</el-button>
<el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,21)" @click="waitDiagnose(scope.row)">设为待分诊</el-button> <el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,21)" @click="waitDiagnose(scope.row)">设为待分诊</el-button>
<el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,23)" @click="waitHzeDot(scope.row)">设为待协调医生</el-button> <el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,23)" @click="waitHzeDot(scope.row)">设为待协调医生</el-button>
<el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,23,24)" @click="waitMatchTime(scope.row)">设为待确认时间</el-button> <el-button type="primary" size="small" class="btn" v-if="showBtn(scope.row,23,24)" @click="waitMatchTime(scope.row)">设为待确认时间</el-button>
...@@ -196,7 +211,7 @@ export default { ...@@ -196,7 +211,7 @@ export default {
}, },
setOffice(value) { setOffice(value) {
this.$emit("setOffice", value); this.$emit("setOffice", value);
} },
}, },
}; };
</script> </script>
......
...@@ -373,6 +373,10 @@ export const RECEPTION_TAB_LIST = [ ...@@ -373,6 +373,10 @@ export const RECEPTION_TAB_LIST = [
label: '待协调医生', label: '待协调医生',
active: '6' active: '6'
}, },
{
label: '待确认时间',
active: '25'
},
] ]
// 外呼列表 // 外呼列表
...@@ -409,12 +413,7 @@ export const TABLE_COLUMN = [ ...@@ -409,12 +413,7 @@ export const TABLE_COLUMN = [
}, },
{ {
prop: "appointBeginTime", prop: "appointBeginTime",
label: "预约开始时间", label: "预约时间",
showtooltip: false,
},
{
prop: "appointEndTime",
label: "预约结束时间",
showtooltip: false, showtooltip: false,
}, },
{ {
...@@ -529,7 +528,7 @@ export const TABLE_COLUMN = [ ...@@ -529,7 +528,7 @@ export const TABLE_COLUMN = [
}, },
{ {
prop: "diagnoseAdvice", prop: "diagnoseAdvice",
label: '诊断建议"', label: '诊断建议',
showtooltip: true, showtooltip: true,
}, },
{ {
......
...@@ -330,7 +330,7 @@ export default { ...@@ -330,7 +330,7 @@ export default {
batchFlag:false, batchFlag:false,
bizType:0, bizType:0,
diagnoseType:0, diagnoseType:0,
doctorId:"", doctorId:0,
operateUserID:"", operateUserID:"",
pickerOptions1: { pickerOptions1: {
disabledDate: (time) => { disabledDate: (time) => {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册