fix: 增加账户状态功能优化完善。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user