Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-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
中汽研标准应用数据库
car-database-web
Commits
6bc78b1e
Commit
6bc78b1e
authored
Sep 10, 2024
by
zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 合并检测要点至标准文本
parent
ee341259
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
+18
-8
index.vue
src/views/setting/standard/index.vue
+18
-8
No files found.
src/views/setting/standard/index.vue
View file @
6bc78b1e
...
...
@@ -72,7 +72,7 @@
v-loading=
"loading"
border
:span-method=
"objectSpanMethod"
:row-style=
"
{
height:'50px'
}"
:row-style=
"
{
height: '50px'
}"
:scroll-x="'1500px'"
:default-sort="{ prop: 'releaseDate', order: 'descending' }"
:data="tableData"
...
...
@@ -110,11 +110,18 @@
</el-table-column>
<el-table-column
prop=
"name"
label=
"标准名称"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<div
class=
"font-color"
@
click=
"downPdf(scope.row)"
>
<div
class=
"font-color"
@
click=
"downPdf(scope.row
,'name'
)"
>
{{
scope
.
row
.
name
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"keypointName"
label=
"检测要点文件"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<div
class=
"font-color"
@
click=
"downPdf(scope.row, 'keypointname')"
>
{{
scope
.
row
.
keypointName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"standardStatus"
label=
"标准状态"
...
...
@@ -176,7 +183,7 @@
<
/el-table-column> --
>
<
/el-table
>
<
pagination
style
=
"height: 50px
;
"
style
=
"height: 50px"
v
-
show
=
"total > 0"
:
total
=
"total"
:
background
=
"false"
...
...
@@ -259,9 +266,12 @@ export default {
this
.
loadData
()
}
}
,
downPdf
(
row
)
{
console
.
log
(
'row'
,
row
)
downPdf
(
row
,
name
)
{
if
(
name
==
'name'
)
{
window
.
open
(
process
.
env
.
VUE_APP_IMAGE_API
+
row
.
file
)
}
else
if
(
name
==
'keypointname'
)
{
window
.
open
(
process
.
env
.
VUE_APP_IMAGE_API
+
row
.
keypointFile
)
}
}
,
viewTemplate
()
{
// this.$router.push(
{
...
...
@@ -291,7 +301,7 @@ export default {
this
.
$modal
.
msgSuccess
(
'删除成功'
)
}
)
.
catch
(()
=>
{
}
)
}
,
}
// handleUpdate(row)
{
// console.log('row', row)
// this.TixiDialogManger.dialogVisible = true
...
...
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