zs 7 tháng trước cách đây
mục cha
commit
6336c59b45
2 tập tin đã thay đổi với 3 bổ sung6 xóa
  1. 1 1
      src/router/index.js
  2. 2 5
      src/views/information/parts/role/company.vue

+ 1 - 1
src/router/index.js

@@ -75,7 +75,7 @@ export const constantRoutes = [
       ...journal_routes,
       ...center_routes,
       ...exam_routes,
-      ...export_routes,
+      ...export_routes
     ]
   }
 ]

+ 2 - 5
src/views/information/parts/role/company.vue

@@ -7,7 +7,7 @@
         </el-select>
       </template>
     </custom-search-bar>
-    <custom-button-bar :fields="buttonFields" @export="toOpen"></custom-button-bar>
+    <custom-button-bar :fields="buttonFields"></custom-button-bar>
     <custom-table :data="data" :fields="fields" @query="search" :total="total" :opera="opera" @edit="toEdit" @exam="toExam">
       <template #status="{ row }">
         <el-tag v-if="row.status == '1'" type="success">{{ getDict(row.status, 'status') }}</el-tag>
@@ -80,7 +80,7 @@ const fields = [
   { label: t('pages.company.email'), model: 'email' },
   { label: t('pages.company.status'), model: 'status', isSearch: true, custom: true }
 ]
-const buttonFields = [{ label: t('common.export'), method: 'export' }]
+const buttonFields = []
 const opera = [
   { label: t('common.update'), method: 'edit', type: 'primary' },
   { label: t('common.exam'), method: 'exam', type: 'warning', display: (i) => i.status !== '1' }
@@ -135,9 +135,6 @@ const toClose = () => {
   form.value = {}
   dialog.value = { show: false }
 }
-const toOpen = () => {
-  dialog.value = { type: '3', show: true, title: t('pages.company.expertTitle') }
-}
 // 全选
 const handleCheckAllChange = (val) => {
   checkedExport.value = val ? formFields.value : []