Commit 8f0e8905 authored by gengchunlei's avatar gengchunlei

Merge branch 'chronic-dev' of http://gitlab.yiboshi.com/nightkis1995/frontend-h5 into chronic-dev

parents 52c85d36 19bcc5bd
...@@ -32,7 +32,7 @@ export function getReceiveByPage(params) { ...@@ -32,7 +32,7 @@ export function getReceiveByPage(params) {
// 待接诊列表 忽略 // 待接诊列表 忽略
export function ignoreReceive(params) { export function ignoreReceive(params) {
return fetchBase({ url: `/chronic-admin/v1/chronic-referral-task/update`, body: params }) return fetchBase({ url: `/chronic-admin/v1/chronic-referral-task/update`, body: params, loading: true })
} }
// 筛查高危记录表 初筛高危待复筛1 复筛高危待诊断2 // 筛查高危记录表 初筛高危待复筛1 复筛高危待诊断2
...@@ -47,5 +47,5 @@ export function getDiagnoseByPage(params) { ...@@ -47,5 +47,5 @@ export function getDiagnoseByPage(params) {
// 待复筛和高危待诊断忽略 // 待复筛和高危待诊断忽略
export function addIgnoreRecord(params) { export function addIgnoreRecord(params) {
return fetchBase({ url: `/chronic-admin/v1/chronic-ignore-record/save`, body: params }) return fetchBase({ url: `/chronic-admin/v1/chronic-ignore-record/save`, body: params, loading: true })
} }
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="flex w-full"> <div class="flex w-full">
<div class="grow flex flex-col justify-between"> <div class="grow flex flex-col justify-between">
<div class="flex justify-between"> <div class="flex justify-between">
<span class="name">{{ userInfo.residentName }}</span> <span class="name">{{ collapseList[0].info.residentName }}</span>
</div> </div>
<div class='lh-22'> <div class='lh-22'>
<div class='mt-3'>筛查日期:<span class='color-26'>{{ info.screenDate || '-' }}</span></div> <div class='mt-3'>筛查日期:<span class='color-26'>{{ info.screenDate || '-' }}</span></div>
...@@ -150,10 +150,7 @@ export default { ...@@ -150,10 +150,7 @@ export default {
computed: { computed: {
id() { id() {
return this.$route.query.id return this.$route.query.id
}, }
userInfo() {
return this.store.userInfo
},
}, },
created() { created() {
document.title = '筛查详情' document.title = '筛查详情'
......
...@@ -239,7 +239,7 @@ export default { ...@@ -239,7 +239,7 @@ export default {
ignoreType:2, ignoreType:2,
} }
addIgnoreRecord(params).then(() => { addIgnoreRecord(params).then(() => {
this.list = this.list.filter(e => e.id !== record.id) this.list = this.list.filter(e => e.screenId !== record.screenId)
setTimeout(() => { setTimeout(() => {
showToast('操作成功') showToast('操作成功')
}, 800); }, 800);
......
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