fix: 增加账户状态功能优化完善。

This commit is contained in:
tianyongbao
2024-07-18 19:26:22 +08:00
parent 0ad573e209
commit 6cff60c160
46 changed files with 360 additions and 36 deletions

View File

@@ -37,6 +37,10 @@
<text class="row-label">类型</text>
<text class="row-value">{{ dictStr(item.lendType, lendTypeList) }}</text>
</view>
<view class="item-row">
<text class="row-label">账户状态</text>
<text class="row-value">{{ dictStr(item.status, statusList) }}</text>
</view>
<view class="item-row">
<text class="row-label">备注</text>
<text class="row-value">{{ item.remark }}</text>
@@ -70,6 +74,7 @@ const status = ref('loadmore')
const lendTypeList = ref([])
const settingPickShow = ref(false)
const settingColumns = ref([])
const statusList = ref([])
const data = reactive({
filterPanel: false,
queryParams: {
@@ -113,6 +118,10 @@ function getList() {
})
}
function getDict() {
// 账户状态
getDicts('account_status').then(res => {
statusList.value = res.data
})
// 类型
getDicts('lend_type').then(res => {
lendTypeList.value = res.data