[update] 标签管理增加新增是否显示字段
This commit is contained in:
@@ -26,6 +26,10 @@ module.exports = {
|
||||
documentLibraryModuleDisplay: '文档库模块展示',
|
||||
documentLibraryListDisplay: '文档库列表展示',
|
||||
selectWhetherDisplayList: '请选择是否文档库列表展示',
|
||||
isShowDetail: '详情页展示',
|
||||
isShowDetailMessage: '请选择是否详情页展示',
|
||||
isShowAddForm: '新增是否展示',
|
||||
isShowAddFormMessage: '请选择是否新增表单显示',
|
||||
search: '是否搜索',
|
||||
isSort: '是否排序',
|
||||
displayOtherModules: '其它模块展示',
|
||||
|
||||
@@ -29,6 +29,8 @@ module.exports = {
|
||||
selectWhetherDisplayList: '请选择是否文档库列表展示',
|
||||
isShowDetail: '详情页展示',
|
||||
isShowDetailMessage: '请选择是否详情页展示',
|
||||
isShowAddForm: '新增是否展示',
|
||||
isShowAddFormMessage: '请选择是否新增表单显示',
|
||||
search: '是否搜索',
|
||||
isSort: '是否排序',
|
||||
displayOtherModules: '其它模块展示',
|
||||
|
||||
@@ -127,6 +127,13 @@
|
||||
:placeholder="$t('system.tag.isShowDetailMessage')" />
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
<!--新增是否展示-->
|
||||
<a-col :span="24">
|
||||
<a-form-model-item :label="$t('system.tag.isShowAddForm')" prop="isShowFormCreate">
|
||||
<j-dict-select-tag type="list" v-model="form.isShowFormCreate" dictCode="yn"
|
||||
:placeholder="$t('system.tag.isShowAddFormMessage')" />
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
<!--展示区域-->
|
||||
<a-col :span="24">
|
||||
<a-form-model-item :label="$t('system.tag.showArea')" prop="showArea">
|
||||
@@ -156,12 +163,6 @@
|
||||
<template>
|
||||
<p class="tag-info">{{ $t('system.tag.displayOtherModules') }}</p>
|
||||
<a-divider dashed />
|
||||
<a-col :span="24">
|
||||
<a-form-model-item :label="$t('system.tag.regulationsListDisplay')" prop="isShowLawsList">
|
||||
<j-dict-select-tag type="list" v-model="form.isShowLawsList" dictCode="yn"
|
||||
:placeholder="$t('system.tag.selectDisplayListRegulations')" />
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
<!--搜索中心展示-->
|
||||
<a-col :span="24">
|
||||
<a-form-model-item :label="$t('system.tag.searchCenterDisplay')" prop="isShowSearch">
|
||||
@@ -272,6 +273,10 @@ export default {
|
||||
isShowForm: [
|
||||
{ required: true, message: this.$t('system.tag.isShowDetailMessage'), trigger: 'change' }
|
||||
],
|
||||
// 新增表单展示
|
||||
isShowFormCreate: [
|
||||
{ required: true, message: this.$t('system.tag.isShowAddFormMessage'), trigger: 'change' }
|
||||
],
|
||||
// 展示区域
|
||||
showArea: [
|
||||
{ required: true, message: this.$t('pleaseSelect') + this.$t('system.tag.showArea'), trigger: 'change' }
|
||||
@@ -319,7 +324,8 @@ export default {
|
||||
add () {
|
||||
this.edit({
|
||||
isModel: this.type, // 默认所属模块
|
||||
isShowForm: 1 // 默认在详情页展示
|
||||
isShowForm: 1, // 默认在详情页展示
|
||||
isShowFormCreate: 1 // 默认在新增表单展示
|
||||
})
|
||||
},
|
||||
edit (record) {
|
||||
|
||||
Reference in New Issue
Block a user