Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
1a8977f1
Commit
1a8977f1
authored
Dec 13, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
证件类型bug修复
parent
3222649e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
pages/application-process/basic-info.vue
+14
-10
pages/application-process/education.vue
+1
-1
No files found.
pages/application-process/basic-info.vue
View file @
1a8977f1
...
...
@@ -81,11 +81,11 @@
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
>
<view
class=
"uni-input"
>
{{
idTypesList
[
idTypeIdx
][
'name'
]
}}
<text
class=
"iconfont icon-youjiantou"
></text>
</view>
</view>
</picker>
</view>
<view
class=
"contentItem"
>
<text>
证件号码
</text>
<text>
证件号码
{{
this
.
applyParam
.
approvalStatus
!=
0
&&
this
.
applyParam
.
approvalStatus
!=
2
}}
</text>
<view>
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.idNo"
placeholder=
"请输入证件号码"
auto-blur=
true
@
blur=
"checkInput(3,applyParam.idNo)"
...
...
@@ -189,7 +189,7 @@
this
.
applyParam
.
mobileNumber
=
JSON
.
parse
(
uni
.
getStorageSync
(
'cffp_userInfo'
))[
'mobile'
];
}
}
this
.
erpInitialize
();
//
this.erpInitialize();
// let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
// let curRoute = routes[routes.length - 1].route // 获取当前页面路由,也就是最后一个打开的页面路由
// console.log('当前路由地址',curRoute)
...
...
@@ -209,11 +209,14 @@
},
methods
:
{
erpInitialize
()
{
api
.
erpInitialize
({}).
then
((
res
)
=>
{
if
(
res
[
'success'
])
{
this
.
idTypesList
=
this
.
idTypesList
.
concat
(
res
[
'data'
][
'idTypes'
]);
console
.
log
(
this
.
idTypesList
)
}
return
new
Promise
((
resolve
,
reject
)
=>
{
api
.
erpInitialize
({}).
then
((
res
)
=>
{
resolve
(
res
[
'success'
]);
if
(
res
[
'success'
])
{
this
.
idTypesList
=
this
.
idTypesList
.
concat
(
res
[
'data'
][
'idTypes'
]);
console
.
log
(
this
.
idTypesList
)
}
})
})
},
queryOrgList
()
{
...
...
@@ -302,7 +305,8 @@
}
},
queryById
(
id
,
userId
)
{
async
queryById
(
id
,
userId
)
{
await
this
.
erpInitialize
();
api
.
queryById
({
id
:
id
,
userId
:
userId
...
...
@@ -371,7 +375,7 @@
}
}
}
if
(
!
this
.
applyParam
.
idType
)
{
if
(
!
this
.
applyParam
.
idType
||
this
.
applyParam
.
idType
==
'请选择'
)
{
uni
.
showToast
({
title
:
'请选择证件类型'
,
duration
:
2000
,
...
...
pages/application-process/education.vue
View file @
1a8977f1
...
...
@@ -36,7 +36,7 @@
</picker>
</view>
<view
class=
"contentItem"
>
<text>
毕业学校
{{
applyParam
.
approvalStatus
}}
</text>
<text>
毕业学校
{{
applyParam
.
approvalStatus
}}
{{
this
.
applyParam
.
approvalStatus
!=
0
&&
this
.
applyParam
.
approvalStatus
!=
2
}}
</text>
<input
class=
"form-control"
v-model=
"applyParam.lastGraduateSchool"
style=
"background: #666666;"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/>
</view>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment