Commit 9fc779a6 by tangjiale

优化交互

parent 05032210
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
func: "joinCourseList", func: "joinCourseList",
selectable: false,customRow:true, selectable: false,customRow:true,
columns: [ columns: [
{title: "学生姓名",field: "bmStuName",width:'80px',}, {title: "学生姓名",field: "bmStuName",width:'90px',},
{ {
title: "性别",width:'60px', title: "性别",width:'60px',
type: 'customField', type: 'customField',
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-06-02 14:08:46 * @Date: 2022-06-02 14:08:46
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-27 11:20:28 * @LastEditTime: 2022-06-28 11:33:32
--> -->
<template> <template>
<div class="page-bg"> <div class="page-bg">
...@@ -79,10 +79,10 @@ export default { ...@@ -79,10 +79,10 @@ export default {
type: 'customField', type: 'customField',
fieldFunction: row => row.classHour + '课时', fieldFunction: row => row.classHour + '课时',
},{ },{
title: "课程价格", type: 'customField',width:'90px', title: "课程价格", type: 'customField',width:'80px',
fieldFunction: row => (row.cost / 100), fieldFunction: row => (row.cost / 100),
},{ },{
title: "课程类型", type: 'customField',width:'90px', title: "课程类型", type: 'customField',width:'80px',
fieldFunction: row => (row.type == 1 ?'正式课' : '体验课'), fieldFunction: row => (row.type == 1 ?'正式课' : '体验课'),
}, },
{ {
......
...@@ -61,24 +61,24 @@ export default { ...@@ -61,24 +61,24 @@ export default {
func: "queryExperList", func: "queryExperList",
selectable: false,customRow:true, selectable: false,customRow:true,
columns: [ columns: [
{title: "学生姓名",field: "bmStuName",width:'150px',}, {title: "学生姓名",field: "bmStuName",width:'90px',},
{ {
title: "性别",width:'100px', title: "性别",width:'60px',
type: 'customField', type: 'customField',
fieldFunction: row => row.bmGender==1 ? '男' : '女', fieldFunction: row => row.bmGender==1 ? '男' : '女',
}, },
{title: "年龄",field: "age",width:'100px',}, {title: "年龄",field: "age",width:'60px',},
{title: "手机号码",field: "bmPhone",width:'150px',}, {title: "手机号码",field: "bmPhone",width:'120px',},
{title: "课程名称",field: "name"}, {title: "课程名称",field: "name"},
{title: "所属校区",field: "shortName"}, {title: "所属校区",field: "shortName"},
{ {
title: "价格",width:'100px', title: "价格",width:'80px',
type: 'customField', type: 'customField',
fieldFunction: row => (row.cost / 100), fieldFunction: row => (row.cost / 100),
}, },
//报名状态(0:待确认报名,1:已确认报名,2:待取消报名,3:已取消报名) //报名状态(0:待确认报名,1:已确认报名,2:待取消报名,3:已取消报名)
{ {
title: "报名状态",width:'120px', title: "报名状态",width:'80px',
type: 'customField', type: 'customField',
fieldFunction: row => (orderState[row.orderStatus] || ''), fieldFunction: row => (orderState[row.orderStatus] || ''),
}, },
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-06-16 16:01:31 * @Date: 2022-06-16 16:01:31
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-28 09:58:00 * @LastEditTime: 2022-06-28 11:27:25
--> -->
<template> <template>
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
// height:(screen.height - (480 * this.$px2rem)), // height:(screen.height - (480 * this.$px2rem)),
columns:[ columns:[
{ {
title: "学生姓名",type:'customViewField',width:'80px', title: "学生姓名",type:'customViewField',width:'90px',
},{ },{
title: "性别",width:'60px', title: "性别",width:'60px',
type: 'customField', type: 'customField',
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-06-02 14:08:46 * @Date: 2022-06-02 14:08:46
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-27 10:53:22 * @LastEditTime: 2022-06-28 11:30:38
--> -->
<template> <template>
<div class="page-bg"> <div class="page-bg">
...@@ -51,9 +51,9 @@ export default { ...@@ -51,9 +51,9 @@ export default {
func: "queryStudentList", func: "queryStudentList",
selectable: false,customRow:true, selectable: false,customRow:true,
columns: [ columns: [
{title: "学生姓名",field: "name",width:'120px',}, {title: "学生姓名",field: "name",width:'90px',},
{ {
title: "性别",width:'100px', title: "性别",width:'60px',
type: 'customField', type: 'customField',
fieldFunction: row => row.gender == 1 ? '男' : '女', fieldFunction: row => row.gender == 1 ? '男' : '女',
}, },
...@@ -61,14 +61,14 @@ export default { ...@@ -61,14 +61,14 @@ export default {
title: "出生日期",type: 'customField',width: "120px", title: "出生日期",type: 'customField',width: "120px",
fieldFunction: row => row.birthday fieldFunction: row => row.birthday
}, },
{title: "爸爸手机号",field: "fatherPhone",width: "140px",}, {title: "爸爸手机号",field: "fatherPhone",width: "120px",},
{title: "妈妈手机号",field: "motherPhone",width: "140px",}, {title: "妈妈手机号",field: "motherPhone",width: "120px",},
{title: "其它人手机号",field: "otherPhone",width: "140px",}, {title: "其它人手机号",field: "otherPhone",width: "120px",},
{ {
title: "所在校区",type: 'customField', title: "所在校区",type: 'customField',
fieldFunction: row => (row.schoolList.map(e => e.name)).join(','), fieldFunction: row => (row.schoolList.map(e => e.name)).join(','),
}, },
{title: "就读学校",field: "readSchName"}, {title: "就读学校",field: "readSchName",width: "140px"},
{ {
title: "操作", title: "操作",
width: "160px",fixed:'right', width: "160px",fixed:'right',
......
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