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
21c7e09b
authored
2023-09-28 15:16:49 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:添加义务人功能的完善
1 parent
4f756156
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
15 deletions
src/views/djbworkflow/components/qlrCommonTable.vue
src/views/djbworkflow/components/ywrCommonTable.vue
src/views/djbworkflow/components/qlrCommonTable.vue
View file @
21c7e09
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-2
6 15:38:25
* @LastEditTime: 2023-09-2
8 15:15:37
-->
<
template
>
<div>
...
...
@@ -282,14 +282,6 @@
})
},
/**
* @description: 身份证读取按钮禁用
* @author: renchao
*/
onreadClick
()
{
this
.
$message
.
error
(
"此阶段不可编辑"
);
},
// 修改
/**
* @description: 修改
* @param {*} index
* @param {*} row
...
...
src/views/djbworkflow/components/ywrCommonTable.vue
View file @
21c7e09
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-
01 13:43:42
* @LastEditTime: 2023-09-
28 15:15:21
-->
<
template
>
<div>
...
...
@@ -21,8 +21,9 @@
</div>
</
template
>
<
script
>
import
addYwr
from
"./dialog/addYwr.vue"
;
import
{
mapGetters
}
from
"vuex"
;
import
addYwr
from
"./dialog/addYwr.vue"
;
import
{
getIdCardInfo
}
from
'@/utils/operation.js'
export
default
{
components
:
{
addYwr
,
...
...
@@ -102,7 +103,7 @@
icon
=
"el-icon-tickets"
disabled
=
{
!
this
.
ableOperation
}
onClick
=
{()
=>
{
this
.
readClick
(
scope
);
this
.
readClick
(
scope
.
row
);
}}
>
读取
...
...
@@ -255,14 +256,33 @@
this
.
$emit
(
"upDateQlrxxList"
,
this
.
tableDataList
);
},
// 身份证读取
/**
* @description: 身份证读取
* @author: renchao
*/
readClick
()
{
},
readClick
(
row
)
{
getIdCardInfo
().
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
let
data
=
res
.
data
.
IDCardInfo
row
.
ywrmc
=
data
.
name
row
.
zjzl
=
'1'
row
.
zjh
=
data
.
cardID
row
.
xb
=
data
.
sexCode
row
.
txdz
=
data
.
address
row
.
fzjg
=
data
.
issueOrgan
this
.
$message
({
message
:
'读取成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
res
.
data
.
message
,
type
:
'warning'
})
}
})
},
// 修改
/**
* @description: 修改
* @param {*} index
...
...
Please
register
or
sign in
to post a comment