mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2026-04-22 22:57:15 +08:00
细节优化
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# 请求域名
|
||||
VITE_APP_BASE_URL='https://x.adtk.cn'
|
||||
@@ -5,6 +5,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"dev:prod": "vite --mode prod",
|
||||
"prod": "vite build",
|
||||
"preview": "vite preview --port 4173",
|
||||
"build": "node ./scripts/build.mjs",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
label-width="90px"
|
||||
label-position="left"
|
||||
>
|
||||
<el-form-item label="项目" prop="ProjectKey" class="w-[280px]">
|
||||
<el-form-item label="项目" prop="ProjectKey" class="w-[270px]">
|
||||
<el-select v-model="queryParams.ProjectKey" clearable>
|
||||
<el-option label="全部" value="" />
|
||||
<el-option
|
||||
@@ -20,34 +20,34 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="客户端id" prop="ClientId" class="w-[280px]">
|
||||
<!-- <el-form-item label="客户端id" prop="ClientId" class="w-[270px]">
|
||||
<el-input v-model="queryParams.ClientId" />
|
||||
</el-form-item> -->
|
||||
<el-form-item label="用户id" prop="UserId" class="w-[280px]">
|
||||
<el-form-item label="用户id" prop="UserId" class="w-[270px]">
|
||||
<el-input v-model="queryParams.UserId" />
|
||||
</el-form-item>
|
||||
<el-form-item label="系统" prop="Os" class="w-[280px]">
|
||||
<el-form-item label="系统" prop="Os" class="w-[270px]">
|
||||
<el-input v-model="queryParams.Os" />
|
||||
</el-form-item>
|
||||
<el-form-item label="浏览器" prop="Browser" class="w-[280px]">
|
||||
<el-form-item label="浏览器" prop="Browser" class="w-[270px]">
|
||||
<el-input v-model="queryParams.Browser" />
|
||||
</el-form-item>
|
||||
<el-form-item label="国家" prop="Country" class="w-[280px]">
|
||||
<el-form-item label="国家" prop="Country" class="w-[270px]">
|
||||
<el-input v-model="queryParams.Country" />
|
||||
</el-form-item>
|
||||
<el-form-item label="省份" prop="Province" class="w-[280px]">
|
||||
<el-form-item label="省份" prop="Province" class="w-[270px]">
|
||||
<el-input v-model="queryParams.Province" />
|
||||
</el-form-item>
|
||||
<el-form-item label="城市" prop="City" class="w-[280px]">
|
||||
<el-form-item label="城市" prop="City" class="w-[270px]">
|
||||
<el-input v-model="queryParams.City" />
|
||||
</el-form-item>
|
||||
<el-form-item label="电信运营商" prop="Operator" class="w-[280px]">
|
||||
<el-form-item label="电信运营商" prop="Operator" class="w-[270px]">
|
||||
<el-input v-model="queryParams.Operator" />
|
||||
</el-form-item>
|
||||
<el-form-item label="ip" prop="Ip" class="w-[280px]">
|
||||
<el-form-item label="ip" prop="Ip" class="w-[270px]">
|
||||
<el-input v-model="queryParams.Ip" />
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="ua记录" prop="Ua" class="w-[280px]">
|
||||
<!-- <el-form-item label="ua记录" prop="Ua" class="w-[270px]">
|
||||
<el-input v-model="queryParams.Ua" />
|
||||
</el-form-item> -->
|
||||
<el-form-item label="创建时间" prop="CreateTime" class="w-[425px]">
|
||||
@@ -161,8 +161,8 @@
|
||||
</el-popover>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="IP" prop="Ip" />
|
||||
<el-table-column label="区域">
|
||||
<el-table-column label="IP" prop="Ip" width="145" />
|
||||
<el-table-column label="区域" min-width="150">
|
||||
<template #default="{ row }">
|
||||
{{ row.Country }}{{ row.Province }}{{ row.City }}
|
||||
</template>
|
||||
@@ -173,7 +173,7 @@
|
||||
<el-table-column label="运营商" prop="Operator" />
|
||||
|
||||
<!-- <el-table-column label="ua记录" prop="Ua" min-width="380" /> -->
|
||||
<el-table-column label="创建时间" prop="CreateTime" min-width="140" />
|
||||
<el-table-column label="创建时间" prop="CreateTime" width="180" />
|
||||
|
||||
<el-table-column label="操作" width="80" fixed="right">
|
||||
<template #default="{ row }">
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
size="large"
|
||||
v-loading="pager.loading"
|
||||
:data="pager.lists"
|
||||
max-height="calc(100vh - 200px)"
|
||||
@selection-change="handleSelectionChange"
|
||||
>
|
||||
<el-table-column type="selection" width="55" />
|
||||
|
||||
@@ -63,8 +63,8 @@
|
||||
|
||||
<el-card class="!border-none mt-4" shadow="never" v-loading="pager.loading">
|
||||
<div>
|
||||
<el-table :data="pager.lists" size="large">
|
||||
<el-table-column label="记录ID" prop="id" />
|
||||
<el-table :data="pager.lists" size="large" max-height="calc(100vh - 200px)">
|
||||
<el-table-column label="ID" prop="id" />
|
||||
<el-table-column label="操作" prop="title" min-width="120" />
|
||||
<el-table-column label="管理员" prop="username" min-width="120" />
|
||||
<el-table-column label="访问链接" prop="url" min-width="240">
|
||||
@@ -72,8 +72,8 @@
|
||||
</el-table-column>
|
||||
<!-- <el-table-column label="访问方式" prop="type" min-width="100" /> -->
|
||||
<el-table-column label="来源IP" prop="ip" min-width="160" />
|
||||
<el-table-column label="错误信息" prop="error" min-width="160" />
|
||||
<el-table-column label="执行耗时(毫秒)" prop="taskTime" min-width="100" />
|
||||
<el-table-column label="错误信息" prop="error" min-width="200" />
|
||||
<el-table-column label="耗时(毫秒)" prop="taskTime" min-width="100" />
|
||||
<el-table-column label="日志时间" prop="createTime" width="170" />
|
||||
</el-table>
|
||||
</div>
|
||||
|
||||
@@ -76,14 +76,14 @@ const formRules = {
|
||||
message: '请输入协议内容',
|
||||
trigger: ['blur']
|
||||
}
|
||||
],
|
||||
Sort: [
|
||||
{
|
||||
required: true,
|
||||
message: '请输入排序',
|
||||
trigger: ['blur']
|
||||
}
|
||||
]
|
||||
// Sort: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: '请输入排序',
|
||||
// trigger: ['blur']
|
||||
// }
|
||||
// ]
|
||||
}
|
||||
|
||||
const handleSubmit = async () => {
|
||||
|
||||
@@ -83,7 +83,6 @@
|
||||
size="medium"
|
||||
class="mt-4"
|
||||
:data="pager.lists"
|
||||
:loading="pager.loading"
|
||||
auto-resize
|
||||
@checkbox-change="handleSelectionChange"
|
||||
@checkbox-all="handleSelectionChange"
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
"delay" : 0
|
||||
},
|
||||
"modules" : {
|
||||
"VideoPlayer" : {}
|
||||
"VideoPlayer" : {},
|
||||
"Push" : {}
|
||||
},
|
||||
"distribute" : {
|
||||
"android" : {
|
||||
@@ -49,7 +50,10 @@
|
||||
"dSYMs" : false
|
||||
},
|
||||
"sdkConfigs" : {
|
||||
"ad" : {}
|
||||
"ad" : {},
|
||||
"push" : {
|
||||
"unipush" : {}
|
||||
}
|
||||
},
|
||||
"icons" : {
|
||||
"android" : {
|
||||
|
||||
Reference in New Issue
Block a user