Commit 21a7dc14 authored by songrui's avatar songrui

医生端文案修改;按键修改

parent 19bcc5bd
......@@ -29,7 +29,9 @@ export default {
clearable: { default: true },
// 是否多选
multiple: Boolean,
textAlign: { default: 'center' }
textAlign: { default: 'center' },
// 关闭选中样式
activeStyleNone: Boolean
},
emits: ['update:value', 'change'],
data() {
......@@ -73,6 +75,9 @@ export default {
},
// 是否选中
isSelect(item){
if (this.activeStyleNone) {
return false
}
if (this.multiple) {
return this.innerValue.includes(item[this.fieldNames.value])
} else {
......
......@@ -21,7 +21,7 @@
</div>
<div>
<span class="label">联系电话</span>
<span>{{ residentInfo.telephone || '-' }}</span>
<span>{{ $phoneHide(residentInfo.telephone) || '-' }}</span>
</div>
<div>
<span class="label">人群分类</span>
......@@ -76,7 +76,7 @@
<span class="right" style="width: .32rem;"></span>
</div>
<div class="p-4">
<CheckBtn :options="addOptions"
<CheckBtn :options="addOptions" activeStyleNone
@change="onAddChange" column-1 />
<div class="pb-4"></div>
</div>
......@@ -88,7 +88,7 @@
<script>
import { queryResidentInfo } from '@/api/doctor/resident.js'
import { showNotify } from 'vant'
import { showNotify, showToast } from 'vant'
import DocNavBar from '@/doctor/components/docNavBar/DocNavBar.vue'
import ChronicTag from '@/doctor/components/chronicTag/ChronicTag.vue'
import CheckBtn from '@/doctor/components/checkBtn/CheckBtn.vue'
......@@ -137,6 +137,10 @@ export default {
const chronicTagsArray = this.residentInfo.chronicTagsArray || ''
return chronicTagsArray.split(',')
},
// 死亡状态
deathStatus() {
return this.residentInfo.chronicStatus
},
tabList() {
const diseaseList = [
{ name: '高血压', value: 1, code: '1', id: 'HYPERTENSION' },
......@@ -144,7 +148,7 @@ export default {
{ name: '冠心病', value: 3, code: '4', id: 'COPD' },
{ name: '脑卒中', value: 4, code: '8', id: 'STROKE' },
{ name: '慢性阻塞性疾病', value: 5, code: '16', id: 'NEPHROPATHY' },
{ name: '慢性肾病', value: 6, code: '32', id: 'KIDNEY' },
{ name: '慢性肾病', value: 6, code: '32', id: 'KIDNEY' },
{ name: '血脂异常', value: 7, code: '64', id: 'DYSLIPEMIA' }
]
const result = [
......@@ -175,6 +179,10 @@ export default {
},
onAddChange(val, option) {
console.log(val, option)
if (this.deathStatus === 9) {
showToast('该患者已死亡')
return
}
this.addVisible = false
this.$router.push({
path: option.path,
......
......@@ -14,11 +14,11 @@
<span class="label">筛查日期</span>
<span>{{ item.screenDate }}</span>
</div>
<div>
<div class="text-ellipsis">
<span class="label">筛查单位</span>
<span>{{ item.screenUnitName }}</span>
</div>
<div>
<div class="text-ellipsis">
<span class="label">筛查科室</span>
<span>{{ item.screenOfficeName }}</span>
</div>
......@@ -37,10 +37,10 @@
<div class="divider"></div>
<div class="bt-group">
<van-button round size="small" class="doc-btn-primary" @click="toFirstDetail(item)">详情</van-button>
<van-button round size="small" class="doc-btn-primary" @click='editBtn(item)'
<!-- <van-button round size="small" class="doc-btn-primary" @click='editBtn(item)'
v-if="item.allowUpdate == 1">修改</van-button>
<van-button round size="small" class="doc-btn-red" @click="delBtn(item)"
v-if="item.allowDelete ==1">删除</van-button>
v-if="item.allowDelete ==1">删除</van-button> -->
</div>
</div>
</div>
......
......@@ -28,11 +28,11 @@
<span class="label">随访方式</span>
<span>{{ item.visitWayName || '-' }}</span>
</div>
<div>
<div class="text-ellipsis">
<span class="label">随访医生</span>
<span>{{ item.visitDoctorName || '-' }}</span>
</div>
<div>
<div class="text-ellipsis">
<span class="label">随访机构</span>
<span>{{ item.visitUnitName || '-' }}</span>
</div>
......@@ -126,6 +126,14 @@ export default {
showToast('暂时无法查看 详情信息')
return
}
if (record.serveType == 3) {
this.$router.push({
path: '/doctor/followUp/generalFU/detail',
query: {
relationId: record.relationId
}
})
}
// this.$router.push({
// path: '/doctor/patient-detail',
// query: {
......
......@@ -784,7 +784,7 @@ export default {
list.push(o)
}
if (nephrosisHighItem.length) {
o = { name: '慢性肾病风险因素', num: nephrosisHighItem.length }
o = { name: '慢性肾病风险因素', num: nephrosisHighItem.length }
list.push(o)
}
if (dyslipemiaHighItem.length) {
......
......@@ -41,7 +41,7 @@
<div class="divider my-3"></div>
<div class="bt-group">
<van-button round size="small" class="doc-btn-primary" @click="toDetail(item)">详情</van-button>
<van-button round size="small" class="doc-btn-primary" @click="toDetail(item)">复筛</van-button>
<!-- <van-button round size="small" class="doc-btn-primary" @click="toDetail(item)">复筛</van-button> -->
<van-button round size="small" class="doc-btn-primary" @click="onIgnore(item)">忽略</van-button>
</div>
</div>
......
......@@ -45,7 +45,7 @@
<div class="divider my-3"></div>
<div class="bt-group">
<van-button round size="small" class="doc-btn-primary" @click="toDetail(item)">详情</van-button>
<van-button round size="small" class="doc-btn-primary" @click='toDetail(item)'>诊断</van-button>
<!-- <van-button round size="small" class="doc-btn-primary" @click='toDetail(item)'>诊断</van-button> -->
<van-button round size="small" class="doc-btn-primary" @click="onIgnore(item)">忽略</van-button>
</div>
</div>
......@@ -152,7 +152,7 @@ export default {
{ name: '冠心病', value: 3 },
{ name: '脑卒中', value: 4 },
{ name: '慢阻肺', value: 5 },
{ name: '慢性肾病', value: 6 },
{ name: '慢性肾病', value: 6 },
{ name: '血脂异常', value: 7 }
],
activeTab: 0,
......
......@@ -45,7 +45,7 @@
<div class="divider my-3"></div>
<div class="bt-group">
<van-button round size="small" class="doc-btn-primary" @click="toDetail(item)">详情</van-button>
<van-button round size="small" class="doc-btn-primary" @click="toDetail(item)">接诊</van-button>
<!-- <van-button round size="small" class="doc-btn-primary" @click="toDetail(item)">接诊</van-button> -->
<van-button round size="small" class="doc-btn-primary" @click="onIgnore(item)">忽略</van-button>
</div>
</div>
......
......@@ -170,7 +170,7 @@ export default {
{ name: '冠心病', value: 3 },
{ name: '脑卒中', value: 4 },
{ name: '慢阻肺', value: 5 },
{ name: '慢性肾病', value: 6 },
{ name: '慢性肾病', value: 6 },
{ name: '血脂异常', value: 7 }
],
activeTab: 0,
......
......@@ -27,7 +27,7 @@
<div class="flex flex-col gap-y-2.5">
<div>
<span class="label">身份证号</span>
<span>{{ item.idCard }}</span>
<span>{{ $idCardHide(item.idCard) || '-' }}</span>
</div>
<div>
<span class="label">服务类型</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment