|
|
@@ -13,8 +13,8 @@ Page({
|
|
|
main: [
|
|
|
{ code: 'roleName', type: 'str', required: true, title: mixins.$t('roleName') },
|
|
|
{ code: 'remarks', type: 'textarea', title: mixins.$t('remarks') },
|
|
|
- { formMode: 'index',code:'roleFunList', idKey: 'roleId', placeholder: mixins.$t('notSet'), urlKey: 'selectFunctionalPermissions',chooseType:true, required: true, type: 'choose', title: mixins.$t('functionalPermissions') },
|
|
|
- { formMode: 'index', idKey: 'roleId', chooseType:true,placeholder: mixins.$t('notSet'), urlKey: 'selectSensitiveData', required: true, code:'roleSensitiveList', type: 'choose', title: mixins.$t('sensitiveData') }
|
|
|
+ { formMode: 'index',code:'roleFunList', idKey: 'roleId', placeholder: mixins.$t('notSet'), urlKey: 'selectFunctionalPermissions',chooseType:true, required: false, type: 'choose', title: mixins.$t('functionalPermissions') },
|
|
|
+ { formMode: 'index', idKey: 'roleId', chooseType:true,placeholder: mixins.$t('notSet'), urlKey: 'selectSensitiveData', required: false, code:'roleSensitiveList', type: 'choose', title: mixins.$t('sensitiveData') }
|
|
|
],
|
|
|
},
|
|
|
// 路由
|
|
|
@@ -238,8 +238,8 @@ Page({
|
|
|
{ code: 'roleCode', type: 'str', required: false, readonly: true, title: mixins.$t('roleCode') },
|
|
|
{ code: 'roleName', type: 'str', required: true, title: mixins.$t('roleName') },
|
|
|
{ code: 'remarks', type: 'textarea', title: mixins.$t('remarks') },
|
|
|
- { formMode: 'index',code:'roleFunList', idKey: 'roleId', placeholder: mixins.$t('notSet'), urlKey: 'selectFunctionalPermissions', required: true, type: 'choose', title: mixins.$t('functionalPermissions') },
|
|
|
- { formMode: 'index', idKey: 'roleId', placeholder: mixins.$t('notSet'), urlKey: 'selectSensitiveData', required: true, code:'roleSensitiveList', type: 'choose', title: mixins.$t('sensitiveData') }
|
|
|
+ { formMode: 'index',code:'roleFunList', idKey: 'roleId', placeholder: mixins.$t('notSet'), urlKey: 'selectFunctionalPermissions', required: false, type: 'choose', title: mixins.$t('functionalPermissions') },
|
|
|
+ { formMode: 'index', idKey: 'roleId', placeholder: mixins.$t('notSet'), urlKey: 'selectSensitiveData', required: false, code:'roleSensitiveList', type: 'choose', title: mixins.$t('sensitiveData') }
|
|
|
]
|
|
|
this.setData({
|
|
|
contentObj: contentObj
|