| | |
| | | <el-button type="text" style="margin-right: 10px;" v-if="row.status == 2 && [1, 2].includes(roleType)" |
| | | @click="handleEvaluate(row)">评定</el-button> |
| | | <el-button type="text" style="margin-right: 10px;" v-if="row.status != 1 || roleType == 3" @click="viewDetail(row)">详情</el-button> |
| | | <el-button type="text" style="margin-right: 10px;" v-if="roleType == 3 && row.status == 4 || isDraft" |
| | | <el-button type="text" style="margin-right: 10px;" v-if="roleType == 1 || (roleType == 3 && (row.status == 4 || isDraft))" |
| | | @click="handleDetail(row)">编辑</el-button> |
| | | <el-button type="text" style="margin-right: 10px;" v-if="roleType == 3 && isDraft" @click="handleDelete(row)">删除</el-button> |
| | | <el-button type="text" style="margin-right: 10px;" v-if="roleType == 1 || (roleType == 3 && isDraft)" @click="handleDelete(row)">删除</el-button> |
| | | <el-button type="text" v-if="row.status == 1 && roleType == 3&&!isDraft" |
| | | @click="handleRevoke(row)">撤销审批</el-button> |
| | | </template> |
| | |
| | | }, |
| | | mounted() { |
| | | this.getLists() |
| | | },activated() { |
| | | }, |
| | | activated() { |
| | | this.getLists() |
| | | }, |
| | | methods: { |