|
|
|
@ -41,12 +41,12 @@ |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-button |
|
|
|
|
link |
|
|
|
|
type="primary" |
|
|
|
|
:type="row.enrollStatic == '2' ? 'primary': 'warning' " |
|
|
|
|
size="small" |
|
|
|
|
@click="uploadZp(row.annualCompid, row.enrollStatic)" |
|
|
|
|
v-if="row.uploadWorkFlag != 'yes'" |
|
|
|
|
> |
|
|
|
|
上传作品 |
|
|
|
|
{{row.enrollStatic == '2' ? '上传作品' : '未审核'}} |
|
|
|
|
</el-button> |
|
|
|
|
<el-tag v-else>已上传作品</el-tag> |
|
|
|
|
</template> |
|
|
|
@ -172,7 +172,7 @@ const raceName = ref<any>('') |
|
|
|
|
const dialogVisible = ref(false) |
|
|
|
|
const annualCompid = ref('') |
|
|
|
|
const uploadZp = (id: any, staus: any) => { |
|
|
|
|
if (staus == 1) return ElMessage.warning('审核后方可上传作品') |
|
|
|
|
if (staus != 2) return ElMessage.warning('审核后方可上传作品') |
|
|
|
|
console.log(id) |
|
|
|
|
annualCompid.value = id |
|
|
|
|
dialogVisible.value = true |
|
|
|
|