fix: 参数配置教师操作学生应用和退回
This commit is contained in:
@@ -440,14 +440,14 @@ onMounted(() => {
|
||||
@search="studentSearch"
|
||||
@change="fnActiveConfigNode('#')"
|
||||
>
|
||||
<template #option="{ value, label, status }">
|
||||
<template #option="{ value, label, applyStatus }">
|
||||
<span>{{ label }} </span>
|
||||
<a-tag
|
||||
v-if="status === '0'"
|
||||
v-if="applyStatus === '0'"
|
||||
color="processing"
|
||||
style="position: absolute; right: 0;}"
|
||||
>
|
||||
{{ status && '申请' }}
|
||||
{{ applyStatus && '申请' }}
|
||||
</a-tag>
|
||||
</template>
|
||||
</a-select>
|
||||
@@ -464,13 +464,13 @@ onMounted(() => {
|
||||
"
|
||||
>
|
||||
<a-button
|
||||
@click="ptConfigApply(treeState.neType, '2')"
|
||||
@click="ptConfigApply(treeState.neType, '2', classState.student)"
|
||||
:loading="ptConfigState.applyLoading"
|
||||
>
|
||||
应用
|
||||
</a-button>
|
||||
<a-button
|
||||
@click="ptConfigApply(treeState.neType, '3')"
|
||||
@click="ptConfigApply(treeState.neType, '3', classState.student)"
|
||||
:loading="ptConfigState.applyLoading"
|
||||
>
|
||||
退回
|
||||
|
||||
Reference in New Issue
Block a user