|
|
@ -73,6 +73,17 @@ |
|
|
|
@click="changeType(item.value, index)" |
|
|
|
>{{ item.label }}</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-left: 15px"> |
|
|
|
<el-button |
|
|
|
v-for="(item,index) in todayList" |
|
|
|
:key="item.label" |
|
|
|
:class="[curIndex3 === index ? 'active' : '']" |
|
|
|
style="margin-left: 0" |
|
|
|
size="small" |
|
|
|
color="white" |
|
|
|
@click="changeToday(item.value, index)" |
|
|
|
>{{ item.label }}</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="scheduled-patient-content"> |
|
|
|
<div id="multipleTable"> |
|
|
@ -116,7 +127,7 @@ |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="准备工作" prop="preparation" header-align="center" align="center" width="140px"> |
|
|
|
<el-table-column label="准备工作" prop="preparation" header-align="center" align="center" width="120px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div> |
|
|
|
<div v-if="showPreparation(scope.row.preparation,'医嘱已开')" :class="{active_check:showPreparation(scope.row.preparation,'医嘱已开')}"> |
|
|
@ -137,7 +148,7 @@ |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="是否到达" header-align="center" align="center" width="85px"> |
|
|
|
<el-table-column sortable label="是否到达" header-align="center" align="center" width="110px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-select v-model="scope.row.arrival" :class="{'active_check':scope.row.arrival==='Y'}" class="arrivalSelect" placeholder="" size="small" @change="value=>changeEyeType(value,scope)"> |
|
|
|
<el-option |
|
|
@ -216,7 +227,8 @@ export default { |
|
|
|
createdIsNeed: false, |
|
|
|
arrival: '', |
|
|
|
beginDate: '', |
|
|
|
endDate: '' |
|
|
|
endDate: '', |
|
|
|
morning: '' |
|
|
|
}, |
|
|
|
appointTime: [], |
|
|
|
isEdit: false, |
|
|
@ -288,6 +300,17 @@ export default { |
|
|
|
value: 'N', |
|
|
|
label: '未到达' |
|
|
|
}], |
|
|
|
todayList: [ |
|
|
|
{ |
|
|
|
value: '', |
|
|
|
label: '全部' |
|
|
|
}, { |
|
|
|
value: '1', |
|
|
|
label: '上午' |
|
|
|
}, { |
|
|
|
value: '2', |
|
|
|
label: '下午' |
|
|
|
}], |
|
|
|
arrivalList: [{ |
|
|
|
value: 'Y', |
|
|
|
label: '是' |
|
|
@ -297,6 +320,7 @@ export default { |
|
|
|
}], |
|
|
|
curIndex: 0, |
|
|
|
curIndex2: 0, |
|
|
|
curIndex3: 0, |
|
|
|
projects: [], |
|
|
|
curProject: '', |
|
|
|
selectedProjects: [], |
|
|
@ -352,6 +376,14 @@ export default { |
|
|
|
} |
|
|
|
this.getDataListInitial() |
|
|
|
}, |
|
|
|
changeToday(value, index) { |
|
|
|
this.curIndex3 = index |
|
|
|
this.dataForm.morning = value |
|
|
|
if (index === 1) { |
|
|
|
this.dataForm.searchType = '' |
|
|
|
} |
|
|
|
this.getDataListInitial() |
|
|
|
}, |
|
|
|
// 改变到达状态 |
|
|
|
changeEyeType(value, scope) { |
|
|
|
this.$http.get('/appoint/updateArrival', { |
|
|
|