|
|
@@ -6,7 +6,13 @@
|
|
|
key="istree"
|
|
|
ref="crud"
|
|
|
:data="listData"
|
|
|
- :toolbars="listConfig.toolbars"
|
|
|
+ :toolbars="
|
|
|
+ config
|
|
|
+ ? listConfig.toolbars.filter((obj) => {
|
|
|
+ return obj.key !== 'customSetting'
|
|
|
+ })
|
|
|
+ : listConfig.toolbars
|
|
|
+ "
|
|
|
:search-form="listConfig.searchForm"
|
|
|
:pk-key="pkKey"
|
|
|
:columns="listConfig.columns"
|
|
|
@@ -626,7 +632,12 @@ export default {
|
|
|
icon: 'ibps-icon-sign-in',
|
|
|
type: 'primary'
|
|
|
},
|
|
|
- // { key: 'customSetting', label: '岗位/分组配置', icon: 'ibps-icon-cogs', type: 'info' },
|
|
|
+ {
|
|
|
+ key: 'customSetting',
|
|
|
+ label: '岗位/分组配置',
|
|
|
+ icon: 'ibps-icon-cogs',
|
|
|
+ type: 'info'
|
|
|
+ },
|
|
|
{
|
|
|
key: 'customRemove',
|
|
|
label: '删除',
|
|
|
@@ -908,7 +919,8 @@ export default {
|
|
|
信息系统: '信息系统'
|
|
|
},
|
|
|
tagName: '',
|
|
|
- tagData: {}
|
|
|
+ tagData: {},
|
|
|
+ config: setting?.postJob?.allocation || false
|
|
|
}
|
|
|
},
|
|
|
async mounted() {
|