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
ba024b79
authored
2023-08-17 16:43:50 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
8a97c61d
8dfd49ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
6 deletions
src/views/workflow/components/qlrCommonTable.vue
src/views/zsgl/zsff/components/addDialog.vue
src/views/zsgl/zsff/zsff.vue
src/views/workflow/components/qlrCommonTable.vue
View file @
ba024b7
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-17 1
4:30:26
* @LastEditTime: 2023-08-17 1
6:43:18
-->
<
template
>
<div>
...
...
@@ -165,15 +165,20 @@
* @author: renchao
*/
handleupdateDetail
(
value
)
{
let
arr
=
this
.
tableData
.
map
(
item
=>
item
.
zjh
)
if
(
this
.
isaddupdate
)
{
if
(
!
_
.
isEqual
(
value
,
this
.
tableData
))
{
if
(
!
arr
.
includes
(
value
.
zjh
))
{
this
.
tableDataList
[
this
.
tableDataList
.
length
]
=
_
.
cloneDeep
(
value
);
this
.
$emit
(
'upDateQlrxxList'
,
this
.
tableDataList
)
}
else
{
this
.
$message
.
error
(
'证件号不能重复'
);
}
}
else
{
if
(
!
_
.
isEqual
(
value
,
this
.
tableData
))
{
if
(
!
arr
.
includes
(
value
.
zjh
))
{
this
.
tableDataList
[
this
.
dataIndex
]
=
_
.
cloneDeep
(
value
);
this
.
$emit
(
'upDateQlrxxList'
,
this
.
tableDataList
)
}
else
{
this
.
$message
.
error
(
'证件号不能重复'
);
}
}
this
.
key
++
...
...
src/views/zsgl/zsff/components/addDialog.vue
View file @
ba024b7
...
...
@@ -61,6 +61,7 @@
<
script
>
import
{
getZsStartNo
,
getZsEndNo
,
zsff
,
getZsglInfo
}
from
"@/api/zsgl.js"
import
{
getSysSerialSingle
}
from
"@/api/sysSerial.js"
import
axios
from
"axios"
;
export
default
{
props
:
{
formData
:
{
...
...
@@ -110,7 +111,7 @@ export default {
digit
:
'5'
},
//用户列表
usernames
:
[
'张三'
,
'李四'
],
usernames
:
[],
rules
:
{
batchNo
:
[
{
required
:
true
,
message
:
'入库编号不能为空'
,
trigger
:
'blur'
}
...
...
@@ -133,8 +134,22 @@ export default {
this
.
ywhSerial
();
this
.
initStartNo
();
}
this
.
getreceiver
()
},
methods
:
{
//领取人列表
/**
* @description: 领取人列表
* @author: renchao
*/
getreceiver
(){
let
url
=
window
.
_config
.
services
.
management
+
"/management/rest/users?organizationId="
+
this
.
formData
.
organizationId
axios
.
get
(
url
).
then
(
res
=>
{
res
.
data
.
content
.
forEach
((
item
)
=>
{
this
.
usernames
.
push
(
item
.
name
)
})
})
},
//表单提交
/**
* @description: 表单提交
...
...
src/views/zsgl/zsff/zsff.vue
View file @
ba024b7
...
...
@@ -46,8 +46,12 @@
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./zsffdata"
;
import
{
mapGetters
}
from
"vuex"
;
import
{
getZsglffList
,
removeZsgl
,
confirmZsff
}
from
"@/api/zsgl.js"
export
default
{
export
default
{
computed
:
{
...
mapGetters
([
"userInfo"
]),
},
name
:
"zsff"
,
mixins
:
[
table
],
mounted
()
{
...
...
@@ -99,8 +103,10 @@
* @author: renchao
*/
openDialog
(
bsmBatch
)
{
console
.
log
(
"this.userInfo"
,
this
.
userInfo
);
this
.
$popupDialog
(
"证书分发"
,
"zsgl/zsff/components/addDialog"
,
{
bsmBatch
:
bsmBatch
bsmBatch
:
bsmBatch
,
organizationId
:
this
.
userInfo
.
organizationId
},
"50%"
)
},
/**
...
...
Please
register
or
sign in
to post a comment