Browse Source

护士工作台相关修改

360view
bianyaqi 2 years ago
parent
commit
75a6f85292
  1. 4
      public/index.html
  2. 67
      src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue
  3. 2
      src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/doctor-schedule.vue
  4. 2
      src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue
  5. 79
      src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue

4
public/index.html

@ -39,8 +39,8 @@
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script> <script>
//http://121.36.16.195:9002/huimu-admin/swagger-ui/index.html //http://121.36.16.195:9002/huimu-admin/swagger-ui/index.html
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.0.167:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://192.168.0.167:8036/xiangan-crf';
</script> </script>
<% } %> <% } %>
<!-- 测试环境 --> <!-- 测试环境 -->

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

@ -29,48 +29,59 @@
/> />
</el-select> </el-select>
</el-col> </el-col>
<el-col :span="12" style="display: flex;align-items: center">
<el-col :span="11" style="display: flex;align-items: center;margin-left: 15px">
已开医嘱: 已开医嘱:
<div class="radioItem" @click="form.yzOpen='Y'"> <div class="radioItem" @click="form.yzOpen='Y'">
<input :disabled="isEdit" :checked="form.yzOpen==='Y'" type="radio">
<input :checked="form.yzOpen==='Y'" type="radio">
</div> </div>
<div class="radioItem" @click="form.yzOpen='N'"> <div class="radioItem" @click="form.yzOpen='N'">
<input :disabled="isEdit" :checked="form.yzOpen==='N'" type="radio">
<input :checked="form.yzOpen==='N'" type="radio">
</div> </div>
</el-col> </el-col>
</el-form-item> </el-form-item>
<el-form-item label="备注:"> <el-form-item label="备注:">
<el-input v-model="form.remark" :readonly="isEdit" autosize type="textarea" />
<el-input v-model="form.remark" autosize type="textarea" />
</el-form-item> </el-form-item>
<div style="display: flex;padding:0 0 20px 20px">
<el-col :span="10" style="display: flex;align-items: center">
眼别:
<div style="display: flex;padding:0 0 20px 0">
<el-col :span="12" style="display: flex;align-items: center">
<div class="addLabel">眼别:</div>
<div class="radioItem" @click="form.eyeType='OD'"> <div class="radioItem" @click="form.eyeType='OD'">
<input :disabled="isEdit" :checked="form.eyeType==='OD'" type="radio">OD
<input :checked="form.eyeType==='OD'" type="radio">OD
</div> </div>
<div class="radioItem" @click="form.eyeType='OS'"> <div class="radioItem" @click="form.eyeType='OS'">
<input :disabled="isEdit" :checked="form.eyeType==='OS'" type="radio">OS
<input :checked="form.eyeType==='OS'" type="radio">OS
</div> </div>
<div class="radioItem" @click="form.eyeType='OU'"> <div class="radioItem" @click="form.eyeType='OU'">
<input :disabled="isEdit" :checked="form.eyeType==='OU'" type="radio">OU
<input :checked="form.eyeType==='OU'" type="radio">OU
</div> </div>
</el-col> </el-col>
<el-col :span="7" style="display: flex;align-items: center">
<el-col :span="12" style="display: flex;align-items: center">
散瞳: 散瞳:
<div class="radioItem" @click="form.pupilDilate='Y'"> <div class="radioItem" @click="form.pupilDilate='Y'">
<input :disabled="isEdit" :checked="form.pupilDilate==='Y'" type="radio">
<input :checked="form.pupilDilate==='Y'" type="radio">
</div> </div>
<div class="radioItem" @click="form.pupilDilate='N'"> <div class="radioItem" @click="form.pupilDilate='N'">
<input :disabled="isEdit" :checked="form.pupilDilate==='N'" type="radio">
<input :checked="form.pupilDilate==='N'" type="radio">
</div> </div>
</el-col> </el-col>
<el-col :span="7" style="display: flex;align-items: center">
缩瞳:
</div>
<div style="display: flex;padding:0 0 20px 0px">
<el-col :span="12" style="display: flex;align-items: center">
<div class="addLabel">缩瞳:</div>
<div class="radioItem" @click="form.pupilShrink='Y'"> <div class="radioItem" @click="form.pupilShrink='Y'">
<input :disabled="isEdit" :checked="form.pupilShrink==='Y'" type="radio">
<input :checked="form.pupilShrink==='Y'" type="radio">
</div> </div>
<div class="radioItem" @click="form.pupilShrink='N'"> <div class="radioItem" @click="form.pupilShrink='N'">
<input :disabled="isEdit" :checked="form.pupilShrink==='N'" type="radio">
<input :checked="form.pupilShrink==='N'" type="radio">
</div>
</el-col>
<el-col :span="12" style="display: flex;align-items: center">
三面镜:
<div class="radioItem" @click="form.threeMirror='Y'">
<input :checked="form.threeMirror==='Y'" type="radio">
</div>
<div class="radioItem" @click="form.threeMirror='N'">
<input :checked="form.threeMirror==='N'" type="radio">
</div> </div>
</el-col> </el-col>
</div> </div>
@ -92,7 +103,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-form-item> </el-form-item>
</el-form>
</div></el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="goFormList">表单</el-button> <el-button size="small" @click="goFormList">表单</el-button>
<el-button size="small" @click="closeDialog"> </el-button> <el-button size="small" @click="closeDialog"> </el-button>
@ -113,6 +124,9 @@ export default {
patientDetail: { patientDetail: {
type: Object type: Object
}, },
orderDate: {
type: String
},
project: { project: {
type: Object type: Object
}, },
@ -173,6 +187,11 @@ export default {
this.patientInfo = this.patientDetail this.patientInfo = this.patientDetail
} }
}, },
mounted() {
if (this.orderDate) {
this.form.date1 = this.orderDate
}
},
methods: { methods: {
init() { init() {
this.visible = true this.visible = true
@ -201,7 +220,6 @@ export default {
// //
handleSave() { handleSave() {
if (!this.isEdit) { if (!this.isEdit) {
console.log('asdfasdf')
this.$refs.addPatientForm.validate((valid) => { this.$refs.addPatientForm.validate((valid) => {
if (!valid) { if (!valid) {
return false return false
@ -227,12 +245,10 @@ export default {
} else { } else {
const params = { const params = {
appointDate: `${this.form.date1} ${this.form.date2}`, appointDate: `${this.form.date1} ${this.form.date2}`,
doctorId: this.form.doctorId,
doctorName: this.form.doctorName,
patientId: this.form.patientId,
patientName: this.patientDetail.patientName, patientName: this.patientDetail.patientName,
id: this.patientDetail.id, id: this.patientDetail.id,
itemId: this.patientDetail.itemId
itemId: this.patientDetail.itemId,
...this.form
} }
this.$http.post('/appoint/updateAppointInfo', params).then(() => { this.$http.post('/appoint/updateAppointInfo', params).then(() => {
this.$message.success('修改成功') this.$message.success('修改成功')
@ -269,6 +285,11 @@ export default {
margin:0 8px; margin:0 8px;
display: flex; display: flex;
} }
.addLabel{
width: 80px;
text-align: right;
margin-right: 10px
}
input{ input{
-webkit-appearance: checkbox !important; -webkit-appearance: checkbox !important;
margin-right: 5px !important; margin-right: 5px !important;

2
src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/doctor-schedule.vue

@ -376,10 +376,12 @@ export default {
if (morOrAft===1){ if (morOrAft===1){
this.curPatients = weekInfoItem.morning.appointPatients this.curPatients = weekInfoItem.morning.appointPatients
this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '上午' this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '上午'
this.$refs.numberManageRef.orderDate = weekInfoItem.date
this.canAdd = weekInfoItem.morning.maxNumber>weekInfoItem.morning.orderNum || !item.needLimit this.canAdd = weekInfoItem.morning.maxNumber>weekInfoItem.morning.orderNum || !item.needLimit
}else { }else {
this.curPatients = weekInfoItem.after.appointPatients this.curPatients = weekInfoItem.after.appointPatients
this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '下午' this.$refs.numberManageRef.dateInfo = weekInfoItem.date + '下午'
this.$refs.numberManageRef.orderDate = weekInfoItem.date
this.canAdd = weekInfoItem.after.maxNumber>weekInfoItem.after.orderNum || !item.needLimit this.canAdd = weekInfoItem.after.maxNumber>weekInfoItem.after.orderNum || !item.needLimit
} }
this.$refs.numberManageRef.curProject = item // this.$refs.numberManageRef.curProject = item //

2
src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue

@ -30,6 +30,7 @@
:project="curProject" :project="curProject"
:patient-detail="curPatient" :patient-detail="curPatient"
:title="addTitle" :title="addTitle"
:order-date="orderDate"
:is-edit="isEdit" :is-edit="isEdit"
@goFormList="goFormList" @goFormList="goFormList"
@closeDialog="closeAddDialog" @closeDialog="closeAddDialog"
@ -58,6 +59,7 @@ export default {
return { return {
visible: false, visible: false,
addPatientVisible: false, addPatientVisible: false,
orderDate: '',
dateInfo: '', dateInfo: '',
isEdit: false, isEdit: false,
projectName: '', projectName: '',

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

@ -3,7 +3,7 @@
<div class="nurse_content"> <div class="nurse_content">
<div v-if="!detailViewVisible" class="scheduled-patient"> <div v-if="!detailViewVisible" class="scheduled-patient">
<div class="scheduled-patient-head"> <div class="scheduled-patient-head">
<div>
<div style="display:flex;">
<el-select <el-select
v-model="dataForm.searchType" v-model="dataForm.searchType"
placeholder="请选择" placeholder="请选择"
@ -42,10 +42,23 @@
color="white" color="white"
@click="handleType(item.value, index)" @click="handleType(item.value, index)"
>{{ item.label }}</el-button> >{{ item.label }}</el-button>
<div style="margin-left: 15px">
预约时间:
<el-date-picker
v-model="appointTime"
size="small"
type="daterange"
range-separator="-"
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd"
@change="dateChange"
/>
</div>
</div> </div>
<div> <div>
<el-button type="primary" icon="el-icon-edit" size="small" @click="changeOrder">改约</el-button> <el-button type="primary" icon="el-icon-edit" size="small" @click="changeOrder">改约</el-button>
<el-button v-print="printObj" type="primary" icon="el-icon-edit" size="small">打印</el-button>
<el-button v-print="printObj" type="primary" icon="el-icon-edit" size="small" @click="printTable">打印</el-button>
</div> </div>
</div> </div>
<div class="scheduled-patient-content"> <div class="scheduled-patient-content">
@ -58,23 +71,37 @@
:cell-class-name="tableCellClassName" :cell-class-name="tableCellClassName"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<el-table-column class-name="hidden" type="selection" width="50px" />
<el-table-column prop="patientId" label="登记号" header-align="center" align="center" min-width="150px" />
<el-table-column prop="jzNumber" label="就诊号" header-align="center" align="center" width="150px" />
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" width="150px" />
<el-table-column label="负责医生" header-align="center" align="center" width="150px">
<el-table-column v-if="printHidden" type="selection" />
<el-table-column label="预约时间" header-align="center" align="center" width="170px">
<template slot-scope="scope">
{{ scope.row.appointDate ? scope.row.appointDate : '-' }}
</template>
</el-table-column>
<el-table-column label="负责医生" header-align="center" align="center" width="100px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.doctorName ? scope.row.doctorName : '-' }} {{ scope.row.doctorName ? scope.row.doctorName : '-' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="预约时间" header-align="center" align="center" width="170px">
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" width="100px" />
<el-table-column prop="patientId" label="登记号" header-align="center" align="center" width="120px" />
<el-table-column prop="patientPhone" label="电话号" header-align="center" align="center" width="150px" />
<el-table-column label="医疗项目" prop="itemName" header-align="center" align="center" width="180px" />
<el-table-column label="眼别" prop="eyeType" header-align="center" align="center" width="80px" />
<el-table-column label="准备工作" header-align="center" align="center" width="140px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.appointDate ? scope.row.appointDate : '-' }}
<div>
<div>
<input style="margin-right: 5px" type="checkbox" :checked="scope.row.yzOpen==='Y'">医嘱已开
</div>
<div>
<input style="margin-right: 5px" type="checkbox" :checked="scope.row.pupilDilate==='Y'">散瞳
</div>
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="医疗项目" prop="itemName" header-align="center" align="center" />
<el-table-column label="眼别" prop="eyeType" header-align="center" align="center" />
<el-table-column label="操作" header-align="center" align="center" width="200px">
<el-table-column prop="jzNumber" label="就诊号" header-align="center" align="center" />
<el-table-column label="操作" class-name="hidden" header-align="center" align="center" width="200px">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="call" @click="editOpera(scope.row)">{{ scope.row.appointDate ? "改约":"预约" }}</span> <span class="call" @click="editOpera(scope.row)">{{ scope.row.appointDate ? "改约":"预约" }}</span>
<span class="cancel" @click="cancelClick(scope.row)">取消</span> <span class="cancel" @click="cancelClick(scope.row)">取消</span>
@ -136,8 +163,11 @@ export default {
mixinViewModuleOptions: { mixinViewModuleOptions: {
getDataListURL: '/appoint/page', getDataListURL: '/appoint/page',
getDataListIsPage: true, getDataListIsPage: true,
createdIsNeed: false
createdIsNeed: false,
beginDate: '',
endDate: ''
}, },
appointTime: [],
isEdit: false, isEdit: false,
addTitle: '', addTitle: '',
addPatientVisible: false, addPatientVisible: false,
@ -197,8 +227,12 @@ export default {
// //
printObj: { printObj: {
id: 'multipleTable', id: 'multipleTable',
extraHead: '<style>#printId { width: 100%; !important; } #multipleTable .hidden { display: none } <style>'
extraHead: '<style> .el-table .el-table__cell{padding:9px 0 !important;}</style>',
closeCallback: () => {
this.printHidden = true
} }
},
printHidden: true
} }
}, },
created() { created() {
@ -206,6 +240,13 @@ export default {
this.getDataListInitial() this.getDataListInitial()
}, },
methods: { methods: {
dateChange(e) {
//
this.dataForm.beginDate = e ? e[0] : ''
this.dataForm.endDate = e ? e[1] : ''
this.dataForm.searchType = e ? '' : '0'
this.getDataListInitial()
},
handleType(value, index) { handleType(value, index) {
this.curIndex = index this.curIndex = index
this.dataForm.appointStatus = value this.dataForm.appointStatus = value
@ -228,6 +269,9 @@ export default {
}) })
}) })
}, },
printTable() {
this.printHidden = false
},
// //
changeOrder() { changeOrder() {
this.reDialogShow = true this.reDialogShow = true
@ -300,6 +344,9 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-table .el-table__cell{
padding:9px 0;
}
.active{ .active{
color: #3ea3f6; color: #3ea3f6;
background-color: #e0f2fd; background-color: #e0f2fd;
@ -371,8 +418,4 @@ export default {
} }
} }
} }
#multipleTable .hidden { display: none }
//::v-deep .hidden {
// display: none !important
//}
</style> </style>

Loading…
Cancel
Save