|
@@ -46,7 +46,7 @@
|
|
|
</el-select>
|
|
|
</div>
|
|
|
<div class="action-bar-item">
|
|
|
- <el-input v-model="filters.search" placeholder="按照爬虫代码搜索" @keydown.enter="onInputSearch" />
|
|
|
+ <el-input v-model="filters.search" placeholder="按照站点、爬虫代码搜索" @keydown.enter="onInputSearch" />
|
|
|
</div>
|
|
|
<div class="action-bar-item">
|
|
|
<el-button type="primary" :icon="Search" @click="onInputSearch">搜索</el-button>
|
|
@@ -56,9 +56,9 @@
|
|
|
</el-header>
|
|
|
<el-main>
|
|
|
<el-table ref="spiderTable" :data="listState.list" stripe :row-style="getRowStyle" v-loading="listState.loading">
|
|
|
- <el-table-column prop="code" label="代码" align="center" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="site" label="网站" align="center" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="channel" label="栏目" align="center" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column prop="code" label="代码" align="center" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="stateText" label="爬虫状态" width="80" align="center" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="claimText" label="认领状态" width="100" align="center" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="href" label="栏目地址" show-overflow-tooltip></el-table-column>
|
|
@@ -381,9 +381,10 @@ const userClaimCodes = async () => {
|
|
|
}
|
|
|
}
|
|
|
const clickClaimCodes = () => {
|
|
|
- ElMessageBox.confirm('确定要认领一批爬虫?', '提示',
|
|
|
+ ElMessageBox.confirm('确定要认领爬虫?', '提示',
|
|
|
{
|
|
|
customClass: 'j-confirm-message-box',
|
|
|
+ type: 'warning',
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
showCancelButton: false,
|
|
@@ -663,6 +664,7 @@ const tableEvents = {
|
|
|
ElMessageBox.confirm('确定退回?', '提示',
|
|
|
{
|
|
|
customClass: 'j-confirm-message-box',
|
|
|
+ type: 'warning',
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
showCancelButton: false,
|