|
@@ -1,6 +1,12 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <a-modal class="modalBox" title="设置考评指标" v-model="isshow" @cancle="cancel" :width="'60%'">
|
|
|
+ <a-modal
|
|
|
+ class="modalBox"
|
|
|
+ :footer="null"
|
|
|
+ title="设置考评指标"
|
|
|
+ v-model="isshow"
|
|
|
+ @cancle="cancel"
|
|
|
+ :width="'60%'">
|
|
|
<a-row :gutter="24" class="header">
|
|
|
<span>请给考评项目为【{{ itemName }}】设置考评指标</span>
|
|
|
<a-button v-hasPermission="'B_target_add'" id="setEvaItemModal-add" type="primary" @click="openModal">新增</a-button>
|
|
@@ -16,8 +22,8 @@
|
|
|
<!-- 操作 -->
|
|
|
<template slot="action" slot-scope="text, record">
|
|
|
<a-icon v-hasPermission="'B_target_edit'" id="setEvaItemModal-edit" type="edit" class="actionBtn blue" @click="openModal(record)" />
|
|
|
- <a-icon v-hasPermission="'assess_target_delete'" id="setEvaItemModal-delete" type="delete" class="actionBtn red" @click="delect(record)" />
|
|
|
- <span v-if="!$hasPermissions('B_target_edit') && !$hasPermissions('assess_target_delete')">-</span>
|
|
|
+ <a-icon v-hasPermission="'B_target_del'" id="setEvaItemModal-delete" type="delete" class="actionBtn red" @click="delect(record)" />
|
|
|
+ <span v-if="!$hasPermissions('B_target_edit') && !$hasPermissions('B_target_del')">-</span>
|
|
|
</template>
|
|
|
</a-table>
|
|
|
<!-- 新增/编辑 弹窗 -->
|