代码逻辑检查
This commit is contained in:
@@ -104,4 +104,3 @@ onUnmounted(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss"></style>
|
<style scoped lang="scss"></style>
|
||||||
|
|
||||||
|
|||||||
@@ -128,7 +128,12 @@
|
|||||||
>
|
>
|
||||||
检查登录
|
检查登录
|
||||||
</el-button>
|
</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>
|
||||||
<el-button
|
<el-button
|
||||||
@@ -372,7 +377,7 @@ const refreshTaskList = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
fetchData()
|
// fetchData()
|
||||||
startTimer(() => {
|
startTimer(() => {
|
||||||
fetchData(true)
|
fetchData(true)
|
||||||
}, 15000)
|
}, 15000)
|
||||||
|
|||||||
@@ -26,7 +26,9 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="search-actions ops-actions">
|
<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-button :icon="Refresh" class="ops-btn" @click="handleResetQuery">重置</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -39,7 +41,9 @@
|
|||||||
<span class="summary-item summary-item--success">已回复 {{ repliedCount }} 人</span>
|
<span class="summary-item summary-item--success">已回复 {{ repliedCount }} 人</span>
|
||||||
<span class="summary-item summary-item--wechat">已交换微信 {{ wechatCount }} 人</span>
|
<span class="summary-item summary-item--wechat">已交换微信 {{ wechatCount }} 人</span>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
@@ -124,11 +128,11 @@ const queryParams = reactive<any>({
|
|||||||
|
|
||||||
const roleList = ref<any[]>([])
|
const roleList = ref<any[]>([])
|
||||||
const pageCount = computed(() => roleList.value.length)
|
const pageCount = computed(() => roleList.value.length)
|
||||||
const repliedCount = computed(() =>
|
const repliedCount = computed(
|
||||||
roleList.value.filter((item: any) => item.reply_status === '已回复').length
|
() => roleList.value.filter((item: any) => item.reply_status === '已回复').length
|
||||||
)
|
)
|
||||||
const wechatCount = computed(() =>
|
const wechatCount = computed(
|
||||||
roleList.value.filter((item: any) => Boolean(item.wechat_exchanged)).length
|
() => roleList.value.filter((item: any) => Boolean(item.wechat_exchanged)).length
|
||||||
)
|
)
|
||||||
|
|
||||||
function fetchData() {
|
function fetchData() {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="stats-top__desc">实时追踪打招呼、回复、微信交换、Worker 与账号状态</div>
|
<div class="stats-top__desc">实时追踪打招呼、回复、微信交换、Worker 与账号状态</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="stats-grid" v-loading="statsLoading">
|
<div v-loading="statsLoading" class="stats-grid">
|
||||||
<el-card
|
<el-card
|
||||||
v-for="card in statCards"
|
v-for="card in statCards"
|
||||||
:key="card.key || card.label"
|
:key="card.key || card.label"
|
||||||
|
|||||||
Reference in New Issue
Block a user