Commit a509d635 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/luochao/confucius into master

parents 8d7848c2 04488bdc
...@@ -175,7 +175,8 @@ ...@@ -175,7 +175,8 @@
</template> </template>
<template v-slot:body-cell-FinishTimesPlanCount="props"> <template v-slot:body-cell-FinishTimesPlanCount="props">
<q-td :props="props"> <q-td :props="props">
{{props.row.FinishTimes}} / {{props.row.FollowCount}} <span style="color:blue;cursor:pointer;" title="点击查看跟进详细信息" @click="GoToDetails(props.row)"> {{props.row.FinishTimes}} /
{{props.row.FollowCount}}</span>
</q-td> </q-td>
</template> </template>
<template v-slot:bottom-row> <template v-slot:bottom-row>
...@@ -471,6 +472,16 @@ ...@@ -471,6 +472,16 @@
this.getList(); this.getList();
}, },
methods: { methods: {
//跳转到跟进详情
GoToDetails(item) {
var lastDay = new Date(this.msg.YearStr, this.msg.MonthStr, 0).getDate()
var qObj = {
HeadTeacherId: item.AccountId,
StartTime: this.msg.YearStr + "-" + this.msg.MonthStr + "-01",
EndTime: this.msg.YearStr + "-" + this.msg.MonthStr + "-" + lastDay,
};
this.OpenNewUrl('/teacher/teacherTrack', qObj)
},
//初始化部门数据 //初始化部门数据
initDeptList() { initDeptList() {
var localStorageData = window.localStorage["loginUserInfo"]; var localStorageData = window.localStorage["loginUserInfo"];
......
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
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">
...@@ -256,7 +255,7 @@ ...@@ -256,7 +255,7 @@
<td> <td>
<span v-html="getTeacherManager(item)"></span> <span v-html="getTeacherManager(item)"></span>
</td> </td>
<td> <td>
<span>{{ item.ContractSTime }}</span> <span>{{ item.ContractSTime }}</span>
</td> </td>
...@@ -411,7 +410,6 @@ ...@@ -411,7 +410,6 @@
StuSourceId: '', StuSourceId: '',
StuPurpose: '', //学习目的 StuPurpose: '', //学习目的
HeadTeacherId: '', //老师 HeadTeacherId: '', //老师
}, },
//归属类型列表 //归属类型列表
BelongTypeList: [{ BelongTypeList: [{
...@@ -497,7 +495,19 @@ ...@@ -497,7 +495,19 @@
this.msg.IsQueryMyStu = 0 this.msg.IsQueryMyStu = 0
return return
} }
}) });
if (this.$route.query) {
if (this.$route.query.HeadTeacherId) {
this.msg.HeadTeacherId = parseInt(this.$route.query.HeadTeacherId)
}
if (this.$route.query.StartTime) {
this.dateArray.push(this.$route.query.StartTime);
}
if (this.$route.query.EndTime) {
this.dateArray.push(this.$route.query.EndTime);
}
}
}, },
computed: mapState({ computed: mapState({
//是否有下载权限 //是否有下载权限
...@@ -894,11 +904,9 @@ ...@@ -894,11 +904,9 @@
}, },
} }
} }
</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,
...@@ -925,5 +933,4 @@ ...@@ -925,5 +933,4 @@
.roatImg { .roatImg {
transform: rotate(180deg); transform: rotate(180deg);
} }
</style>
</style> \ No newline at end of file
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