|
@@ -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 : []
|