Commit dbc54e23 authored by 杨梦雪's avatar 杨梦雪

11

parent 269559c7
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
<ul class="contact_list"> <ul class="contact_list">
<li> <li>
<i class="el-icon-message"></i> <i class="el-icon-message"></i>
<span>考务邮箱</span>ydhdservice@163.com <span>联系邮箱</span>ydhdservice@163.com
</li> </li>
<li> <!-- <li>
<i class="el-icon-phone-outline"></i> <i class="el-icon-phone-outline"></i>
<span>联系电话</span>010-56218127 <span>联系电话</span>010-56218127
</li> </li> -->
<li> <li>
<i class="el-icon-aim"></i> <i class="el-icon-aim"></i>
<span>工作时间</span>周一至周五 09:00 - 12:00,14:00 - 18:00 <span>工作时间</span>周一至周五 09:00 - 12:00,14:00 - 18:00
......
...@@ -22,19 +22,18 @@ ...@@ -22,19 +22,18 @@
<div class="pay_bottom"> <div class="pay_bottom">
<div>注意事项:</div> <div>注意事项:</div>
<div> <div>
1、学生支付完成后请不要立即关闭浏览器,等待支付完成返回本页面,以确认支付完成 1、学生支付完成后请不要立即关闭浏览器,等待支付完成返回本页面,以确认支付完成
</div> </div>
<div> <div>
2、支付确认后,将不能再修改姓名和身份证号,请在支付前核对信息 2、支付确认后,将不能再修改姓名和身份证号,请在支付前核对信息
</div> </div>
<div> <div>
3、如果在完成支付后,状态许久未更新为“报名成功”,请仔细核查自己支付账号是否已扣费 3、如果在完成支付后,状态许久未更新为“报名成功”,请仔细核查自己支付账号是否已扣费。
;:
</div> </div>
<div> <div>
4、对于多次缴费的考生,除生效一笔之外其他重复支付的得用会在缴费结束阶段统一退款 4、对于多次缴费的考生,除生效一笔之外其他重复支付的得用会在缴费结束阶段统一退款
</div> </div>
<div>5、网上缴费如有问题,请致电项目组工作人员:XXX-XXXXXXXXX</div> <div>5、网上缴费如有问题,请致电项目组工作人员:XXX-XXXXXXXXX</div>
</div> </div>
</div> </div>
<!-- 支付扫码框 --> <!-- 支付扫码框 -->
...@@ -66,6 +65,8 @@ ...@@ -66,6 +65,8 @@
import ConfirmSignUp from "c/index/SignUp/ConfirmSignUp"; import ConfirmSignUp from "c/index/SignUp/ConfirmSignUp";
import { getAccount } from "r/index/signUp"; import { getAccount } from "r/index/signUp";
import { parseTime } from "common/utils"; import { parseTime } from "common/utils";
import { signUpInit } from "r/index/signUp";
export default { export default {
name: "Paying", name: "Paying",
components: { components: {
...@@ -80,9 +81,9 @@ export default { ...@@ -80,9 +81,9 @@ export default {
}; };
}, },
created() { created() {
const code=this.$store.state.indexIdentity const code = this.$store.state.indexIdentity;
this.camp_name = window.localStorage.getItem("camp_name"+code); this.camp_name = window.localStorage.getItem("camp_name" + code);
this.has_amount = window.localStorage.getItem("has_amount"+code); this.has_amount = window.localStorage.getItem("has_amount" + code);
this.getAccount(); this.getAccount();
}, },
methods: { methods: {
...@@ -93,8 +94,27 @@ export default { ...@@ -93,8 +94,27 @@ export default {
clearInterval(this.timer); clearInterval(this.timer);
} }
}, },
paying() { paying() {
signUpInit({}).then((res) => {
console.log(res, "signUpInit");
if (res.data.code != 200) {
if (res.data.code == 400001) {
this.status = 6;
this.type = "success";
}
return this.$message.error(res.data.message);
}
this.status = res.data.status;
console.log(this.status, "this.status");
// 点击下一步传值给status,更新
if (this.status == 5) {
this.type = "pay";
this.confirmSignUpDialogFu = true; this.confirmSignUpDialogFu = true;
} else if (this.status == 6) {
this.type = "success";
}
});
}, },
getAccount() { getAccount() {
getAccount({}).then((res) => { getAccount({}).then((res) => {
......
...@@ -462,6 +462,7 @@ export default { ...@@ -462,6 +462,7 @@ export default {
}, },
{ validator: validator.validatePhone, trigger: "blur" }, { validator: validator.validatePhone, trigger: "blur" },
], ],
// backgroundPicture: [{ required: true, message: "请上传图片" }],
}, },
selectProvince: [], //省份 selectProvince: [], //省份
CityName: {}, //根据省份筛选出所有城市的对象 CityName: {}, //根据省份筛选出所有城市的对象
...@@ -539,7 +540,7 @@ export default { ...@@ -539,7 +540,7 @@ export default {
// 上传的图片 // 上传的图片
dialogImageUrl: "", dialogImageUrl: "",
dialogVisible: false, dialogVisible: false,
picList: [],
fileList: [], fileList: [],
resultPicture: "", resultPicture: "",
dialogVisible: false, dialogVisible: false,
......
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