|
@@ -201,6 +201,12 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
|
|
computed:{
|
|
computed:{
|
|
hasVariety(){
|
|
hasVariety(){
|
|
return this.permissionBtn.isShowBtn('sandboxPermission','sandbox_variety')
|
|
return this.permissionBtn.isShowBtn('sandboxPermission','sandbox_variety')
|
|
|
|
+ },
|
|
|
|
+ classifyFormRules(){
|
|
|
|
+ return {
|
|
|
|
+ SandboxClassifyName:{required: true, message:this.$t('SandboxManage.SandList.catalog_name_placeholder')||'请输入目录名称', trigger: 'blur'},
|
|
|
|
+ ChartPermissionId:{required: true, message:this.$t('SandboxManage.SandList.catalog_variety_placeholder')||'请选择对应品种', trigger: 'change'}
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mixins:[mindmap],
|
|
mixins:[mindmap],
|
|
@@ -301,10 +307,6 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
|
|
ParentId:0,
|
|
ParentId:0,
|
|
Level:0
|
|
Level:0
|
|
},
|
|
},
|
|
- classifyFormRules:{
|
|
|
|
- SandboxClassifyName:{required: true, message:this.$t('SandboxManage.SandList.catalog_name_placeholder')||'请输入目录名称', trigger: 'blur'},
|
|
|
|
- ChartPermissionId:{required: true, message:this.$t('SandboxManage.SandList.catalog_variety_placeholder')||'请选择对应品种', trigger: 'change'}
|
|
|
|
- },
|
|
|
|
classifyProps: {
|
|
classifyProps: {
|
|
children: 'Child',
|
|
children: 'Child',
|
|
label: 'PermissionName',
|
|
label: 'PermissionName',
|