mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 06:16:46 +08:00
feat: 添加分数更新功能
This commit is contained in:
@@ -240,8 +240,16 @@
|
||||
@click="auditStatus(2, record.id)"
|
||||
type="link"
|
||||
>拒绝
|
||||
</a-button
|
||||
>
|
||||
</a-button>
|
||||
<a-button
|
||||
v-if="checkPer(permissions)"
|
||||
:disabled="record.isLeader === '1'"
|
||||
@click="handleUpdateScore(record.id, record)"
|
||||
type="link"
|
||||
class="mr-10"
|
||||
info
|
||||
>更新
|
||||
</a-button>
|
||||
<a-button
|
||||
v-if="checkPer(permissions)"
|
||||
:disabled="record.isLeader === '1'"
|
||||
@@ -249,8 +257,7 @@
|
||||
type="link"
|
||||
danger
|
||||
>删除
|
||||
</a-button
|
||||
>
|
||||
</a-button>
|
||||
</a-space>
|
||||
</template>
|
||||
</a-table>
|
||||
@@ -400,7 +407,7 @@
|
||||
</template>
|
||||
<script setup lang="jsx">
|
||||
import {computed, defineProps, onMounted, ref, watch} from "vue";
|
||||
import {delStudentList, getStuPage, batchUpdateStatus, auditStudentBatch} from "@/api/index1";
|
||||
import {delStudentList, getStuPage, batchUpdateStatus, auditStudentBatch, updateScore} from "@/api/index1";
|
||||
import ChangeGroupModal from "@/components/student/ChangeGroupModal.vue";
|
||||
import CommonStudent from "@/components/student/CommonStudent";
|
||||
import ChangeLevelModal from "./ChangeLevelModal.vue";
|
||||
@@ -955,8 +962,6 @@ function startLoading() {
|
||||
|
||||
/**
|
||||
* 更新列表分数详情
|
||||
* @param id {string}
|
||||
* @param record {Object|undefined}
|
||||
*/
|
||||
function handleUpdateScore(){
|
||||
const pid = props.id
|
||||
|
||||
Reference in New Issue
Block a user