|
|
@ -2,7 +2,7 @@ |
|
|
|
<div> |
|
|
|
<!--工具栏--> |
|
|
|
<div class="head-container"> |
|
|
|
<crudOperation :permission="permission" crud-tag="file"> |
|
|
|
<crudOperation :permission="permission"> |
|
|
|
<template v-slot:rightButtonGroup> |
|
|
|
<div class="crud-opts-right"> |
|
|
|
<el-button size="mini" type="primary">装盒</el-button> |
|
|
@ -19,7 +19,7 @@ |
|
|
|
<span class="dialog-right-top" /> |
|
|
|
<span class="dialog-left-bottom" /> |
|
|
|
<div class="setting-dialog"> |
|
|
|
<el-form ref="form" :model="form" size="small" label-width="80px" crud-tag="file"> |
|
|
|
<el-form ref="form" :model="form" size="small" label-width="80px"> |
|
|
|
<!-- <el-form-item label="字典名称" prop="dicName"> |
|
|
|
<el-input v-model="form.dicName" style="width: 370px;" /> |
|
|
|
</el-form-item> |
|
|
@ -47,7 +47,7 @@ |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
<!--表格渲染--> |
|
|
|
<el-table ref="table" v-loading="crud.loading || getTableDisplayFieldsLoading" :data="crud.data" highlight-current-row style="width: 100%;" crud-tag="file" @selection-change="crud.selectionChangeHandler" @row-click="clickRowHandler"> |
|
|
|
<el-table ref="table" v-loading="crud.loading || getTableDisplayFieldsLoading" :data="crud.data" highlight-current-row style="width: 100%;" @selection-change="crud.selectionChangeHandler" @row-click="clickRowHandler"> |
|
|
|
<el-table-column type="selection" width="55" align="center" /> |
|
|
|
<el-table-column type="index" label="序号" width="55" align="center" /> |
|
|
|
<!-- :align="field.isDisplayAlign" :width="field.isDisplayWidth" --> |
|
|
@ -73,8 +73,6 @@ export default { |
|
|
|
cruds() { |
|
|
|
return [ |
|
|
|
CRUD({ |
|
|
|
debugger: true, |
|
|
|
tag: 'file', |
|
|
|
title: '档案', |
|
|
|
url: 'api/archives/initArchivesView', |
|
|
|
query: { categoryId: 'FFAFBB1647D459C82080A', isdel: false }, |
|
|
@ -124,7 +122,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
beforeCrudRefresh$file() { |
|
|
|
beforeCrudRefresh() { |
|
|
|
this.getTableDisplayFieldsLoading = true |
|
|
|
// 请求数据 |
|
|
|
getTableDisplayFields({ categoryId: 'FFAFBB1647D459C82080A' }).then(data => { |
|
|
|