提交 8bb3d6cd 编写于 作者: guangjun.yang's avatar guangjun.yang

creditId字段的默认值问题

上级 4e876432
......@@ -42,8 +42,8 @@
<!-- 您提交的信息不准确,请重新提交或联系云鹊医官方客服 -->
</div>
</div>
<CommonSpliteLine v-show="needShowUserInfo"></CommonSpliteLine>
<div class="credit-user">
<CommonSpliteLine v-if="needShowUserInfo"></CommonSpliteLine>
<div v-if="needShowUserInfo" class="credit-user">
<ul>
<li>
<span>申请人</span>
......@@ -115,27 +115,28 @@ export default {
// 3:审核中 continue 显示用户信息 预计2019年12月10日前有反馈结果
// 4: 审核失败 error 显示用户信息 您提交的信息不准确,请重新提交或联系云鹊医官方客服
// 5: 审核通过 continue 不显示用户信息 不显示提示信息
status: 5,
status: 1,
statusStyle: "continue",
statusText: "学习中",
// statusDescText: "",
needShowTips: false,
needShowUserInfo: true,
needShowUserInfo: false,
needShowBtn: false,
btnText: "去学习",
formData: {
applyAgain: 0,
applyRange: "",
applyTime: "",
creditId: 0,
projectName: "",
grade: "",
value: 0,
icCardNumber: "",
idCardNumber: "",
name: "",
projectName: "",
status: 1,
statusDesc: "",
applyRange: null,
tips: "",
name: null,
idCardNumber: null,
icCardNumber: null,
applyTime: null
value: 0,
},
projectId: 1,
token: "9B62E5874DA94979A54DB3E9DFC1443F"
......@@ -201,6 +202,10 @@ export default {
this.needShowTips = true;
this.statusText = "审核失败";
this.statusStyle = "error";
// 如果applyAgain为0时,则不显示按钮
if(this.formData.applyAgain == 0) {
this.needShowBtn = false;
}
this.btnText = "重新提交";
// this.statusDescText = '您提交的信息不准确,请重新提交或联系云鹊医官方客服';
} else if (status == 5) {
......@@ -285,6 +290,7 @@ export default {
res => {
this.formData = res.data;
this.statusChanged(this.formData.status);
// this.statusChanged(5);
}
);
}
......
......@@ -52,7 +52,8 @@ export default {
isShowNavbar: true,
isFixNavbar: false,
pointStyle: "activity",
isShowDialog: false
isShowDialog: false,
creditId: 0
};
},
watch: {
......@@ -84,7 +85,7 @@ export default {
// 前一页面传creditId
// this.projectId = this.$route && this.$route.query && this.$route.query.projectId || '';
this.from = this.$route && this.$route.query && this.$route.query.from || this.from;
this.creditId = this.$route && this.$route.query && this.$route.query.creditId || 393;
this.creditId = this.$route && this.$route.query && this.$route.query.creditId || this.creditId;
// this.formData.id = this.projectId;
this.formData.creditId = this.creditId;
this.token = this.$route && this.$route.query && this.$route.query.token || this.token || ''
......@@ -177,6 +178,9 @@ export default {
.van-cell__title span {
font-weight: 400 !important;
}
.van-field__control {
line-height: px2rem(40px);
}
}
</style>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册