Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
train-admin-h5
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tangjiale
train-admin-h5
Commits
9476b139
Commit
9476b139
authored
Jun 24, 2022
by
tangjiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
379095fa
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
26 deletions
+26
-26
nuxt.config.js
nuxt.config.js
+6
-6
courseManage.vue
pages/courseManage.vue
+9
-8
salesManage.vue
pages/salesManage.vue
+3
-4
studentManage.vue
pages/studentManage.vue
+5
-5
index.js
plugins/index.js
+3
-3
No files found.
nuxt.config.js
View file @
9476b139
...
...
@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-02-11 15:07:57
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-
09 15:31:5
2
* @LastEditTime: 2022-06-
24 10:13:1
2
*/
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
)
{
}
...
...
pages/courseManage.vue
View file @
9476b139
...
...
@@ -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
:
'1
4
0px'
,
title
:
"课程属性"
,
type
:
'customField'
,
width
:
'1
2
0px'
,
fieldFunction
:
row
=>
courseStep
[
row
.
courseStep
],
},{
title
:
"课程层次"
,
type
:
'customField'
,
width
:
'1
4
0px'
,
title
:
"课程层次"
,
type
:
'customField'
,
width
:
'1
2
0px'
,
fieldFunction
:
row
=>
courseLevel
[
row
.
leveId
],
},{
title
:
"课时"
,
width
:
'1
4
0px'
,
title
:
"课时"
,
width
:
'1
2
0px'
,
type
:
'customField'
,
fieldFunction
:
row
=>
row
.
classHour
+
'课时'
,
},{
title
:
"课程价格"
,
type
:
'customField'
,
width
:
'1
40px
'
,
title
:
"课程价格"
,
type
:
'customField'
,
width
:
'1
20
'
,
fieldFunction
:
row
=>
(
row
.
cost
/
100
),
},{
title
:
"课程类型"
,
type
:
'customField'
,
width
:
'1
40px
'
,
title
:
"课程类型"
,
type
:
'customField'
,
width
:
'1
20
'
,
fieldFunction
:
row
=>
(
row
.
type
==
1
?
'正式课'
:
'体验课'
),
},
{
title
:
"操作"
,
width
:
"2
60px"
,
fixed
:
'right'
,
width
:
"2
50px"
,
type
:
"buttons"
,
//orderType 1:智慧体育订单 2移动活动订单 3腾讯同步订单 4 h5天天订单
buttons
:
[
...
...
pages/salesManage.vue
View file @
9476b139
...
...
@@ -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
:
'1
3
0px'
,
title
:
"手机号"
,
field
:
"bmPhone"
,
width
:
'1
2
0px'
,
},{
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"
,
...
...
pages/studentManage.vue
View file @
9476b139
...
...
@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-06-02 14:08:46
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-2
3 17:43:09
* @LastEditTime: 2022-06-2
4 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
(
','
),
...
...
plugins/index.js
View file @
9476b139
...
...
@@ -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', {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment