'门店接口联调'
This commit is contained in:
@@ -63,6 +63,11 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="create_time" label="时间" align="center" min-width="160" />
|
||||
<el-table-column label="操作" align="center" width="150">
|
||||
<template #default="{ row }">
|
||||
<el-button text @click="archiveDetail(row)">详情</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination v-if="archiveTotal > 0" :total="archiveTotal" v-model:page="archiveParams.page"
|
||||
v-model:limit="archiveParams.size" @pagination="loadArchive" />
|
||||
@@ -72,7 +77,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { reactive, ref, onMounted } from 'vue';
|
||||
import { getUserList, getUserarchive } from '@/api/user';
|
||||
import { getUserList, getUserarchive, getUserarchiveDetail } from '@/api/user';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { Search, Refresh } from '@element-plus/icons-vue';
|
||||
const statusData = {
|
||||
@@ -144,7 +149,11 @@ function handleQuery() {
|
||||
loading.value = false;
|
||||
});
|
||||
}
|
||||
|
||||
//用户档案详情
|
||||
const archiveDetail = async (row) => {
|
||||
const res = await getUserarchiveDetail({ id: row.id });
|
||||
console.log(res,'res用户档案详情')
|
||||
}
|
||||
function resetQuery() {
|
||||
queryFormRef.value?.resetFields();
|
||||
queryParams.page = 1;
|
||||
|
||||
Reference in New Issue
Block a user