Commit 41118e05 by 周田

Merge branch 'yzh' into 'main'

fix:导出数据接口增加不限时,调整了爬虫管理表格尺寸

See merge request !39
parents da0eda5d e0aa8c3b
...@@ -112,7 +112,7 @@ const handleExport = async () => { ...@@ -112,7 +112,7 @@ const handleExport = async () => {
const loading = ElLoading.service({ const loading = ElLoading.service({
lock: true, lock: true,
text: "正在导出文件...", text: "正在导出文件(时间较长请耐心等待)...",
background: "rgba(0, 0, 0, 0.7)", background: "rgba(0, 0, 0, 0.7)",
}); });
...@@ -129,6 +129,8 @@ const handleExport = async () => { ...@@ -129,6 +129,8 @@ const handleExport = async () => {
headers: { headers: {
Token: localStorage.getItem("Admin-Token") || "", Token: localStorage.getItem("Admin-Token") || "",
}, },
// 不限制HTTP超时时间
timeout: 0,
} }
); );
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
:header-cell-style="{ textAlign: 'center' }" :cell-style="{ textAlign: 'center' }" v-loading="tableLoading" :header-cell-style="{ textAlign: 'center' }" :cell-style="{ textAlign: 'center' }" v-loading="tableLoading"
element-loading-background="rgba(48, 65, 86, 0.7)"> element-loading-background="rgba(48, 65, 86, 0.7)">
<!-- <el-table-column type="selection" width="40" /> --> <!-- <el-table-column type="selection" width="40" /> -->
<el-table-column property="number" label="序号" width="55" type="index" /> <el-table-column property="number" label="序号" width="53" type="index" />
<el-table-column property="item.ntc_id" label="SNS Notice ID" show-overflow-tooltip /> <el-table-column property="item.ntc_id" label="SNS Notice ID" show-overflow-tooltip />
<el-table-column min-width="100" property="identity.adm_name_e" label="主管部门" show-overflow-tooltip /> <el-table-column min-width="100" property="identity.adm_name_e" label="主管部门" show-overflow-tooltip />
<el-table-column property="identity.sat_name" label="目标名称" show-overflow-tooltip /> <el-table-column property="identity.sat_name" label="目标名称" show-overflow-tooltip />
...@@ -69,8 +69,8 @@ ...@@ -69,8 +69,8 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column min-width="100" property="regulatory_status.f_biu_grps" label="是否确认使用" show-overflow-tooltip /> <el-table-column min-width="100" property="regulatory_status.f_biu_grps" label="是否确认使用" show-overflow-tooltip />
<el-table-column property="regulatory_status.resumption_list" width="140" label="是否暂停使用" show-overflow-tooltip /> <!-- <el-table-column property="regulatory_status.resumption_list" width="140" label="是否暂停使用" show-overflow-tooltip /> -->
<el-table-column width="180" property="crawl_time" label="采集时间" show-overflow-tooltip /> <el-table-column width="160" property="crawl_time" label="采集时间" show-overflow-tooltip />
<el-table-column label="操作" width="60"> <el-table-column label="操作" width="60">
<template #default="scope"> <template #default="scope">
<el-button type="primary" plain link @click="handleDetails(scope.row)"> 详情 </el-button> <el-button type="primary" plain link @click="handleDetails(scope.row)"> 详情 </el-button>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<!-- 表头配置 --> <!-- 表头配置 -->
<el-table-column property="number" label="序号" type="index" width="80" /> <el-table-column property="number" label="序号" type="index" width="80" />
<el-table-column property="spider" label="爬虫代号" show-overflow-tooltip /> <el-table-column property="spider" label="爬虫代号" show-overflow-tooltip />
<el-table-column property="spider_name" label="爬虫名称" show-overflow-tooltip /> <el-table-column min-width="100" property="spider_name" label="爬虫名称" show-overflow-tooltip />
<el-table-column min-width="200" property="spider_info" label="任务描述" show-overflow-tooltip /> <el-table-column min-width="200" property="spider_info" label="任务描述" show-overflow-tooltip />
<el-table-column label="操作"> <el-table-column label="操作">
<template #default="scope"> <template #default="scope">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment