Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
campSite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨梦雪
campSite
Commits
6c23e0a9
Commit
6c23e0a9
authored
May 27, 2022
by
wuwangwolihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功能修改-lh
parent
29bfc22d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
688 additions
and
653 deletions
+688
-653
src/components/index/SignUp/paying.vue
src/components/index/SignUp/paying.vue
+42
-1
src/components/index/SignUp/referInfo.vue
src/components/index/SignUp/referInfo.vue
+640
-646
src/config/server.js
src/config/server.js
+6
-6
No files found.
src/components/index/SignUp/paying.vue
View file @
6c23e0a9
...
...
@@ -19,7 +19,48 @@
</div>
</div>
<div
class=
"pay_bottom"
>
<div
class=
"pay_bottom"
v-if=
"$store.state.indexIdentity == '6c6884d1c83040ee8ca17736a8d67b93'"
>
<div>
注意事项:
</div>
<div>
请参照清华大学人文学院“中国现当代文学经典研读”学分课程简章中缴费方式。
<span
class=
"cc"
>
汇款或扫码支付后请务必保留付款截图
</span>
。
</div>
<div>
1、银行转账汇款时,请在附言/用途栏中注明 "21069363022 +学员姓名"。
</div>
<div>
2、扫码支付时,请在备注栏中注明“学员姓名”。
</div>
<div>
3、未满18岁的学员,缴费请由家长支付。
</div>
</div>
<div
class=
"pay_bottom"
v-else-if=
"$store.state.indexIdentity == '479205eb2dbf48fcbbeaee710a9b9d24'"
>
<div>
注意事项:
</div>
<div>
1、支付成功后请务必保留付款截图。
</div>
<div>
2、银行转账汇款时,请在附言/用途栏中注明“22069363005+学员姓名”。
</div>
<div>
3、未满18岁的学员,缴费请由家长支付。
</div>
<div
style=
"margin-top: 10px;"
>
汇款信息:
</div>
<div>
收款单位:清华大学
</div>
<div>
帐号:0200004509089131550
</div>
<div>
开户行:工行北京分行海淀西区支行
</div>
<div>
附言/用途:请在附言栏中注明“22069363005+学员姓名”
</div>
</div>
<div
class=
"pay_bottom"
v-else
>
<div>
注意事项:
</div>
<div>
1、学生支付完成后请不要立即关闭浏览器,等待支付完成返回本页面,以确认支付完成。
...
...
src/components/index/SignUp/referInfo.vue
View file @
6c23e0a9
...
...
@@ -361,7 +361,7 @@
</div>
<el-dialog
:visible.sync=
"dialogVisible"
>
<img
width=
"100%"
:src=
"resultPicture"
alt=
""
/>
<img
width=
"100%"
:src=
"resultPicture"
alt=
""
/>
</el-dialog>
</div>
</el-form-item>
...
...
@@ -374,20 +374,20 @@
</
template
>
<
script
>
/* eslint-disable */
import
Cookie
from
"
js-cookie
"
;
import
{
/* eslint-disable */
import
Cookie
from
"
js-cookie
"
;
import
{
getAccount
,
getAchievementOss
,
delPic
,
setAccount
,
getProAndCity
,
getSchool
,
}
from
"
r/index/signUp
"
;
import
{
upload
}
from
"
r/index/network
"
;
import
validator
from
"
common/validator
"
;
}
from
"
r/index/signUp
"
;
import
{
upload
}
from
"
r/index/network
"
;
import
validator
from
"
common/validator
"
;
export
default
{
export
default
{
name
:
"
CheckForm
"
,
data
()
{
...
...
@@ -427,13 +427,13 @@ export default {
schoolName
:
{},
referInfoRules
:
{
name
:
[{
required
:
true
,
message
:
"
姓名不能为空!
"
,
trigger
:
"
blur
"
}],
name
:
[{
required
:
true
,
message
:
"
姓名不能为空!
"
,
trigger
:
"
blur
"
}],
gender
:
[
{
required
:
true
,
message
:
"
性别不能为空!
"
,
trigger
:
"
change
"
},
{
required
:
true
,
message
:
"
性别不能为空!
"
,
trigger
:
"
change
"
},
],
id_card
:
[
{
required
:
true
,
message
:
"
身份证号不能为空!
"
,
trigger
:
"
blur
"
},
{
validator
:
validator
.
validateid_card
,
trigger
:
"
blur
"
},
{
required
:
true
,
message
:
"
身份证号不能为空!
"
,
trigger
:
"
blur
"
},
{
validator
:
validator
.
validateid_card
,
trigger
:
"
blur
"
},
],
birthday
:
[
{
...
...
@@ -443,10 +443,10 @@ export default {
},
],
jiguan_code
:
[
{
required
:
true
,
validator
:
validateContents
,
trigger
:
"
change
"
},
{
required
:
true
,
validator
:
validateContents
,
trigger
:
"
change
"
},
],
nation
:
[
{
required
:
true
,
message
:
"
民族不能为空!
"
,
trigger
:
"
change
"
},
{
required
:
true
,
message
:
"
民族不能为空!
"
,
trigger
:
"
change
"
},
],
start_school_date
:
[
{
...
...
@@ -456,7 +456,7 @@ export default {
},
],
political_status
:
[
{
required
:
true
,
message
:
"
政治面貌不能为空!
"
,
trigger
:
"
blur
"
},
{
required
:
true
,
message
:
"
政治面貌不能为空!
"
,
trigger
:
"
blur
"
},
],
// email: [
// { required: true, message: "电子邮箱不能为空!", trigger: "blur" },
...
...
@@ -477,10 +477,10 @@ export default {
},
],
school
:
[
{
required
:
true
,
message
:
"
请选择所在学校!
"
,
trigger
:
"
change
"
},
{
required
:
true
,
message
:
"
请选择所在学校!
"
,
trigger
:
"
change
"
},
],
school_contacts
:
[
{
required
:
true
,
message
:
"
请填写中学联系人!
"
,
trigger
:
"
blur
"
},
{
required
:
true
,
message
:
"
请填写中学联系人!
"
,
trigger
:
"
blur
"
},
],
school_phone
:
[
{
...
...
@@ -488,7 +488,7 @@ export default {
message
:
"
中学联系人电话(手机)不能为空!
"
,
trigger
:
"
blur
"
,
},
{
validator
:
validator
.
validatePhone
,
trigger
:
"
blur
"
},
{
validator
:
validator
.
validatePhone
,
trigger
:
"
blur
"
},
],
// backgroundPicture: [{ required: true, message: "请上传图片" }],
},
...
...
@@ -589,11 +589,11 @@ export default {
dialogVisible
:
false
,
fileList
:
[],
resultPicture
:
""
,
dialogVisible
:
false
,
disabled
:
false
,
//限制输入框
};
},
mounted
()
{},
mounted
()
{
},
created
()
{
const
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
referForm
.
phone
=
window
.
localStorage
.
getItem
(
"
phone
"
+
code
);
//本地取用户手机号
...
...
@@ -914,7 +914,7 @@ export default {
url
:
""
,
savefile
:
""
,
};
await
getAchievementOss
({
image
:
image
})
await
getAchievementOss
({
image
:
image
})
.
then
((
res
)
=>
{
// console.log(res, "开始上传图片");
if
(
res
.
data
.
code
===
200
)
{
...
...
@@ -986,7 +986,7 @@ export default {
// console.log(str, "str");
let
savefile
=
str
[
1
];
// console.log(savefile, "savefile");
delPic
({
object
:
savefile
}).
then
((
res
)
=>
{
delPic
({
object
:
savefile
}).
then
((
res
)
=>
{
// console.log(res, "delpic");
if
(
res
.
data
.
code
!=
200
)
{
return
this
.
$message
.
error
(
res
.
data
.
message
);
...
...
@@ -1043,16 +1043,13 @@ export default {
}
},
confirm
()
{
// console.log(111);
// console.log(this.referForm.birthday);
this
.
$refs
[
"
referRef
"
].
validate
((
valid
,
object
)
=>
{
// console.log(valid, "valid");
if
(
!
valid
)
{
this
.
scrollView
(
object
);
return
false
;
}
setAccount
(
this
.
referForm
).
then
((
res
)
=>
{
// console.log(res, "setAccount");
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
==
400068
)
{
this
.
$parent
.
statuss
();
...
...
@@ -1060,20 +1057,17 @@ export default {
}
return
this
.
$message
.
error
(
res
.
data
.
message
);
}
// console.log(3333);
this
.
$emit
(
"
getstatus
"
,
res
.
data
.
status
);
this
.
$message
.
success
(
res
.
data
.
message
);
// let code = this.$store.state.indexIdentity;
// this.$router.push("/signUp/check?code=" + code);
this
.
referForm
=
res
.
data
.
data
;
});
});
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"a/scss/btn"
;
@import
"a/scss/SignUp/referInfo"
;
@import
"a/scss/btn"
;
@import
"a/scss/SignUp/referInfo"
;
</
style
>
src/config/server.js
View file @
6c23e0a9
...
...
@@ -7,10 +7,10 @@
// export const SERVER_WS_URL = "wss://123.56.237.167:20202"; // websocket
// 正式
export
const
SERVER_URL
=
'
https://api1.testgate.cn
'
// 正式环境
export
const
DEVELOPMENT_SERVER_URL
=
'
https://api1.testgate.cn
'
// 开发环境
export
const
SERVER_WS_URL
=
'
wss://api1.testgate.cn
'
// websocket
//
export const SERVER_URL = 'https://api1.testgate.cn' // 正式环境
//
export const DEVELOPMENT_SERVER_URL = 'https://api1.testgate.cn' // 开发环境
//
export const SERVER_WS_URL = 'wss://api1.testgate.cn' // websocket
// 线上测试
//
export const SERVER_URL = "http://api.campcenter.cn/"; // 正式环境
//
export const DEVELOPMENT_SERVER_URL = "http://api.campcenter.cn/"; //开发环境
//
export const SERVER_WS_URL = "ws://api.campcenter.cn"; // websocket
export
const
SERVER_URL
=
"
http://api.campcenter.cn/
"
;
// 正式环境
export
const
DEVELOPMENT_SERVER_URL
=
"
http://api.campcenter.cn/
"
;
//开发环境
export
const
SERVER_WS_URL
=
"
ws://api.campcenter.cn
"
;
// websocket
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