Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
b0e5b555
Commit
b0e5b555
authored
Aug 29, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
98ec8670
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
student-shiting.vue
src/components/school/student/student-shiting.vue
+4
-1
stulist.vue
src/components/school/student/stulist.vue
+6
-2
No files found.
src/components/school/student/student-shiting.vue
View file @
b0e5b555
...
...
@@ -31,7 +31,7 @@
<q-chip
color=
"primary"
size=
"xs"
text-color=
"white"
style=
"position:absolute;:top:0;right:0"
v-if=
"tItem.ReserveType==1"
>
跟班
</q-chip>
<div
v-if=
"tItem.ReservationDate&&tItem.ReservationDate.length>0"
>
<div
v-if=
"tItem.ReservationDate&&tItem.ReservationDate.length>0
&&tItem.ReservationDate!='0001-01-01T00:00:00'
"
>
试听日期:
{{
timeFormatSeconds
(
tItem
.
ReservationDate
)
}}
</div>
<div
v-if=
"tItem.Demand&&tItem.Demand.length>0"
>
...
...
@@ -127,6 +127,9 @@
//传入日期//例:2020-10-27T14:36:23
timeFormatSeconds
(
time
,
type
)
{
let
timeStr
=
""
;
if
(
time
===
'0001-01-01T00:00:00'
){
return
timeStr
;
}
var
d
=
time
?
new
Date
(
time
)
:
new
Date
();
var
year
=
d
.
getFullYear
();
var
month
=
d
.
getMonth
()
+
1
;
...
...
src/components/school/student/stulist.vue
View file @
b0e5b555
...
...
@@ -74,9 +74,9 @@
<!-- <q-btn color="accent" outline class="q-mr-md" size="sm" icon="swap_horiz" label="推送课程顾问"
v-if="userInfo.IsCourseConsultant == 0" @click="pushMode = true" /> -->
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"swap_horiz"
label=
"转订单"
:disable=
"selection.length === 0"
@
click=
"transferOrder"
/>
:disable=
"selection.length === 0"
@
click=
"transferOrder"
v-if=
"StudentType!=2"
/>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"swap_horiz"
label=
"转留学"
:disable=
"selection.length === 0"
@
click=
"transferAbroad"
/>
:disable=
"selection.length === 0"
@
click=
"transferAbroad"
v-if=
"StudentType==2"
/>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"add"
label=
"新增学员"
@
click=
"EditStudent(null)"
/>
<q-btn
v-if=
"authObj && authObj.isShowDownload&&IsDownLoadStu()"
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"download"
label=
"下载"
@
click=
"downloadStudent"
/>
...
...
@@ -314,6 +314,10 @@
type
:
Number
,
default
:
null
},
StudentType
:
{
type
:
Number
,
default
:
null
},
loading
:
{
type
:
Boolean
,
default
:
false
...
...
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