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
b7330153
Commit
b7330153
authored
Mar 04, 2024
by
mzx
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mengzixuan' of
http://gitlab.91isoft.com:90/car-test/web
into develop
parents
6ba8525c
3b387ae7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
259 additions
and
0 deletions
+259
-0
index.vue
src/views/informationBase/viewStandard/index.vue
+212
-0
index.vue
src/views/informationBase/viewStandardTerms/index.vue
+12
-0
index.vue
src/views/informationBase/viewTemplate/index.vue
+12
-0
index.vue
src/views/informationBase/viewTestMatrix/index.vue
+12
-0
index.vue
src/views/informationBase/viewUseCaseLibrary/index.vue
+11
-0
No files found.
src/views/informationBase/viewStandard/index.vue
0 → 100644
View file @
b7330153
<!-- 查看标准库 -->
<
template
>
<page-standard>
<el-table
v-loading=
"loading"
style=
"width: 100%; min-height: 88px"
border
:span-method=
"objectSpanMethod"
:scroll-x=
"'1500px'"
:default-sort=
"
{ prop: 'createTime', order: 'descending' }"
:data="tableData"
>
<el-table-column
type=
"index"
width=
"55"
label=
"序号"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"标准分类"
min-width=
"200"
prop=
"standardType"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"dict in classFicationList"
:key=
"dict.dictValue"
>
<div
v-if=
"dict.dictValue == scope.row.standardType"
style=
"display: flex"
>
{{
dict
.
dictLabel
}}
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"standardNo"
label=
"标准号"
min-width=
"200"
align=
"left"
>
</el-table-column>
<el-table-column
prop=
"name"
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=
"标准状态"
min-width=
"200"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"dict in standardFicationList"
:key=
"dict.dictValue"
>
<div
v-if=
"dict.dictValue == scope.row.standardStatus"
style=
"display: flex"
>
{{
dict
.
dictLabel
}}
</div>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"发布日期"
min-width=
"200"
align=
"left"
sortable
prop=
"releaseDate"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
releaseDate
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"实施日期"
min-width=
"200"
align=
"left"
sortable
prop=
"implementationDate"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
implementationDate
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"left"
min-width=
"160"
fixed=
"right"
class-name=
"fixed-width"
>
<
template
slot-scope=
"scope"
>
<div
class=
"button-bar"
>
<page-button
v-hasPermi=
"['setting:standard:update']"
icon=
"edit"
title=
"修改"
@
click
.
native=
"handleUpdate(scope.row)"
></page-button>
</div>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:background=
"false"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"loadData"
>
</pagination>
<tixi-dialog
ref=
"TixiDialog"
:dialog-manger=
"TixiDialogManger"
@
close=
"TixiDialogManger.dialogVisible = false"
@
refresh=
"TixiDialogManger.refreshList = true"
></tixi-dialog>
</page-standard>
</template>
<
script
>
import
page
from
'@/mixins/page'
import
request
from
'@/utils/request'
import
{
geSpanList
}
from
'@/utils/table'
export
default
{
mixins
:
[
page
],
dicts
:
[
'sys_detailed_classification'
],
data
()
{
return
{
listUrl
:
'/standard/findStandardList'
,
showSearch
:
true
,
list
:
[],
tableData
:
[],
TixiDialogManger
:
{
dialogVisible
:
false
,
refreshList
:
false
,
dialogEditId
:
null
},
classFicationList
:
[],
standardFicationList
:
[]
}
},
watch
:
{
'TixiDialogManger.refreshList'
(
val
)
{
if
(
val
)
{
this
.
loadData
()
this
.
TixiDialogManger
.
refreshList
=
false
}
}
},
mounted
()
{
this
.
getDicts
(
'sys_detailed_classification'
).
then
(
response
=>
{
this
.
classFicationList
=
response
.
data
})
this
.
getDicts
(
'sys_standard_status'
).
then
(
response
=>
{
this
.
standardFicationList
=
response
.
data
})
},
methods
:
{
downPdf
(
row
)
{
console
.
log
(
'row'
,
row
)
window
.
open
(
process
.
env
.
VUE_APP_IMAGE_API
+
row
.
file
)
},
viewTemplate
()
{
// this.$router.push({
// path: '/processing/reviewReport'
// })
window
.
open
(
'http://storage.xuetangx.com/public_assets/xuetangx/PDF/PlayerAPI_v1.0.6.pdf'
)
},
objectSpanMethod
()
{},
handleAdd
()
{
this
.
TixiDialogManger
.
dialogVisible
=
true
this
.
TixiDialogManger
.
source
=
{}
},
handleDelete
(
row
)
{
this
.
$modal
.
confirm
(
'是否确定删除该条数据?'
,
'操作确认'
)
.
then
(()
=>
{
// return delNotice(noticeIds)
})
.
then
(()
=>
{
this
.
loadData
()
this
.
$modal
.
msgSuccess
(
'删除成功'
)
})
.
catch
(()
=>
{})
},
handleUpdate
(
row
)
{
console
.
log
(
'row'
,
row
)
this
.
TixiDialogManger
.
dialogVisible
=
true
this
.
TixiDialogManger
.
dialogEditId
=
row
.
id
}
}
}
</
script
>
<
style
scoped
>
.font-color
{
text-decoration
:
underline
;
color
:
#1a6fd7
;
cursor
:
pointer
;
}
</
style
>
src/views/informationBase/viewStandardTerms/index.vue
0 → 100644
View file @
b7330153
<!-- 查看检验内容 -->
<
template
>
<page-standard>
</page-standard>
</
template
>
<
script
>
export
default
{
name
:
'Index'
}
</
script
>
<
style
scoped
></
style
>
src/views/informationBase/viewTemplate/index.vue
0 → 100644
View file @
b7330153
<!-- 查看模板库 -->
<
template
>
<page-standard>
</page-standard>
</
template
>
<
script
>
export
default
{
name
:
'Index'
}
</
script
>
<
style
scoped
></
style
>
src/views/informationBase/viewTestMatrix/index.vue
0 → 100644
View file @
b7330153
<!-- 查看矩阵 -->
<
template
>
<page-standard>
</page-standard>
</
template
>
<
script
>
export
default
{
name
:
'Index'
}
</
script
>
<
style
scoped
></
style
>
src/views/informationBase/viewUseCaseLibrary/index.vue
0 → 100644
View file @
b7330153
<!-- 查看测试用例库 -->
<
template
>
<page-standard>
</page-standard>
</
template
>
<
script
>
export
default
{
name
:
'Index'
}
</
script
>
<
style
scoped
></
style
>
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