Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cooperation-cme
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-cooperation-cme
提交
8bb3d6cd
提交
8bb3d6cd
编写于
1月 03, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
creditId字段的默认值问题
上级
4e876432
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
23 行增加
和
13 行删除
+23
-13
credit-detail.vue
src/views/credit-detail.vue
+17
-11
credit-edit.vue
src/views/credit-edit.vue
+6
-2
未找到文件。
src/views/credit-detail.vue
浏览文件 @
8bb3d6cd
...
@@ -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
:
tru
e
,
needShowUserInfo
:
fals
e
,
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);
}
}
);
);
}
}
...
...
src/views/credit-edit.vue
浏览文件 @
8bb3d6cd
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录