Commit dbeeb58b authored by 黄奎's avatar 黄奎

页面修改

parent d4b78b0b
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
cursor: pointer; cursor: pointer;
color: #2961FE; color: #2961FE;
} }
</style> </style>
<template> <template>
<div class="stufollowlist"> <div class="stufollowlist">
...@@ -66,77 +67,88 @@ ...@@ -66,77 +67,88 @@
<table class="po_content singeRowTable" ref="table" style="border:1px solid #E6E6E6;" cellspacing="0" <table class="po_content singeRowTable" ref="table" style="border:1px solid #E6E6E6;" cellspacing="0"
cellpadding="0" v-loading="loading"> cellpadding="0" v-loading="loading">
<tr> <tr>
<th width="120" style="min-width: 110px;z-index: 999;">学生</th> <th width="120" style="min-width: 110px;z-index: 999;">学生</th>
<th width="120" style="min-width: 110px;">报名日期</th> <th width="120" style="min-width: 110px;">报名日期</th>
<th width="120" style="min-width: 110px;">职业</th> <th width="120" style="min-width: 110px;">职业</th>
<th width="80" style="min-width: 80px;">目的</th> <th width="80" style="min-width: 80px;">目的</th>
<th width="100" style="min-width: 100px;">班主任</th> <th width="100" style="min-width: 100px;">班主任</th>
<th width="200" style="min-width: 200px;">课程名称</th> <th width="200" style="min-width: 200px;">课程名称</th>
<th width="80" style="min-width: 80px;">初报级别</th> <th width="80" style="min-width: 80px;">初报级别</th>
<th width="80" style="min-width: 80px;">金额</th> <th width="80" style="min-width: 80px;">金额</th>
<th width="200" style="min-width: 80px;">基本情况</th> <th width="200" style="min-width: 80px;">基本情况</th>
<th width="200" style="min-width: 200px;">续费课程</th> <th width="200" style="min-width: 200px;">续费课程</th>
<th width="80" style="min-width: 80px;" >续费级别</th> <th width="80" style="min-width: 80px;">续费级别</th>
<th width="80" style="min-width: 80px;">续费金额</th> <th width="80" style="min-width: 80px;">续费金额</th>
<th width="100" style="min-width: 100px;">负责人</th> <th width="100" style="min-width: 100px;">负责人</th>
</tr> </tr>
<template v-if='dataObj&&dataObj.RList && dataObj.RList.length>0'> <template v-if='dataObj&&dataObj.RList && dataObj.RList.length>0'>
<tr v-for=" ( item , index ) in dataObj.RList " :key="index"> <tr v-for=" ( item , index ) in dataObj.RList " :key="index">
<td style=" border: 1px solid #d2d2d2;"> <td style=" border: 1px solid #d2d2d2;">
<div class="text-blue cursor-pointer" @click="getStuRight(item)"> <div class="text-blue cursor-pointer" @click="getStuRight(item)">
{{item.StuName }} {{item.StuName }}
</div> </div>
</td> </td>
<td> <td>
<span>{{ item.CreateTime }}</span> {{ item.CreateTime }}
</td> </td>
<td> <td>
<span >{{item.StuProfession}}</span> {{item.StuProfession}}
</td> </td>
<td> <td>
<span>{{ item.StuPurposeName }}</span> {{ item.StuPurposeName }}
</td> </td>
<td> <td>
<span v-html="getTeacherManager(item)"></span> <span v-html="getTeacherManager(item)"></span>
</td> </td>
<td> <td>
<span>{{ item.CourseName }}</span> {{ item.CourseName }}
</td>
<td>
{{ item.CourseRateName?item.CourseRateName:'-' }}
</td> </td>
<td> <td>
<span>{{ item.CourseRateName?item.CourseRateName:'-' }}</span> {{ item.PreferPrice }}
</td> </td>
<td> <td>
<span>{{ item.PreferPrice }}</span> <template v-if="item.FollowList&&item.FollowList.length>0">
<template v-for="(sItem,fIndex) in item.FollowList">
<template v-if="fIndex<=1">
<div style="border-bottom:1px dashed #d1d1d1;text-align:left;padding:5px 5px;" :key="fIndex+10000">
<font style="font-weight:bold;">{{sItem.CreateTime}}</font>{{sItem.Remark}}
</div>
</template>
<template v-else>
<div style="border-bottom:1px dashed #d1d1d1;text-align:left;padding:5px 5px;" :key="fIndex+20000"
v-if="item.IsShowFollowAll">
<font style="font-weight:bold;">{{sItem.CreateTime}}</font>{{sItem.Remark}}
</div>
</template>
</template>
<a style="color:blue;cursor:pointer;" v-if="item.FollowList.length>2"
@click="item.IsShowFollowAll=!item.IsShowFollowAll">{{!item.IsShowFollowAll?"展开":"收起"}}</a>
</template>
</td> </td>
<td >
<div v-if="item.FollowList&&item.FollowList.length>0" v-for="(sItem,sIndex) in item.FollowList" style="border-bottom:1px dashed #d1d1d1;"
:key="sIndex">
<div> <div v-html="sItem.Remark"></div> <span>{{sItem.CreateTime}}</span></div>
</div>
</td>
<td> <td>
<div v-for="(sItem,sIndex) in item.RenewOrderList" style="border-bottom:1px dashed #d1d1d1;" <div v-for="(sItem,sIndex) in item.RenewOrderList" style="border-bottom:1px dashed #d1d1d1;"
:key="sIndex"> :key="sIndex+30000">
<span>{{sItem.CourseName}}</span> <span>{{sItem.CourseName}}</span>
</div> </div>
</td> </td>
<td> <td>
<div v-for="(sItem,sIndex) in item.RenewOrderList" style="border-bottom:1px dashed #d1d1d1;" <div v-for="(sItem,sIndex) in item.RenewOrderList" style="border-bottom:1px dashed #d1d1d1;"
:key="sIndex"> :key="sIndex+40000">
<span>{{ sItem.CourseRateName?sItem.CourseRateName:'-' }}</span> <span>{{ sItem.CourseRateName?sItem.CourseRateName:'-' }}</span>
</div> </div>
</td> </td>
<td> <td>
<div v-for="(sItem,sIndex) in item.RenewOrderList" style="border-bottom:1px dashed #d1d1d1;" <div v-for="(sItem,sIndex) in item.RenewOrderList" style="border-bottom:1px dashed #d1d1d1;"
:key="sIndex"> :key="sIndex+50000">
<span>{{sItem.PreferPrice}}</span> <span>{{sItem.PreferPrice}}</span>
</div> </div>
</td> </td>
<td> <td>
<span>{{ item.CreateByName?item.CreateByName:'-' }}</span> {{ item.CreateByName?item.CreateByName:'-' }}
</td> </td>
</tr> </tr>
</template> </template>
</table> </table>
...@@ -206,22 +218,11 @@ ...@@ -206,22 +218,11 @@
} }
}, },
methods: { methods: {
//刷新表格 //刷新表格
refreshTable() { refreshTable() {
this.$emit("success"); this.$emit("success");
}, },
getCurseManager(row) {
let managerName = "<span class='text-grey-4'>暂未推送</span>";
if (row.AssistList && row.AssistList.length > 0) {
row.AssistList.forEach(y => {
if (y.AssistType == 2) {
managerName = `<span class='text-dark'>${y.AssistName}</span>`;
}
});
}
return managerName;
},
getTeacherManager(row) { getTeacherManager(row) {
let managerName = "<span class='text-grey-4'>暂无</span>"; let managerName = "<span class='text-grey-4'>暂无</span>";
if (row.AssistList && row.AssistList.length > 0) { if (row.AssistList && row.AssistList.length > 0) {
...@@ -233,25 +234,6 @@ ...@@ -233,25 +234,6 @@
} }
return managerName; return managerName;
}, },
lookgengduo(obj, time) { //跟进备注
//计算时间 月底日期
let Month = time.split('-')[0] + '-' + time.split('-')[1] + '-01'
let date = new Date(Month);
let currentMonth = date.getMonth();
let nextMonth = ++currentMonth;
let nextMonthFirstDay = new Date(date.getFullYear(), nextMonth, 1);
let oneDay = 1000 * 60 * 60 * 24;
let endDate = new Date(nextMonthFirstDay - oneDay)
let endMonth = time.split('-')[0] + '-' + time.split('-')[1] + '-' + endDate.getDate()
if (obj) {
this.stuOption = obj;
this.stuOption.STime = Month;
this.stuOption.ETime = endMonth;
this.BelongType = obj.BelongType;
}
this.isShowStuFU = true;
},
//点击学生姓名弹出 //点击学生姓名弹出
getStuRight(obj) { getStuRight(obj) {
if (obj) { if (obj) {
...@@ -265,18 +247,7 @@ ...@@ -265,18 +247,7 @@
this.isShowStuRight = false; this.isShowStuRight = false;
this.isShowStuFU = false this.isShowStuFU = false
}, },
getxuyue(index) {
let obj = {
IntroductionNum: 0,
RenewNum: 0
};
this.dataObj.MonthList.forEach(x => {
if (x.MonthNum == index + 1) {
obj = x
}
})
return obj
},
} }
}; };
</script>
\ No newline at end of file </script>
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
height: 40px; height: 40px;
background-color: rgb(238, 238, 239); background-color: rgb(238, 238, 239);
} }
</style> </style>
<template> <template>
<div class="page-body studentTracking"> <div class="page-body studentTracking">
...@@ -280,7 +281,7 @@ ...@@ -280,7 +281,7 @@
StuSourceId: '', StuSourceId: '',
StuPurpose: '', //学习目的 StuPurpose: '', //学习目的
HeadTeacherId: '', //老师 HeadTeacherId: '', //老师
QueryTpye: 2,//老师查询 QueryTpye: 2, //老师查询
AdvisorStatus: "", //当前状态 AdvisorStatus: "", //当前状态
}, },
loading: false, loading: false,
...@@ -614,10 +615,9 @@ ...@@ -614,10 +615,9 @@
GetStudentFollowUpPageNewList(msg).then(res => { GetStudentFollowUpPageNewList(msg).then(res => {
this.loading = false; this.loading = false;
this.RListlength = res.Data.PageData && res.Data.PageData.MaxMonth ? res.Data.PageData.MaxMonth : 1; this.RListlength = res.Data.PageData && res.Data.PageData.MaxMonth ? res.Data.PageData.MaxMonth : 1;
var pageData = res.Data.PageData;
this.dataList = res.Data.PageData; this.dataList = pageData;
this.PageCount = res.Data.PageCount; this.PageCount = res.Data.PageCount;
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false;
...@@ -649,9 +649,11 @@ ...@@ -649,9 +649,11 @@
}, },
} }
} }
</script> </script>
<style lang="sass"> <style lang="sass">
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
</style> </style>
<style scoped> <style scoped>
/deep/.el-input__inner, /deep/.el-input__inner,
...@@ -678,4 +680,5 @@ ...@@ -678,4 +680,5 @@
.roatImg { .roatImg {
transform: rotate(180deg); transform: rotate(180deg);
} }
</style>
\ No newline at end of file </style>
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