|
|
@@ -52,27 +52,27 @@
|
|
|
v-hasPermi="['core:plan:add']">新增
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
- <el-col :span="1.5">
|
|
|
- <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
|
|
|
- v-hasPermi="['core:plan:edit']">修改
|
|
|
- </el-button>
|
|
|
- </el-col>
|
|
|
- <el-col :span="1.5">
|
|
|
- <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
|
|
- v-hasPermi="['core:plan:remove']">删除
|
|
|
- </el-button>
|
|
|
- </el-col>
|
|
|
- <!-- <el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="warning"
|
|
|
- plain
|
|
|
- icon="el-icon-download"
|
|
|
- size="mini"
|
|
|
- @click="handleExport"
|
|
|
- v-hasPermi="['core:plan:export']"
|
|
|
- >导出
|
|
|
- </el-button>
|
|
|
- </el-col>-->
|
|
|
+ <!-- <el-col :span="1.5">
|
|
|
+ <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
|
|
|
+ v-hasPermi="['core:plan:edit']">修改
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
|
|
+ v-hasPermi="['core:plan:remove']">删除
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="warning"
|
|
|
+ plain
|
|
|
+ icon="el-icon-download"
|
|
|
+ size="mini"
|
|
|
+ @click="handleExport"
|
|
|
+ v-hasPermi="['core:plan:export']"
|
|
|
+ >导出
|
|
|
+ </el-button>
|
|
|
+ </el-col>-->
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
</el-row>
|
|
|
|
|
|
@@ -404,7 +404,7 @@ export default {
|
|
|
},
|
|
|
//所属机构为当前用户登录机构时才显示 “编辑、删除”按钮
|
|
|
checkCanEdit(row) {
|
|
|
- return row.belongOrgId === this.$store.getters.orgId
|
|
|
+ return row.belongOrgId == this.$store.getters.orgId
|
|
|
},
|
|
|
checkCanDel(row) {
|
|
|
//计划创建机构为当前机构且不是顶级机构创建的计划才显示“删除”按钮
|