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
8f2d2ccb
Commit
8f2d2ccb
authored
Sep 12, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
4629790c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
1409 additions
and
1362 deletions
+1409
-1362
editOrder-form.vue
src/components/sale/editOrder-form.vue
+0
-4
reservestudentlist.vue
src/components/schedul/reservestudentlist.vue
+1
-4
student-left.vue
src/components/school/student/student-left.vue
+0
-1
order-form copy.vue
...ponents/school/student/transfer-order/order-form copy.vue
+808
-1204
order-form.vue
src/components/school/student/transfer-order/order-form.vue
+0
-11
subscribeForm.vue
src/components/stuMan/subscribe/subscribeForm.vue
+61
-134
makeAd.vue
src/pages/activity/makeAd.vue
+0
-1
commonUtils.js
src/pages/financial/utils/commonUtils.js
+40
-0
StudentProgress.vue
src/pages/stuMan/StudentProgress.vue
+0
-1
setStudyPlan.vue
src/pages/stuMan/components/setStudyPlan.vue
+0
-1
subappoint.vue
src/pages/studyAbroad/subappoint.vue
+494
-0
surveyStudent.vue
src/pages/system/surveyStudent.vue
+0
-1
routes.js
src/router/routes.js
+5
-0
No files found.
src/components/sale/editOrder-form.vue
View file @
8f2d2ccb
...
...
@@ -397,12 +397,9 @@
}
else
{
this
.
OrderMsg
.
PreferPrice
=
Number
(
guestNum
*
unit_price
).
toFixed
(
2
)
-
this
.
OrderMsg
.
LessPrice
;
}
}
//留学就业订单
if
(
this
.
OrderMsg
.
OrderType
==
2
)
{
console
.
log
(
"我进来了2"
);
this
.
OrderMsg
.
OldPreferPrice
=
Number
(
guestNum
*
unit_price
).
toFixed
(
2
);
}
},
...
...
@@ -413,7 +410,6 @@
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
var
tempData
=
res
.
Data
.
OrderInfo
;
console
.
log
(
"tempData"
,
tempData
);
this
.
OrderMsg
.
ClassId
=
tempData
.
ClassId
;
this
.
OrderMsg
.
GuestNum
=
tempData
.
GuestNum
;
this
.
OrderMsg
.
Unit_Price
=
tempData
.
Unit_Price
;
...
...
src/components/schedul/reservestudentlist.vue
View file @
8f2d2ccb
...
...
@@ -17,7 +17,7 @@
<
template
v-slot:body-cell-Demand=
"props"
>
<q-td>
<template>
<div
v-html=
"props.row.Demand"
></div>
<div
v-html=
"props.row.Demand"
></div>
</
template
>
</q-td>
</template>
...
...
@@ -208,7 +208,6 @@
},
//编辑试听
editVisitor
(
obj
)
{
console
.
log
(
"reserveObj"
,
obj
);
this
.
reserveObj
=
obj
this
.
isShowReserve
=
true
;
},
...
...
@@ -219,8 +218,6 @@
refreshPage
()
{
this
.
$emit
(
'success'
);
},
//删除试听
DeleteVisitorReserve
(
Id
)
{
let
that
=
this
;
...
...
src/components/school/student/student-left.vue
View file @
8f2d2ccb
...
...
@@ -527,7 +527,6 @@
this
.
getStudentDorpDown
();
this
.
getGetNeedsList
();
this
.
queryStuTelType
();
console
.
log
(
"this.StudentType"
,
this
.
StudentType
);
if
(
this
.
saveObj
)
{
if
(
this
.
saveObj
.
StuId
>
0
)
{
this
.
customMsg
.
StuId
=
this
.
saveObj
.
StuId
;
...
...
src/components/school/student/transfer-order/order-form copy.vue
View file @
8f2d2ccb
This diff is collapsed.
Click to expand it.
src/components/school/student/transfer-order/order-form.vue
View file @
8f2d2ccb
...
...
@@ -744,34 +744,24 @@
newPreferPrice = chaBanPrice * guestNum * this.OrderMsg.TotalClassHours
}
}
console.log("我进来了1");
this.OrderMsg.PreferPrice =
Number(newPreferPrice).toFixed(2) - this.OrderMsg.LessPrice;
} else {
if (this.OrderMsg.Unit_PriceType == 1) {
console.log("guestNum", guestNum);
console.log("unit_price", unit_price);
console.log("this.OrderMsg.LessPrice", this.OrderMsg.LessPrice);
this.OrderMsg.PreferPrice =
Number(guestNum * unit_price).toFixed(2) - this.OrderMsg.LessPrice;
console.log("我进来了2");
} else if (this.OrderMsg.Unit_PriceType == 2) {
this.OrderMsg.PreferPrice =
Number((guestNum * unit_price * this.OrderMsg.TotalClassHours) + Number(this.OrderMsg.TextbookFee) +
Number(this.OrderMsg.CoursewareFee)).toFixed(2) - this.OrderMsg.LessPrice;
console.log("我进来了3");
}
}
//留学就业订单
if (this.OrderMsg.OrderType == 2) {
this.OrderMsg.OldPreferPrice = Number(guestNum * unit_price).toFixed(2);
}
this.OrderMsg.DiscountMoney = 0;
this.stuData.StuList.map(e => {
if (e.IsRenewGuest == 0) {
this.OrderMsg.DiscountMoney = this.accAdd(
...
...
@@ -817,7 +807,6 @@
if (this.OrderMsg.OrderType == 2) {
this.OrderMsg.OrderNature = 1;
}
console.log("saveObj", this.saveObj);
if (this.saveObj) {
if (this.saveObj.ClassId) {
this.OrderMsg.ClassId = this.saveObj.ClassId;
...
...
src/components/stuMan/subscribe/subscribeForm.vue
View file @
8f2d2ccb
This diff is collapsed.
Click to expand it.
src/pages/activity/makeAd.vue
View file @
8f2d2ccb
...
...
@@ -609,7 +609,6 @@
this
.
currentMaxId
=
y
.
nodeId
>
this
.
currentMaxId
?
y
.
nodeId
:
this
.
currentMaxId
})
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
console
.
log
(
"getMyAdDetail"
,
data
.
pictureUrl
);
let
getBlob
=
this
.
getAnyFileBlob
(
data
.
pictureUrl
.
replace
(
reg
,
''
))
let
that
=
this
getBlob
.
then
(
blob
=>
{
...
...
src/pages/financial/utils/commonUtils.js
View file @
8f2d2ccb
...
...
@@ -359,6 +359,46 @@ var commonUtils = {
//返回年月日
return
year
+
'-'
+
month
+
"-"
+
day
;
},
//获取指定日期的上一周,下一周
getWeeks
(
date
,
type
)
{
// 将传入的日期字符串转换为 Date 对象,如果已经是 Date 对象则直接使用
const
currentDate
=
new
Date
(
date
instanceof
Date
?
date
:
date
);
const
oneDay
=
24
*
60
*
60
*
1000
;
var
weekStart
;
var
weekEnd
;
//上一周
if
(
type
==
1
)
{
weekStart
=
new
Date
(
currentDate
.
getTime
()
-
7
*
oneDay
);
weekEnd
=
new
Date
(
weekStart
.
getTime
()
+
6
*
oneDay
);
}
//下一周
else
if
(
type
==
2
)
{
weekStart
=
new
Date
(
currentDate
.
getTime
()
+
7
*
oneDay
);
weekEnd
=
new
Date
(
weekStart
.
getTime
()
+
6
*
oneDay
);
}
//本周
else
{
const
dayOfWeek
=
currentDate
.
getDay
();
weekStart
=
new
Date
(
currentDate
);
if
(
dayOfWeek
===
0
)
{
weekStart
.
setDate
(
currentDate
.
getDate
()
-
6
);
}
else
{
weekStart
.
setDate
(
currentDate
.
getDate
()
-
(
dayOfWeek
-
1
));
}
// 计算本周结束日期(周日)
weekEnd
=
new
Date
(
weekStart
.
getTime
()
+
6
*
oneDay
);
}
const
formatDate
=
(
d
)
=>
{
const
year
=
d
.
getFullYear
();
const
month
=
(
'0'
+
(
d
.
getMonth
()
+
1
)).
slice
(
-
2
);
const
day
=
(
'0'
+
d
.
getDate
()).
slice
(
-
2
);
return
`
${
year
}
-
${
month
}
-
${
day
}
`
;
};
return
{
start
:
formatDate
(
weekStart
),
end
:
formatDate
(
weekEnd
)
};
},
//格式化日期
getFormatDate
(
dateStr
)
{
var
myDate
=
new
Date
(
dateStr
);
...
...
src/pages/stuMan/StudentProgress.vue
View file @
8f2d2ccb
...
...
@@ -615,7 +615,6 @@ export default {
showStuRight
(
obj
)
{
if
(
obj
)
{
this
.
$q
.
loading
.
show
();
console
.
log
(
obj
.
StuId
);
getStudentInfo
({
StuId
:
obj
.
StuId
})
.
then
(
r
=>
{
this
.
stuOption
=
r
.
Data
;
...
...
src/pages/stuMan/components/setStudyPlan.vue
View file @
8f2d2ccb
...
...
@@ -497,7 +497,6 @@ export default {
});
},
getPlan
(){
console
.
log
(
this
.
planTime
)
const
p
=
this
.
planTime
getStuAppointPlan
({
AccountId
:
p
.
AccountId
,
Date
:
p
.
Date
,
ShiftSort
:
p
.
ShiftSort
}).
then
(
r
=>
{
if
(
r
.
Code
==
1
){
...
...
src/pages/studyAbroad/subappoint.vue
0 → 100644
View file @
8f2d2ccb
This diff is collapsed.
Click to expand it.
src/pages/system/surveyStudent.vue
View file @
8f2d2ccb
...
...
@@ -209,7 +209,6 @@
getSurveyShowList
()
{
this
.
loading
=
true
;
querySurveyShowList
(
this
.
msg
).
then
(
res
=>
{
console
.
log
(
res
);
this
.
loading
=
false
this
.
data
=
res
.
Data
.
subList
;
this
.
pageTitle
=
res
.
Data
.
Title
;
...
...
src/router/routes.js
View file @
8f2d2ccb
...
...
@@ -2031,6 +2031,11 @@ const routes = [{
component
:
()
=>
import
(
"pages/studyAbroad/subscribe"
)
},
{
path
:
"/stu/subappoint"
,
//新版预约
component
:
()
=>
import
(
"pages/studyAbroad/subappoint"
)
},
{
path
:
"/financial/Language/languagePeriodsList"
,
// 小语种业绩提成 分期列表
component
:
()
=>
...
...
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