'门店接口联调'

This commit is contained in:
张磊
2026-04-02 23:18:29 +08:00
parent eaab4b6d4a
commit 61c342bf13
4 changed files with 528 additions and 2 deletions
+11 -2
View File
@@ -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;