Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shld-databoard-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
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
潘自豪 Rambo Pan
shld-databoard-ui
Commits
a84d7dfd
Commit
a84d7dfd
authored
Oct 30, 2023
by
潘自豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增流失客户优化
parent
9bb7c7e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
paging-list.vue
src/module/databoard/components/card/paging-list.vue
+4
-4
lost-add-customer.vue
src/module/databoard/databoard/lost-add-customer.vue
+3
-2
No files found.
src/module/databoard/components/card/paging-list.vue
View file @
a84d7dfd
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<tbody>
<tbody>
<tr
v-for=
"(row, idx) in rightDatas"
:key=
"idx"
:style=
"
{height: 100 / rightDatas.length + '%'}">
<tr
v-for=
"(row, idx) in rightDatas"
:key=
"idx"
:style=
"
{height: 100 / rightDatas.length + '%'}">
<td
v-if=
"showIcon"
>
<td
v-if=
"showIcon"
>
<div
class=
"col_number"
>
{{
idx
+
2
1
}}
</div>
<div
class=
"col_number"
>
{{
idx
+
(
pageSize
/
2
)
+
1
}}
</div>
</td>
</td>
<td
class=
"winner_span"
:style=
"columnsStyle['title']"
>
{{
row
.
title
}}
</td>
<td
class=
"winner_span"
:style=
"columnsStyle['title']"
>
{{
row
.
title
}}
</td>
<td
v-for=
"(col, idz) in row.column"
:key=
"idz"
:style=
"columnsStyle[col.key]"
>
<td
v-for=
"(col, idz) in row.column"
:key=
"idz"
:style=
"columnsStyle[col.key]"
>
...
@@ -44,9 +44,9 @@
...
@@ -44,9 +44,9 @@
export
default
{
export
default
{
name
:
"pagingList"
,
name
:
"pagingList"
,
props
:
{
props
:
{
curPag
e
:
{
pageSiz
e
:
{
type
:
menuba
r
,
type
:
Numbe
r
,
default
:
1
default
:
40
},
},
showIcon
:
{
showIcon
:
{
type
:
Boolean
,
type
:
Boolean
,
...
...
src/module/databoard/databoard/lost-add-customer.vue
View file @
a84d7dfd
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
<paging-list
class=
"list_data"
style=
"overflow: auto;"
id=
"ar_company_list"
<paging-list
class=
"list_data"
style=
"overflow: auto;"
id=
"ar_company_list"
:columns-style=
"
{'title':{'width':'30%'}}"
:columns-style=
"
{'title':{'width':'30%'}}"
:leftDatas="pageData.leftData" :rightDatas="pageData.rightData"
:leftDatas="pageData.leftData" :rightDatas="pageData.rightData"
:
curPage = "curPag
e"
:
pageSize = "pageSiz
e"
/>
/>
<div
class=
"bottom"
>
<div
class=
"bottom"
>
<el-pagination
<el-pagination
background
background
:page-size=
"
40
"
:page-size=
"
pageSize
"
:pager-count=
"11"
:pager-count=
"11"
:current-page=
"curPage"
:current-page=
"curPage"
layout=
"prev, pager, next"
layout=
"prev, pager, next"
...
@@ -36,6 +36,7 @@ export default {
...
@@ -36,6 +36,7 @@ export default {
today
:
moment
().
format
(
"yyyy-MM-DD"
),
today
:
moment
().
format
(
"yyyy-MM-DD"
),
curPageTitle
:
this
.
$route
.
query
.
code
===
1
?
"新增客户(较去年)"
:
"流失客户(较去年)"
,
curPageTitle
:
this
.
$route
.
query
.
code
===
1
?
"新增客户(较去年)"
:
"流失客户(较去年)"
,
pageData
:{},
pageData
:{},
pageSize
:
40
,
curPage
:
1
,
curPage
:
1
,
}
}
},
},
...
...
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