Commit a3aa53d0 authored by 黄奎's avatar 黄奎

页面修改

parent 25426656
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
</template> </template>
<template v-slot:body-cell-StuName="props"> <template v-slot:body-cell-StuName="props">
<q-td :props="props"> <q-td :props="props">
<div class="text-blue cursor-pointer" @click="getStuRight(props.row)"> <div class="text-blue cursor-pointer" @click="getStuRight(props.row,1)">
{{ props.value }} {{ props.value }}
</div> </div>
</q-td> </q-td>
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
<template v-slot:body-cell-OrderCount="props"> <template v-slot:body-cell-OrderCount="props">
<q-td :props="props" v-if="props.row.OrderCount == 0" class="text-grey-4">未报名</q-td> <q-td :props="props" v-if="props.row.OrderCount == 0" class="text-grey-4">未报名</q-td>
<q-td :props="props" v-if="props.row.OrderCount > 0" class="bg-negative text-white"> <q-td :props="props" v-if="props.row.OrderCount > 0" class="bg-negative text-white" style="cursor:pointer;text-decoration:underline;" @click="getStuRight(props.row,3)">
已报名{{ props.row.OrderCount }}</q-td> 已报名{{ props.row.OrderCount }}</q-td>
</template> </template>
<template v-slot:body-cell-TeacherManager="props"> <template v-slot:body-cell-TeacherManager="props">
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
</q-table> </q-table>
<student-form v-if="isShowStuForm" :save-obj="stuOption" @close="closeStuForm" @success="refreshStuList"> <student-form v-if="isShowStuForm" :save-obj="stuOption" @close="closeStuForm" @success="refreshStuList">
</student-form> </student-form>
<studentRight-form v-if="isShowStuRight" :isJudgeTrans="isJudgeTrans" :BelongType="BelongType" :save-obj="stuOption" <studentRight-form v-if="isShowStuRight" :isJudgeTrans="isJudgeTrans" :BelongType="BelongType" :checkType="checkType" :save-obj="stuOption"
@close="closeStuForm" @success="refreshStuList" @reload="referDataHandler"> @close="closeStuForm" @success="refreshStuList" @reload="referDataHandler">
</studentRight-form> </studentRight-form>
<studentAdd-form v-if="isShowAdd" :save-obj="stuOption" @close="closeStuForm" @success="refreshStuList"> <studentAdd-form v-if="isShowAdd" :save-obj="stuOption" @close="closeStuForm" @success="refreshStuList">
...@@ -427,7 +427,8 @@ ...@@ -427,7 +427,8 @@
BelongType: 1, BelongType: 1,
pushMode: false, pushMode: false,
pushing: false, pushing: false,
assistListFormat: [] assistListFormat: [],
checkType:1,
}; };
}, },
watch: { watch: {
...@@ -597,10 +598,11 @@ ...@@ -597,10 +598,11 @@
this.isShowTransfer = false; this.isShowTransfer = false;
}, },
//点击学生姓名弹出 //点击学生姓名弹出
getStuRight(obj) { getStuRight(obj,type) {
if (obj) { if (obj) {
this.stuOption = obj; this.stuOption = obj;
this.BelongType = obj.BelongType; this.BelongType = obj.BelongType;
this.checkType=type;
} else { } else {
this.stuOption = null; this.stuOption = null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment