Commit d2053a29 authored by songrui's avatar songrui

简易筛查结果页修改

parent 061101a2
......@@ -116,7 +116,8 @@ export default {
this.resultInfo = {
species: result.species,
details: result.details,
unitName: res.data
unitName: res.data,
recordId: this.recordId
}
this.setp = 3
})
......
......@@ -15,6 +15,9 @@
{{ item.remark }}
</div>
</div>
<div class="text-center px-5">
<van-button round block type="primary" @click="toRecord()">当年筛查记录</van-button>
</div>
</div>
</template>
......@@ -46,6 +49,17 @@ export default {
unitName
})
})
},
methods: {
toRecord() {
this.$router.push({
name: 'tumour-screening-simple-list',
query: {
recordId: this.info.recordId
}
})
}
}
}
</script>
......
......@@ -337,7 +337,7 @@ export default {
console.log(this.form)
const idCard = this.form.idCard
if (!idCard || idCardRule.validator(idCard)) return
getSimpleScreenYears(idCard).then(res => {
getSimpleScreenYears(idCard, false).then(res => {
const result = res.data || []
if (!result.length) {
this.$emit('checked', -1)
......
......@@ -38,6 +38,7 @@
<script>
import DocNavBar from '@/components/docNavBar/DocNavBar.vue'
import { getSimpleScreenYears } from '@/tumour/api/screening.js'
import { showNotify, closeNotify } from 'vant'
export default {
components: {
......@@ -108,6 +109,9 @@ export default {
}
})
}
},
beforeUnmount() {
closeNotify()
}
}
</script>
......
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