Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
8fbf42af
Commit
8fbf42af
authored
May 18, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
f94a3e4d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
685 deletions
+39
-685
clueManagement.vue
src/components/clueManagement/clueManagement.vue
+8
-682
index.js
src/plugins/index.js
+2
-1
dayStatistics.vue
src/views/workstatistics/dayStatistics.vue
+29
-2
No files found.
src/components/clueManagement/clueManagement.vue
View file @
8fbf42af
This diff is collapsed.
Click to expand it.
src/plugins/index.js
View file @
8fbf42af
...
...
@@ -13,7 +13,8 @@ export default {
Vue
.
prototype
.
domainManager
=
function
()
{
//CRM API
let
domainUrl
=
""
;
domainUrl
=
"http://192.168.10.36:8098"
;
domainUrl
=
"http://192.168.10.46:8500"
;
// domainUrl = "http://192.168.10.36:8098";
//domainUrl = "http://localhost:5003";
let
locationName
=
window
.
location
.
hostname
;
//旅游ERPApi
...
...
src/views/workstatistics/dayStatistics.vue
View file @
8fbf42af
...
...
@@ -28,7 +28,10 @@
</div>
<div
class=
"page-content"
style=
"padding-bottom:20px;"
>
<el-table
:data=
"tableData"
tooltip-effect=
"dark"
v-loading=
"loading"
style=
"width: 100%;height:100%;"
border
:cell-class-name=
"tableCellClassName"
:row-class-name=
"tableRowClassName"
>
<el-table-column
prop=
"DateStr"
label=
""
>
<el-table-column>
<template
slot-scope=
"scope"
>
<span
class=
"pointer"
@
click=
"seeDetails(scope.row)"
>
{{
scope
.
row
.
DateStr
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"PushCount"
label=
"引流总数"
>
</el-table-column>
...
...
@@ -64,13 +67,23 @@
</el-table-column>
</el-table>
</div>
<el-drawer
:with-header=
"false"
size=
'70%'
:visible
.
sync=
"drawer"
direction=
"rtl"
:before-close=
"handleClose"
>
<clueComponent
:isDrawer=
"isDrawer"
:queryTime=
"queryTime"
></clueComponent>
</el-drawer>
</div>
</template>
<
script
>
import
clueComponent
from
"@/components/clueManagement/clueComponent"
;
export
default
{
components
:
{
clueComponent
},
data
()
{
return
{
queryTime
:
''
,
drawer
:
false
,
isDrawer
:
true
,
msg
:
{
month
:
""
,
YearStr
:
""
,
...
...
@@ -91,6 +104,14 @@ export default {
this
.
init
();
},
methods
:
{
handleClose
(
done
)
{
done
();
},
// 查看详情
seeDetails
(
row
){
this
.
drawer
=
true
this
.
queryTime
=
this
.
msg
.
YearStr
+
'-'
+
row
.
DateStr
},
init
()
{
if
(
this
.
loading
)
return
;
this
.
loading
=
true
;
...
...
@@ -122,7 +143,7 @@ export default {
},
tableCellClassName
({
row
,
column
})
{
if
(
row
[
column
.
property
].
toString
().
indexOf
(
"-"
)
!=
-
1
&&
row
[
column
.
property
]
&&
row
[
column
.
property
]
.
toString
().
indexOf
(
"-"
)
!=
-
1
&&
column
.
property
!=
"DateStr"
)
{
return
"warning-col"
;
...
...
@@ -181,4 +202,10 @@ export default {
.el-table
.warning-col
{
background
:
red
;
}
.pointer
{
cursor
:
pointer
;
}
.pointer
:hover
{
color
:
#00b0f0
;
}
</
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