优化aitable

This commit is contained in:
aixianling
2023-01-09 09:36:10 +08:00
parent 275461a474
commit b576a61551
88 changed files with 203 additions and 246 deletions

View File

@@ -33,7 +33,7 @@
style="margin-top: 6px;"
:current.sync="search.current"
:size.sync="search.size"
@getList="getList">
@getList="getList" :dict="dict">
<el-table-column slot="options" width="160px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }">
<div class="table-options">
@@ -88,7 +88,7 @@ export default {
{prop: 'name', label: '模板名称'},
{prop: 'createUserName', align: 'center', label: '创建人'},
{prop: 'description', align: 'center', label: '描述'},
{prop: 'status', align: 'center', label: '状态', formart: v => this.dict.getLabel('cwpStatus', v)},
{prop: 'status', align: 'center', label: '状态', dict:"cwpStatus"},
{prop: 'createTime', align: 'center', label: '创建时间'}
],
tableData: [],

View File

@@ -210,7 +210,7 @@ export default {
{prop: 'appName', label: '应用名'},
{prop: 'appTableName', align: 'center', label: '表名'},
{prop: 'description', align: 'center', label: '描述'},
{prop: 'type', align: 'center', label: '类型', formart: v => v === '0' ? '村微应用' : 'sql语句'},
{prop: 'type', align: 'center', label: '类型', format: v => v === '0' ? '村微应用' : 'sql语句'},
{prop: 'createUserName', align: 'center', label: '创建人'},
{prop: 'createTime', align: 'center', label: '创建时间'}
],