|
@@ -124,34 +124,38 @@
|
|
@click="handleAudit(scope.row,'details')"
|
|
@click="handleAudit(scope.row,'details')"
|
|
v-hasPermi="['teamMr:teamMr:details']"
|
|
v-hasPermi="['teamMr:teamMr:details']"
|
|
>详情</el-button>
|
|
>详情</el-button>
|
|
- <el-button
|
|
|
|
- size="mini"
|
|
|
|
- type="text"
|
|
|
|
- @click="handleAudit(scope.row,'Audit')"
|
|
|
|
- v-hasPermi="['teamMr:teamMr:audit']"
|
|
|
|
- v-if="scope.row.checkStatus == 0 && name!=scope.row.createBy"
|
|
|
|
- >审核</el-button>
|
|
|
|
- <el-button
|
|
|
|
- size="mini"
|
|
|
|
- type="text"
|
|
|
|
- @click="handleUpdate(scope.row)"
|
|
|
|
- v-hasPermi="['teamMr:teamMr:edit']"
|
|
|
|
- v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy"
|
|
|
|
- >编辑</el-button>
|
|
|
|
- <el-button
|
|
|
|
- size="mini"
|
|
|
|
- type="text"
|
|
|
|
- @click="handleUpdate(scope.row)"
|
|
|
|
- v-hasPermi="['teamMr:teamMr:edit']"
|
|
|
|
- v-if="scope.row.checkStatus == 2 && name==scope.row.createBy"
|
|
|
|
- >修改重新提交</el-button>
|
|
|
|
- <el-button
|
|
|
|
- size="mini"
|
|
|
|
- type="text"
|
|
|
|
- @click="handleDelete(scope.row,scope.index)"
|
|
|
|
- v-hasPermi="['teamMr:teamMr:delete']"
|
|
|
|
- v-if="(scope.row.checkStatus == 1 && name!=scope.row.createBy)||scope.row.checkStatus != 1"
|
|
|
|
- >删除</el-button>
|
|
|
|
|
|
+ <span v-hasPermi="['teamMr:teamMr:audit']" style="display: inline-block;margin-left: 10px;">
|
|
|
|
+ <el-button
|
|
|
|
+ size="mini"
|
|
|
|
+ type="text"
|
|
|
|
+ @click="handleAudit(scope.row,'Audit')"
|
|
|
|
+ v-if="scope.row.checkStatus == 0 && name!=scope.row.createBy"
|
|
|
|
+ >审核</el-button>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-hasPermi="['teamMr:teamMr:edit']" style="display: inline-block;margin-left: 10px;">
|
|
|
|
+ <el-button
|
|
|
|
+ size="mini"
|
|
|
|
+ type="text"
|
|
|
|
+ @click="handleUpdate(scope.row)"
|
|
|
|
+ v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy"
|
|
|
|
+ >编辑</el-button>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-hasPermi="['teamMr:teamMr:edit']" style="display: inline-block;margin-left: 10px;">
|
|
|
|
+ <el-button
|
|
|
|
+ size="mini"
|
|
|
|
+ type="text"
|
|
|
|
+ @click="handleUpdate(scope.row)"
|
|
|
|
+ v-if="scope.row.checkStatus == 2 && name==scope.row.createBy"
|
|
|
|
+ >修改重新提交</el-button>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-hasPermi="['teamMr:teamMr:delete']" style="display: inline-block;margin-left: 10px;">
|
|
|
|
+ <el-button
|
|
|
|
+ size="mini"
|
|
|
|
+ type="text"
|
|
|
|
+ @click="handleDelete(scope.row,scope.index)"
|
|
|
|
+ v-if="(scope.row.checkStatus == 1 && name!=scope.row.createBy)||scope.row.checkStatus != 1"
|
|
|
|
+ >删除</el-button>
|
|
|
|
+ </span>
|
|
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row,scope.index)">
|
|
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row,scope.index)">
|
|
<el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
|
|
<el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
|
|
<el-dropdown-menu slot="dropdown">
|
|
<el-dropdown-menu slot="dropdown">
|