|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="main animate__animated animate__backInRight" v-loading="loading">
|
|
|
<custom-search-bar :fields="fields.filter((f) => f.isSearch)" v-model="searchForm" @search="search" @reset="toReset"></custom-search-bar>
|
|
|
- <custom-button-bar :fields="buttonFields" @add="toAdd"></custom-button-bar>
|
|
|
+ <!-- <custom-button-bar :fields="buttonFields" @add="toAdd"></custom-button-bar> -->
|
|
|
<custom-table :data="data" :fields="fields" @query="search" :total="total" :opera="opera" @edit="toEdit" @delete="toDelete" @export="toExport" :select="true">
|
|
|
<template #result="{ row }">
|
|
|
<el-icon v-if="row.result == '0'" :size="20" color="#67C23A"><SuccessFilled /></el-icon>
|
|
@@ -41,8 +41,8 @@ const fields = [
|
|
|
{ label: '操作详情', model: 'detail', type: 'textarea' }
|
|
|
]
|
|
|
const opera = [
|
|
|
- { label: t('common.update'), method: 'edit' },
|
|
|
- { label: t('common.delete'), method: 'delete', confirm: true, type: 'danger' }
|
|
|
+ // { label: t('common.update'), method: 'edit' },
|
|
|
+ // { label: t('common.delete'), method: 'delete', confirm: true, type: 'danger' }
|
|
|
]
|
|
|
const buttonFields = [
|
|
|
{ label: t('common.add'), method: 'add' },
|