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
63990bac
authored
2023-06-13 13:12:42 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:身份证读卡器
1 parent
f6a32df3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
src/views/workflow/components/qlrCommonTable.vue
src/views/workflow/components/qlrCommonTable.vue
View file @
63990ba
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
5-17 10:41:20
* @LastEditTime: 2023-0
6-13 13:12:25
-->
<
template
>
<div>
...
...
@@ -12,8 +12,9 @@
</div>
</
template
>
<
script
>
import
a
ddQlr
from
'./dialog/addQlr.vue
'
import
a
xios
from
'axios
'
import
{
mapGetters
}
from
'vuex'
import
addQlr
from
'./dialog/addQlr.vue'
export
default
{
components
:
{
addQlr
...
...
@@ -66,7 +67,7 @@
label
:
'身份证读卡器'
,
align
:
'center'
,
render
:
(
h
,
scope
)
=>
{
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-tickets"
onClick
=
{()
=>
{
this
.
readClick
(
scope
)
}}
>
读取
<
/el-button
>
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-tickets"
onClick
=
{()
=>
{
this
.
readClick
(
scope
.
row
)
}}
>
读取
<
/el-button
>
}
},
{
...
...
@@ -193,8 +194,18 @@
},
// 身份证读取
readClick
()
{
},
readClick
(
row
)
{
console
.
log
(
row
,
'row'
);
var
httpurl
=
"http://127.0.0.1:33088/"
;
var
url
=
httpurl
+
"function=get_idcard&readnew=0"
axios
.
post
(
url
).
then
(
res
=>
{
let
data
=
res
.
data
.
IDCardInfo
row
.
sqrmc
=
data
.
name
row
.
zjzl
=
1
row
.
zjh
=
data
.
cardID
})
},
// 修改
editClick
(
index
,
row
)
{
// popupDialog("申请人信息", "workflow/components/addQlr", {
...
...
Please
register
or
sign in
to post a comment