Commit 9476b139 by tangjiale

更新代码

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