|
@@ -124,35 +124,39 @@
|
|
|
@click="handleAudit(scope.row,'details')"
|
|
|
v-hasPermi="['teamMr:teamMr:details']"
|
|
|
>详情</el-button>
|
|
|
- <span v-hasPermi="['teamMr:teamMr:audit']" style="display: inline-block;margin-left: 10px;">
|
|
|
+ <span v-hasPermi="['teamMr:teamMr:audit']" style="display: inline-block;">
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
@click="handleAudit(scope.row,'Audit')"
|
|
|
+ style="margin-left: 10px;"
|
|
|
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;">
|
|
|
+ <span v-hasPermi="['teamMr:teamMr:edit']" style="display: inline-block;">
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
+ style="margin-left: 10px;"
|
|
|
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;">
|
|
|
+ <span v-hasPermi="['teamMr:teamMr:edit']" style="display: inline-block;">
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
+ style="margin-left: 10px;"
|
|
|
@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;">
|
|
|
+ <span v-hasPermi="['teamMr:teamMr:delete']" style="display: inline-block;">
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
@click="handleDelete(scope.row,scope.index)"
|
|
|
+ style="margin-left: 10px;"
|
|
|
v-if="(scope.row.checkStatus == 1 && name!=scope.row.createBy)||scope.row.checkStatus != 1"
|
|
|
>删除</el-button>
|
|
|
</span>
|