修改上传作品状态控制

GST002_old
JayChou 3 months ago
parent 09be7b0592
commit 8cfec1d425
  1. 6
      src/views/userInfo/components/reacList.vue

@ -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

Loading…
Cancel
Save