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
48fae78f
authored
2023-11-03 13:20:21 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书分发 证书入库
1 parent
7f850d68
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
13 deletions
src/views/zsgl/zsff/components/addDialog.vue
src/views/zsgl/zsff/zsff.vue
src/views/zsgl/zsrk/components/addDialog.vue
src/views/zsgl/zsrk/zsrk.vue
src/views/zsgl/zsff/components/addDialog.vue
View file @
48fae78
This diff is collapsed.
Click to expand it.
src/views/zsgl/zsff/zsff.vue
View file @
48fae78
...
...
@@ -44,22 +44,33 @@
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
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
{
computed
:
{
...
mapGetters
([
"userInfo"
]),
},
export
default
{
computed
:
{
...
mapGetters
([
"userInfo"
]),
},
name
:
"zsff"
,
mixins
:
[
table
],
mounted
()
{
sendThis
(
this
);
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
},
activated
()
{
this
.
queryClick
()
},
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
queryClick
()
},
immediate
:
true
}
},
data
()
{
return
{
value
:
''
,
...
...
@@ -96,17 +107,16 @@
}
},
methods
:
{
// 查看弹框
/**
* @description: 查看弹框
* @param {*} bsmBatch
* @author: renchao
*/
openDialog
(
bsmBatch
)
{
console
.
log
(
"this.userInfo"
,
this
.
userInfo
);
console
.
log
(
"this.userInfo"
,
this
.
userInfo
);
this
.
$popupDialog
(
"证书分发"
,
"zsgl/zsff/components/addDialog"
,
{
bsmBatch
:
bsmBatch
,
organizationId
:
this
.
userInfo
.
organizationId
organizationId
:
this
.
userInfo
.
organizationId
},
"50%"
)
},
/**
...
...
@@ -122,7 +132,6 @@
}
})
},
//确定证书分发
/**
* @description: 确定证书分发
* @param {*} item
...
...
@@ -149,7 +158,6 @@
});
});
},
//删除证书分发数据
/**
* @description: 删除证书分发数据
* @param {*} item
...
...
src/views/zsgl/zsrk/components/addDialog.vue
View file @
48fae78
...
...
@@ -151,13 +151,14 @@
return
;
}
})
store
.
dispatch
(
"user/refreshPage"
,
false
);
zsrk
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
$popupCacel
()
this
.
$refs
[
'ruleForm'
].
resetFields
()
;
this
.
resetTableFields
()
;
this
.
$parent
.
queryClick
();
this
.
$refs
[
'ruleForm'
].
resetFields
()
this
.
resetTableFields
()
store
.
dispatch
(
"user/refreshPage"
,
true
)
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
...
...
src/views/zsgl/zsrk/zsrk.vue
View file @
48fae78
...
...
@@ -42,6 +42,7 @@
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./zsrkdata"
;
import
{
getZsglrkList
,
removeZsgl
,
verifyZsrk
}
from
"@/api/zsgl.js"
;
...
...
@@ -51,9 +52,20 @@
mounted
()
{
sendThis
(
this
);
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
},
activated
()
{
this
.
queryClick
()
},
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
queryClick
()
},
immediate
:
true
}
},
data
()
{
return
{
ruleForm
:
{
...
...
Please
register
or
sign in
to post a comment