|
@@ -4,9 +4,15 @@
|
|
|
<div class="content">
|
|
<div class="content">
|
|
|
<div class="title">病例管理</div>
|
|
<div class="title">病例管理</div>
|
|
|
<div class="searchinput">
|
|
<div class="searchinput">
|
|
|
- <mt-field class="searchInput" placeholder="请输入患者姓名" v-model="queryForm.name">
|
|
|
|
|
- <mt-button type="primary" size="small" @click="getData()">搜索</mt-button>
|
|
|
|
|
|
|
+ <mt-field v-if="selected==1" class="searchInput" placeholder="请输入医生姓名" v-model="queryForm.name">
|
|
|
|
|
+ <mt-button type="primary" size="small" @click="get_doctor_list()">搜索</mt-button>
|
|
|
</mt-field>
|
|
</mt-field>
|
|
|
|
|
+ <mt-field v-if="selected==2" class="searchInput" placeholder="请输入患者姓名" v-model="queryForm.name">
|
|
|
|
|
+ <mt-button type="primary" size="small" @click="get_patient_list()">搜索</mt-button>
|
|
|
|
|
+ </mt-field>
|
|
|
|
|
+ <mt-field v-if="selected==3" class="searchInput" placeholder="请输入患者姓名" v-model="queryForm.name">
|
|
|
|
|
+ <mt-button type="primary" size="small" @click="getPatientCaseList()">搜索</mt-button>
|
|
|
|
|
+ </mt-field>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- <mt-navbar v-model="selected">
|
|
<!-- <mt-navbar v-model="selected">
|
|
|
<mt-tab-item id="1"><span @click.prevent="tabChange">医生</span></mt-tab-item>
|
|
<mt-tab-item id="1"><span @click.prevent="tabChange">医生</span></mt-tab-item>
|
|
@@ -47,16 +53,17 @@
|
|
|
height="32px">
|
|
height="32px">
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="patCaseForm baseInfo" v-for="(item,index) in caseList" v-if="selected=='3'">
|
|
|
|
|
- <mt-cell :title="'姓名:'+item.name" :value="'ID:'+item.code"></mt-cell>
|
|
|
|
|
- <mt-cell :title="'年龄:'+item.age" :value="'性别:'+item.sex"></mt-cell>
|
|
|
|
|
|
|
+ <div class="patCaseForm baseInfo" v-if="selected=='3' && caseList.length>0" style="padding-bottom:1rem;">
|
|
|
|
|
+ <mt-cell :title="'姓名:'+caseList[0].name" :value="'ID:'+caseList[0].code"></mt-cell>
|
|
|
|
|
+ <mt-cell :title="'年龄:'+caseList[0].age" :value="'性别:'+caseList[0].sex"></mt-cell>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- 方案 -->
|
|
<!-- 方案 -->
|
|
|
<div class="patCaseForm baseInfo" v-for="(item,index) in caseList" v-if="selected=='3'">
|
|
<div class="patCaseForm baseInfo" v-for="(item,index) in caseList" v-if="selected=='3'">
|
|
|
<!-- <mt-cell :title="'姓名:'+item.name" :value="'ID:'+item.code"></mt-cell>
|
|
<!-- <mt-cell :title="'姓名:'+item.name" :value="'ID:'+item.code"></mt-cell>
|
|
|
<mt-cell :title="'年龄:'+item.age" :value="'性别:'+item.sex"></mt-cell> -->
|
|
<mt-cell :title="'年龄:'+item.age" :value="'性别:'+item.sex"></mt-cell> -->
|
|
|
- <mt-cell :title="'使用产品:'+item.ckmpro" :value="'注射剂量:'+item.ckzsjl"></mt-cell>
|
|
|
|
|
- <mt-cell :title="'注射频次:'+item.ckmfreq"></mt-cell>
|
|
|
|
|
|
|
+ <mt-cell :title="'产品:'+item.ckmpro" :value="'剂量(IU):'+item.ckzsjl"></mt-cell>
|
|
|
|
|
+ <mt-cell :title="'频次:'+item.ckmfreq" :value="'体重(KG):'+item.bltz"></mt-cell>
|
|
|
|
|
+ <mt-cell :title="'方案医生:'+item.doctor_name"></mt-cell>
|
|
|
<div style="font-size:1rem;text-align:left;padding-left:10px;">
|
|
<div style="font-size:1rem;text-align:left;padding-left:10px;">
|
|
|
方案时间:{{item.ctime}}
|
|
方案时间:{{item.ctime}}
|
|
|
<mt-button type="primary" size="small" @click="showDetail(item.id)">详情</mt-button>
|
|
<mt-button type="primary" size="small" @click="showDetail(item.id)">详情</mt-button>
|
|
@@ -145,31 +152,41 @@
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- getData() {
|
|
|
|
|
- let id = this.$route.query.id
|
|
|
|
|
|
|
+ getPatientCaseList(){
|
|
|
this.$api.getPatientCaseList(this.queryForm).then(res => {
|
|
this.$api.getPatientCaseList(this.queryForm).then(res => {
|
|
|
if (!res.data.code) {
|
|
if (!res.data.code) {
|
|
|
this.caseList = res.data.data.list
|
|
this.caseList = res.data.data.list
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
+ },
|
|
|
|
|
+ get_doctor_list(){
|
|
|
this.$api.get_doctor_list(this.queryForm).then(res=>{
|
|
this.$api.get_doctor_list(this.queryForm).then(res=>{
|
|
|
if(!res.data.code){
|
|
if(!res.data.code){
|
|
|
this.doctorList = res.data.data.list
|
|
this.doctorList = res.data.data.list
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
+ },
|
|
|
|
|
+ get_patient_list(){
|
|
|
this.$api.get_patient_list(this.queryForm).then(res=>{
|
|
this.$api.get_patient_list(this.queryForm).then(res=>{
|
|
|
if(!res.data.code){
|
|
if(!res.data.code){
|
|
|
this.patientList = res.data.data.list
|
|
this.patientList = res.data.data.list
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+ getData() {
|
|
|
|
|
+ let id = this.$route.query.id
|
|
|
|
|
+ this.getPatientCaseList()
|
|
|
|
|
+ this.get_doctor_list()
|
|
|
|
|
+ this.get_patient_list()
|
|
|
|
|
+ },
|
|
|
edit(item){
|
|
edit(item){
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
path: "diagcalc",
|
|
path: "diagcalc",
|
|
|
query: {
|
|
query: {
|
|
|
id: item.id,
|
|
id: item.id,
|
|
|
patid:item.patient_id,
|
|
patid:item.patient_id,
|
|
|
- back:"patcaselist"
|
|
|
|
|
|
|
+ back:"patcaselist",
|
|
|
|
|
+ edit:1
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
@@ -194,6 +211,7 @@
|
|
|
width: 94%;
|
|
width: 94%;
|
|
|
margin: auto;
|
|
margin: auto;
|
|
|
margin-bottom: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
+ margin-top:10px;
|
|
|
|
|
|
|
|
.mint-search {
|
|
.mint-search {
|
|
|
height: 100%;
|
|
height: 100%;
|
|
@@ -218,6 +236,7 @@
|
|
|
padding: 1rem;
|
|
padding: 1rem;
|
|
|
border-radius: 5px;
|
|
border-radius: 5px;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ padding-bottom:2rem;
|
|
|
|
|
|
|
|
.mint-button--small {
|
|
.mint-button--small {
|
|
|
height: 1.6rem;
|
|
height: 1.6rem;
|
|
@@ -258,6 +277,9 @@
|
|
|
.container {
|
|
.container {
|
|
|
height: 100vh;
|
|
height: 100vh;
|
|
|
overflow-y: scroll;
|
|
overflow-y: scroll;
|
|
|
|
|
+ .content{
|
|
|
|
|
+ margin-top:1rem;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.diagShowForm {
|
|
.diagShowForm {
|
|
@@ -323,5 +345,11 @@
|
|
|
color:#26a2ff;
|
|
color:#26a2ff;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ /deep/ .mint-cell-value{
|
|
|
|
|
+ color:#000;
|
|
|
|
|
+ }
|
|
|
|
|
+ /deep/ .mint-cell:last-child{
|
|
|
|
|
+ background-image: none;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
</style>
|
|
</style>
|