Commit c94e08fd by tangjiale

更新交互优化

parent e8d3f8c7
......@@ -74,7 +74,7 @@ export default {
//菜单列表
this.$service.base.getPermissions().then((res) => {
this.leftNav = res || [];
this.leftNav.unshift({menuName:'首页',menuUrl:'/'})
// this.leftNav.unshift({menuName:'首页',menuUrl:'/'})
});
},
updateRoute(item){
......
......@@ -63,7 +63,7 @@
this.$service.base.getUserInfo(this.myUserInfo.token).then(result =>{
this.$store.commit('updateUserInfo', result);
setTimeout(() =>{
location.href = '/pxsys/'
location.href = '/pxsys/studentManage'
},500)
})
})
......
......@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-02-11 16:53:37
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-02 14:25:18
* @LastEditTime: 2022-06-28 10:01:18
-->
<template>
<div class="customer">
......@@ -12,7 +12,7 @@
<!--左侧导航-->
<left-nav></left-nav>
<!--页面历史路由-->
<history-router></history-router>
<!-- <history-router></history-router> -->
<!--页面头部-->
<top-head></top-head>
</template>
......@@ -76,8 +76,8 @@
&-main{
padding: 0;
width: calc(100% - 264px);
min-height: calc(100vh - 112px);
margin: 112px 16px 32px 248px;
min-height: calc(100vh - 82px);
margin: 82px 16px 32px 248px;
}
}
</style>
......@@ -64,23 +64,23 @@ export default {
func: "joinCourseList",
selectable: false,customRow:true,
columns: [
{title: "学生姓名",field: "bmStuName",width:'150px',},
{title: "学生姓名",field: "bmStuName",width:'80px',},
{
title: "性别",width:'120px',
title: "性别",width:'60px',
type: 'customField',
fieldFunction: row => row.bmGender==1 ? '男' : '女',
},
{title: "联系方式",field: "bmPhone",width:'150px',},
{title: "联系方式",field: "bmPhone",width:'120px',},
{title: "课程名称",field: "name"},
{title: "所属校区",field: "shortName"},
{title: "所属校区",field: "shortName",width:'140px',},
//报名状态(0:待确认报名,1:已确认报名,2:待取消报名,3:已取消报名)
{
title: "报名状态",width:'120px',
title: "报名状态",width:'100px',
type: 'customField',
fieldFunction: row => (orderState[row.bmStatus] || ''),
},
{
title: "价格",width:'100px',
title: "价格",width:'80px',
type: 'customField',
fieldFunction: row => (row.cost / 100),
},
......
......@@ -72,7 +72,7 @@
this.$service.base.getUserInfo(res.token).then(result =>{
result.token = res.token
this.$store.commit('updateUserInfo', result);
this.$router.push('/');
this.$router.push('/studentManage');
})
})
},
......
......@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-06-16 16:01:31
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-27 11:08:28
* @LastEditTime: 2022-06-28 09:58:00
-->
<template>
......@@ -61,9 +61,9 @@ export default {
// height:(screen.height - (480 * this.$px2rem)),
columns:[
{
title: "学生姓名",type:'customViewField',width:'120px',
title: "学生姓名",type:'customViewField',width:'80px',
},{
title: "性别",width:'100px',
title: "性别",width:'60px',
type: 'customField',
fieldFunction: row => row.bmGender == 1 ? '男' : '女',
},{
......@@ -71,23 +71,25 @@ export default {
},{
title: "课程名称",field: "name"
},{
title: "课程类型", type: 'customField',width:'100px',
title: "课程类型", type: 'customField',width:'80px',
fieldFunction: row => (row.type == 1 ?'正式课' : '体验课'),
},{
title: "价格", type: 'customField',width:'120px',
title: "价格", type: 'customField',width:'80px',
fieldFunction: row => (row.cost / 100),
},{
title: "教练",type: 'customField',
fieldFunction: row => (row.pxEmployeeList.filter(v => v.empPosition == 'coach')).map(e => e.empName).join(','),
}
// {
// title: "班主任",type: 'customField',
// fieldFunction: row => (row.pxEmployeeList.filter(v => v.empPosition == 'manger')).map(e => e.empName).join(','),
// }
,{
title: "总课时",field: "totalKs",width:'80px',
},{
title: "班主任",type: 'customField',
fieldFunction: row => (row.pxEmployeeList.filter(v => v.empPosition == 'manger')).map(e => e.empName).join(','),
},{
title: "总课时",field: "totalKs",width:'100px',
},{
title: "剩余课时",field: "syKs",width:'100px',
title: "剩余课时",field: "syKs",width:'80px',
},{
title:'操作',width: "130px",type: "buttons",fixed:'right',
title:'操作',width: "110px",type: "buttons",fixed:'right',
buttons: [
{
name: "详情", type:'success',event: "detail",
......
......@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-02-11 15:54:33
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-10 11:28:53
* @LastEditTime: 2022-06-28 10:00:54
*/
import Vue from 'vue'
//配置对象
......@@ -19,7 +19,7 @@ export default {
//历史路由
historyRoute:[
{menuName:'首页',menuUrl:'/'}
{menuName:'学生管理',menuUrl:'/studentManage'}
],
}),
mutations: {
......
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