Browse Source

预约列表及预约新增修改

360view
bianyaqi 2 years ago
parent
commit
8e44241f43
  1. 2
      src/components/360View/commonForm/eyesVision.vue
  2. 11
      src/page-subspecialty/views/modules/formList/mraOrder.vue
  3. 9
      src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue
  4. 29
      src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue
  5. 36
      src/page-subspecialty/views/modules/nurseManagement/reservation/subList/printTable.vue

2
src/components/360View/commonForm/eyesVision.vue

@ -1086,7 +1086,7 @@ export default {
} else if (rowIndex === 17) { } else if (rowIndex === 17) {
return { return {
rowspan: 1, rowspan: 1,
colspan: 3
colspan: 4
} }
} }
} else if (rowIndex === 15 || rowIndex === 16) { } else if (rowIndex === 15 || rowIndex === 16) {

11
src/page-subspecialty/views/modules/formList/mraOrder.vue

@ -10,7 +10,7 @@
<img width="450" src="@/assets/img/xianganlogo.png"> <img width="450" src="@/assets/img/xianganlogo.png">
</div> </div>
<hr> <hr>
<p style="color:#000000;font-size:32px;margin:0 0 30px 0;text-align:center;">
<p style="color:#000000;font-size:32px;margin:0 0 15px 0;text-align:center;">
眼底血管造影患者预约单 眼底血管造影患者预约单
</p> </p>
<div> <div>
@ -23,7 +23,7 @@
患者姓名<el-input v-model="formData.patientName" style="flex: 1" /> 患者姓名<el-input v-model="formData.patientName" style="flex: 1" />
</div> </div>
</td> </td>
<td>
<td width="55%">
<div class="flex"> <div class="flex">
登记号<el-input v-model="formData.patientId" style="flex: 1" /> 登记号<el-input v-model="formData.patientId" style="flex: 1" />
</div> </div>
@ -131,7 +131,7 @@
</td> </td>
<td> <td>
<div class="flex"> <div class="flex">
备注<el-input v-model="formData.remark" style="flex: 1" />
备注<el-input v-model="formData.remark" type="textarea" :autosize="{ minRows: 1, maxRows: 3}" style="flex: 1" />
</div> </div>
</td> </td>
</tr> </tr>
@ -400,6 +400,9 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-textarea__inner{
border: none;
}
.flex{ .flex{
display: flex; display: flex;
} }
@ -457,7 +460,7 @@ input{
} }
table tr td{ table tr td{
border: 1px solid #ccc; border: 1px solid #ccc;
padding: 5px;
padding: 3px 5px;
} }
.checkBox{ .checkBox{
cursor: pointer; cursor: pointer;

9
src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue

@ -39,7 +39,7 @@
</el-col> </el-col>
</el-form-item> </el-form-item>
<el-form-item label="备注:"> <el-form-item label="备注:">
<el-input v-model="form.remark" type="textarea" />
<el-input v-model="form.remark" type="textarea" maxlength="75" :autosize="{ minRows: 3, maxRows: 3}" show-word-limit />
</el-form-item> </el-form-item>
<div style="display: flex;padding:0 0 20px 0"> <div style="display: flex;padding:0 0 20px 0">
<el-col :span="10" style="display: flex;align-items: center"> <el-col :span="10" style="display: flex;align-items: center">
@ -66,10 +66,12 @@
<el-col :span="24" style="display: flex;align-items: center"> <el-col :span="24" style="display: flex;align-items: center">
<div class="addLabel">准备工作:</div> <div class="addLabel">准备工作:</div>
<el-checkbox-group v-model="form.preparation"> <el-checkbox-group v-model="form.preparation">
<el-checkbox label="医嘱已开" />
<el-checkbox label="激光/三面镜/造影/电生理/视功能/ubm等 医嘱已开" />
<el-checkbox label="激光/三面镜/造影/电生理/视功能/ubm等 医嘱未开" />
<el-checkbox label="散瞳" /> <el-checkbox label="散瞳" />
<el-checkbox label="表麻" /> <el-checkbox label="表麻" />
<el-checkbox label="全身检查完成" />
<el-checkbox label="全身检查医嘱已开" />
<el-checkbox label="全身检查已完成" />
<el-checkbox label="缩瞳" /> <el-checkbox label="缩瞳" />
</el-checkbox-group> </el-checkbox-group>
</el-col> </el-col>
@ -213,6 +215,7 @@ export default {
this.patientInfo = data.data.data.list[0] this.patientInfo = data.data.data.list[0]
} else { } else {
this.patientInfo = null this.patientInfo = null
this.$message.error('未找到该患者!')
} }
}) })
}, },

29
src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue

@ -128,23 +128,17 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作者工号" prop="operatorId" header-align="center" align="center" width="110px" /> <el-table-column label="操作者工号" prop="operatorId" header-align="center" align="center" width="110px" />
<el-table-column label="准备工作" prop="preparation" header-align="center" align="center" width="120px">
<el-table-column label="备注" prop="remark" header-align="center" align="center" />
<el-table-column label="准备工作" prop="preparation" header-align="center" align="center" width="160px">
<template slot-scope="scope"> <template slot-scope="scope">
<div>
<div v-if="showPreparation(scope.row.preparation,'医嘱已开')" :class="{active_check:showPreparation(scope.row.preparation,'医嘱已开')}">
医嘱已开
</div>
<div v-if="showPreparation(scope.row.preparation,'散瞳')" :class="{active_check:showPreparation(scope.row.preparation,'散瞳')}">
散瞳
</div>
<div v-if="showPreparation(scope.row.preparation,'表麻')" :class="{active_check:showPreparation(scope.row.preparation,'表麻')}">
表麻
</div>
<div v-if="showPreparation(scope.row.preparation,'全身检查完成')" :class="{active_check:showPreparation(scope.row.preparation,'全身检查完成')}">
全身检查完成
</div>
<div v-if="showPreparation(scope.row.preparation,'缩瞳')" :class="{active_check_red:showPreparation(scope.row.preparation,'缩瞳')}">
缩瞳
<div v-if="scope.row.preparation">
<div
v-for="item in scope.row.preparation.split(',')"
:key="item"
:class="item==='缩瞳'?'active_check_red':'active_check'"
class="readyItem"
>
{{ item }}
</div> </div>
</div> </div>
</template> </template>
@ -515,6 +509,9 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.readyItem:not(:last-child){
border-bottom: 1px dashed #cccccc;
}
::v-deep .el-table .el-table__cell{ ::v-deep .el-table .el-table__cell{
padding:9px 0; padding:9px 0;
} }

36
src/page-subspecialty/views/modules/nurseManagement/reservation/subList/printTable.vue

@ -36,23 +36,16 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="准备工作" prop="preparation" header-align="center" align="center" width="120px">
<el-table-column label="准备工作" prop="preparation" header-align="center" align="center" width="160px">
<template slot-scope="scope"> <template slot-scope="scope">
<div>
<div v-if="showPreparation(scope.row.preparation,'医嘱已开')" :class="{active_check:showPreparation(scope.row.preparation,'医嘱已开')}">
医嘱已开
</div>
<div v-if="showPreparation(scope.row.preparation,'散瞳')" :class="{active_check:showPreparation(scope.row.preparation,'散瞳')}">
散瞳
</div>
<div v-if="showPreparation(scope.row.preparation,'表麻')" :class="{active_check:showPreparation(scope.row.preparation,'表麻')}">
表麻
</div>
<div v-if="showPreparation(scope.row.preparation,'全身检查完成')" :class="{active_check:showPreparation(scope.row.preparation,'全身检查完成')}">
全身检查完成
</div>
<div v-if="showPreparation(scope.row.preparation,'缩瞳')" :class="{active_check_red:showPreparation(scope.row.preparation,'缩瞳')}">
缩瞳
<div v-if="scope.row.preparation">
<div
v-for="item in scope.row.preparation.split(',')"
:key="item"
:class="item==='缩瞳'?'active_check_red':'active_check'"
class="readyItem"
>
{{ item }}
</div> </div>
</div> </div>
</template> </template>
@ -74,13 +67,7 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" class-name="hidden" header-align="center" align="center" width="200px">
<template slot-scope="scope">
<span class="call" @click="editOpera(scope.row)">{{ scope.row.appointDate ? "改约":"预约" }}</span>
<span class="cancel" @click="cancelClick(scope.row)">取消</span>
<span class="call" @click="checkPatientDetail(scope.row)">患者360</span>
</template>
</el-table-column>
<el-table-column label="备注" prop="remark" header-align="center" align="center" width="240px" />
</el-table> </el-table>
</div> </div>
</template> </template>
@ -138,4 +125,7 @@ export default {
padding: 0; padding: 0;
} }
} }
.readyItem:not(:last-child){
border-bottom: 1px dashed #cccccc;
}
</style> </style>

Loading…
Cancel
Save