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
5283851d
authored
2023-12-15 09:39:52 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:增加判断是否放置身份证
1 parent
02bd9b35
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
35 additions
and
29 deletions
src/views/djbworkflow/components/dialog/addQlr.vue
src/views/djbworkflow/components/dialog/addYwr.vue
src/views/djbworkflow/components/qlrCommonTable.vue
src/views/djbworkflow/components/ywrCommonTable.vue
src/views/workflow/components/dialog/addQlr.vue
src/views/workflow/components/qlrCommonTable.vue
src/views/workflow/components/ywrCommonTable.vue
src/views/djbworkflow/components/dialog/addQlr.vue
View file @
5283851
...
...
@@ -613,6 +613,7 @@
Agencvy
,
PhotoB64
}
=
JSON
.
parse
(
res
)
if
(
Name
)
{
this
.
ruleForm
.
qlrmc
=
Name
;
this
.
ruleForm
.
zjzl
=
'1'
;
this
.
ruleForm
.
zjh
=
IdNo
;
...
...
@@ -625,6 +626,12 @@
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
'请放置身份证'
,
type
:
'warning'
})
}
}
else
{
if
(
res
.
data
.
code
==
0
)
{
let
data
=
res
.
data
.
IDCardInfo
;
const
{
...
...
src/views/djbworkflow/components/dialog/addYwr.vue
View file @
5283851
...
...
@@ -602,6 +602,7 @@
Agencvy
,
PhotoB64
}
=
JSON
.
parse
(
res
)
if
(
Name
)
{
this
.
ruleForm
.
ywrmc
=
Name
;
this
.
ruleForm
.
zjzl
=
'1'
;
this
.
ruleForm
.
zjh
=
IdNo
;
...
...
@@ -614,6 +615,12 @@
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
'请放置身份证'
,
type
:
'warning'
})
}
}
else
{
if
(
res
.
data
.
code
==
0
)
{
let
data
=
res
.
data
.
IDCardInfo
this
.
ruleForm
.
ywrmc
=
data
.
name
...
...
src/views/djbworkflow/components/qlrCommonTable.vue
View file @
5283851
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-15 09:
10:28
* @LastEditTime: 2023-12-15 09:
36:45
-->
<
template
>
<div>
...
...
@@ -178,21 +178,14 @@
let
that
=
this
;
this
.
$nextTick
(()
=>
{
if
(
val
.
length
==
0
||
!
val
)
{
that
.
tableDataList
=
_
.
cloneDeep
([
// {
// qlrmc: "",
// dlrzjlx: "",
// dlrzjh: "",
// fr: "",
// },
]);
that
.
tableDataList
=
_
.
cloneDeep
([])
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
)
;
that
.
tableDataList
=
_
.
cloneDeep
(
val
)
}
})
;
})
},
immediate
:
true
,
deep
:
true
,
deep
:
true
},
gyfs
:
{
handler
(
newVal
,
oldValue
)
{
...
...
@@ -211,8 +204,8 @@
}
},
immediate
:
true
,
deep
:
true
,
}
,
deep
:
true
}
},
methods
:
{
/**
...
...
@@ -277,6 +270,7 @@
Agencvy
,
PhotoB64
}
=
JSON
.
parse
(
res
)
if
(
Name
)
{
row
.
qlrmc
=
Name
;
row
.
zjzl
=
'1'
;
row
.
zjh
=
IdNo
;
...
...
@@ -284,14 +278,13 @@
row
.
dz
=
Address
;
row
.
fzjg
=
Agencvy
;
row
.
avatar
=
'data:image/png;base64,'
+
PhotoB64
if
(
row
.
qlrmc
)
{
this
.
$message
({
message
:
'读取成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
'请
重新
放置身份证'
,
message
:
'请放置身份证'
,
type
:
'warning'
})
}
...
...
src/views/djbworkflow/components/ywrCommonTable.vue
View file @
5283851
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-15 09:
10:42
* @LastEditTime: 2023-12-15 09:
37:47
-->
<
template
>
<div>
...
...
@@ -270,6 +270,7 @@
Agencvy
,
PhotoB64
}
=
JSON
.
parse
(
res
)
if
(
Name
)
{
row
.
ywrmc
=
Name
;
row
.
zjzl
=
'1'
;
row
.
zjh
=
IdNo
;
...
...
@@ -277,14 +278,13 @@
row
.
txdz
=
Address
;
row
.
fzjg
=
Agencvy
;
row
.
avatar
=
'data:image/png;base64,'
+
PhotoB64
if
(
row
.
ywrmc
)
{
this
.
$message
({
message
:
'读取成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
'请
重新
放置身份证'
,
message
:
'请放置身份证'
,
type
:
'warning'
})
}
...
...
src/views/workflow/components/dialog/addQlr.vue
View file @
5283851
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-1
4 14:11:53
* @LastEditTime: 2023-12-1
5 09:36:06
-->
<
template
>
<dialogBox
...
...
@@ -617,6 +617,7 @@
Agencvy
,
PhotoB64
}
=
JSON
.
parse
(
res
)
if
(
Name
)
{
this
.
ruleForm
.
sqrmc
=
Name
;
this
.
ruleForm
.
zjzl
=
'1'
;
this
.
ruleForm
.
zjh
=
IdNo
;
...
...
@@ -624,14 +625,13 @@
this
.
ruleForm
.
txdz
=
Address
;
this
.
ruleForm
.
fzjg
=
Agencvy
;
this
.
ruleForm
.
avatar
=
'data:image/png;base64,'
+
PhotoB64
if
(
this
.
ruleForm
.
sqrmc
)
{
this
.
$message
({
message
:
'读取成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
'请
重新
放置身份证'
,
message
:
'请放置身份证'
,
type
:
'warning'
})
}
...
...
src/views/workflow/components/qlrCommonTable.vue
View file @
5283851
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-15 09:
01:05
* @LastEditTime: 2023-12-15 09:
35:06
-->
<
template
>
<div>
...
...
@@ -15,7 +15,6 @@
import
{
mapGetters
}
from
'vuex'
import
{
getIdCardInfo
}
from
'@/utils/operation.js'
import
addQlr
from
'./dialog/addQlr.vue'
import
{
log
}
from
'bpmn-js-token-simulation'
export
default
{
components
:
{
addQlr
...
...
@@ -250,6 +249,7 @@
Agencvy
,
PhotoB64
}
=
JSON
.
parse
(
res
)
if
(
Name
!=
''
)
{
row
.
sqrmc
=
Name
;
row
.
zjzl
=
'1'
;
row
.
zjh
=
IdNo
;
...
...
@@ -257,14 +257,13 @@
row
.
txdz
=
Address
;
row
.
fzjg
=
Agencvy
;
row
.
avatar
=
'data:image/png;base64,'
+
PhotoB64
if
(
row
.
sqrmc
)
{
this
.
$message
({
message
:
'读取成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
'请
重新
放置身份证'
,
message
:
'请放置身份证'
,
type
:
'warning'
})
}
...
...
src/views/workflow/components/ywrCommonTable.vue
View file @
5283851
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-15 09:
02:50
* @LastEditTime: 2023-12-15 09:
35:51
-->
<
template
>
<div>
...
...
@@ -221,6 +221,7 @@
Agencvy
,
PhotoB64
}
=
JSON
.
parse
(
res
)
if
(
Name
)
{
row
.
sqrmc
=
Name
;
row
.
zjzl
=
'1'
;
row
.
zjh
=
IdNo
;
...
...
@@ -228,14 +229,13 @@
row
.
txdz
=
Address
;
row
.
fzjg
=
Agencvy
;
row
.
avatar
=
'data:image/png;base64,'
+
PhotoB64
if
(
row
.
sqrmc
)
{
this
.
$message
({
message
:
'读取成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
'请
重新
放置身份证'
,
message
:
'请放置身份证'
,
type
:
'warning'
})
}
...
...
Please
register
or
sign in
to post a comment