Commit 9476b139 by tangjiale

更新代码

parent 379095fa
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-02-11 15:07:57 * @Date: 2022-02-11 15:07:57
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-09 15:31:52 * @LastEditTime: 2022-06-24 10:13:12
*/ */
const envMap = { const envMap = {
'dev': { 'dev': {
...@@ -76,11 +76,11 @@ module.exports = { ...@@ -76,11 +76,11 @@ module.exports = {
build: { build: {
transpile: [ /^element-ui/ ], transpile: [ /^element-ui/ ],
postcss: [ postcss: [
require('postcss-px2rem')({ // require('postcss-px2rem')({
remUnit: 75, // remUnit: 75,
remPrecision: 8 // remPrecision: 8
}), // }),
require('autoprefixer') // require('autoprefixer')
], ],
extend (config, ctx) { extend (config, ctx) {
} }
......
...@@ -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-24 09:52:32 * @LastEditTime: 2022-06-24 10:17:43
--> -->
<template> <template>
<div class="page-bg"> <div class="page-bg">
...@@ -61,32 +61,33 @@ export default { ...@@ -61,32 +61,33 @@ export default {
}, },
], ],
table: { table: {
service: "course", height:(screen.height - (482 * this.$px2rem)), service: "course",
// height:(screen.height - (482 * 1)),
func: "queryCourseList", func: "queryCourseList",
selectable: false,customRow:true, selectable: false,customRow:true,
columns: [ columns: [
{title: "课程名称",field: "name"}, {title: "课程名称",field: "name"},
{title: "所属校区",field: "schNames"}, {title: "所属校区",field: "schNames"},
{ {
title: "课程属性",type: 'customField',width:'140px', title: "课程属性",type: 'customField',width:'120px',
fieldFunction: row => courseStep[row.courseStep], fieldFunction: row => courseStep[row.courseStep],
},{ },{
title: "课程层次",type: 'customField',width:'140px', title: "课程层次",type: 'customField',width:'120px',
fieldFunction: row => courseLevel[row.leveId], fieldFunction: row => courseLevel[row.leveId],
},{ },{
title: "课时",width:'140px', title: "课时",width:'120px',
type: 'customField', type: 'customField',
fieldFunction: row => row.classHour + '课时', fieldFunction: row => row.classHour + '课时',
},{ },{
title: "课程价格", type: 'customField',width:'140px', title: "课程价格", type: 'customField',width:'120',
fieldFunction: row => (row.cost / 100), fieldFunction: row => (row.cost / 100),
},{ },{
title: "课程类型", type: 'customField',width:'140px', title: "课程类型", type: 'customField',width:'120',
fieldFunction: row => (row.type == 1 ?'正式课' : '体验课'), fieldFunction: row => (row.type == 1 ?'正式课' : '体验课'),
}, },
{ {
title: "操作", title: "操作",
width: "260px",fixed:'right', width: "250px",
type: "buttons", type: "buttons",
//orderType 1:智慧体育订单 2移动活动订单 3腾讯同步订单 4 h5天天订单 //orderType 1:智慧体育订单 2移动活动订单 3腾讯同步订单 4 h5天天订单
buttons: [ buttons: [
......
...@@ -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-24 09:47:13 * @LastEditTime: 2022-06-24 10:16:55
--> -->
<template> <template>
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
type: 'customField', type: 'customField',
fieldFunction: row => row.bmGender == 1 ? '男' : '女', fieldFunction: row => row.bmGender == 1 ? '男' : '女',
},{ },{
title: "手机号",field: "bmPhone",width:'130px', title: "手机号",field: "bmPhone",width:'120px',
},{ },{
title: "课程名称",field: "name" title: "课程名称",field: "name"
},{ },{
...@@ -87,8 +87,7 @@ export default { ...@@ -87,8 +87,7 @@ export default {
},{ },{
title: "剩余课时",field: "syKs",width:'100px', title: "剩余课时",field: "syKs",width:'100px',
},{ },{
title:'操作',width: "130px", title:'操作',width: "130px",type: "buttons",
fixed:'right',type: "buttons",
buttons: [ buttons: [
{ {
name: "详细", type:'success',event: "detail", name: "详细", type:'success',event: "detail",
......
...@@ -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-23 17:43:09 * @LastEditTime: 2022-06-24 10:16:11
--> -->
<template> <template>
<div class="page-bg"> <div class="page-bg">
...@@ -58,12 +58,12 @@ export default { ...@@ -58,12 +58,12 @@ export default {
fieldFunction: row => row.gender == 1 ? '男' : '女', fieldFunction: row => row.gender == 1 ? '男' : '女',
}, },
{ {
title: "出生日期",type: 'customField', title: "出生日期",type: 'customField',width: "120px",
fieldFunction: row => row.birthday fieldFunction: row => row.birthday
}, },
{title: "爸爸手机号",field: "fatherPhone"}, {title: "爸爸手机号",field: "fatherPhone",width: "140px",},
{title: "妈妈手机号",field: "motherPhone"}, {title: "妈妈手机号",field: "motherPhone",width: "140px",},
{title: "其它人手机号",field: "otherPhone"}, {title: "其它人手机号",field: "otherPhone",width: "140px",},
{ {
title: "所在校区",type: 'customField', title: "所在校区",type: 'customField',
fieldFunction: row => (row.schoolList.map(e => e.name)).join(','), fieldFunction: row => (row.schoolList.map(e => e.name)).join(','),
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-02-10 15:24:49 * @Date: 2022-02-10 15:24:49
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-06 11:08:14 * @LastEditTime: 2022-06-24 10:12:52
*/ */
import Vue from 'vue'; import Vue from 'vue';
require('./flexiable'); // require('./flexiable');
import pcsite from 'mercury-wrap/pcsite'; import pcsite from 'mercury-wrap/pcsite';
Vue.use(pcsite); Vue.use(pcsite);
...@@ -32,7 +32,7 @@ Vue.prototype.$notifySuccess = msg => Vue.prototype.$notify.success({ ...@@ -32,7 +32,7 @@ Vue.prototype.$notifySuccess = msg => Vue.prototype.$notify.success({
message: msg || '操作成功', message: msg || '操作成功',
position: 'bottom-right' position: 'bottom-right'
}); });
Vue.prototype.$px2rem = Number(document.documentElement.style.fontSize.replace('px', '')) / 75 * (window.dpr || 1); // Vue.prototype.$px2rem = Number(document.documentElement.style.fontSize.replace('px', '')) / 75 * (window.dpr || 1);
export default ({store}) => { export default ({store}) => {
// Vue.directive('auth', { // Vue.directive('auth', {
......
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