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
0c9dab6a
authored
2023-08-17 16:35:45 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
806aa33f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
3 deletions
src/views/zsgl/zsff/components/addDialog.vue
src/views/zsgl/zsff/zsff.vue
src/views/zsgl/zsff/components/addDialog.vue
View file @
0c9dab6
...
...
@@ -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 @
0c9dab6
...
...
@@ -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