Browse Source

证书管理

ZaiZai 1 year ago
parent
commit
64fea28aee

+ 2 - 2
src/views/authority/api.vue

@@ -78,10 +78,10 @@ const tableColumn = ref([
     { key: 'sort', name: '排序', width: 80, align: 'center' },
     { key: 'action', name: '操作', width: 90, align: 'center' },
 ])
-const tableData = ref([{}])
+const tableData = ref([])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/authority/data.vue

@@ -78,10 +78,10 @@ const tableColumn = ref([
     { key: 'sort', name: '排序', width: 80, align: 'center' },
     { key: 'action', name: '操作', width: 90, align: 'center' },
 ])
-const tableData = ref([{}])
+const tableData = ref([])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/authority/modules/api/auth.vue

@@ -157,10 +157,10 @@ const tableColumn = ref([
     { key: 'remark', name: '备注' },
     { key: 'action', name: '操作', width: 90, align: 'center' },
 ])
-const tableData = ref([{}])
+const tableData = ref([])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/authority/modules/data/auth.vue

@@ -175,10 +175,10 @@ const tableColumn = ref([
     { key: 'remark', name: '备注' },
     { key: 'action', name: '操作', width: 90, align: 'center' },
 ])
-const tableData = ref([{}])
+const tableData = ref([])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 1 - 1
src/views/authority/role.vue

@@ -116,7 +116,7 @@ const tableColumn = ref([
 const tableData = ref([])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 1 - 1
src/views/certificate/admin.vue

@@ -71,7 +71,7 @@ const tableColumn = ref([
 const tableData = ref([])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/certificate/list.vue

@@ -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

+ 2 - 2
src/views/resource/attach.vue

@@ -87,8 +87,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/resource/oss.vue

@@ -180,8 +180,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/resource/sms.vue

@@ -201,8 +201,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/system/app.vue

@@ -171,8 +171,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/system/client.vue

@@ -141,8 +141,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/system/dept.vue

@@ -157,8 +157,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/system/dict.vue

@@ -108,8 +108,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/system/dictbiz.vue

@@ -108,8 +108,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/system/menu-top.vue

@@ -94,8 +94,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/system/menu.vue

@@ -240,8 +240,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 1 - 1
src/views/system/modules/dict/dict.vue

@@ -137,7 +137,7 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []

+ 1 - 1
src/views/system/modules/dictbiz/dictbiz.vue

@@ -137,7 +137,7 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []

+ 1 - 1
src/views/system/modules/tenant/package-data.vue

@@ -87,7 +87,7 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []

+ 1 - 1
src/views/system/param.vue

@@ -82,7 +82,7 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const tableData = ref([{}])
 const getTableData = async () => {
     tableData.value = []

+ 1 - 1
src/views/system/post.vue

@@ -151,7 +151,7 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
+const tableLoading = ref(true)
 const tableData = ref([{}])
 const getTableData = async () => {
     tableData.value = []

+ 2 - 2
src/views/system/tenant.vue

@@ -161,8 +161,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true

+ 2 - 2
src/views/system/user.vue

@@ -40,8 +40,8 @@ const tableColumn = ref([
 ])
 
 //获取表格数据
-const tableLoading = ref(false)
-const tableData = ref([{}])
+const tableLoading = ref(true)
+const tableData = ref([])
 const getTableData = async () => {
     tableData.value = []
     tableLoading.value = true