Commit 21a7dc14 authored by songrui's avatar songrui

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

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