代码逻辑检查

This commit is contained in:
雷校云
2026-03-06 17:13:06 +08:00
parent 68882f94cf
commit c751fd9a6e
4 changed files with 18 additions and 10 deletions

View File

@@ -104,4 +104,3 @@ onUnmounted(() => {
</script>
<style scoped lang="scss"></style>

View File

@@ -128,7 +128,12 @@
>
检查登录
</el-button>
<el-button type="success" size="small" class="ops-btn" @click="openRecruitDialog(scope.row.id)">
<el-button
type="success"
size="small"
class="ops-btn"
@click="openRecruitDialog(scope.row.id)"
>
招聘
</el-button>
<el-button
@@ -372,7 +377,7 @@ const refreshTaskList = () => {
}
onMounted(() => {
fetchData()
// fetchData()
startTimer(() => {
fetchData(true)
}, 15000)

View File

@@ -26,7 +26,9 @@
/>
</el-form-item>
<el-form-item class="search-actions ops-actions">
<el-button type="primary" :icon="Search" class="ops-btn" @click="handleQuery">搜索</el-button>
<el-button type="primary" :icon="Search" class="ops-btn" @click="handleQuery">
搜索
</el-button>
<el-button :icon="Refresh" class="ops-btn" @click="handleResetQuery">重置</el-button>
</el-form-item>
</el-form>
@@ -39,7 +41,9 @@
<span class="summary-item summary-item--success">已回复 {{ repliedCount }} </span>
<span class="summary-item summary-item--wechat">已交换微信 {{ wechatCount }} </span>
</div>
<el-button type="success" :icon="Download" class="ops-btn" @click="onApiContactsExport">导出联系人</el-button>
<el-button type="success" :icon="Download" class="ops-btn" @click="onApiContactsExport">
导出联系人
</el-button>
</div>
<el-table
@@ -124,11 +128,11 @@ const queryParams = reactive<any>({
const roleList = ref<any[]>([])
const pageCount = computed(() => roleList.value.length)
const repliedCount = computed(() =>
roleList.value.filter((item: any) => item.reply_status === '已回复').length
const repliedCount = computed(
() => roleList.value.filter((item: any) => item.reply_status === '已回复').length
)
const wechatCount = computed(() =>
roleList.value.filter((item: any) => Boolean(item.wechat_exchanged)).length
const wechatCount = computed(
() => roleList.value.filter((item: any) => Boolean(item.wechat_exchanged)).length
)
function fetchData() {

View File

@@ -5,7 +5,7 @@
<div class="stats-top__desc">实时追踪打招呼回复微信交换Worker 与账号状态</div>
</div>
<div class="stats-grid" v-loading="statsLoading">
<div v-loading="statsLoading" class="stats-grid">
<el-card
v-for="card in statCards"
:key="card.key || card.label"