稽查列表更改
parent
dc84d0e96f
commit
7f9080398a
|
|
@ -26,11 +26,19 @@
|
|||
<el-table v-if="refreshTable" v-adaptive="{ bottomOffset: 45 }" v-loading="loading" height="100" :data="menuList"
|
||||
:default-expand-all="isExpandAll" row-key="Id" :tree-props="{ children: 'Children', hasChildren: 'hasChildren' }">
|
||||
<!-- 模块 -->
|
||||
<el-table-column prop="ModuleTypeValueCN" :label="$t('audit:label:moduleType')" show-overflow-tooltip align="left" min-width="230px" />
|
||||
<el-table-column v-if="language === 'en'" prop="ModuleTypeValue" :label="$t('audit:label:moduleType')" show-overflow-tooltip align="left" min-width="230px">
|
||||
</el-table-column>
|
||||
<el-table-column v-else prop="ModuleTypeValueCN" :label="$t('audit:label:moduleType')" show-overflow-tooltip align="left" min-width="230px">
|
||||
</el-table-column>
|
||||
<!-- 操作名称 -->
|
||||
<el-table-column prop="Description" :label="$t('audit:label:desc')" :show-overflow-tooltip="true" min-width="200px">
|
||||
<el-table-column v-if="language === 'en'" prop="Description" :label="$t('audit:label:desc')" :show-overflow-tooltip="true" min-width="200px">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.DescriptionCN }}({{ scope.row.Description }})</span>
|
||||
<span>{{ scope.row.Description }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column v-else prop="DescriptionCN" :label="$t('audit:label:desc')" :show-overflow-tooltip="true" min-width="200px">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.DescriptionCN }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- 其他 -->
|
||||
|
|
@ -61,17 +69,20 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
<!-- 标识 -->
|
||||
<el-table-column prop="Identification" :label="$t('audit:label:identification')" :show-overflow-tooltip="true" min-width="200px" />
|
||||
<el-table-column prop="Identification" :label="$t('audit:label:identification')" :show-overflow-tooltip="true" min-width="120px" />
|
||||
<!-- 操作类型 -->
|
||||
<el-table-column prop="OptTypeValueCN" :label="$t('audit:label:optType')" show-overflow-tooltip width="100px" />
|
||||
<el-table-column v-if="language === 'en'" prop="OptTypeValue" :label="$t('audit:label:optType')" show-overflow-tooltip min-width="110px" />
|
||||
<el-table-column v-else prop="OptTypeValueCN" :label="$t('audit:label:optType')" show-overflow-tooltip min-width="110px" />
|
||||
<!-- 对象类型 -->
|
||||
<el-table-column prop="ObjectTypeValueCN" :label="$t('audit:label:objectType')" show-overflow-tooltip min-width="100px" />
|
||||
<el-table-column v-if="language === 'en'" prop="ObjectTypeValue" :label="$t('audit:label:objectType')" show-overflow-tooltip width="100px" />
|
||||
<el-table-column v-else prop="ObjectTypeValueCN" :label="$t('audit:label:objectType')" show-overflow-tooltip min-width="100px" />
|
||||
<!-- 数据类型 -->
|
||||
<el-table-column prop="ChildrenTypeValueCN" :label="$t('audit:label:dataType')" show-overflow-tooltip min-width="100px" />
|
||||
<el-table-column v-if="language === 'en'" prop="ChildrenTypeValue" :label="$t('audit:label:dataType')" show-overflow-tooltip min-width="100px" />
|
||||
<el-table-column v-else prop="ChildrenTypeValueCN" :label="$t('audit:label:dataType')" show-overflow-tooltip min-width="100px" />
|
||||
<!-- 显示顺序 -->
|
||||
<el-table-column prop="Sort" :label="$t('audit:label:sort')" min-width="80" show-overflow-tooltip />
|
||||
<el-table-column prop="Sort" :label="$t('audit:label:sort')" min-width="100" show-overflow-tooltip />
|
||||
<!-- 启用 -->
|
||||
<el-table-column :label="$t('audit:label:isEnable')" align="center" prop="CreateTime" min-width="80">
|
||||
<el-table-column :label="$t('audit:label:isEnable')" align="center" prop="CreateTime" min-width="90">
|
||||
<!-- 启用/禁用 -->
|
||||
<template slot-scope="scope">
|
||||
<!-- <el-tag v-if="scope.row.IsEnable" size="success">启用</el-tag>
|
||||
|
|
@ -81,7 +92,7 @@
|
|||
</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('common:action:action')" align="center" fixed="right" min-width="340" class-name="small-padding fixed-width">
|
||||
<el-table-column :label="$t('common:action:action')" align="center" fixed="right" min-width="200" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<!-- 上移 -->
|
||||
<el-button
|
||||
|
|
@ -659,7 +670,7 @@ import Treeselect from '@riophae/vue-treeselect'
|
|||
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
||||
import Sortable from 'sortablejs'
|
||||
import BaseModel from "@/components/BaseModel";
|
||||
|
||||
import { mapGetters } from 'vuex'
|
||||
export default {
|
||||
name: 'CheckConfig',
|
||||
dicts: ['OptType', 'ObjectType', 'ModuleType', 'ChildrenType'],
|
||||
|
|
@ -715,6 +726,9 @@ export default {
|
|||
this.getList();
|
||||
this.getDictionaryCodeList();
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['language'])
|
||||
},
|
||||
methods: {
|
||||
querySearch(queryString, cb) {
|
||||
var DictionaryCodeList = this.DictionaryCodeList;
|
||||
|
|
|
|||
Loading…
Reference in New Issue