|
|
@@ -17,6 +17,8 @@
|
|
|
tool-class="ele-toolbar-form"
|
|
|
:needPage="false"
|
|
|
row-key="id"
|
|
|
+ @columns-change="handleColumnChange"
|
|
|
+ :cache-key="cacheKeyUrl"
|
|
|
>
|
|
|
<template v-slot:toolbar v-if="type != 'view'">
|
|
|
<el-button type="primary" @click="fileEditOpen">本地上传</el-button>
|
|
|
@@ -86,8 +88,10 @@
|
|
|
import fileEdit from './file-edit.vue';
|
|
|
import browse from './browse.vue';
|
|
|
import { queryIds } from './api';
|
|
|
+ import tabMixins from '@/mixins/tableColumnsMixin';
|
|
|
|
|
|
export default {
|
|
|
+ mixins: [tabMixins],
|
|
|
components: { doc_template, fileEdit, browse },
|
|
|
|
|
|
data() {
|
|
|
@@ -97,6 +101,8 @@
|
|
|
showEditFlag: false,
|
|
|
tableList: [],
|
|
|
type: 'add',
|
|
|
+ cacheKeyUrl: 'eom-addDoc-main',
|
|
|
+ tabMixinsInit: false,
|
|
|
columns: [
|
|
|
{
|
|
|
label: '编码',
|