|
@@ -10,7 +10,7 @@
|
|
|
<template #extra>
|
|
|
<el-button hc-btn type="primary" @click="addClick">新增</el-button>
|
|
|
</template>
|
|
|
- <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" :index-style="{ width: 60 }" is-new>
|
|
|
+ <hc-table :loading="tableLoading" :column="tableColumn" :datas="tableData" :index-style="{ width: 60 }" is-new>
|
|
|
<template #certificateType="{ row }">{{ row.certificateType === 1 ? '个人证书' : '企业证书' }}</template>
|
|
|
<template #isRegister="{ row }">
|
|
|
<el-link v-if="row.isRegister === 0" type="primary" @click="registerRowClick(row)">注册</el-link>
|
|
@@ -80,7 +80,7 @@ const tableColumn = ref([
|
|
|
const tableData = ref([])
|
|
|
|
|
|
//获取表格数据
|
|
|
-const tableLoading = ref(false)
|
|
|
+const tableLoading = ref(true)
|
|
|
const getTableData = async () => {
|
|
|
tableData.value = []
|
|
|
tableLoading.value = true
|