Commit b95f7742 authored by zhengke's avatar zhengke

修改

parent 7ee5d247
......@@ -28,6 +28,31 @@
height: 40px;
background-color: rgb(238, 238, 239);
}
.stulistNumber {
display: inline-block;
width: 25px;
height: 25px;
text-align: center;
line-height: 22px;
border: 1px solid #2961FE;
border-radius: 50%;
cursor: pointer;
color: #2961FE;
}
.OCourseTable {
width: 400px;
text-align: center;
}
.OCourseTable tr td {
height: 40px;
}
.OCourseTable tr th {
height: 40px;
background-color: rgb(238, 238, 239);
}
</style>
<template>
<div class="stuList">
......@@ -85,9 +110,46 @@
</div>
</q-td>
</template>
<template v-slot:body-cell-AdvisorWinRate="props">
<q-td :props="props">{{props.row.AdvisorWinRate}}%</q-td>
</template>
<template v-slot:body-cell-AdvisorList="props">
<q-td auto-width :props="props">
<template v-if="props.row.AdvisorList">
<template v-if="props.row.AdvisorList.length>0">
{{props.row.AdvisorList[0].AdvisorStatusName}}
<span class="stulistNumber">
{{props.row.AdvisorList.length}}
<q-popup-proxy>
<q-banner>
<table class="OCourseTable" style="border-collapse:collapse;">
<tr>
<th>跟进状态</th>
<th>跟进日期</th>
<th>跟进比例</th>
<th>跟进备注</th>
</tr>
<tr v-for="(sItem,sIndex) in props.row.AdvisorList" style="border-bottom:1px dashed #d1d1d1;" :key="sIndex">
<td>{{sItem.AdvisorStatusName}}</td>
<td>{{sItem.AdvisorDate}}</td>
<td>{{sItem.AdvisorRate}}</td>
<td>{{sItem.AdvisorRemark}}</td>
</tr>
</table>
</q-banner>
</q-popup-proxy>
</span>
</template>
<template v-if="props.row.AdvisorList.length==0">
</template>
</template>
</q-td>
</template>
<template v-slot:body-cell-CurseManager="props">
<q-td :props="props" v-html="getCurseManager(props.row)"></q-td>
</template>
<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="bg-negative text-white">
......@@ -261,6 +323,30 @@
field: "StuNeedsName",
align: "left"
},
{
name: "AdvisorExpectDate",
label: "期望达成协议日期",
field: "AdvisorExpectDate",
align: "left"
},
{
name: "AdvisorStatusName",
label: "目前状态",
field: "AdvisorStatusName",
align: "left"
},
{
name: "AdvisorWinRate",
label: "胜率",
field: "AdvisorWinRate",
align: "left"
},
{
name: "AdvisorList",
label: "跟踪记录",
field: "AdvisorList",
align: "left"
},
{
name: "StuProfession",
label: "职业",
......
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