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

creditId字段的默认值问题

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