Commit 7f581c64 authored by songrui's avatar songrui

专病随访修改

parent 64010734
...@@ -53,7 +53,7 @@ export default { ...@@ -53,7 +53,7 @@ export default {
if (!token) { if (!token) {
token = sessionStorage.getItem('token') token = sessionStorage.getItem('token')
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production') {
token = '7224fb00-e997-4c6e-b448-7341d5e5478a' token = '8f0f296c-27af-4f33-aaff-cb6cc7b829a0'
} }
} }
if (token) { if (token) {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
> >
<div class="flex flex-col"> <div class="flex flex-col">
<div class="flex flex-col gap-y-2.5 py-3 px-4 mb-3 doc-list-card" <div class="flex flex-col gap-y-2.5 py-3 px-4 mb-3 doc-list-card"
v-for='item in list' :key="item.id"> v-for='item in list' :key="item.id" @click="toDetail(item)">
<div> <div>
<span class="label">服务类型</span> <span class="label">服务类型</span>
<span>{{ item.serveTypeName || '-' }}</span> <span>{{ item.serveTypeName || '-' }}</span>
...@@ -48,15 +48,15 @@ ...@@ -48,15 +48,15 @@
<span class="label">随访机构</span> <span class="label">随访机构</span>
<span>{{ item.serveUnitName || '-' }}</span> <span>{{ item.serveUnitName || '-' }}</span>
</div> </div>
<!-- <div class="divider"></div> <div class="divider" v-if="item.serveType == 5"></div>
<div class="bt-group"> <div class="bt-group" v-if="item.serveType == 5">
<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" v-if="item.allowUpdate == 1">转诊</van-button> <!-- <van-button round size="small" class="doc-btn-primary" v-if="item.allowUpdate == 1">转诊</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 || item.serveType == 5)">修改</van-button> v-if="!(item.allowUpdate !==1 || item.serveType == 5)">修改</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.allowUpdate !==1 || item.serveType == 5)">删除</van-button> v-if="!(item.allowUpdate !==1 || item.serveType == 5)">删除</van-button> -->
</div> --> </div>
</div> </div>
</div> </div>
</van-list> </van-list>
...@@ -161,6 +161,7 @@ export default { ...@@ -161,6 +161,7 @@ export default {
}, },
watch: { watch: {
diseaseType() { diseaseType() {
this.list = []
this.load() this.load()
} }
} }
......
...@@ -76,14 +76,14 @@ ...@@ -76,14 +76,14 @@
<span class="label">创建时间</span> <span class="label">创建时间</span>
<span>{{ item.created }}</span> <span>{{ item.created }}</span>
</div> </div>
<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="toSecondDetail(item)">详情</van-button> <van-button round size="small" class="doc-btn-primary" @click="toSecondDetail(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.allowUpdate == 1">删除</van-button> v-if="item.allowUpdate == 1">删除</van-button>
</div> </div> -->
</div> </div>
</div> </div>
</van-pull-refresh> </van-pull-refresh>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
{'second-card': item.serveType == 2}, {'second-card': item.serveType == 2},
{'general-card': item.serveType == 3}]"> {'general-card': item.serveType == 3}]">
<div class="title px-4 py-1">{{item.serveTypeName}}</div> <div class="title px-4 py-1">{{item.serveTypeName}}</div>
<div class="flex flex-col gap-y-2.5 py-3 px-4 doc-list-card"> <div class="flex flex-col gap-y-2.5 py-3 px-4 doc-list-card" @click="toDetail(item)">
<div> <div>
<span class="label">随访日期</span> <span class="label">随访日期</span>
<span>{{ item.visitDate }}</span> <span>{{ item.visitDate }}</span>
...@@ -36,14 +36,14 @@ ...@@ -36,14 +36,14 @@
<span class="label">随访机构</span> <span class="label">随访机构</span>
<span>{{ item.visitUnitName || '-' }}</span> <span>{{ item.visitUnitName || '-' }}</span>
</div> </div>
<!-- <div class="divider"></div> <div class="divider" v-if="item.serveType == 3"></div>
<div class="bt-group"> <div class="bt-group" v-if="item.serveType == 3">
<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='editBtn(item)' <!-- <van-button round size="small" class="doc-btn-primary" @click='editBtn(item)'
v-if="!(item.allowUpdate !==1 || item.serveType == 3)">修改</van-button> v-if="!(item.allowUpdate !==1 || item.serveType == 3)">修改</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.allowUpdate !==1 || item.serveType == 3)">删除</van-button> v-if="!(item.allowUpdate !==1 || item.serveType == 3)">删除</van-button> -->
</div> --> </div>
</div> </div>
</div> </div>
</div> </div>
......
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