|
@@ -6,13 +6,13 @@
|
|
|
<a-tab-pane :key="2" tab="硬件产品" />
|
|
|
<a-tab-pane :key="3" tab="软件产品" />
|
|
|
</a-tabs>
|
|
|
- <a-button style="position: absolute; right: 20px; top: 30px;" v-if="getCheckPerm('recruit-add')" @click="router.go(-1)"> 返回 </a-button>
|
|
|
+ <a-button style="position: absolute; right: 20px; top: 30px;" @click="router.go(-1)"> 返回 </a-button>
|
|
|
</template>
|
|
|
|
|
|
<div class="desc-wrap-BasicTable">
|
|
|
<BasicTable @register="registerTimeTable">
|
|
|
<template #toolbar>
|
|
|
- <a-button type="primary" v-if="getCheckPerm('recruit-add')" @click="openModal(true, {})">
|
|
|
+ <a-button type="primary" v-if="getCheckPerm('configuration-add')" @click="openModal(true, {})">
|
|
|
新增
|
|
|
</a-button>
|
|
|
</template>
|
|
@@ -23,12 +23,12 @@
|
|
|
{
|
|
|
label: '编辑',
|
|
|
//icon: 'icon-park-outline:door-handle',
|
|
|
- //ifShow: getCheckPerm('agent-deal') && record.state == 0,
|
|
|
+ ifShow: getCheckPerm('configuration-edit'),
|
|
|
onClick: handleEidt.bind(null, record),
|
|
|
},
|
|
|
{
|
|
|
label: '删除',
|
|
|
- ifShow: getCheckPerm('agent-deal') && record.isSystem == 0,
|
|
|
+ ifShow: getCheckPerm('configuration-del') && record.isSystem == 0,
|
|
|
color: 'error',
|
|
|
onClick: handleDelete.bind(null, record),
|
|
|
},
|