|
|
@@ -30,6 +30,16 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-form-item field="operator_uuid" label="操作员UUID">
|
|
|
+ <a-input v-model="queryData.operator_uuid" allow-clear />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-form-item field="remark" label="备注搜索">
|
|
|
+ <a-input v-model="queryData.remark" allow-clear />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
<a-col :span="6">
|
|
|
<a-form-item field="queryTime" label="变动时间">
|
|
|
<a-range-picker v-model="queryData.queryTime" show-time format="YY-MM-DD HH:mm" value-format="x" />
|
|
|
@@ -72,8 +82,18 @@
|
|
|
<a-table-column title="时间" :width="170">
|
|
|
<template #cell="{ record }">{{ stramptoTime(record.created_at) }}</template>
|
|
|
</a-table-column>
|
|
|
- <a-table-column title="用户" :width="180">
|
|
|
- <template #cell="{ record }">{{ record.username || '-' }} ({{ record.student_num || '-' }})</template>
|
|
|
+ <a-table-column title="用户" :width="220">
|
|
|
+ <template #cell="{ record }">
|
|
|
+ <a-space>
|
|
|
+ <a-avatar :size="28">
|
|
|
+ <img
|
|
|
+ :src="record.user_avatar || 'https://lepao-cloud.xxoo365.top/view.php/25aa126dc406974ff3579a99a2c6501a.png'"
|
|
|
+ :alt="record.username || 'user-avatar'"
|
|
|
+ />
|
|
|
+ </a-avatar>
|
|
|
+ <span>{{ record.username || '-' }} ({{ record.student_num || '-' }})</span>
|
|
|
+ </a-space>
|
|
|
+ </template>
|
|
|
</a-table-column>
|
|
|
<a-table-column title="类型" :width="160">
|
|
|
<template #cell="{ record }">{{ typeLabel(record.biz_type) }}</template>
|
|
|
@@ -87,13 +107,22 @@
|
|
|
</a-table-column>
|
|
|
<a-table-column title="变动前" data-index="balance_before" :width="100" />
|
|
|
<a-table-column title="变动后" data-index="balance_after" :width="100" />
|
|
|
- <a-table-column title="操作人" :width="180">
|
|
|
+ <a-table-column title="操作人" :width="150">
|
|
|
<template #cell="{ record }">
|
|
|
- {{ record.operator_name || '-' }}
|
|
|
- <span v-if="record.operator_uuid">({{ record.operator_uuid }})</span>
|
|
|
+ <a-space>
|
|
|
+ <a-avatar :size="28">
|
|
|
+ <img
|
|
|
+ :src="record.operator_avatar || 'https://lepao-cloud.xxoo365.top/view.php/25aa126dc406974ff3579a99a2c6501a.png'"
|
|
|
+ :alt="record.operator_name || 'operator-avatar'"
|
|
|
+ />
|
|
|
+ </a-avatar>
|
|
|
+ <span>
|
|
|
+ {{ record.operator_name || '-' }}
|
|
|
+ </span>
|
|
|
+ </a-space>
|
|
|
</template>
|
|
|
</a-table-column>
|
|
|
- <a-table-column title="业务单号" data-index="biz_id" :width="220" ellipsis tooltip />
|
|
|
+ <!-- <a-table-column title="业务单号" data-index="biz_id" :width="220" ellipsis tooltip /> -->
|
|
|
<a-table-column title="备注" data-index="remark" :width="220" ellipsis tooltip />
|
|
|
</template>
|
|
|
</a-table>
|
|
|
@@ -118,6 +147,8 @@ const queryData = reactive({
|
|
|
user_uuid: '',
|
|
|
username: '',
|
|
|
student_num: '',
|
|
|
+ operator_uuid: '',
|
|
|
+ remark: '',
|
|
|
biz_type: '',
|
|
|
queryTime: []
|
|
|
})
|
|
|
@@ -146,6 +177,8 @@ const fetchData = async () => {
|
|
|
user_uuid: queryData.user_uuid,
|
|
|
username: queryData.username,
|
|
|
student_num: queryData.student_num,
|
|
|
+ operator_uuid: queryData.operator_uuid,
|
|
|
+ remark: queryData.remark,
|
|
|
biz_type: queryData.biz_type,
|
|
|
start_time: start,
|
|
|
end_time: end
|
|
|
@@ -177,6 +210,8 @@ const reset = () => {
|
|
|
queryData.user_uuid = ''
|
|
|
queryData.username = ''
|
|
|
queryData.student_num = ''
|
|
|
+ queryData.operator_uuid = ''
|
|
|
+ queryData.remark = ''
|
|
|
queryData.biz_type = ''
|
|
|
queryData.queryTime = getSemesterTimestamps()
|
|
|
pagination.current = 1
|