Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform-ui
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
2
Merge Requests
2
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
周健威
rs-cloud-platform-ui
Commits
0ab9830c
Commit
0ab9830c
authored
Dec 15, 2020
by
obt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
序号修复
parent
1c2cd241
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
list.vue
src/views/webSiteManagement/imageLibrary/list.vue
+4
-2
list.vue
src/views/webSiteManagement/satelliteIntroduction/list.vue
+1
-5
No files found.
src/views/webSiteManagement/imageLibrary/list.vue
View file @
0ab9830c
...
...
@@ -27,7 +27,7 @@
</el-form>
</div>
<el-table
:data=
"list"
v-loading
.
body=
"listLoading"
border
fit
highlight-current-row
style=
"width: 100%"
>
<el-table-column
align=
"center"
type=
"index"
label=
"序号
"
width=
"65"
></el-table-column>
<el-table-column
align=
"center"
label=
"序号"
prop=
"index
"
width=
"65"
></el-table-column>
<el-table-column
align=
"center"
label=
"产品名称"
prop=
"name"
></el-table-column>
<el-table-column
align=
"center"
label=
"产品类型"
prop=
"paramJson.productType"
></el-table-column>
<el-table-column
align=
"center"
label=
"尺寸"
prop=
"imageInfoRelationList[0].fileWidth"
></el-table-column>
...
...
@@ -212,8 +212,10 @@ export default {
this
.
data
=
res
.
data
.
data
;
this
.
total
=
res
.
data
.
totalCount
;
this
.
listLoading
=
false
;
this
.
list
=
res
.
data
.
data
;
this
.
list
.
forEach
((
element
,
index
)
=>
{
element
.
index
=
((
this
.
listQuery
.
page
-
1
)
*
this
.
listQuery
.
limit
)
+
(
index
+
1
)
});
this
.
list
=
this
.
list
.
map
(
v
=>
{
v
.
paramJson
=
JSON
.
parse
(
v
.
paramJson
)
return
v
...
...
src/views/webSiteManagement/satelliteIntroduction/list.vue
View file @
0ab9830c
...
...
@@ -22,11 +22,7 @@
</el-form>
</div>
<el-table
:data=
"list"
v-loading
.
body=
"listLoading"
border
fit
highlight-current-row
style=
"width: 100%"
>
<el-table-column
align=
"center"
label=
"序号"
width=
"65"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
index
}}
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"序号"
prop=
"index"
width=
"65"
></el-table-column>
<el-table-column
align=
"center"
label=
"卫星名称"
prop=
"name"
></el-table-column>
<el-table-column
align=
"center"
label=
"缩略图"
>
<template
slot-scope=
"scope"
>
...
...
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