mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
完善ai调用日志页面代码
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
</div>
|
||||
<div class="pa" style="display: flex; justify-content: flex-end; padding: 0 38px">
|
||||
<a-pagination show-quick-jumper :pageSize="pageSize" :current="pageIndex" :total="total" class="pagination"
|
||||
@change="handelChangePage" show-size-changer />
|
||||
@change="handelChangePage" :max-tag-count="1" show-size-changer />
|
||||
</div>
|
||||
<a-modal v-model:visible="markShow" :footer="null" width="40%" title="查看详细报文">
|
||||
<div class="markContent">
|
||||
@@ -136,6 +136,7 @@ export default defineComponent({
|
||||
key: "requestUrl",
|
||||
width: "10%",
|
||||
className: "h",
|
||||
ellipsis: true,
|
||||
customRender: ({ text }) => {
|
||||
return text ? text : "-";
|
||||
},
|
||||
@@ -144,6 +145,7 @@ export default defineComponent({
|
||||
title: "调用时间",
|
||||
dataIndex: "optTime",
|
||||
key: "optTime",
|
||||
ellipsis: true,
|
||||
width: "15%",
|
||||
className: "h",
|
||||
customRender: ({ text }) => {
|
||||
@@ -155,6 +157,7 @@ export default defineComponent({
|
||||
dataIndex: "requestBody",
|
||||
key: "requestBody",
|
||||
width: "25%",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
customRender: ({ text }) => {
|
||||
return text ? text : "-";
|
||||
@@ -165,6 +168,7 @@ export default defineComponent({
|
||||
dataIndex: "responseBody",
|
||||
key: "responseBody",
|
||||
width: "25%",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
customRender: ({ text }) => {
|
||||
return text ? text : "-";
|
||||
@@ -241,13 +245,8 @@ export default defineComponent({
|
||||
optTimeStart: state.searchData.callTimeList && state.searchData.callTimeList[0] ? state.searchData.callTimeList[0] + ' 00:00:00' : '',
|
||||
optTimeEnd: state.searchData.callTimeList && state.searchData.callTimeList[1] ? state.searchData.callTimeList[1] + ' 00:00:00' : '',
|
||||
});
|
||||
console.log(res);
|
||||
|
||||
// const { records, totalPages } = res.data.result.list;
|
||||
const { count } = res.data.result
|
||||
state.count = count
|
||||
state.tableData = res.data.result.list;
|
||||
state.total = res.data.result.totalPages;
|
||||
state.total = res.data.result.count;
|
||||
}
|
||||
getTableDate()
|
||||
// 搜索
|
||||
|
||||
Reference in New Issue
Block a user