newPeter7 2 years ago
parent
commit
5b5b33a9e8
  1. 4
      public/index.html
  2. BIN
      src/assets/img/od.png
  3. BIN
      src/assets/img/os.png
  4. 50
      src/page-subspecialty/views/modules/formList/InformedConsent.vue
  5. 17
      src/page-subspecialty/views/modules/formList/laserSurgery.vue
  6. 5
      src/page-subspecialty/views/modules/imgEditorFabric/img-editor/bgBar.vue
  7. 4
      src/page-subspecialty/views/modules/imgEditorFabric/img-editor/setSize.vue
  8. 2
      src/page-subspecialty/views/modules/imgEditorFabric/index.vue
  9. 31
      src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue
  10. 47
      src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue
  11. 30
      src/page-subspecialty/views/modules/outpatientManagement/treat/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>
<% } %> <% } %>
<!-- 测试环境 --> <!-- 测试环境 -->

BIN
src/assets/img/od.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 14 KiB

BIN
src/assets/img/os.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 14 KiB

50
src/page-subspecialty/views/modules/formList/InformedConsent.vue

@ -19,7 +19,14 @@
<div class="flex a-c item">年龄<el-input v-model="confirmData.patientAge" style="flex: 1" placeholder="" /></div> <div class="flex a-c item">年龄<el-input v-model="confirmData.patientAge" style="flex: 1" placeholder="" /></div>
<div class="flex a-c item">性别<el-input v-model="confirmData.patientGender" style="flex: 1" placeholder="" /></div> <div class="flex a-c item">性别<el-input v-model="confirmData.patientGender" style="flex: 1" placeholder="" /></div>
<div class="flex a-c item">眼别 <div class="flex a-c item">眼别
<el-select v-model="confirmData.eyeType" style="flex: 1" placeholder="">
<el-select
ref="eyeTypeRef"
v-model="confirmData.eyeType"
filterable
allow-create
style="flex: 1"
placeholder=""
>
<el-option <el-option
v-for="item in options" v-for="item in options"
:key="item.value" :key="item.value"
@ -66,13 +73,12 @@
<span class="check" @click="item.isSelected = !item.isSelected"> <span class="check" @click="item.isSelected = !item.isSelected">
<input type="checkbox" :checked="item.isSelected">{{ item.name }} <input type="checkbox" :checked="item.isSelected">{{ item.name }}
</span> </span>
<!-- <el-checkbox v-model="item.isSelected" class="checkboxItem">{{ item.name }}</el-checkbox>-->
<span v-if="item.area" class="flex">( <span v-if="item.area" class="flex">(
<span v-for="(area,index) in item.area" :key="`${index}_${i}`" class="areaItem">
<span v-for="(area,index) in item.area" :key="`${index}_${i}`" class="areaItem flex">
<span class="check" @click="area.isSelected = !area.isSelected"> <span class="check" @click="area.isSelected = !area.isSelected">
<input type="checkbox" :checked="area.isSelected">{{ area.name }} <input type="checkbox" :checked="area.isSelected">{{ area.name }}
</span> </span>
<!-- <el-checkbox v-model="area.isSelected" class="checkboxItem">{{ area.name }}</el-checkbox>-->
<span v-if="area.name==='全'" style="margin-left: 5px" class="flex"> <el-input v-model="confirmData.frequency" style="width: 50px" /> </span>
</span> </span>
)</span> )</span>
</div> </div>
@ -185,7 +191,8 @@ export default {
patientSign: '', patientSign: '',
qgy: '', qgy: '',
ydb: '', ydb: '',
swmxgxbb: ''
swmxgxbb: '',
frequency: ''
}, },
options: [{ options: [{
value: 'OD', value: 'OD',
@ -370,14 +377,6 @@ export default {
}, },
created() { created() {
this.origin = JSON.parse(JSON.stringify(this.confirmData)) this.origin = JSON.parse(JSON.stringify(this.confirmData))
//
this.confirmData.patientName = this.patientDetail.patientName
this.confirmData.patientAge = this.patientDetail.patientAge
this.confirmData.patientGender = this.patientDetail.patientSex
const userData = JSON.parse(window.sessionStorage.getItem('qg-userData'))
this.confirmData.operationSign = userData.signImgBase
this.confirmData.operationDate = this.$moment().format('YYYY-MM-DD HH:mm:ss')
this.confirmData.patientDate = this.$moment().format('YYYY-MM-DD HH:mm:ss')
this.getInfoDetail() this.getInfoDetail()
this.queryProject() this.queryProject()
this.$store.commit('initPlugin') this.$store.commit('initPlugin')
@ -392,9 +391,7 @@ export default {
patientId: this.patientDetail.patientId patientId: this.patientDetail.patientId
}}).then(data => { }}).then(data => {
const detail = data.data.data const detail = data.data.data
if (detail.eyeType) {
this.confirmData.eyeType = detail.eyeType
}
this.confirmData.eyeType = detail.eyeType
const bnzList = detail.bnz && detail.bnz.split('/') || [] const bnzList = detail.bnz && detail.bnz.split('/') || []
const qgyList = detail.qgy && detail.qgy.split('/') || [] const qgyList = detail.qgy && detail.qgy.split('/') || []
const ydbList = detail.ydb && detail.ydb.split('/') || [] const ydbList = detail.ydb && detail.ydb.split('/') || []
@ -405,6 +402,22 @@ export default {
this.handleDetail(bnzList, qgyList, ydbList, swmList, detail.coats, mzfsList, jgshList, jgshAreaList) this.handleDetail(bnzList, qgyList, ydbList, swmList, detail.coats, mzfsList, jgshList, jgshAreaList)
this.confirmData.other = detail.other || '' this.confirmData.other = detail.other || ''
this.$store.commit('informPatientSign', detail.patientSign) this.$store.commit('informPatientSign', detail.patientSign)
if (!detail.jzNumber) {
//
this.confirmData.patientName = this.patientDetail.patientName
this.confirmData.patientAge = this.patientDetail.patientAge
this.confirmData.patientGender = this.patientDetail.patientSex
const userData = JSON.parse(window.sessionStorage.getItem('qg-userData'))
this.confirmData.operationSign = userData.signImgBase
this.confirmData.operationDate = this.$moment().format('YYYY-MM-DD')
this.confirmData.patientDate = this.$moment().format('YYYY-MM-DD')
} else {
this.confirmData.patientName = detail.patientName
this.confirmData.patientAge = detail.patientAge
this.confirmData.patientGender = detail.patientGender
this.confirmData.operationDate = detail.operationDate
this.confirmData.patientDate = detail.patientDate
}
}) })
}, },
// //
@ -552,6 +565,11 @@ export default {
}, },
// //
handleSaveTable() { handleSaveTable() {
if (!this.confirmData.eyeType) {
this.$message.error('请选择眼别')
this.$refs.eyeTypeRef.focus()
return
}
this.handleList() this.handleList()
this.handleNarcotism() this.handleNarcotism()
this.handleMode() this.handleMode()

17
src/page-subspecialty/views/modules/formList/laserSurgery.vue

@ -176,9 +176,8 @@
</tbody> </tbody>
</table> </table>
<div class="descImg" @click="editImg()"> <div class="descImg" @click="editImg()">
<div>示意图</div>
<div>示意图 <span>{{ confirmData.eyeType }}</span></div>
<img v-if="confirmData.jgzlSyt" :src="confirmData.jgzlSyt"> <img v-if="confirmData.jgzlSyt" :src="confirmData.jgzlSyt">
<!-- <img v-if="confirmData.jgzlSyt" src="@/assets/img/od.png">-->
</div> </div>
</div> </div>
<div class="flex a-c"> <div class="flex a-c">
@ -294,9 +293,9 @@ export default {
methods: { methods: {
changeEyeType(value) { changeEyeType(value) {
if (value === 'OD') { if (value === 'OD') {
this.confirmData.jgzlSyt = odOrOs.od
this.confirmData.jgzlSyt = require('@/assets/img/od.png')
} else { } else {
this.confirmData.jgzlSyt = odOrOs.os
this.confirmData.jgzlSyt = require('@/assets/img/os.png')
} }
}, },
onEnter(index) { onEnter(index) {
@ -374,10 +373,11 @@ export default {
this.confirmData.patientAddress = this.patientDetail.patientAddress this.confirmData.patientAddress = this.patientDetail.patientAddress
this.confirmData.patientPhone = this.patientDetail.patientPhone this.confirmData.patientPhone = this.patientDetail.patientPhone
this.confirmData.operateDate = new Date() this.confirmData.operateDate = new Date()
this.confirmData.eyeType = 'OD'
if (this.confirmData.eyeType === 'OD') { if (this.confirmData.eyeType === 'OD') {
this.confirmData.jgzlSyt = odOrOs.od
this.confirmData.jgzlSyt = require('@/assets/img/od.png')
} else { } else {
this.confirmData.jgzlSyt = odOrOs.os
this.confirmData.jgzlSyt = require('@/assets/img/os.png')
} }
} }
const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) const userData = JSON.parse(window.sessionStorage.getItem('qg-userData'))
@ -437,12 +437,15 @@ export default {
margin-bottom: 10px; margin-bottom: 10px;
} }
.descImg{ .descImg{
font-size: 12px;
font-size: 16px;
padding: 10px; padding: 10px;
flex: 1; flex: 1;
border: 1px solid #8e8c8c; border: 1px solid #8e8c8c;
margin-left: 20px; margin-left: 20px;
height: 280px; height: 280px;
span{
font-weight: bold;
}
div{ div{
height: 20px; height: 20px;
text-align: left; text-align: left;

5
src/page-subspecialty/views/modules/imgEditorFabric/img-editor/bgBar.vue

@ -121,11 +121,12 @@ export default {
margin-bottom: 0; margin-bottom: 0;
} }
.img { .img {
width: 360px*0.2;
height: 400px*0.2;
width: 320px*0.2;
height: 320px*0.2;
padding: 5px; padding: 5px;
margin-left: 5px; margin-left: 5px;
cursor: pointer; cursor: pointer;
background: #fff;
} }
::v-deep .el-divider__text{ ::v-deep .el-divider__text{

4
src/page-subspecialty/views/modules/imgEditorFabric/img-editor/setSize.vue

@ -38,8 +38,8 @@ export default {
inject: ['canvas', 'fabric'], inject: ['canvas', 'fabric'],
data() { data() {
return { return {
width: 360 * 2,
height: 400 * 2,
width: 320 * 2.5,
height: 320 * 2.5,
presetSize: [{ presetSize: [{
label: '红书竖版', label: '红书竖版',
width: 900, width: 900,

2
src/page-subspecialty/views/modules/imgEditorFabric/index.vue

@ -2,7 +2,7 @@
<div class="home"> <div class="home">
<div> <div>
<div v-if="show" class="img_header"> <div v-if="show" class="img_header">
<div style="font-size: 20px; font-weight: bold">眼底绘图</div>
<div style="font-size: 20px; font-weight: bold">眼底绘图 {{ isOdOrOs }}</div>
<div> <div>
<save @fullImgBack="fullImgBack" /> <save @fullImgBack="fullImgBack" />
<el-button size="small" @click="closeDialog">关闭</el-button> <el-button size="small" @click="closeDialog">关闭</el-button>

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

@ -19,7 +19,7 @@
</div> </div>
</div> </div>
<el-form-item label="负责医生:"> <el-form-item label="负责医生:">
<el-col :span="12">
<el-col :span="10">
<el-select v-model="form.doctorId" placeholder="请选择" @change="selectDoctor"> <el-select v-model="form.doctorId" placeholder="请选择" @change="selectDoctor">
<el-option <el-option
v-for="item in doctorList" v-for="item in doctorList"
@ -29,19 +29,13 @@
/> />
</el-select> </el-select>
</el-col> </el-col>
<el-col :span="13" style="display: flex;align-items: center;margin-left: 15px">
<el-col :span="11" style="display: flex;align-items: center">
<span style="margin-right: 6px;margin-bottom: 3px">患者类型:</span> <span style="margin-right: 6px;margin-bottom: 3px">患者类型:</span>
<el-checkbox-group v-model="form.patientType"> <el-checkbox-group v-model="form.patientType">
<el-checkbox label="门诊" /> <el-checkbox label="门诊" />
<el-checkbox label="住院" /> <el-checkbox label="住院" />
<el-checkbox label="会诊" /> <el-checkbox label="会诊" />
</el-checkbox-group> </el-checkbox-group>
<!-- <div class="radioItem" @click="form.yzOpen='Y'">-->
<!-- <input :checked="form.yzOpen==='Y'" type="radio">-->
<!-- </div>-->
<!-- <div class="radioItem" @click="form.yzOpen='N'">-->
<!-- <input :checked="form.yzOpen==='N'" type="radio">-->
<!-- </div>-->
</el-col> </el-col>
</el-form-item> </el-form-item>
<el-form-item label="备注:"> <el-form-item label="备注:">
@ -98,14 +92,8 @@
<el-checkbox label="FFA" /> <el-checkbox label="FFA" />
<el-checkbox label="ICGA" /> <el-checkbox label="ICGA" />
<el-checkbox label="其他" /> <el-checkbox label="其他" />
<el-input v-model="form.otherProject" size="small" placeholder="" style="width: 125px;" />
<el-input v-model="form.otherProject" class="otherProject" size="small" placeholder="" style="width: 125px;" />
</el-checkbox-group> </el-checkbox-group>
<!-- <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>-->
</el-col> </el-col>
</div> </div>
<div style="display: flex;padding:0 0 20px 0px"> <div style="display: flex;padding:0 0 20px 0px">
@ -118,12 +106,6 @@
<el-checkbox label="全身检查完成" /> <el-checkbox label="全身检查完成" />
<el-checkbox label="缩瞳" /> <el-checkbox label="缩瞳" />
</el-checkbox-group> </el-checkbox-group>
<!-- <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>-->
</el-col> </el-col>
</div> </div>
<el-form-item label="预约时间:" required> <el-form-item label="预约时间:" required>
@ -376,6 +358,13 @@ input{
::v-deep .el-checkbox{ ::v-deep .el-checkbox{
margin-right: 12px; margin-right: 12px;
} }
.otherProject{
::v-deep .el-input__inner{
border: 0;
border-radius: 0;
border-bottom: 1px solid #ccc !important;
}
}
.patientDetail{ .patientDetail{
border: 1px solid #6EB1FF; border: 1px solid #6EB1FF;
border-radius: 8px; border-radius: 8px;

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

@ -33,26 +33,6 @@
:value="item.itemId" :value="item.itemId"
/> />
</el-select> </el-select>
<el-button
v-for="(item,index) in typeList"
:key="index"
:class="[curIndex === index ? 'active' : '']"
style="margin-left: 0"
size="small"
color="white"
@click="handleType(item.value, index)"
>{{ item.label }}</el-button>
<div style="margin-left: 15px">
<el-button
v-for="(item,index) in optionList"
:key="item.label"
:class="[curIndex2 === index ? 'active' : '']"
style="margin-left: 0"
size="small"
color="white"
@click="changeType(item.value, index)"
>{{ item.label }}</el-button>
</div>
<div style="margin-left: 15px"> <div style="margin-left: 15px">
预约时间: 预约时间:
<el-date-picker <el-date-picker
@ -72,6 +52,28 @@
<el-button v-print="printObj" type="primary" icon="el-icon-edit" size="small" @click="printTable">打印</el-button> <el-button v-print="printObj" type="primary" icon="el-icon-edit" size="small" @click="printTable">打印</el-button>
</div> </div>
</div> </div>
<div style="display: flex;margin: 15px 0 0 15px">
<el-button
v-for="(item,index) in typeList"
:key="index"
:class="[curIndex === index ? 'active' : '']"
style="margin-left: 0"
size="small"
color="white"
@click="handleType(item.value, index)"
>{{ item.label }}</el-button>
<div style="margin-left: 15px">
<el-button
v-for="(item,index) in optionList"
:key="item.label"
:class="[curIndex2 === index ? 'active' : '']"
style="margin-left: 0"
size="small"
color="white"
@click="changeType(item.value, index)"
>{{ item.label }}</el-button>
</div>
</div>
<div class="scheduled-patient-content"> <div class="scheduled-patient-content">
<el-table <el-table
id="multipleTable" id="multipleTable"
@ -88,6 +90,7 @@
{{ scope.row.appointDate ? scope.row.appointDate : '-' }} {{ scope.row.appointDate ? scope.row.appointDate : '-' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="类型" header-align="center" align="center" width="55px" />
<el-table-column label="负责医生" header-align="center" align="center" width="100px"> <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 : '-' }}
@ -95,9 +98,9 @@
</el-table-column> </el-table-column>
<el-table-column prop="patientName" label="患者姓名" header-align="center" align="center" width="100px" /> <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="patientId" label="登记号" header-align="center" align="center" width="120px" />
<el-table-column prop="patientPhone" label="电话号" header-align="center" align="center" width="140px" />
<el-table-column label="医疗项目" prop="itemName" header-align="center" align="center" width="100px" />
<el-table-column prop="patientPhone" label="电话" header-align="center" align="center" width="140px" />
<el-table-column label="眼别" prop="eyeType" header-align="center" align="center" width="80px" /> <el-table-column label="眼别" prop="eyeType" header-align="center" align="center" width="80px" />
<el-table-column label="医疗项目" prop="itemName" header-align="center" align="center" width="100px" />
<el-table-column label="准备工作" header-align="center" align="center" width="140px"> <el-table-column label="准备工作" header-align="center" align="center" width="140px">
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>

30
src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue

@ -86,7 +86,6 @@
style="width: 100%" style="width: 100%"
> >
<el-table-column prop="patientId" label="登记号" header-align="center" align="center" width="120" /> <el-table-column prop="patientId" label="登记号" header-align="center" align="center" width="120" />
<!-- <el-table-column prop="patientId" label="就诊号" header-align="center" align="center" />-->
<el-table-column label="状态" header-align="center" align="center" width="70"> <el-table-column label="状态" header-align="center" align="center" width="70">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.patientStatus | patientStatus }} {{ scope.row.patientStatus | patientStatus }}
@ -100,7 +99,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="zlEye" label="眼别" header-align="center" align="center" width="100"> <el-table-column prop="zlEye" label="眼别" header-align="center" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-select v-model="scope.row.zlEye" placeholder="" size="small" @change="value=>changeEyeType(value,scope)">
<el-select v-model="scope.row.zlEye" class="eyeType" placeholder="" size="small" @change="value=>changeEyeType(value,scope)">
<el-option <el-option
v-for="item in eyeList" v-for="item in eyeList"
:key="item.value" :key="item.value"
@ -130,17 +129,23 @@
<!-- {{ scope.row.callStatus | callStatus }}--> <!-- {{ scope.row.callStatus | callStatus }}-->
<!-- </template>--> <!-- </template>-->
<!-- </el-table-column>--> <!-- </el-table-column>-->
<el-table-column prop="operation" label="操作" header-align="center" align="center" width="180">
<el-table-column prop="operation" label="操作" header-align="center" align="center" width="210">
<template slot-scope="scope"> <template slot-scope="scope">
<span <span
style="color: #1890ff; padding-right: 8px" style="color: #1890ff; padding-right: 8px"
class="operation-details" class="operation-details"
@click="showDetail(scope.row, 1)" @click="showDetail(scope.row, 1)"
>开始</span> >开始</span>
<span
v-if="scope.row.registerType==='1'"
style="color: #ff0000; padding-right: 8px"
class="operation-details"
@click="deleteTreat(scope.row)"
>删除</span>
<span <span
style="color: #1890ff; padding-right: 8px" style="color: #1890ff; padding-right: 8px"
class="operation-details" class="operation-details"
@click="finishTreat(scope.row, 1)"
@click="finishTreat(scope.row)"
>结束</span> >结束</span>
<span <span
style="color: #1890ff; padding-right: 8px" style="color: #1890ff; padding-right: 8px"
@ -394,6 +399,18 @@ export default {
window.sessionStorage.setItem('mzDoctorName', mzName) window.sessionStorage.setItem('mzDoctorName', mzName)
window.sessionStorage.setItem('jzNumber', jzNumber) window.sessionStorage.setItem('jzNumber', jzNumber)
}, },
deleteTreat(scopeRow) {
this.$confirmFun('你确定要删除吗?').then(() => {
this.$http.get('/patient/delRepeatPatientType', { params: {
jzNumber: scopeRow.jzNumber,
patientId: scopeRow.patientId,
type: '2'
}}).then(res => {
this.$message.success(res.data.data)
this.getDataListInitial()
})
})
},
// His // His
HISHandle() { HISHandle() {
this.HisAddVisible = true this.HisAddVisible = true
@ -433,6 +450,11 @@ export default {
border-color: #3ea3f6; border-color: #3ea3f6;
} }
} }
.eyeType{
::v-deep .el-input__inner{
font-size: 16px !important;
}
}
</style> </style>
<style lang="scss"> <style lang="scss">
.patient-info { .patient-info {

Loading…
Cancel
Save