fix: 健康管理系统,自测问题修复及功能优化完善。
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<view class="list-item">
|
||||
<view class="item-header">
|
||||
<u--text lines="2" iconStyle="font-size: 18px; color: #333333; font-weight:bold"
|
||||
:text="item.name+'('+item.nickName+')-'+dictStr(item.type,typeList) +'-'+item.age" size="30rpx" color="#333333" :bold="true"></u--text>
|
||||
:text="item.name+'('+item.nickName+')- '+dictStr(item.sex,sexList) +' - '+dictStr(item.type,typeList) +' - '+item.age" size="30rpx" color="#333333" :bold="true"></u--text>
|
||||
</view>
|
||||
<!-- <view class="item-row">
|
||||
<text class="row-label">昵称:</text>
|
||||
@@ -28,6 +28,10 @@
|
||||
<text class="row-label">生日:</text>
|
||||
<text class="row-value">{{ item.birthday }}</text>
|
||||
</view>
|
||||
<view class="item-row">
|
||||
<text class="row-label">身份证:</text>
|
||||
<text class="row-value">{{ item.identityCard }}</text>
|
||||
</view>
|
||||
<!-- <view class="item-row">
|
||||
<text class="row-label">年龄:</text>
|
||||
<text class="row-value">{{ item.age }}</text>
|
||||
@@ -76,7 +80,7 @@ const listData = ref([])
|
||||
const isShow = ref(false)
|
||||
const status = ref('loadmore')
|
||||
const typeList = ref([])
|
||||
|
||||
const sexList = ref([])
|
||||
const flag= ref(true)
|
||||
const data = reactive({
|
||||
filterPanel: false,
|
||||
@@ -129,6 +133,10 @@ function getList() {
|
||||
getDicts('person_type').then(res => {
|
||||
typeList.value = res.data
|
||||
})
|
||||
// 类型
|
||||
getDicts('sys_user_sex').then(res => {
|
||||
sexList.value = res.data
|
||||
})
|
||||
status.value = 'loading'
|
||||
listPerson({ pageSize: 10, pageNum: pageNum.value, ...queryParams.value }).then(res => {
|
||||
listData.value = listData.value.concat(res.rows)
|
||||
|
||||
Reference in New Issue
Block a user