Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
renewal-interest-data-board
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f37ee601
authored
Jul 06, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新冒烟代码
1 parent
6b9ad1fc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
110 additions
and
58 deletions
src/components/StaticRank.vue
src/components/ViewContentBottom.vue
src/components/ViewContentLeft.vue
src/components/ViewContentRight.vue
src/components/ViewDialogTable.vue
src/mixins/tableDetailMixin.js
src/components/StaticRank.vue
View file @
f37ee60
...
...
@@ -3,7 +3,9 @@
<view-sub-title
:title=
'title'
/>
<div
class=
'rank-wrap flex'
v-for=
'(item,index) in rankDataList'
:key=
'index'
>
<div
class=
'rank-index'
>
{{
index
+
1
}}
</div>
<div
clas=
'rank-name'
>
{{
item
[
name
]
}}
</div>
<div
class=
'rank-name'
>
<span
:title=
'item[name]'
>
{{
item
[
name
]
}}
</span>
</div>
<div>
{{
item
[
numName
]
}}
</div>
</div>
</div>
...
...
@@ -38,10 +40,10 @@ export default {
<
style
lang=
'scss'
scoped
>
.static-rank
{
margin
:
0
3px
;
height
:
200px
;
.rank-wrap
{
display
:
grid
;
grid-template-columns
:
5%
80
%
15%
;
grid-template-columns
:
8%
77
%
15%
;
color
:
#FFFFFF
;
background
:
#1D1C1C
;
font-size
:
10px
;
...
...
@@ -51,6 +53,16 @@ export default {
.rank-index
{
color
:
#606266
;
}
.rank-name
{
cursor
:
pointer
;
span{
display
:
block
;
width
:
93%
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
}
}
}
</
style
>
src/components/ViewContentBottom.vue
View file @
f37ee60
<
template
>
<div
class=
'view-content-bottom'
>
<!-- :showFuncIntro='showFuncIntro'-->
<view-dialog-table
:selectedData=
'selectedData'
></view-dialog-table>
<!-- :showFuncIntro='showFuncIntro'-->
<view-dialog-table
:selectedData=
'selectedData'
></view-dialog-table>
<div
class=
'view-content-search'
>
<el-form
inline
...
...
@@ -41,7 +41,7 @@
>
</el-date-picker>
</el-form-item>
<el-form-item>
<el-form-item
class=
'btn-wrap'
>
<el-button
@
click=
'handleSearch'
class=
'search-btn btn'
size=
'mini'
>
查询
</el-button>
<el-button
@
click=
'reset'
class=
'reset-btn btn'
size=
'mini'
>
重置
</el-button>
<el-button
@
click=
'handleOutput'
class=
'output-btn btn'
size=
'mini'
>
导出
</el-button>
...
...
@@ -91,10 +91,13 @@
label=
'活动名称'
width=
'170'
>
<template
slot-scope=
'scope'
>
<div
class=
'activity-Name'
v-for=
'(item,index) in scope.row.viewActivityNum.map(item => item.activityName)'
:key=
'index'
>
<span
:title=
'item'
>
{{
item
}}
</span>
</div>
<template
v-if=
'scope.row.viewActivityNum'
>
<div
class=
'activity-Name'
v-for=
'(item,index) in scope.row.viewActivityNum.map(item => item.activityName)'
:key=
'index'
>
<span
:title=
'item'
>
{{
item
}}
</span>
</div>
</
template
>
<
template
v-else
>
-
</
template
>
</template>
</el-table-column>
<el-table-column
...
...
@@ -123,20 +126,26 @@
label=
'活动名称'
width=
'170'
>
<
template
slot-scope=
'scope'
>
<div
class=
'activity-Name'
v-for=
'(item,index) in scope.row.viewActivityNum.map(item => item.activityName)'
:key=
'index'
>
<span
:title=
'item'
>
{{
item
}}
</span>
</div>
<template
v-if=
'scope.row.forwardActivityNum?.length > 0'
>
<div
class=
'activity-Name'
v-for=
'(item,index) in scope.row.forwardActivityNum.map(item => item.activityName)'
:key=
'index'
>
<span
:title=
'item'
>
{{
item
}}
</span>
</div>
</
template
>
<
template
v-else
>
-
</
template
>
</template>
</el-table-column>
<el-table-column
label=
'数量'
>
<
template
slot-scope=
'scope'
>
<div
class=
'activity-Name'
@
click=
"clickDialogTable(scope.row,'forwardActivity',index)"
v-for=
'(item,index) in scope.row.forwardActivityNum.map(item => item.activityNum)'
:key=
'index'
>
{{
item
}}
</div>
<template
v-if=
'scope.row.forwardActivityNum?.length > 0'
>
<div
class=
'activity-Name'
@
click=
"clickDialogTable(scope.row,'forwardActivity',index)"
v-for=
'(item,index) in scope.row.forwardActivityNum.map(item => item.activityNum)'
:key=
'index'
>
{{
item
}}
</div>
</
template
>
<
template
v-else
>
-
</
template
>
</template>
</el-table-column>
<el-table-column
...
...
@@ -154,22 +163,30 @@
width=
'170'
label=
'活动名称'
>
<
template
slot-scope=
'scope'
>
<div
class=
'activity-Name'
v-for=
'(item,index) in scope.row.viewActivityNum.map(item => item.activityName)'
:key=
'index'
>
<span
:title=
'item'
>
{{
item
}}
</span>
</div>
<template
v-if=
'scope.row.clueActivityNum?.length > 0'
>
<div
class=
'activity-Name'
v-for=
'(item,index) in scope.row.clueActivityNum.map(item => item.activityName)'
:key=
'index'
>
<span
:title=
'item'
>
{{
item
}}
</span>
</div>
</
template
>
<
template
v-else
>
-
</
template
>
</template>
</el-table-column>
<el-table-column
label=
'数量'
>
<
template
slot-scope=
'scope'
>
<div
class=
'activity-Name'
@
click=
"clickDialogTable(scope.row,'clueActivity',index)"
v-for=
'(item,index) in scope.row.clueActivityNum.map(item => item.activityNum)'
:key=
'index'
>
{{
item
}}
</div>
<template
v-if=
'scope.row.clueActivityNum?.length > 0'
>
<div
class=
'activity-Name'
@
click=
"clickDialogTable(scope.row,'clueActivity',index)"
v-for=
'(item,index) in scope.row.clueActivityNum.map(item => item.activityNum)'
:key=
'index'
>
{{
item
}}
</div>
</
template
>
<
template
v-else
>
-
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
'cluetotal'
...
...
@@ -186,20 +203,26 @@
width=
'170'
label=
'活动名称'
>
<
template
slot-scope=
'scope'
>
<div
class=
'activity-Name'
v-for=
'(item,index) in scope.row.viewActivityNum.map(item => item.activityName)'
:key=
'index'
>
<span
:title=
'item'
>
{{
item
}}
</span>
</div>
<template
v-if=
' scope.row.activationActivityNum?.length > 0'
>
<div
class=
'activity-Name'
v-for=
'(item,index) in scope.row.activationActivityNum.map(item => item.activityName)'
:key=
'index'
>
<span
:title=
'item'
>
{{
item
}}
</span>
</div>
</
template
>
<
template
v-else
>
-
</
template
>
</template>
</el-table-column>
<el-table-column
label=
'数量'
>
<
template
slot-scope=
'scope'
>
<div
class=
'activity-Name'
@
click=
"clickDialogTable(scope.row,'activationActivity',index)"
v-for=
'(item,index) in scope.row.activationActivityNum.map(item => item.activityNum)'
:key=
'index'
>
{{
item
}}
</div>
<template
v-if=
'scope.row.activationActivityNum?.length > 0'
>
<div
class=
'activity-Name'
@
click=
"clickDialogTable(scope.row,'activationActivity',index)"
v-for=
'(item,index) in scope.row.activationActivityNum.map(item => item.activityNum)'
:key=
'index'
>
{{
item
}}
</div>
</
template
>
<
template
v-else
>
-
</
template
>
</template>
</el-table-column>
<el-table-column
...
...
@@ -329,10 +352,11 @@ export default {
grid-template-columns
:
repeat
(
auto-fill
,
100px
);
justify-content
:
center
;
border-bottom
:
1px
solid
#606266
;
span{
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
span
{
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
&
:last-child
{
...
...
@@ -361,23 +385,25 @@ export default {
border
:
none
;
}
.btn-wrap
{
.btn
{
border
:
none
;
color
:
#FFFFFF
;
}
.btn
{
border
:
none
;
color
:
#FFFFFF
;
}
.search-btn
{
background
:
#EB6001
;
}
.search
-btn
{
background
:
#EB6001
;
}
.reset
-btn
{
background
:
#878787
;
}
.reset-btn
{
background
:
#878787
;
.output-btn
{
background
:
#353535
;
}
}
.output-btn
{
background
:
#353535
;
}
}
}
...
...
src/components/ViewContentLeft.vue
View file @
f37ee60
...
...
@@ -29,7 +29,5 @@ export default {
.left
{
display
:
flex
;
flex-direction
:
column
;
//
width
:
40%
;
//
height
:
40%
;
}
</
style
>
src/components/ViewContentRight.vue
View file @
f37ee60
...
...
@@ -44,6 +44,7 @@ export default {
<
style
scoped
lang=
'scss'
>
.right
{
display
:
grid
;
grid-template-columns
:
25%
25%
25%
25%
;
}
...
...
src/components/ViewDialogTable.vue
View file @
f37ee60
...
...
@@ -63,8 +63,18 @@
<
template
slot=
'reference'
slot-scope=
'scope'
>
{{
scope
.
scope
.
reference
==
'null'
||
!
scope
.
scope
.
reference
?
'-'
:
scope
.
scope
.
reference
}}
<span
v-if=
'scope.scope.referencetype'
class=
'referencetype'
>
@
{{
!
scope
.
scope
.
referencetype
||
scope
.
scope
.
referencetype
==
'null'
?
'-'
:
scope
.
scope
.
referencetype
}}
</span>
<span
v-if=
'scope.scope.referencetype
&& scope.scope.reference
'
class=
'referencetype'
>
@
{{
!
scope
.
scope
.
referencetype
||
scope
.
scope
.
referencetype
==
'null'
?
'-'
:
scope
.
scope
.
referencetype
}}
</span>
</
template
>
<
template
slot=
'lastFollowup'
slot-scope=
'scope'
>
<el-switch
v-model=
"scope.scope.lastFollowup == '是'"
active-color=
"#EB6001"
inactive-color=
"#E8E8EA"
>
</el-switch>
</
template
>
</glsx-table>
</div>
</GlDialog>
...
...
@@ -158,4 +168,8 @@ export default {
.referencetype
{
color
:
rgb
(
235
,
96
,
1
);
}
/
deep
/
.el-table
{
background-color
:
rgba
(
38
,
38
,
38
,
0.75
);
}
</
style
>
src/mixins/tableDetailMixin.js
View file @
f37ee60
...
...
@@ -138,7 +138,8 @@ export default {
{
label
:
'最后跟进'
,
prop
:
'lastFollowup'
,
width
:
'180'
width
:
'180'
,
addHtml
:
'lastFollowup'
}
]
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment