Commit f5af8181 authored by songrui's avatar songrui

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

parents bbebec09 c2c5d551
...@@ -11,7 +11,7 @@ export function queryMajorFUDetail(params) { ...@@ -11,7 +11,7 @@ export function queryMajorFUDetail(params) {
//查询专病高危随访详情 //查询专病高危随访详情
export function querySpecificFUDetail(params) { export function querySpecificFUDetail(params) {
return fetchBase({ url: `/chronic-resident/v1/chronic-visit-record/high-major-detail`, body: params, loading: true }) return fetchBase({ url: `/chronic-resident/v1/chronic-visit-record/high-specific-detail`, body: params, loading: true })
} }
// 查询通用随访详情 // 查询通用随访详情
......
...@@ -383,7 +383,7 @@ ...@@ -383,7 +383,7 @@
<span>{{ info.giveSmokingAge || '-'}} 岁</span> <span>{{ info.giveSmokingAge || '-'}} 岁</span>
</span> </span>
</div> </div>
<div class='flex justify-between py-1 border-bottom item' v-if="smokeShow && record?.diseaseArrays?.includes(1)"> <div class='flex justify-between py-1 border-bottom item' v-if="smokeShow && info?.diseaseArrays?.includes(1)">
<span class='shrink-0 mr-2 label'>经常吸入二手烟</span> <span class='shrink-0 mr-2 label'>经常吸入二手烟</span>
<span class='text-end'> <span class='text-end'>
<span>{{ info.secondSmokingName || '-'}} </span> <span>{{ info.secondSmokingName || '-'}} </span>
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
<span class="name">{{ userInfo.residentName }}</span> <span class="name">{{ userInfo.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.visitDate || '-' }}</span></div>
<span>慢病高危评估结果:</span> <span>慢病高危评估结果:</span>
<span :class="{'text-red': info.screenResult !== 1, 'color-26': info.screenResult === 1 }">{{ info.screenResultName }}</span> <span :class="{'text-red': info.visitResult !== 1, 'color-26': info.visitResult === 1 }">{{ info.visitResultName }}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -96,7 +96,6 @@ ...@@ -96,7 +96,6 @@
<script> <script>
import { showNotify } from 'vant' import { showNotify } from 'vant'
import { firstScreenDetail } from '@/api/residentWX/screening.js'
import { useStore } from '@/residentWX/store' import { useStore } from '@/residentWX/store'
import { queryMajorFUDetail } from '@/api/residentWX/visit' import { queryMajorFUDetail } from '@/api/residentWX/visit'
...@@ -135,7 +134,7 @@ export default { ...@@ -135,7 +134,7 @@ export default {
{ title: '血清总胆固醇', key: 'serumCholesterin', unit: 'mmol/L' }, { title: '血清总胆固醇', key: 'serumCholesterin', unit: 'mmol/L' },
{ title: '高密度脂蛋白胆固醇', key: 'hdlCholesterin', unit: 'mmol/L' }, { title: '高密度脂蛋白胆固醇', key: 'hdlCholesterin', unit: 'mmol/L' },
{ title: '运动', key: 'exerciseIntensityName' }, { title: '运动', key: 'exerciseIntensityName' },
{ title: '慢病高危评估结果', key: 'screenResultName' } { title: '慢病高危评估结果', key: 'visitResultName' }
], info: {} }, ], info: {} },
{ title: '随访机构', name: '3', columns: [ { title: '随访机构', name: '3', columns: [
{ title: '随访机构', key: 'visitUnitName' }, { title: '随访机构', key: 'visitUnitName' },
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</div> </div>
<div class='top-label mt-3'> <div class='top-label mt-3'>
<span >报告日期:<span class='color-b'>{{ info.screenDate || '-' }}</span></span> <span >报告日期:<span class='color-b'>{{ info.visitDate || '-' }}</span></span>
</div> </div>
<div class='top-label'> <div class='top-label'>
<span>慢病高危评估结果:</span> <span>慢病高危评估结果:</span>
...@@ -383,7 +383,7 @@ ...@@ -383,7 +383,7 @@
<span>{{ info.giveSmokingAge || '-'}} 岁</span> <span>{{ info.giveSmokingAge || '-'}} 岁</span>
</span> </span>
</div> </div>
<div class='flex justify-between py-1 border-bottom item' v-if="smokeShow && record?.diseaseArrays?.includes(1)"> <div class='flex justify-between py-1 border-bottom item' v-if="smokeShow && info?.diseaseArrays?.includes(1)">
<span class='shrink-0 mr-2 label'>经常吸入二手烟</span> <span class='shrink-0 mr-2 label'>经常吸入二手烟</span>
<span class='text-end'> <span class='text-end'>
<span>{{ info.secondSmokingName || '-'}} </span> <span>{{ info.secondSmokingName || '-'}} </span>
...@@ -488,7 +488,6 @@ ...@@ -488,7 +488,6 @@
<script> <script>
import { showNotify } from 'vant' import { showNotify } from 'vant'
import { secondScreenDetail } from '@/api/residentWX/screening.js'
import { useStore } from '@/residentWX/store' import { useStore } from '@/residentWX/store'
import { fetchDataHandle } from '@/utils/common' import { fetchDataHandle } from '@/utils/common'
import ImagePreview from '@/residentWX/components/imagePreview/imagePreview' import ImagePreview from '@/residentWX/components/imagePreview/imagePreview'
......
...@@ -39,12 +39,12 @@ module.exports = defineConfig({ ...@@ -39,12 +39,12 @@ module.exports = defineConfig({
} }
}, },
'/chronic-resident': { '/chronic-resident': {
target: 'http://192.168.1.142:8903', // target: 'http://192.168.1.142:8903',
// target: 'https://beta-tumour.zmnyjk.com', target: 'https://beta-tumour.zmnyjk.com',
changOrigin: true, changOrigin: true,
pathRewrite: { pathRewrite: {
'^/chronic-resident': '/', // '^/chronic-resident': '/',
// '^/chronic-resident': '/chronic-resident' '^/chronic-resident': '/chronic-resident'
} }
} }
}, },
......
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