|
|
|
|
@ -94,7 +94,7 @@
|
|
|
|
|
</div> |
|
|
|
|
</el-form> |
|
|
|
|
</header> |
|
|
|
|
<main> |
|
|
|
|
<main v-loading="loading"> |
|
|
|
|
<div class="table-container"> |
|
|
|
|
<el-table :data="form" style="width: 100%" stripe ref="tableRef" |
|
|
|
|
@selection-change="handleSelectionChange" :row-key="rowKey"> |
|
|
|
|
@ -202,6 +202,7 @@ import { getToken } from '@/utils/auth'
|
|
|
|
|
import axios from 'axios' |
|
|
|
|
|
|
|
|
|
const rowKey = "id"; |
|
|
|
|
const loading = ref(false) |
|
|
|
|
|
|
|
|
|
const tableRef = ref<InstanceType<typeof ElTable>>(); |
|
|
|
|
const mailStore = useMailStore(); |
|
|
|
|
@ -302,6 +303,7 @@ const handleCurrentChange = (page: any) => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function getList() { |
|
|
|
|
loading.value = true |
|
|
|
|
let source = "" |
|
|
|
|
if (query.value.mailLabels) { |
|
|
|
|
let strLabels = "" |
|
|
|
|
@ -320,6 +322,7 @@ function getList() {
|
|
|
|
|
totalSize.total = data.total; |
|
|
|
|
totalSize.pages = data.pages; |
|
|
|
|
query.value.mailLabels = source |
|
|
|
|
loading.value = false |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|