|
@@ -195,11 +195,12 @@
|
|
|
<template #default="scope">
|
|
|
<!-- 管理员修改-->
|
|
|
<el-button v-if=" (isAdmin)" text type="primary" @click="editForm(scope.row)">修改</el-button>
|
|
|
+ <el-button v-if=" (isAdmin)" text type="primary" @click="del(scope.row.id)">删除</el-button>
|
|
|
|
|
|
- <el-button v-if=" isBggdgly && '业务三部' == scope.row.officeName" text type="primary" @click="editForm(scope.row)">修改</el-button>
|
|
|
- <el-button v-if=" !isBggdgly && '业务三部' != scope.row.officeName" text type="primary" @click="editForm(scope.row)">修改</el-button>
|
|
|
- <el-button v-if=" isBggdgly && '业务三部' == scope.row.officeName" text type="primary" @click="del(scope.row.id)">删除</el-button>
|
|
|
- <el-button v-if=" !isBggdgly && '业务三部' != scope.row.officeName" text type="primary" @click="del(scope.row.id)">删除</el-button>
|
|
|
+ <el-button v-if=" isBggdgly && '业务三部' == scope.row.officeName && !isAdmin" text type="primary" @click="editForm(scope.row)">修改</el-button>
|
|
|
+ <el-button v-if=" !isBggdgly && '业务三部' != scope.row.officeName && !isAdmin" text type="primary" @click="editForm(scope.row)">修改</el-button>
|
|
|
+ <el-button v-if=" isBggdgly && '业务三部' == scope.row.officeName && !isAdmin" text type="primary" @click="del(scope.row.id)">删除</el-button>
|
|
|
+ <el-button v-if=" !isBggdgly && '业务三部' != scope.row.officeName && !isAdmin" text type="primary" @click="del(scope.row.id)">删除</el-button>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
</vxe-table>
|