| | |
| | | <el-table-column label="操作" align="center"> |
| | | <template slot-scope="scope"> |
| | | <div style="display: flex;justify-content: center;"> |
| | | <el-button size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'UNPUBLISHED'" >确认发布</el-button> |
| | | <el-button size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'PUBLISHED'">取消发布</el-button> |
| | | <el-button v-hasPermi="['check:score:publish']" size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'UNPUBLISHED'" >确认发布</el-button> |
| | | <el-button v-hasPermi="['check:score:publish']" size="small" type="text" @click="handlePublish(scope.row)" v-if="scope.row.publish === 'PUBLISHED'">取消发布</el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | |
| | | }, |
| | | created() { |
| | | //考核成绩详情跳转参数接收 |
| | | console.log(this.$route.query.index) |
| | | if (this.$route.query.index) { |
| | | this.queryParams.deptId = this.$route.query.index |
| | | this.queryParamsList.deptId = this.$route.query.index |