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

111

parent 2f011721
......@@ -4,7 +4,7 @@
<div class="footer">
<div class="com-container content">
<ul class="contact_list">
<li>
<li v-if="$store.state.human != 1">
<i class="el-icon-message"></i>
<span>联系邮箱</span>ydhdservice@163.com
</li>
......
......@@ -127,6 +127,16 @@ export default {
"bank_info" + window.localStorage.getItem("phone" + code) + code
);
this.isLogin = false;
if (this.$store.state.human == 1) {
this.$router.replace({
path: "/login",
query: {
code: code,
},
});
} else {
this.$router.replace("/" + code);
}
this.$message.success("退出成功");
await logout({});
......
......@@ -64,7 +64,17 @@ export default {
// 清除本地缓存除了大学logo
window.localStorage.clear();
let code = this.$store.state.indexIdentity;
await this.$router.replace("/" + code);
if (this.$store.state.human == 1) {
await this.$router.replace({
path: "/login",
query: {
code: code,
},
});
} else {
await this.$router.replace("/" + code);
}
// await this.$router.replace("/" + code);
this.$message.success("退出成功");
await logout({});
},
......
......@@ -15,25 +15,39 @@
报名费用 :<span>{{ has_amount }} </span>
</div>
<div class="btn">
<el-button @click="paying()">立即支付 </el-button>
<el-button v-if="$store.state.human == 1" @click="paying()"
>上传缴费截图
</el-button>
<el-button v-else @click="paying()">立即支付 </el-button>
</div>
</div>
<div class="pay_bottom">
<div>注意事项:</div>
<div>
1、学生支付完成后请不要立即关闭浏览器,等待支付完成返回本页面,以确认支付完成。
<div>
<div v-if="$store.state.human == 1" class="pay_bottom">
<div class="cc"><span class="starIcon">*</span>注意事项:</div>
<div>
请参照清华大学人文学院“中国现当代文学经典研读”学分课程简章中缴费方式,<span class="cc">汇款或扫码支付后请务必保留付款截图</span>
</div>
<div>
1、银行转账汇款时,请在附言/用途栏中注明"21069363022+学员姓名"。
</div>
<div>2、扫码支付时,请在备注栏中注明“学员姓名”。</div>
</div>
<div>
2、支付确认后,将不能再修改姓名和身份证号,请在支付前核对信息。
</div>
<div>
3、如果在完成支付后,状态许久未更新为“报名成功”,请仔细核查自己支付账号是否已扣费。
<div v-else class="pay_bottom">
<div>注意事项:</div>
<div>
1、学生支付完成后请不要立即关闭浏览器,等待支付完成返回本页面,以确认支付完成。
</div>
<div>
2、支付确认后,将不能再修改姓名和身份证号,请在支付前核对信息。
</div>
<div>
3、如果在完成支付后,状态许久未更新为“报名成功”,请仔细核查自己支付账号是否已扣费。
</div>
<div>
4、对于多次缴费的考生,除生效一笔之外其他重复支付的得用会在缴费结束阶段统一退款。
</div>
<!-- <div>5、网上缴费如有问题,请致电项目组工作人员:XXX-XXXXXXXXX。</div> -->
</div>
<div>
4、对于多次缴费的考生,除生效一笔之外其他重复支付的得用会在缴费结束阶段统一退款。
</div>
<!-- <div>5、网上缴费如有问题,请致电项目组工作人员:XXX-XXXXXXXXX。</div> -->
</div>
</div>
<!-- 支付扫码框 -->
......@@ -89,7 +103,7 @@
:before-close="handleClose"
>
<div>收款单位:{{ payee }}</div>
<div>银行卡号:{{ bank_idcard }}</div>
<div>号:{{ bank_idcard }}</div>
<div>开户行:{{ bank_first }}</div>
<div>上传转账截图</div>
......@@ -149,7 +163,6 @@
<img width="100%" :src="resultPicture" alt="" />
</el-dialog>
</div>
<div>*注:请在附言栏中注明“21069363021+学生姓名”字样</div>
<span slot="footer" class="dialog-footer">
<el-button @click="bankDialogVisible = false">取 消</el-button>
......@@ -393,7 +406,6 @@ export default {
this.closeWebSocket();
// this.dialogVisible = false;
// this.$emit("closeCFSUDialog", this.dialogVisible, true);
} else {
//收到服务器信息,心跳重置
this.reset();
......@@ -722,6 +734,13 @@ export default {
font-weight: 500;
color: #999999;
line-height: 21px;
.cc{
font-weight: 600;
color: black;
}
.starIcon{
color: red;
}
}
}
.choose {
......
......@@ -114,7 +114,7 @@ export function request(config) {
// console.log(config)
if (
config.url.indexOf(loginUrl) != -1 ||
(config.url.indexOf(loginUrl) != -1&&config.url.indexOf(loginOut) == -1) ||
config.url.indexOf(setAccountInfo) != -1 ||
config.url.indexOf(passMsgOld) != -1 ||
config.url.indexOf(getCam) != -1 ||
......@@ -123,8 +123,8 @@ export function request(config) {
config.url.indexOf(registerEmailCode) != -1 ||
config.url.indexOf(passwordEmailCode) != -1 ||
config.url.indexOf(changePassCode) != -1 ||
config.url.indexOf(passwordCode) != -1 ||
config.url.indexOf(loginOut) != -1
config.url.indexOf(passwordCode) != -1
) {
return config
}
......
......@@ -142,7 +142,7 @@ function checkCam(code, cb) {
window.localStorage.setItem("bank_idcard" + code, res.data.bank_idcard); //银行卡号
}
store.state.info = res.data;
if (code == '6c6884d1c83040ee8ca17736a8d67b93' || code == 'c432d9028b2840ebbbfd56947b38069b') {
if (res.data.is_qinghua==1) {
store.state.human = 1;
}
......
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