Browse Source

doctor

master
pengjun 2 years ago
parent
commit
e5e271ee7a
  1. 2
      src/components/doctorCheck/ButtonList.vue
  2. 14
      src/components/doctorCheck/CheckPicture.vue
  3. 55
      src/components/doctorCheck/RegisterCheckEdit.vue
  4. 31
      src/components/patientRegister/PatientLis.vue
  5. 2
      src/components/patientRegister/PatientRegisterEdit.vue
  6. 45
      src/components/patientRegister/PatientRegisterForChoose.vue
  7. 146
      src/components/patientRegister/patientRegisterQuery.vue
  8. 37
      src/components/sumDoctorCheck/ButtonList.vue
  9. 485
      src/components/sumDoctorCheck/SumSug.vue
  10. 3
      src/router/index.js
  11. 13
      src/views/doctorCheck/doctorCheck.vue
  12. 8
      src/views/doctorCheck/sumDoctorCheck.vue

2
src/components/doctorCheck/ButtonList.vue

@ -560,7 +560,7 @@ export default {
//
toSumDoctorCheck() {
this.dataTransOpts.tableS.patient_register = Object.assign({}, this.doctorCheck.prBase)
this.$router.push({ path: "/sumDoctorCheck" });
this.$router.push({ path: "/sumDoctorCheck", query: { patient_register: this.dataTransOpts.tableS.patient_register} });
},
},

14
src/components/doctorCheck/CheckPicture.vue

@ -154,15 +154,11 @@ export default {
getapi(
`/api/app/registercheckpicture/getregistercheckpictureinregistercheckid?RegisterCheckId=${registerCheckId}`
).then((res) => {
if (res.code != -1) {
res.data.forEach((e) => {
this.checkPictures.push(
Object.assign(
{ isPrintTrans: e.isPrint == "Y" ? true : false },
e
)
);
});
if (res.code > -1) {
this.checkPictures = res.data
this.checkPictures.forEach(e => {
e.isPrintTrans = e.isPrint == "Y" ? true : false
});
}
});
},

55
src/components/doctorCheck/RegisterCheckEdit.vue

@ -1,41 +1,34 @@
<template>
<div style="display: flex;height:32px;">
<div style="display: flex; flex-wrap: wrap;height:32px; width: 100%">
<div style="display: flex; flex-wrap: wrap;height:32px; width: 100%">
<div>
<span class="query">检查医生</span>
<el-select
v-model="doctorCheck.RegisterCheckEdit.checkDoctorId"
filterable clearable
placeholder="Select"
style="width: 80px" size="small"
>
<el-option
v-for="item in users"
:key="item.id"
:label="item.userName"
:value="item.id"
/>
<el-select v-model="doctorCheck.RegisterCheckEdit.checkDoctorId" filterable clearable placeholder="请选择"
style="width: 80px" size="small">
<el-option v-for="item in users" :key="item.id" :label="item.userName" :value="item.id" />
</el-select>
</div>
<div>
<span class="query">检查日期</span>
<el-date-picker v-model="doctorCheck.RegisterCheckEdit.checkDate" type="date" style="width: 90px" size="small" />
</div>
</div>
<div>
<span class="query">操作者</span>
<el-input v-model="doctorCheck.RegisterCheckEdit.LastModifierId" size="small" style="width: 80px" disabled/>
<el-input v-model="doctorCheck.RegisterCheckEdit.LastModifierId" size="small" style="width: 80px" disabled />
</div>
<div>
<span class="query">操作日期</span>
<el-input :value="doctorCheck.RegisterCheckEdit.LastModificationTime ? lmoment(doctorCheck.RegisterCheckEdit.LastModificationTime, 'yyyy-MM-DD') :''" style="width: 90px" size="small" disabled></el-input>
<el-input
:value="doctorCheck.RegisterCheckEdit.LastModificationTime ? lmoment(doctorCheck.RegisterCheckEdit.LastModificationTime, 'yyyy-MM-DD') : ''"
style="width: 90px" size="small" disabled></el-input>
</div>
<div>
<span class="query">状态</span>
<el-select v-model="doctorCheck.RegisterCheckEdit.completeFlag" style="width: 60px" size="small" disabled>
<el-option v-for="item in dict.checkCompleteFlag" :key="item.id" :label="item.displayName" :value="item.id" />
</el-select>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
@ -46,15 +39,15 @@ import { arrayExistObj } from '@/utlis/proFunc';
export default {
components: {},
props:["registerCheckId"],
props: ["registerCheckId"],
data() {
return {
users:[],
users: [],
dialogVisible: false,
};
},
created() {},
created() { },
//
mounted() {
@ -62,20 +55,20 @@ export default {
},
computed: {
...mapState(["window","dataTransOpts","dict", "doctorCheck","patientRegister", "customerOrg"]),
...mapState(["window", "dataTransOpts", "dict", "doctorCheck", "patientRegister", "customerOrg"]),
lmoment(date, forMat) {
return moment(new Date(date)).format(forMat);
},
},
methods: {
//
dictInit(){
dictInit() {
getapi('/api/identity/users/getlist')
.then(res =>{
if(res.code != -1){
this.users = res.data.items
}
})
.then(res => {
if (res.code != -1) {
this.users = res.data.items
}
})
},
//
@ -103,12 +96,12 @@ export default {
// LastModificationTime:'',
// completeFlag:''
// }
// }
// }
},
watch:{
watch: {
// "doctorCheck.RegisterCheckId":{
// immediate:true,
// handler(newVal,oldVal){
@ -125,7 +118,7 @@ export default {
// }
// },
},
};
</script>
<style scoped>

31
src/components/patientRegister/PatientLis.vue

@ -203,7 +203,14 @@ export default {
{ label: "姓名", prop: "patientName", minWidth: 80, align: "center" },
{ label: "性别", prop: "sexId", minWidth: 55, align: "center" },
{ label: "年龄", prop: "age", minWidth: 55, align: "center" },
{ label: "条码号", prop: "patientRegisterNo", minWidth: 150, align: "center" },
{ label: "颜色", prop: "lisrequest", minWidth: 120, align: "center" },
{ label: "容器", prop: "lisrequest", minWidth: 120, align: "center" },
{ label: "项目分组", prop: "lisrequest", minWidth: 120, align: "center" },
{ label: "申请项目", prop: "lisrequest", minWidth: 120, align: "center" },
{ label: "检验码号", prop: "lisrequest", minWidth: 120, align: "center" },
{ label: "人员条码号", prop: "patientRegisterNo", minWidth: 150, align: "center" },
{ label: "档案号", prop: "patientNo", minWidth: 100, align: "center" },
{ label: "体检次数", prop: "medicalTimes", minWidth: 80, align: "center" },
{ label: "分组/套餐", prop: "groupPack", minWidth: 150, align: "center" },
@ -436,6 +443,7 @@ export default {
await this.getPrList()
},
//
async getPrList() {
@ -556,6 +564,27 @@ export default {
})
},
//
btnPrintPre(){
},
//
btnPrint(){
},
//
btnSendLis(){
console.log('btnSendLis')
},
//
btnUndoLis(){
console.log('btnUndoLis')
},
//
async lisRequest(prId) {

2
src/components/patientRegister/PatientRegisterEdit.vue

@ -1794,7 +1794,7 @@ export default {
// immediate: true,
handler(newVal, oldVal) {
console.log(`watch 人员登记 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.dataTransOpts.tableS.patient_register.id}`);
this.initFormData(this.dataTransOpts.tableS.patient_register.id)
if(newVal != oldVal) this.initFormData(this.dataTransOpts.tableS.patient_register.id)
}
},

45
src/components/patientRegister/PatientRegisterForChoose.vue

@ -3,21 +3,16 @@
<div>
<el-table :data="patientRegisters" border width="800" height="480" highlight-current-row
@row-click="registerRowClick" @row-dblclick="rowDblclick" size="small">
<el-table-column prop="completeFlag" label="体检进度">
<template slot-scope="scope">
<div>{{ dddw(dict.completeFlag, "id", scope.row.completeFlag, "displayName") }}</div>
</template>
</el-table-column>
<el-table-column prop="guidePrintTimes" label="打印" width="50">
<template slot-scope="scope">
<i class="el-icon-printer" v-if="scope.row.guidePrintTimes > 0" style="font-size: 24px;color: green;"></i>
</template>
</el-table-column>
<el-table-column prop="isLock" label="锁住">
<el-table-column prop="patientRegisterNo" label="条码号" width="150" />
<el-table-column prop="patientNo" label="档案号" />
<el-table-column prop="medicalTimes" label="体检次数"></el-table-column>
<el-table-column prop="patientName" label="姓名" />
<el-table-column prop="sexId" label="性别">
<template slot-scope="scope">
<div>{{ scope.row.isLock == "Y" ? "是" : "否" }}</div>
<div>{{ dddw(dict.sex, "id", scope.row.sexId, "displayName") }}</div>
</template>
</el-table-column>
<el-table-column prop="age" label="年龄" />
<el-table-column prop="customerOrgParentName" label="单位" width="180">
<template slot-scope="scope">
<div>{{ scope.row.customerOrgParentName ? scope.row.customerOrgParentName : scope.row.customerOrgName }}</div>
@ -28,16 +23,6 @@
<div>{{ scope.row.customerOrgParentName ? scope.row.customerOrgName : "" }}</div>
</template>
</el-table-column>
<el-table-column prop="patientName" label="姓名" />
<el-table-column prop="sexId" label="性别">
<template slot-scope="scope">
<div>{{ dddw(dict.sex, "id", scope.row.sexId, "displayName") }}</div>
</template>
</el-table-column>
<el-table-column prop="age" label="年龄" />
<el-table-column prop="patientRegisterNo" label="条码号" width="150" />
<el-table-column prop="patientNo" label="档案号" />
<el-table-column prop="medicalTimes" label="体检次数"></el-table-column>
<el-table-column label="分组/套餐" width="150">
<template slot-scope="scope">
<div v-if="scope.row.medicalPackageId !== dict.personOrgId && scope.row.customerOrgId === dict.personOrgId">
@ -109,7 +94,21 @@
<div>{{ scope.row.isUpload == "Y" ? "是" : "否" }}</div>
</template>
</el-table-column>
<el-table-column prop="completeFlag" label="体检进度">
<template slot-scope="scope">
<div>{{ dddw(dict.completeFlag, "id", scope.row.completeFlag, "displayName") }}</div>
</template>
</el-table-column>
<el-table-column prop="guidePrintTimes" label="打印" width="50">
<template slot-scope="scope">
<i class="el-icon-printer" v-if="scope.row.guidePrintTimes > 0" style="font-size: 24px;color: green;"></i>
</template>
</el-table-column>
<el-table-column prop="isLock" label="锁住">
<template slot-scope="scope">
<div>{{ scope.row.isLock == "Y" ? "是" : "否" }}</div>
</template>
</el-table-column>
<!--
"sexHormoneTermId": "00000000-0000-0000-0000-000000000000",
"interposeMeasure": null,

146
src/components/patientRegister/patientRegisterQuery.vue

@ -1,13 +1,15 @@
<template>
<div style="display: flex;">
<div :style="'display: flex;flex-wrap: wrap;height: 80px;width: 1216px;background-color: #fff;border-radius: 8px;margin-bottom: 15px;align-items: center;padding: 10px;width:' + (window.pageWidth - (orgEnable=='Y' ? 0:200) - 110 - 10) + 'px;'">
<div
:style="'display: flex;flex-wrap: wrap;height: 80px;width: 1216px;background-color: #fff;border-radius: 8px;margin-bottom: 15px;align-items: center;padding: 10px;width:' + (window.pageWidth - (orgEnable == 'Y' ? 0 : 200) - 110 - 10) + 'px;'">
<div class="query">
<span class="spanClass">登记日期</span>
<el-date-picker v-model="patientRegister.query.startDate" type="date" placeholder="起始日期" size="small" style="width:90px;"/>
<el-date-picker v-model="patientRegister.query.startDate" type="date" placeholder="起始日期" size="small"
style="width:90px;" value-format="yyyy-MM-dd"/>
<span class="spanClass"></span>
<el-date-picker v-model="patientRegister.query.endDate" type="date" placeholder="截止日期" size="small" style="width:90px;"/>
<el-date-picker v-model="patientRegister.query.endDate" type="date" placeholder="截止日期" size="small"
style="width:90px;" value-format="yyyy-MM-dd"/>
</div>
<div class="query">
<span class="spanClass">条码号</span>
@ -43,26 +45,17 @@
</div>
<div class="query">
<el-checkbox v-model="patientRegister.query.customerOrgFlag">单位作为查询条件</el-checkbox>
<el-cascader v-model="patientRegister.query.customerOrgId" :options="patientRegister.customerOrgTreeAll"
:props="{checkStrictly: true,expandTrigger: 'hover',...customerOrg.treeprops,}" placeholder="请选择单位"
:show-all-levels="false" clearable :disabled="orgEnable == 'Y' ? false : true" size="small" style="width:120px;">
</el-cascader>
<el-cascader v-model="patientRegister.query.customerOrgId" :options="patientRegister.customerOrgTreeAll"
:props="{ checkStrictly: true, expandTrigger: 'hover', ...customerOrg.treeprops, }" placeholder="请选择单位"
:show-all-levels="false" clearable :disabled="orgEnable == 'Y' ? false : true" size="small"
style="width:120px;">
</el-cascader>
</div>
<div class="query">
<span class="spanClass">次数</span>
<el-select
v-model="patientRegister.query.customerOrgRegister"
placeholder="次数" @change="changeCustomerOrgRegister"
style="width: 60px;"
size="small"
value-key="id"
>
<el-option
v-for="item in customerOrgRegisterList"
:key="item.id"
:label="item.medicalTimes"
:value="item"
/>
<el-select v-model="patientRegister.query.customerOrgRegister" placeholder="次数"
@change="changeCustomerOrgRegister" style="width: 60px;" size="small" value-key="id">
<el-option v-for="item in customerOrgRegisterList" :key="item.id" :label="item.medicalTimes" :value="item" />
</el-select>
</div>
<div class="query">
@ -77,10 +70,10 @@
<!-- 按钮区域 -->
<div style="margin-left: 10px;">
<div v-show="checkPagePriv(pagePriv.privs,'查询')" class="listBtn">
<div v-show="checkPagePriv(pagePriv.privs, '查询')" class="listBtn">
<el-button class="commonbutton" @click="btnQuery">查询</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs,'读身份证')" class="listBtn">
<div v-show="checkPagePriv(pagePriv.privs, '读身份证')" class="listBtn">
<el-button type="danger" class="commonbutton" @click="readIdCard">读身份证</el-button>
</div>
</div>
@ -89,26 +82,26 @@
<script>
import { mapState } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { getPagePriv,checkPagePriv, parsIcCardtoLocal, deepCopy} from '../../utlis/proFunc'
import { getPagePriv, checkPagePriv, parsIcCardtoLocal, deepCopy } from '../../utlis/proFunc'
export default {
components: {},
props: ["orgEnable"],
data() {
return {
pagePriv:{
routeUrlorPageName:'patientRegister', //
privs:[] //
pagePriv: {
routeUrlorPageName: 'patientRegister', //
privs: [] //
},
dialogVisible: false,
customerOrgRegisterList:[],
customerOrgRegisterList: [],
};
},
created() {
created() {
//
let userPriv = window.sessionStorage.getItem('userPriv')
if(userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName))
if (userPriv) this.pagePriv.privs = deepCopy(getPagePriv(this.pagePriv.routeUrlorPageName))
let ldate = new Date();
this.patientRegister.query.startDate = ldate;
@ -116,38 +109,71 @@ export default {
},
//
mounted() { },
mounted() {
this.init(this.patientRegister.query.customerOrgId)
},
computed: {
...mapState(["window", "dict", "patientRegister", "customerOrg"]),
...mapState(["window", "dict","dataTransOpts", "patientRegister", "customerOrg"]),
},
methods: {
checkPagePriv,
init(customerOrgId) {
if (!customerOrgId || customerOrgId == this.dict.personOrgId) {
this.patientRegister.query.customerOrgRegister = null
this.customerOrgRegisterList = []
if(customerOrgId == this.dict.personOrgId){
let today = new Date()
this.patientRegister.query.startDate = today
this.patientRegister.query.endDate = today
}
return
}
getapi(`/api/app/customer-org/parent/${customerOrgId}`).then(res => {
if (res.code != - 1) {
return getapi(`/api/app/customerorgregister/getlistincustomerorgid?CustomerOrgId=${res.data}`)
}
}).then(res => {
if (res.code != -1) {
this.customerOrgRegisterList = res.data;
if (res.data.length > 0) {
this.patientRegister.query.customerOrgRegister = res.data[res.data.length - 1];
this.changeCustomerOrgRegister(res.data[res.data.length - 1])
}
// this.patientRegister.query.times++
// console.log('this.patientRegister.query.customerOrgRegister',this.patientRegister.query.customerOrgRegister)
}
});
},
//
btnQuery() {
this.patientRegister.query.times++;
console.log("this.patientRegister.query", this.patientRegister.query);
},
changeCustomerOrgRegister(v){
changeCustomerOrgRegister(v) {
this.patientRegister.query.startDate = new Date(v.beginTime)
if(v.isComplete == 'Y'){
if (v.isComplete == 'Y') {
this.patientRegister.query.endDate = new Date(v.endTime)
}else{
} else {
this.patientRegister.query.endDate = new Date()
}
},
//
readIdCard() {
if(!this.$peisAPI) {
if (!this.$peisAPI) {
this.$message.info("此功能,需要在壳客户端才可运行!")
return
return
}
this.$peisAPI.peopleIcCard().then(res => {
console.log('peopleIcCard',res)
console.log('peopleIcCard', res)
let lres = JSON.parse(res)
if (lres.code >= 0) {
if (lres.code >= 0) {
let idNos = parsIcCardtoLocal(lres.data, this.dict.sex, this.dict.nation)
// this.form.patientName = idNos.Name
// this.form.birthDate = idNos.birthDate
@ -161,39 +187,19 @@ export default {
this.patientRegister.query.sex = idNos.sexId
this.patientRegister.query.idCardNo = idNos.IDCode
}
})
})
},
},
watch:{
'patientRegister.query.customerOrgId'(newVal,oldVal){
// console.log('patientRegister.query.customerOrgId',newVal,oldVal)
if(newVal != oldVal){
if(!newVal || newVal == this.dict.personOrgId){
this.patientRegister.query.customerOrgRegister = null
this.customerOrgRegisterList = []
// this.patientRegister.query.times++
}else{
getapi(`/api/app/customer-org/parent/${newVal}
`).then(res => {
if(res.code != - 1){
return getapi(`/api/app/customerorgregister/getlistincustomerorgid?CustomerOrgId=${res.data}`)
}
}).then(res => {
if (res.code != -1) {
this.customerOrgRegisterList = res.data;
if (res.data.length > 0) {
this.patientRegister.query.customerOrgRegister = res.data[res.data.length - 1];
this.changeCustomerOrgRegister(res.data[res.data.length - 1])
}
// this.patientRegister.query.times++
// console.log('this.patientRegister.query.customerOrgRegister',this.patientRegister.query.customerOrgRegister)
}
});
}
watch: {
"dataTransOpts.plus.PatientRegisterEditQuery": {
// immediate: true,
handler(newVal, oldVal) {
console.log(`watch 体检单位切换 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.patientRegister.query.customerOrgId}`);
if(newVal != oldVal) this.init(this.patientRegister.query.customerOrgId)
}
},
},
},
}
@ -205,7 +211,7 @@ export default {
.query {
margin-right: 10px;
font-size: 14px;
font-size: 14px;
color: #232748;
font-weight: 400;
font-family: "NotoSansSC-Regular";
@ -223,8 +229,8 @@ export default {
top: 0; */
width: 100px;
}
.spanClass{
.spanClass {
font-size: 14px;
}
</style>

37
src/components/sumDoctorCheck/ButtonList.vue

@ -11,30 +11,36 @@
:disabled="sumBtnDisabled('save')">保存</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '修改')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="btnEdit" :disabled="sumBtnDisabled('edit')">修改</el-button>
<el-button type="primary" class="commonbutton" @click="btnEdit"
:disabled="sumBtnDisabled('edit')">修改</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '取消总检')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="btnDel" :disabled="sumBtnDisabled('del')">取消总检</el-button>
<el-button type="primary" class="commonbutton" @click="btnDel"
:disabled="sumBtnDisabled('del')">取消总检</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '审核')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="audit" :disabled="sumBtnDisabled('audit')">审核</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '取消审核')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="unAudit" :disabled="sumBtnDisabled('unAudit')">取消审核</el-button>
</div>
<el-button type="primary" class="commonbutton" @click="unAudit"
:disabled="sumBtnDisabled('unAudit')">取消审核</el-button>
</div>
<!-- 直接放在 建议旁边
<div class="listBtn">
<el-button type="primary" class="btnClass" @click="addDiagnosis">疾病诊断</el-button>
</div>
-->
<div v-show="checkPagePriv(pagePriv.privs, '体检报告')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="btnReport" :disabled="sumBtnDisabled('report')">体检报告</el-button>
<el-button type="primary" class="commonbutton" @click="btnReport"
:disabled="sumBtnDisabled('report')">体检报告</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '复查')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="reCheck" :disabled="sumBtnDisabled('reCheck')">复查</el-button>
<el-button type="primary" class="commonbutton" @click="reCheck"
:disabled="sumBtnDisabled('reCheck')">复查</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '干预措施')" class="listBtn">
<el-button type="primary" class="commonbutton" @click="intervene" :disabled="sumBtnDisabled('intervene')">干预措施</el-button>
<el-button type="primary" class="commonbutton" @click="intervene"
:disabled="sumBtnDisabled('intervene')">干预措施</el-button>
</div>
@ -101,7 +107,7 @@ export default {
computed: {
...mapState(["window", "dict", "dataTransOpts", "patientRegister", "doctorCheck", "sumDoctorCheck"]),
},
methods: {
@ -121,7 +127,7 @@ export default {
toDoctorCheck() {
// this.doctorCheck.prBase = Object.assign({},this.dataTransOpts.tableS.patient_register)
// this.patientRegister.photo = this.doctorCheck.prBase.photo
this.$router.push({ path: "/doctorCheck" });
this.$router.push({ path: "/doctorCheck", query: { patient_register: this.dataTransOpts.tableS.patient_register} });
},
//
@ -145,7 +151,7 @@ export default {
if (patientRegister.completeFlag && patientRegister.completeFlag == '3' && patientRegister.isAudit != 'Y') ret = false
break;
case 'unAudit':
case 'reCheck':
case 'reCheck':
case 'report':
if (patientRegister.completeFlag && patientRegister.completeFlag == '3' && patientRegister.isAudit && patientRegister.isAudit == 'Y') ret = false
break;
@ -170,9 +176,9 @@ export default {
// this.saveSuggestion();
let body = {
patientRegisterId: this.dataTransOpts.tableS.patient_register.id,
summaryDoctorId: this.dataTransOpts.tableS.patient_register.summaryDoctorId||null,
summaryDoctorId: this.dataTransOpts.tableS.patient_register.summaryDoctorId || null,
summaryDate: this.dataTransOpts.tableS.patient_register.summaryDate,
medicalConclusionId:this.dataTransOpts.tableS.patient_register.medicalConclusionId||null,
medicalConclusionId: this.dataTransOpts.tableS.patient_register.medicalConclusionId || null,
sumSummarys: this.sumDoctorCheck.summaryList,
sumSuggestions: this.sumDoctorCheck.suggestionList
}
@ -330,11 +336,11 @@ export default {
.catch(err => {
this.$message.warning(err);
});
},
//
reCheck() {
@ -459,5 +465,4 @@ export default {
margin-top: 10px;
margin-left: 10px;
text-align: center;
}
</style>
}</style>

485
src/components/sumDoctorCheck/SumSug.vue

@ -1,181 +1,215 @@
<template>
<div style="display: flex;">
<div style="width:50%;">
<el-table id="tableSummary" row-key="id" :data="sumDoctorCheck.summaryList" width="100%" :height="sumHeight" border
size="small">
<el-table-column type="index" width="20" align="center" />
<el-table-column prop="summaryTitle" label="综述">
<template slot-scope="scope">
<div>
<el-input v-model="scope.row.summaryTitle" placeholder="请输入综述" disabled></el-input>
<el-table :id="scope.row.id" :row-key="scope.$index + scope.row.id" style="margin-left: 10px;"
:data="scope.row.details" border @row-click="rowClick" :show-header="false">
<el-table-column width="30">
<template slot-scope="scope2">
<div>{{ scope2.$index + 1 }})</div>
</template>
</el-table-column>
<el-table-column prop="summaryContent" label="综述" min-width="200">
<template slot-scope="scope2">
<!--:autosize="{ minRows: 1, maxRows: 20 } "-->
<el-input type="textarea" v-model="scope2.row.summaryContent" placeholder="请输入综述" disabled
:autosize="{ minRows: 1, maxRows: 20 }">
</el-input>
</template>
</el-table-column>
<el-table-column width="8" />
</el-table>
</div>
</template>
</el-table-column>
</el-table>
</div>
<div style="position: absolute; top: 0px; right: 2px; display: flex;z-index: 3;">
<div style="margin-right: 5px;">
<el-button style="height: 28px;" class="commonbutton" @click="btnCollapseAll" :disabled="sumBtnDisabled('collapse')">{{
collapse ?
'展开' : '折叠' }}全部建议</el-button>
<div>
<!--组件-->
<div style="display: flex;">
<div style="width:50%;">
<el-table id="tableSummary" row-key="id" :data="sumDoctorCheck.summaryList" width="100%" :height="sumHeight"
border size="small">
<el-table-column type="index" width="20" align="center" />
<el-table-column prop="summaryTitle" label="综述">
<template slot-scope="scope">
<div>
<el-input v-model="scope.row.summaryTitle" placeholder="请输入综述" disabled></el-input>
<el-table :id="scope.row.id" :row-key="scope.$index + scope.row.id" style="margin-left: 10px;"
:data="scope.row.details" border @row-click="rowClick" :show-header="false">
<el-table-column width="30">
<template slot-scope="scope2">
<div>{{ scope2.$index + 1 }})</div>
</template>
</el-table-column>
<el-table-column prop="summaryContent" label="综述" min-width="200">
<template slot-scope="scope2">
<!--:autosize="{ minRows: 1, maxRows: 20 } "-->
<el-input type="textarea" v-model="scope2.row.summaryContent" placeholder="请输入综述" disabled
:autosize="{ minRows: 1, maxRows: 20 }">
</el-input>
</template>
</el-table-column>
<el-table-column width="8" />
</el-table>
</div>
</template>
</el-table-column>
</el-table>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '新增建议')">
<el-button style="height: 28px;" class="commonbutton" @click="addSuggtion"
:disabled="sumBtnDisabled()">新增建议</el-button>
<div style="position: absolute; top: 0px; right: 2px; display: flex;z-index: 3;">
<div style="margin-right: 5px;">
<el-button style="height: 28px;" class="commonbutton" @click="btnCollapseAll"
:disabled="sumBtnDisabled('collapse')">{{
collapse ?
'展开' : '折叠' }}全部建议</el-button>
</div>
<div v-show="checkPagePriv(pagePriv.privs, '新增建议')">
<el-button style="height: 28px;" class="commonbutton" @click="addSuggtion"
:disabled="sumBtnDisabled()">新增建议</el-button>
</div>
</div>
</div>
<div style="width:50%;">
<el-table id="tableSuggestion" row-key="id" :data="sumDoctorCheck.suggestionList" width="100%" :height="sumHeight"
border size="small" ref="tableSuggestion">
<el-table-column type="index" width="20" align="center">
</el-table-column>
<el-table-column prop="suggestionTitle" label="建议">
<template slot="header">
<div style="display: flex;justify-content:space-between;">
<div>建议</div>
<div></div>
</div>
</template>
<template slot-scope="scope">
<div>
<div style="display: flex;">
<el-input v-model="scope.row.suggestionTitle" placeholder="请输入建议标题" :ref="scope.row.id" :id="scope.row.id"
:disabled="sumBtnDisabled()">
</el-input>
<el-button type="danger" :icon="scope.row.collapse ? 'el-icon-arrow-down' : 'el-icon-arrow-up'"
style="min-width:21px;height:21px;padding:2px;" @click="btnCollapse(sumDoctorCheck.suggestionList,scope.$index,scope.row)"
:disabled="sumBtnDisabled('collapse')"></el-button>
<el-button v-show="checkPagePriv(pagePriv.privs, '删除建议')" type="danger" icon="el-icon-delete"
style="margin-left: 2px;min-width:21px;height:21px;padding:2px;" @click="delSugHead(scope.$index)"
:disabled="sumBtnDisabled()"></el-button>
<div style="width:50%;">
<el-table id="tableSuggestion" row-key="id" :data="sumDoctorCheck.suggestionList" width="100%" :height="sumHeight"
border size="small" ref="tableSuggestion">
<el-table-column type="index" width="20" align="center">
</el-table-column>
<el-table-column prop="suggestionTitle" label="建议">
<template slot="header">
<div style="display: flex;justify-content:space-between;">
<div>建议</div>
<div></div>
</div>
<div v-show="!scope.row.collapse">
<div style="display: flex;margin-top: 2px;">
<div style="width:60px;">诊断</div>
<el-select v-model="scope.row.diagnosisIds" multiple placeholder="请选择" style="width: 100%;"
:disabled="sumBtnDisabled()" @change="changeDiagnosis" filterable>
<el-option v-for="item in diagnosises" :key="item.id" :value="item.id" :label="item.displayName"
:disabled="disabledDiagnosis(item.id, scope.$index)" />
</el-select>
</div>
<div style="display: flex;margin-top: 2px;">
<div style="width:60px;">医学解释</div>
<el-tooltip content="新增医学解释" placement="top">
<el-button v-show="checkPagePriv(pagePriv.privs, '新增医学解释')" type="success" icon="el-icon-plus"
style="min-width:21px;height:21px;padding:2px;" @click="addSug(scope.$index, 0)"
:disabled="sumBtnDisabled()">
</el-button>
</el-tooltip>
<el-table :id="'0_sug' + scope.row.id" row-key="displayOrder" style="margin-left: 5px;"
:data="scope.row.medicalInterpretations" border @row-click="rowClickSug0" :show-header="false">
<el-table-column width="30">
<template slot-scope="scope2">
<div>{{ scope2.$index + 1 }}).</div>
</template>
</el-table-column>
<el-table-column prop="suggestionContent" label="建议" min-width="200">
<template slot-scope="scope2">
<el-input type="textarea" v-model="scope2.row.suggestionContent" placeholder="请输入建议内容"
:disabled="sumBtnDisabled()" :autosize="{ minRows: 1, maxRows: 10 }">
</el-input>
</template>
</el-table-column>
<el-table-column label="操作" width="25">
<template slot-scope="scope2">
<el-button v-show="checkPagePriv(pagePriv.privs, '删除医学解释')" type="danger"
style="min-width:21px;height:21px;padding:2px;" icon="el-icon-delete"
@click="delSug(scope.row.medicalInterpretations, scope2.$index)" :disabled="sumBtnDisabled()"
size="small"></el-button>
</template>
</el-table-column>
</el-table>
</template>
<template slot-scope="scope">
<div>
<div style="display: flex;" @dblclick="openSymbols(scope.$index, 'suggestionTitle', -1)">
<el-input v-model="scope.row.suggestionTitle" placeholder="请输入建议标题" :ref="scope.row.id"
:id="scope.row.id" :disabled="sumBtnDisabled()">
</el-input>
<el-button type="danger" :icon="scope.row.collapse ? 'el-icon-arrow-down' : 'el-icon-arrow-up'"
style="min-width:21px;height:21px;padding:2px;"
@click="btnCollapse(sumDoctorCheck.suggestionList, scope.$index, scope.row)"
:disabled="sumBtnDisabled('collapse')"></el-button>
<el-button v-show="checkPagePriv(pagePriv.privs, '删除建议')" type="danger" icon="el-icon-delete"
style="margin-left: 2px;min-width:21px;height:21px;padding:2px;" @click="delSugHead(scope.$index)"
:disabled="sumBtnDisabled()"></el-button>
</div>
<div style="display: flex;margin-top: 2px;">
<div style="width:60px;">常见原因</div>
<el-tooltip content="新增常见原因" placement="top">
<el-button v-show="checkPagePriv(pagePriv.privs, '新增常见原因')" type="danger" icon="el-icon-plus"
style="min-width:21px;height:21px;padding:2px;" @click="addSug(scope.$index, 1)"
:disabled="sumBtnDisabled()">
</el-button>
</el-tooltip>
<el-table :id="'1_sug' + scope.row.id" row-key="displayOrder" style="margin-left: 5px;"
:data="scope.row.commonReasons" border @row-click="rowClickSug1" :show-header="false">
<el-table-column width="30">
<template slot-scope="scope2">
<div>{{ scope2.$index + 1 }}).</div>
</template>
</el-table-column>
<el-table-column prop="suggestionContent" label="建议" min-width="200">
<template slot-scope="scope2">
<el-input type="textarea" v-model="scope2.row.suggestionContent" placeholder="请输入建议内容"
:disabled="sumBtnDisabled()" :autosize="{ minRows: 1, maxRows: 10 }">
</el-input>
</template>
</el-table-column>
<el-table-column label="操作" width="25">
<template slot-scope="scope2">
<el-button v-show="checkPagePriv(pagePriv.privs, '删除常见原因')" type="danger"
style="min-width:21px;height:21px;padding:2px;" icon="el-icon-delete"
@click="delSug(scope.row.commonReasons, scope2.$index)" :disabled="sumBtnDisabled()"
size="small"></el-button>
</template>
</el-table-column>
</el-table>
</div>
<div style="display: flex;margin-top: 2px;">
<div style="width:60px;">健康指导</div>
<el-tooltip content="新增健康指导" placement="top">
<el-button v-show="checkPagePriv(pagePriv.privs, '新增健康指导')" type="danger" icon="el-icon-plus"
style="min-width:21px;height:21px;padding:2px;" @click="addSug(scope.$index, 2)"
:disabled="sumBtnDisabled()">
</el-button>
</el-tooltip>
<el-table :id="'2_sug' + scope.row.id" row-key="displayOrder" style="margin-left: 5px;"
:data="scope.row.healthGuidances" border @row-click="rowClickSug2" :show-header="false">
<el-table-column width="30">
<template slot-scope="scope2">
<div>{{ scope2.$index + 1 }}).</div>
</template>
</el-table-column>
<el-table-column prop="suggestionContent" label="建议" min-width="200">
<template slot-scope="scope2">
<el-input type="textarea" v-model="scope2.row.suggestionContent" placeholder="请输入健康指导"
:disabled="sumBtnDisabled()" :autosize="{ minRows: 1, maxRows: 10 }">
</el-input>
</template>
</el-table-column>
<el-table-column label="操作" width="25">
<template slot-scope="scope2">
<el-button v-show="checkPagePriv(pagePriv.privs, '删除健康指导')" type="danger"
style="min-width:21px;height:21px;padding:2px;" icon="el-icon-delete"
@click="delSug(scope.row.healthGuidances, scope2.$index)" :disabled="sumBtnDisabled()"
size="small"></el-button>
</template>
</el-table-column>
</el-table>
<div v-show="!scope.row.collapse">
<div style="display: flex;margin-top: 2px;">
<div style="width:60px;">诊断</div>
<el-select v-model="scope.row.diagnosisIds" multiple placeholder="请选择" style="width: 100%;"
:disabled="sumBtnDisabled()" @change="changeDiagnosis" filterable>
<el-option v-for="item in diagnosises" :key="item.id" :value="item.id" :label="item.displayName"
:disabled="disabledDiagnosis(item.id, scope.$index)" />
</el-select>
</div>
<div style="display: flex;margin-top: 2px;">
<div style="width:60px;">医学解释</div>
<el-tooltip content="新增医学解释" placement="top">
<el-button v-show="checkPagePriv(pagePriv.privs, '新增医学解释')" type="success" icon="el-icon-plus"
style="min-width:21px;height:21px;padding:2px;" @click="addSug(scope.$index, 0)"
:disabled="sumBtnDisabled()">
</el-button>
</el-tooltip>
<el-table :id="'0_sug' + scope.row.id" row-key="displayOrder" style="margin-left: 5px;"
:data="scope.row.medicalInterpretations" border @row-click="rowClickSug0" :show-header="false">
<el-table-column width="30">
<template slot-scope="scope2">
<div>{{ scope2.$index + 1 }}).</div>
</template>
</el-table-column>
<el-table-column prop="suggestionContent" label="建议" min-width="200">
<template slot-scope="scope2">
<div @dblclick="openSymbols(scope.$index, 'medicalInterpretations', scope2.$index)">
<el-input type="textarea" v-model="scope2.row.suggestionContent" placeholder="请输入建议内容"
:disabled="sumBtnDisabled()" :autosize="{ minRows: 1, maxRows: 10 }">
</el-input>
</div>
</template>
</el-table-column>
<el-table-column label="操作" width="25">
<template slot-scope="scope2">
<el-button v-show="checkPagePriv(pagePriv.privs, '删除医学解释')" type="danger"
style="min-width:21px;height:21px;padding:2px;" icon="el-icon-delete"
@click="delSug(scope.row.medicalInterpretations, scope2.$index)" :disabled="sumBtnDisabled()"
size="small"></el-button>
</template>
</el-table-column>
</el-table>
</div>
<div style="display: flex;margin-top: 2px;">
<div style="width:60px;">常见原因</div>
<el-tooltip content="新增常见原因" placement="top">
<el-button v-show="checkPagePriv(pagePriv.privs, '新增常见原因')" type="danger" icon="el-icon-plus"
style="min-width:21px;height:21px;padding:2px;" @click="addSug(scope.$index, 1)"
:disabled="sumBtnDisabled()">
</el-button>
</el-tooltip>
<el-table :id="'1_sug' + scope.row.id" row-key="displayOrder" style="margin-left: 5px;"
:data="scope.row.commonReasons" border @row-click="rowClickSug1" :show-header="false">
<el-table-column width="30">
<template slot-scope="scope2">
<div>{{ scope2.$index + 1 }}).</div>
</template>
</el-table-column>
<el-table-column prop="suggestionContent" label="建议" min-width="200">
<template slot-scope="scope2">
<div @dblclick="openSymbols(scope.$index, 'commonReasons', scope2.$index)">
<el-input type="textarea" v-model="scope2.row.suggestionContent" placeholder="请输入建议内容"
:disabled="sumBtnDisabled()" :autosize="{ minRows: 1, maxRows: 10 }">
</el-input>
</div>
</template>
</el-table-column>
<el-table-column label="操作" width="25">
<template slot-scope="scope2">
<el-button v-show="checkPagePriv(pagePriv.privs, '删除常见原因')" type="danger"
style="min-width:21px;height:21px;padding:2px;" icon="el-icon-delete"
@click="delSug(scope.row.commonReasons, scope2.$index)" :disabled="sumBtnDisabled()"
size="small"></el-button>
</template>
</el-table-column>
</el-table>
</div>
<div style="display: flex;margin-top: 2px;">
<div style="width:60px;">健康指导</div>
<el-tooltip content="新增健康指导" placement="top">
<el-button v-show="checkPagePriv(pagePriv.privs, '新增健康指导')" type="danger" icon="el-icon-plus"
style="min-width:21px;height:21px;padding:2px;" @click="addSug(scope.$index, 2)"
:disabled="sumBtnDisabled()">
</el-button>
</el-tooltip>
<el-table :id="'2_sug' + scope.row.id" row-key="displayOrder" style="margin-left: 5px;"
:data="scope.row.healthGuidances" border @row-click="rowClickSug2" :show-header="false">
<el-table-column width="30">
<template slot-scope="scope2">
<div>{{ scope2.$index + 1 }}).</div>
</template>
</el-table-column>
<el-table-column prop="suggestionContent" label="建议" min-width="200">
<template slot-scope="scope2">
<div @dblclick="openSymbols(scope.$index, 'healthGuidances', scope2.$index)">
<el-input type="textarea" v-model="scope2.row.suggestionContent" placeholder="请输入健康指导"
:disabled="sumBtnDisabled()" :autosize="{ minRows: 1, maxRows: 10 }">
</el-input>
</div>
</template>
</el-table-column>
<el-table-column label="操作" width="25">
<template slot-scope="scope2">
<el-button v-show="checkPagePriv(pagePriv.privs, '删除健康指导')" type="danger"
style="min-width:21px;height:21px;padding:2px;" icon="el-icon-delete"
@click="delSug(scope.row.healthGuidances, scope2.$index)" :disabled="sumBtnDisabled()"
size="small"></el-button>
</template>
</el-table-column>
</el-table>
</div>
</div>
</div>
</template>
</el-table-column>
</el-table>
</div>
</div>
<!--弹窗-->
<div>
<!-- 插入特殊符号 -->
<el-dialog title="插入特殊符号" :visible.sync="dialogWinSymbols" width="600px" :close-on-click-modal="false">
<div style="margin-top: -5px;">
<div style="overflow-y:auto; width:100%;display: flex;flex-wrap: wrap;align-content: flex-start;">
<div v-for="item in symbols" :key="item.id" style="margin: 1px; 2px;cursor:pointer;"
@click="insertSymbols(item.displayName)">
<el-tag style="padding: 0 3px;height: 24px;line-height: 24px;font-size: 15px;">
{{ item.displayName }}
</el-tag>
</div>
</template>
</el-table-column>
</el-table>
</div>
<div style="padding: 5px 0;">录入结果</div>
<el-input id="resultBox" style="width: 100%;" type="textarea" :autosize="{ minRows: 4, maxRows: 4 }"
v-model="curResult" />
</div>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="btnOkResult"> </el-button>
<el-button @click="dialogWinSymbols = false">关闭</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
@ -197,6 +231,19 @@ export default {
suggestionCurRow: 0, //
diagnosises: [], //
collapse: false, // /
dialogWinSymbols: false,
selection: { //
start: 0, end: 0
},
symbols: [], //
curResult: "", //
dbclObj: { //
index: -1,
colName: '', //
subIndex: -1,
}
};
},
@ -245,11 +292,19 @@ export default {
// },
//
dictInit() {
//
postapi('/api/app/diagnosis/getlistinsuggestion', {}).then(res => {
if (res.code > -1) {
this.diagnosises = res.data
}
})
//
postapi('/api/app/CommonChar/GetCommonCharList', {}).then(res => {
if (res.code >= 0) {
this.symbols = res.data
}
})
},
//
@ -291,16 +346,16 @@ export default {
//
btnCollapseAll() {
this.collapse = !this.collapse
this.sumDoctorCheck.suggestionList.forEach((e,index) => {
this.sumDoctorCheck.suggestionList.forEach((e, index) => {
e.collapse = this.collapse
this.$set(this.sumDoctorCheck.suggestionList,index,e)
this.$set(this.sumDoctorCheck.suggestionList, index, e)
});
},
//
btnCollapse(data,index,row) {
row.collapse=!row.collapse
this.$set(data,index,row)
btnCollapse(data, index, row) {
row.collapse = !row.collapse
this.$set(data, index, row)
// this.sumDoctorCheck.suggestionList[index]['collapse'] = !this.sumDoctorCheck.suggestionList[index]['collapse']
this.$nextTick(() => {
this.$refs['tableSuggestion'].doLayout()
@ -328,7 +383,7 @@ export default {
distinguishCancelAndClose: true,
confirmButtonText: '重新生成总检信息',
cancelButtonText: '获取上次总检信息',
showClose:false
showClose: false
})
isGetExistData = 'N'
} catch (error) {
@ -449,7 +504,7 @@ export default {
// ''
if (patientRegister.isLock && patientRegister.isLock == 'Y') return ret
if(btnType && btnType == 'collapse') ret = false
if (btnType && btnType == 'collapse') ret = false
if (patientRegister.completeFlag && patientRegister.completeFlag != '3') ret = false
@ -640,6 +695,71 @@ export default {
});
},
//
openSymbols(index, colName, subIndex) {
if (this.dataTransOpts.tableS.patient_register.completeFlag == '3') return
this.dbclObj = { index, colName, subIndex }
switch (colName) {
case 'suggestionTitle':
this.curResult = this.sumDoctorCheck.suggestionList[index][colName]
break;
default:
this.curResult = this.sumDoctorCheck.suggestionList[index][colName][subIndex]['suggestionContent']
break;
}
this.dialogWinSymbols = true
this.watchSelection()
},
//
insertSymbols(symbols) {
let result = this.curResult || ''
if (result) {
result = result.substring(0, this.selection.start) + symbols + result.substring(this.selection.end)
} else {
result = symbols
}
this.curResult = result
this.selection.start++
this.selection.end++
},
//
getCaretPosition() {
let input = document.getElementById('resultBox');
this.selection.start = input.selectionStart;
this.selection.end = input.selectionEnd;
// console.log('selection',this.selection)
},
watchSelection() {
this.$nextTick(() => {
let that = this
let resultBox = document.getElementById('resultBox'); // //.inline-input
//
resultBox.addEventListener('click', function (event) {
//
that.getCaretPosition()
})
resultBox.addEventListener('input', function (event) {
//
that.getCaretPosition()
})
})
},
btnOkResult() {
switch (this.dbclObj.colName) {
case 'suggestionTitle':
this.sumDoctorCheck.suggestionList[this.dbclObj.index][this.dbclObj.colName] = this.curResult
break;
default:
this.sumDoctorCheck.suggestionList[this.dbclObj.index][this.dbclObj.colName][this.dbclObj.subIndex]['suggestionContent'] = this.curResult
break;
}
this.dialogWinSymbols = false
},
findEl(fEl, nodeName) {
let el = null
for (let i = 0; i < fEl.children.length; i++) {
@ -779,14 +899,17 @@ export default {
::v-deep .el-table__empty-text {
line-height: 22px;
}
::v-deep .el-tag {
color: black;
padding: 0 5px;
font-size: 14px;
color: black;
padding: 0 5px;
font-size: 14px;
}
::v-deep .el-table__empty-block {
min-height: 22px;
min-height: 22px;
}
::v-deep .el-input__inner {
min-height: 23px;
height: 23px;

3
src/router/index.js

@ -1,5 +1,6 @@
import Vue from "vue";
import VueRouter from "vue-router";
import vuex from "vuex"
// import HomeView from "../views/HomeView.vue";
import login from "@/views/login/Login.vue";
@ -373,7 +374,7 @@ const routes = [{
path: "/doctorCheck",
name: "体检医生诊台",
component: () =>
import ("../views/doctorCheck/doctorCheck.vue"),
import ("../views/doctorCheck/doctorCheck.vue")
},
{
path: "/sumDoctorCheck",

13
src/views/doctorCheck/doctorCheck.vue

@ -92,6 +92,13 @@ export default {
},
created() {
// console.log("this.$route.query", this.$route.query)
if(this.$route.query.patient_register){
this.dataTransOpts.tableS.patient_register = this.$route.query.patient_register
}else{
this.dataTransOpts.tableS.patient_register = { id: '', patientRegisterNo: ''}
}
if (this.$peisAPI) {
// this.$message.info("");
// console.log('this.$peisAPI',this.$peisAPI)
@ -277,7 +284,7 @@ export default {
//' '
if (!patientRegister.id) return ret
if (btnFlagName == 'btnCheckHistory' || btnFlagName == 'btnReport') return false
@ -308,7 +315,7 @@ export default {
case 'btnExpPic': //
case 'btnSavePic': //
case 'btnDelImage': //
console.log('btnFlagName RegisterCheckEdit',btnFlagName,RegisterCheckEdit.completeFlag)
// console.log('btnFlagName RegisterCheckEdit', btnFlagName, RegisterCheckEdit.completeFlag)
if (RegisterCheckEdit.completeFlag && RegisterCheckEdit.completeFlag == '0') ret = false
break;
case 'audit':
@ -318,7 +325,7 @@ export default {
if (RegisterCheckEdit.completeFlag && RegisterCheckEdit.completeFlag != '0' && RegisterCheckEdit.isAudit && RegisterCheckEdit.isAudit != 'N') ret = false
break;
case 'btnCheckHistory':
case 'btnReport':
case 'btnReport':
default:
ret = false
break;

8
src/views/doctorCheck/sumDoctorCheck.vue

@ -88,7 +88,13 @@ export default {
};
},
created() { },
created() {
if(this.$route.query.patient_register){
this.dataTransOpts.tableS.patient_register = this.$route.query.patient_register
}else{
this.dataTransOpts.tableS.patient_register = { id: '', patientRegisterNo: ''}
}
},
//
mounted() {

Loading…
Cancel
Save