Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8f1e1073
authored
2023-12-18 09:25:12 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
e1b989a1
f9f7c736
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
2 deletions
src/views/workflow/components/dialog/zslq.vue
src/views/workflow/components/dialog/zslq.vue
View file @
8f1e107
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-1
1-07 08:46:12
* @LastEditTime: 2023-1
2-18 09:24:03
-->
<
template
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
>
...
...
@@ -147,7 +147,34 @@
* @author: renchao
*/
readClick
()
{
getIdCardInfo
().
then
(
res
=>
{
function
getObjectByValue
(
arrayOfObjects
,
value
)
{
var
name
=
''
arrayOfObjects
.
forEach
(
item
=>
{
if
(
item
.
dname
.
includes
(
value
))
name
=
item
.
dcode
})
return
name
}
getIdCardInfo
(
this
.
BASE_API
.
gaopaiyi
).
then
(
res
=>
{
if
(
this
.
BASE_API
.
gaopaiyi
==
'jy'
)
{
const
{
Name
,
IdNo
,
}
=
JSON
.
parse
(
res
)
if
(
Name
)
{
this
.
ruleForm
.
lzrxm
=
Name
;
this
.
ruleForm
.
lzrzjlb
=
'1'
;
this
.
ruleForm
.
lzrzjh
=
IdNo
;
this
.
$message
({
message
:
'读取成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
'请放置身份证'
,
type
:
'warning'
})
}
}
else
{
if
(
res
.
data
.
code
==
0
)
{
let
data
=
res
.
data
.
IDCardInfo
this
.
ruleForm
.
lzrxm
=
data
.
name
...
...
@@ -163,6 +190,7 @@
type
:
'warning'
})
}
}
})
},
/**
...
...
Please
register
or
sign in
to post a comment