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
bdf35843
authored
2022-10-09 16:11:58 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
证书使用情况
1 parent
b4e2efcc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
21 deletions
src/api/zsgl.js
src/views/zsgl/components/viewDialog.vue
src/views/zsgl/zssyjl/zssyjl.vue
src/views/zsgl/zssyjl/zssyjldata.js
src/api/zsgl.js
View file @
bdf3584
...
...
@@ -111,4 +111,14 @@ export function getZssyqkList (data) {
method
:
'post'
,
data
})
}
/*
证书管理-证书使用情况详情
*/
export
function
getZssyqkInfo
(
params
)
{
return
request
({
url
:
'/sys/zsgl/getZssyqkInfo'
,
method
:
'get'
,
params
})
}
\ No newline at end of file
...
...
src/views/zsgl/components/viewDialog.vue
View file @
bdf3584
...
...
@@ -113,6 +113,7 @@
</
template
>
<
script
>
import
{
getZssyqkInfo
}
from
"@/api/zsgl.js"
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
...
...
@@ -120,23 +121,7 @@ export default {
data
()
{
return
{
myValue
:
this
.
value
,
ruleForm
:
{
rkbh
:
''
,
rksj
:
''
,
rkry
:
''
,
djjg
:
''
,
bz
:
''
,
ffbh
:
''
,
lqsj
:
''
,
// 证书信息
bdcqzh
:
''
,
ywh
:
''
,
bdcdyh
:
''
,
zslx
:
''
,
ysxlh
:
''
,
sfzf
:
''
,
zfyy
:
''
}
ruleForm
:
{}
}
},
watch
:
{
...
...
@@ -145,7 +130,12 @@ export default {
},
},
methods
:
{
getDetail
()
{
getDetail
(
bsmZswj
)
{
getZssyqkInfo
({
"bsmZswj"
:
bsmZswj
}).
then
(
res
=>
{
if
(
res
.
code
==
200
){
this
.
ruleForm
=
res
.
result
}
})
},
submitForm
()
{
},
...
...
src/views/zsgl/zssyjl/zssyjl.vue
View file @
bdf3584
...
...
@@ -44,7 +44,7 @@
:data=
"tableData.data"
>
</lb-table>
</div>
<viewDialog
v-model=
"isDialog"
/>
<viewDialog
ref=
"viewDialog"
v-model=
"isDialog"
/>
</div>
</
template
>
<
script
>
...
...
@@ -90,8 +90,11 @@ export default {
}
})
},
openDialog
()
{
openDialog
(
item
)
{
this
.
isDialog
=
true
this
.
$nextTick
(()
=>
{
this
.
$refs
.
viewDialog
.
getDetail
(
item
.
bsmZswj
);
})
}
}
}
...
...
src/views/zsgl/zssyjl/zssyjldata.js
View file @
bdf3584
...
...
@@ -75,7 +75,7 @@ class data extends filter {
align
:
'center'
,
fixed
:
'right'
,
render
:
(
h
,
scope
)
=>
{
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
vm
.
openDialog
()
}}
>
查看
<
/el-button
>
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
vm
.
openDialog
(
scope
.
row
)
}}
>
查看
<
/el-button
>
}
}
]
...
...
Please
register
or
sign in
to post a comment