Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
中汽测评-信息安全测评系统
web
Commits
ed7b7171
Commit
ed7b7171
authored
Feb 28, 2024
by
mzx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(标准库管理): pdf地址修改
parent
2f933351
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
10 deletions
+18
-10
index.vue
src/views/setting/scene/index.vue
+0
-1
Tixidialog.vue
src/views/setting/standard/components/Tixidialog.vue
+6
-6
index.vue
src/views/setting/standard/index.vue
+12
-2
index.vue
src/views/setting/testType/index.vue
+0
-1
No files found.
src/views/setting/scene/index.vue
View file @
ed7b7171
...
...
@@ -93,7 +93,6 @@
label=
"测试场景"
prop=
"testScenario"
min-width=
"200"
sortable
align=
"left"
>
</el-table-column>
...
...
src/views/setting/standard/components/Tixidialog.vue
View file @
ed7b7171
<
template
>
<el-dialog
:visible
.
sync=
"dialogManger.dialogVisible"
:title=
"modelTitle
"
title=
"修改
"
width=
"1200"
append-to-body
destroy-on-close
...
...
@@ -130,11 +130,11 @@ export default {
}
}
},
computed
:
{
modelTitle
()
{
return
this
.
dialogManger
.
dialogEditId
?
'编辑标准'
:
'新增标准'
}
},
//
computed: {
//
modelTitle() {
//
return this.dialogManger.dialogEditId ? '编辑标准' : '新增标准'
//
}
//
},
watch
:
{
'dialogManger.dialogEditId'
(
newValue
)
{
this
.
model
.
fetch
(
...
...
src/views/setting/standard/index.vue
View file @
ed7b7171
...
...
@@ -43,7 +43,13 @@
label=
"标准名称"
min-width=
"200"
align=
"left"
/>
>
<
template
slot-scope=
"scope"
>
<div
class=
"font-color"
@
click=
"downPdf(scope.row)"
>
{{
scope
.
row
.
name
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"standardStatus"
label=
"标准状态"
...
...
@@ -163,6 +169,10 @@ export default {
})
},
methods
:
{
downPdf
(
row
)
{
console
.
log
(
'row'
,
row
)
window
.
open
(
process
.
env
.
VUE_APP_IMAGE_API
+
row
.
file
)
},
viewTemplate
()
{
// this.$router.push({
// path: '/processing/reviewReport'
...
...
@@ -199,7 +209,7 @@ export default {
<
style
scoped
>
.font-color
{
text-decoration
:
underline
;
color
:
#1
890ff
;
color
:
#1
a6fd7
;
cursor
:
pointer
;
}
</
style
>
src/views/setting/testType/index.vue
View file @
ed7b7171
...
...
@@ -93,7 +93,6 @@
label=
"测试类型"
prop=
"testType"
min-width=
"200"
sortable
align=
"left"
>
</el-table-column>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment