Commit 7f581c64 authored by songrui's avatar songrui

专病随访修改

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