Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 6071c7d2
authored
May 22, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
功能联调完成
1 parent
1c29a0eb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
477 additions
and
160 deletions
src/api/index.js
src/views/index/components/outputValueDialog.vue
src/views/index/index.vue
src/api/index.js
View file @
6071c7d
...
@@ -70,6 +70,27 @@ export function setMerchantOutputValueTarget(data) {
...
@@ -70,6 +70,27 @@ export function setMerchantOutputValueTarget(data) {
// return request(data)
// return request(data)
}
}
// 单店信息模板导出
export
function
merchantOutputValueTargetExport
(
data
)
{
data
.
method
=
`
${
path2
}
workbench.merchantOutputValueTargetExport`
return
request
(
data
,
"post"
)
// return request(data)
}
// 单店信息模板填写后导入
export
function
merchantOutputValueTargetImport
(
data
)
{
data
.
method
=
`
${
path2
}
workbench.merchantOutputValueTargetImport`
// return request(data, "post")
return
request
(
data
,
"post"
,
[
"file"
])
// return request(data)
}
// 单店信息督导和员工查询
export
function
findMerchantStaffList
(
data
)
{
data
.
method
=
`
${
path2
}
workbench.findMerchantStaffList`
// return request(data, "post")
return
request
(
data
)
}
// 隐私协议标题查询
// 隐私协议标题查询
export
function
getPrivacyAgreement
(
data
)
{
export
function
getPrivacyAgreement
(
data
)
{
data
.
method
=
`
${
path2
}
privacyAgreement.getTitleByModule`
data
.
method
=
`
${
path2
}
privacyAgreement.getTitleByModule`
...
...
src/views/index/components/outputValueDialog.vue
View file @
6071c7d
<
template
>
<
template
>
<d2-dialog
:title=
"'编辑单店信息'"
:is-visible=
"outputVisible"
:width=
"'900px'"
@
closeDialog=
"handleImport"
<div>
@
confirmDialog=
"handleConfirmImport"
>
<d2-dialog
:title=
"'编辑单店信息'"
:is-visible=
"outputVisible"
:width=
"'1150px'"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleConfirm"
>
<slot>
<slot>
<div
class=
"searchWrap"
>
<div
class=
"searchWrap"
>
<el-col
:span=
"11
"
>
<el-col
:span=
"9
"
>
<el-date-picker
v-model=
"search.targetDate"
:clearable=
"false"
type=
"month"
format=
"yyyy 年 MM 月"
<el-date-picker
v-model=
"search.targetDate"
:clearable=
"false"
type=
"month"
format=
"yyyy 年 MM 月"
@
change=
"getList
"
value-format=
"yyyy-MM"
:picker-options=
"pickerOptions"
placeholder=
"选择月"
/>
@
change=
"handleSearch
"
value-format=
"yyyy-MM"
:picker-options=
"pickerOptions"
placeholder=
"选择月"
/>
</el-col>
</el-col>
<el-col
:span=
"9"
>
<el-col
:span=
"9"
>
<el-input
v-model=
"search.keyword"
clearable
placeholder=
"输入门店名称搜索"
/>
<el-input
v-model=
"search.keyword"
clearable
placeholder=
"输入门店名称搜索"
/>
</el-col>
</el-col>
<el-col
:span=
"4
"
class=
"btnContainer"
>
<el-col
:span=
"6
"
class=
"btnContainer"
>
<el-button
type=
"primary"
@
click=
"getList
"
class=
"searchBtn"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleSearch
"
class=
"searchBtn"
>
搜索
搜索
</el-button>
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
重置
</el-button>
</el-button>
<el-button
size=
"small"
@
click=
"() => fileVisible = true"
>
导入
</el-button>
</el-col>
</el-col>
<!--
<div
class=
"searchInput"
>
</div>
-->
</div>
</div>
<div
class=
"yqdTableContainer"
>
<div
class=
"yqdTableContainer"
>
<!-- border -->
<el-table
:data=
"tableData"
stripe
max-height=
"450"
:header-cell-style=
"rowClass"
style=
"width: 100%"
>
<el-table
:data=
"tableData"
stripe
max-height=
"450"
:header-cell-style=
"rowClass"
style=
"width: 100%"
>
<el-table-column
label=
"序号"
type=
"index"
width=
"50"
/>
<el-table-column
label=
"序号"
type=
"index"
width=
"50"
/>
<!--
<el-table-column
prop=
"yqMerchantName"
label=
"园区店列表"
width=
"200"
/>
-->
<el-table-column
prop=
"merchantName"
label=
"门店列表"
width=
"200"
/>
<el-table-column
prop=
"merchantName"
label=
"门店列表"
width=
"200"
/>
<!--
<el-table-column
prop=
"outputValue"
<el-table-column
prop=
"outputValue"
label=
"场景在营"
width=
"210"
>
label=
"门店列表"
>
</el-table-column>
-->
<!-- width="260" -->
<el-table-column
prop=
"outputValue"
label=
"场景在营"
width=
"220"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row['businessScene']"
class=
"select"
multiple
collapse-tags
placeholder=
"请选择"
>
<el-select
v-model=
"scope.row['businessScene']"
class=
"select"
multiple
collapse-tags
placeholder=
"请选择"
>
<el-option
v-for=
"item in sceneCodeList"
:key=
"item.confId"
:label=
"item.confValue"
:value=
"item.confId"
>
<el-option
v-for=
"item in sceneCodeList"
:key=
"item.confId"
:label=
"item.confValue"
:value=
"item.confId"
>
</el-option>
</el-option>
</el-select>
</el-select>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"outputValue"
label=
"部署状态"
width=
"210"
>
<el-table-column
prop=
"outputValue"
label=
"部署状态"
width=
"220"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row['deployScene']"
class=
"select"
multiple
collapse-tags
placeholder=
"请选择"
>
<el-select
v-model=
"scope.row['deployScene']"
class=
"select"
multiple
collapse-tags
placeholder=
"请选择"
>
<el-option
v-for=
"item in sceneCodeList"
:key=
"item.confId"
:label=
"item.confValue"
:value=
"item.confId"
>
<el-option
v-for=
"item in sceneCodeList"
:key=
"item.confId"
:label=
"item.confValue"
:value=
"item.confId"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
prop=
"outputValue"
label=
"区域督导"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<!-- multiple -->
<el-select
value-key=
"userId"
v-model=
"scope.row['areaSupervision']"
class=
"select"
collapse-tags
placeholder=
"请选择"
>
<el-option
v-for=
"item in supervisionOptionsList"
:key=
"item.userId"
:label=
"item.userName"
:value=
"item"
>
</el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
prop=
"outputValue"
label=
"驻店负责人"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<el-select
value-key=
"userId"
v-model=
"scope.row['residentManager']"
class=
"select"
@
focus=
"getSelectList(scope.row, scope.$index,)"
collapse-tags
placeholder=
"请选择"
>
<el-option
v-for=
"item in scope.row['residentManagerOptionsList']"
:key=
"item.userId"
:label=
"item.userName"
:value=
"item"
>
</el-option>
</el-option>
</el-select>
</el-select>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"outputValue"
label=
"产值目标
"
>
<el-table-column
prop=
"outputValue"
label=
"产值目标"
width=
"150
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!--
<div>
slot-scope="scope"
</div>
&&
item.isEdit-->
<!--
<div>
slot-scope="scope"
</div>
&&
item.isEdit-->
<span
v-if=
"!scope.row['isEdit']"
>
{{
scope
.
row
[
'outputValue'
]
}}
</span>
<span
v-if=
"!scope.row['isEdit']"
>
{{
scope
.
row
[
'outputValue'
]
}}
</span>
<!-- @input="input($event,item)" -->
<!-- @input="input($event,item)" -->
<el-input
v-else
style=
"width: 140px"
@
input=
"handleInput($event, scope)"
v-model=
"scope.row['outputValue']"
<el-input
v-else
style=
"width: 140px"
@
input=
"handleInput($event, scope)"
placeholder=
""
/>
v-model=
"scope.row['outputValue']"
placeholder=
""
/>
<!--
<div></div>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
v-if=
"hasPage"
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page.currentPage"
:page-sizes=
"[10, 20, 30, 40]"
:page-size=
"page.pageSize"
:total=
"tableTotal"
:layout=
"layout"
/>
<div
class=
"tips"
>
<div
class=
"tips"
>
产值目标填写后不支持修改,请谨慎输入。
产值目标填写后不支持修改,请谨慎输入。
<!-- 填写后不支持修改,请谨慎输入。 -->
<!-- 填写后不支持修改,请谨慎输入。 -->
</div>
</div>
</div>
</div>
</slot>
</slot>
</d2-dialog>
<!-- 导入对账单 -->
<d2-dialog
:title=
"'上传文件'"
:is-visible=
"fileVisible"
@
closeDialog=
"handleImport"
@
confirmDialog=
"handleConfirmImport"
width=
"600px"
>
<slot>
<div>
<el-form
:model=
"fileForm"
:rules=
"fileRules"
ref=
"fileRuleForm"
label-width=
"120px"
>
<el-form-item
label=
"导入文件:"
prop=
"fileName"
>
<el-col
:span=
"16"
>
<el-input
readonly
v-model=
"fileForm.fileName"
/>
</el-col>
<el-col
:span=
"4"
class=
"m-l-md"
>
<el-button
class=
"import-btn"
>
导入文件
<input
type=
"file"
id=
"fileUpload"
class=
"import-input"
accept=
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
@
change=
"importFile($event)"
/>
<!-- href="https://img01.glsx.com.cn/weapp/resource/saas/scrm/xlsx/对账单模版.xlsx" -->
<el-link
type=
"primary"
class=
"import-template"
@
click=
"downLoadTemplate"
icon=
"el-icon-link"
>
模版下载
</el-link>
</el-button>
</el-col>
</el-form-item>
</el-form>
<span
v-show=
"showNum"
>
<div
class=
"upload-statistics"
>
<div
class=
"quantity"
>
<div
class=
"success"
>
{{ importNum.successCount }}
</div>
<div>
有效数据
</div>
</div>
<div
class=
"line"
></div>
<div
class=
"quantity"
>
<div
class=
"err"
>
{{ importNum.failCount }}
</div>
<div>
异常数据
</div>
</div>
</div>
<div
class=
"abnormal"
>
<p>
数据异常的可能原因:
</p>
<p
class=
"color-33"
>
1. 订单编号不匹配
</p>
</div>
</span>
</div>
</slot>
</d2-dialog>
</d2-dialog>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
limitPrice
}
from
'@/common/format'
import
{
limitPrice
}
from
'@/common/format'
import
{
sceneCodeList
}
from
'@/common/constants'
import
{
sceneCodeList
}
from
'@/common/constants'
import
{
downLoadFile
}
from
'@/common/util'
// import moment from 'moment'
// import moment from 'moment'
// import orderManage from "@api/orderManage"
import
dayjs
from
'dayjs'
import
dayjs
from
'dayjs'
import
{
getMerchantOutputValueTarget
,
setMerchantOutputValueTarge
t
}
from
'@api/index'
import
{
merchantOutputValueTargetExport
,
merchantOutputValueTargetImport
,
getMerchantOutputValueTarget
,
setMerchantOutputValueTarget
,
findMerchantStaffLis
t
}
from
'@api/index'
export
default
{
export
default
{
props
:
{
props
:
{
isShow
:
{
isShow
:
{
...
@@ -85,6 +154,16 @@ export default {
...
@@ -85,6 +154,16 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
fileVisible
:
false
,
showNum
:
false
,
importNum
:
{
succNum
:
0
,
failNum
:
0
},
fileForm
:
{},
fileRules
:
{
fileName
:
[{
required
:
true
,
message
:
"请上传文件"
,
trigger
:
"change"
}]
},
pickerOptions
:
{
pickerOptions
:
{
disabledDate
:
(
time
)
=>
{
disabledDate
:
(
time
)
=>
{
const
maxMonth
=
dayjs
().
subtract
(
-
1
,
'months'
).
endOf
(
'month'
)
const
maxMonth
=
dayjs
().
subtract
(
-
1
,
'months'
).
endOf
(
'month'
)
...
@@ -102,8 +181,17 @@ export default {
...
@@ -102,8 +181,17 @@ export default {
targetDate
:
''
targetDate
:
''
},
},
tableData
:
[],
tableData
:
[],
value2
:
[],
sceneCodeList
,
sceneCodeList
supervisionOptionsList
:
[],
tableTotal
:
10
,
// 页码
page
:
{
pageSize
:
10
,
currentPage
:
1
},
hasPage
:
true
,
// 分页组件配置
layout
:
'sizes,total,->,prev,pager,next,jumper'
// outputVisible: true
// outputVisible: true
}
}
},
},
...
@@ -121,29 +209,206 @@ export default {
...
@@ -121,29 +209,206 @@ export default {
// console.log(this.nowMonth)
// console.log(this.nowMonth)
this
.
search
.
targetDate
=
this
.
nowMonth
this
.
search
.
targetDate
=
this
.
nowMonth
this
.
getList
()
this
.
getList
()
this
.
getOptionsList
()
// console.log(moment().subtract(-1, 'months').endOf('month').format('YYYY-MM-DD'))
// console.log(moment().subtract(-1, 'months').endOf('month').format('YYYY-MM-DD'))
// console.log(moment().subtract(5, 'months').startOf('month').format('YYYY-MM-DD'))
// console.log(moment().subtract(5, 'months').startOf('month').format('YYYY-MM-DD'))
},
},
methods
:
{
methods
:
{
getSelectList
(
item
,
index
)
{
console
.
log
(
item
,
index
,
'item'
)
if
(
item
.
remote
)
return
false
const
{
merchantId
}
=
item
findMerchantStaffList
({
merchantId
}).
then
((
result
)
=>
{
console
.
log
(
'residentManagerOptionsList'
,
result
)
// 督导
// this.tableData
const
optionsList
=
result
.
map
((
item
)
=>
{
return
{
userType
:
2
,
userId
:
item
.
uuid
,
userName
:
item
.
staffName
,
userNum
:
item
.
staffPhone
}
})
this
.
$set
(
this
.
tableData
[
index
],
'residentManagerOptionsList'
,
optionsList
)
this
.
$set
(
this
.
tableData
[
index
],
'remote'
,
true
)
console
.
log
(
this
.
tableData
[
index
])
// this.supervisionOptionsList = result.map((item) => {
// return {
// userType: 1,
// userId: item.uuid,
// userName: item.staffName,
// userNum: item.staffPhone
// }
// })
})
},
getOptionsList
()
{
findMerchantStaffList
({
merchantId
:
-
1
}).
then
((
result
)
=>
{
console
.
log
(
'findMerchantStaffList'
,
result
)
// 督导
// if (merchantId == -1) {
this
.
supervisionOptionsList
=
result
.
map
((
item
)
=>
{
return
{
userType
:
1
,
userId
:
item
.
uuid
,
userName
:
item
.
staffName
,
userNum
:
item
.
staffPhone
}
})
// }
})
},
downLoadTemplate
()
{
merchantOutputValueTargetExport
({
targetDate
:
this
.
search
.
targetDate
}).
then
((
result
)
=>
{
console
.
log
(
result
,
'result'
)
// const { data } = result
result
&&
downLoadFile
(
result
)
})
},
// 上传文件,转码为base64
importFile
(
e
)
{
const
size
=
e
.
target
.
files
[
0
].
size
/
1024
/
1024
console
.
log
(
e
)
if
(
size
<
9
)
{
this
.
$set
(
this
.
fileForm
,
"fileName"
,
e
.
target
.
files
[
0
].
name
)
// // 转码base64
const
reader
=
new
FileReader
()
reader
.
readAsDataURL
(
e
.
target
.
files
[
0
])
reader
.
onload
=
(
event
)
=>
{
const
imgFile
=
event
.
target
.
result
const
arrBase64
=
imgFile
.
split
(
","
)
this
.
fileInfo
=
e
.
target
.
files
[
0
].
name
.
split
(
"."
)[
1
]
+
"@"
+
arrBase64
[
1
]
// orderManage.pictureUpload({ file: this.fileInfo }).then((res) => {
// if (res) {
// this.fileForm.fileUrl = res
// }
// // const refName = "file" + row.id
// // const refName = "file"
// e.target.value = ""
// // this.$refs[refName].value = ""
// })
document
.
getElementById
(
"fileUpload"
).
value
=
""
}
}
else
{
this
.
notice
.
errorTips
(
"上传文件不可超过9M"
)
}
},
handleImport
()
{
this
.
fileVisible
=
!
this
.
fileVisible
this
.
$refs
.
fileRuleForm
&&
this
.
$refs
.
fileRuleForm
.
resetFields
()
},
handleConfirmImport
()
{
this
.
$refs
.
fileRuleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
// var params = {
// fileUrl: this.fileForm.fileUrl
// }
merchantOutputValueTargetImport
({
file
:
this
.
fileInfo
}).
then
((
result
)
=>
{
console
.
log
(
result
,
'result'
)
const
{
url
,
dataList
}
=
result
console
.
log
(
url
,
'url'
)
if
(
url
)
{
// this.$message.error('上传失败')
this
.
$message
.
error
(
'上传失败'
)
downLoadFile
(
url
)
}
if
(
dataList
)
{
this
.
$message
.
success
(
'上传成功'
)
this
.
fileVisible
=
false
this
.
hasPage
=
false
// const listFilter = result.list
this
.
tableData
=
dataList
.
map
((
item
)
=>
{
item
.
dataMonth
=
this
.
search
.
targetDate
item
.
isEdit
=
true
item
.
areaSupervision
=
item
.
areaSupervision
||
{}
item
.
residentManager
=
item
.
residentManager
||
{}
// item.residentManagerOptionsList = item.residentManager?{}
if
(
item
.
residentManager
)
{
item
.
residentManagerOptionsList
=
[{
userId
:
item
.
residentManager
.
userId
,
userName
:
item
.
residentManager
.
userName
,
userNum
:
item
.
residentManager
.
userNum
,
userType
:
item
.
residentManager
.
userType
}]
}
else
{
item
.
residentManagerOptionsList
=
[]
}
return
item
})
// this.tableTotal = result.total
}
})
// .catch((err) => {
// })
// orderManage.orderEndExportApi(params).then((res) => {
// if (res) {
// this.showNum = true
// this.importNum = {
// successCount: res.successCount,
// failCount: res.failCount
// }
// this.$message.success('上传成功')
// // this.handleImport()
// }
// })
}
})
},
// 每页条数
handleSizeChange
(
value
)
{
this
.
page
.
pageSize
=
value
this
.
getListApi
?
this
.
refreshTable
(
false
)
:
this
.
$emit
(
'refreshTable'
,
this
.
page
)
},
// 页码
handleCurrentChange
(
value
)
{
this
.
page
.
currentPage
=
value
this
.
getListApi
?
this
.
refreshTable
(
false
)
:
this
.
$emit
(
'refreshTable'
,
this
.
page
)
},
handleReset
()
{
handleReset
()
{
this
.
search
.
targetDate
=
this
.
nowMonth
this
.
search
.
targetDate
=
this
.
nowMonth
this
.
search
.
keyword
=
''
this
.
search
.
keyword
=
''
this
.
getList
()
this
.
getList
()
},
},
handleSearch
()
{
this
.
hasPage
=
true
this
.
page
.
currentPage
=
1
},
getList
()
{
getList
()
{
getMerchantOutputValueTarget
(
this
.
search
).
then
((
result
)
=>
{
const
params
=
{
...
this
.
search
,
...
this
.
page
}
getMerchantOutputValueTarget
(
params
).
then
((
result
)
=>
{
console
.
log
(
result
,
'result'
)
const
monthCheck
=
[
this
.
nowMonth
,
this
.
nextMonth
].
includes
(
this
.
search
.
targetDate
)
const
monthCheck
=
[
this
.
nowMonth
,
this
.
nextMonth
].
includes
(
this
.
search
.
targetDate
)
// console.log(monthCheck)
// console.log(monthCheck)
// 处理值能否编辑的问题
// 处理值能否编辑的问题
const
listFilter
=
result
const
listFilter
=
result
.
list
// 要单月或者下月并且值为0才可以编辑
// 要单月或者下月并且值为0才可以编辑
this
.
tableData
=
listFilter
.
map
((
item
)
=>
{
this
.
tableData
=
listFilter
.
map
((
item
)
=>
{
item
.
dataMonth
=
this
.
search
.
targetDate
item
.
dataMonth
=
this
.
search
.
targetDate
item
.
isEdit
=
monthCheck
&&
!
item
.
outputValue
item
.
isEdit
=
monthCheck
&&
!
item
.
outputValue
item
.
areaSupervision
=
item
.
areaSupervision
||
{}
item
.
residentManager
=
item
.
residentManager
||
{}
// item.residentManagerOptionsList = item.residentManager?{}
if
(
item
.
residentManager
)
{
item
.
residentManagerOptionsList
=
[{
userId
:
item
.
residentManager
.
userId
,
userName
:
item
.
residentManager
.
userName
,
userNum
:
item
.
residentManager
.
userNum
,
userType
:
item
.
residentManager
.
userType
}]
}
else
{
item
.
residentManagerOptionsList
=
[]
}
return
item
return
item
})
})
// console.log(result)
this
.
tableTotal
=
result
.
total
this
.
tableData
=
result
// console.log(this.tableData)
// console.log(this.tableData)
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
...
@@ -164,7 +429,7 @@ export default {
...
@@ -164,7 +429,7 @@ export default {
// console.log(rowIndex) // 表头行标号为0
// console.log(rowIndex) // 表头行标号为0
return
'background:#F4F6FC'
return
'background:#F4F6FC'
},
},
async
handleConfirm
Import
()
{
async
handleConfirm
()
{
let
filterList
=
this
.
tableData
.
filter
((
item
)
=>
{
let
filterList
=
this
.
tableData
.
filter
((
item
)
=>
{
// 删除无需字段 避免后台类型报错
// 删除无需字段 避免后台类型报错
// delete item.createdDate
// delete item.createdDate
...
@@ -182,9 +447,12 @@ export default {
...
@@ -182,9 +447,12 @@ export default {
outputValue
:
item
.
outputValue
,
outputValue
:
item
.
outputValue
,
deployScene
:
item
.
deployScene
,
deployScene
:
item
.
deployScene
,
businessScene
:
item
.
businessScene
,
businessScene
:
item
.
businessScene
,
dataMonth
:
item
.
dataMonth
dataMonth
:
item
.
dataMonth
,
areaSupervision
:
item
.
areaSupervision
,
residentManager
:
item
.
residentManager
}
}
})
})
console
.
log
(
filterList
,
'filterList'
)
if
(
filterList
.
length
)
{
if
(
filterList
.
length
)
{
// console.log('请求修改')
// console.log('请求修改')
// const result =
// const result =
...
@@ -195,9 +463,14 @@ export default {
...
@@ -195,9 +463,14 @@ export default {
// else {
// else {
// console.log('没有能修改的')
// console.log('没有能修改的')
// }
// }
this
.
handleImport
()
this
.
$notify
({
type
:
'success'
,
title
:
'保存成功'
})
// this.$notify.successTips('保存成功')
this
.
handleClose
()
},
},
handle
Import
()
{
handle
Close
()
{
this
.
outputVisible
=
false
this
.
outputVisible
=
false
}
}
}
}
...
@@ -222,10 +495,10 @@ export default {
...
@@ -222,10 +495,10 @@ export default {
padding-right
:
10px
;
padding-right
:
10px
;
}
}
.searchBtn
{
//
.searchBtn
{
font-size
:
12px
;
//
font-size
:
12px
;
padding
:
8px
10px
;
//
padding
:
8px
10px
;
}
//
}
}
}
::v-deep
.yqdTableContainer
{
::v-deep
.yqdTableContainer
{
...
@@ -257,4 +530,84 @@ export default {
...
@@ -257,4 +530,84 @@ export default {
text-align
:
right
;
text-align
:
right
;
color
:
#f46967
;
color
:
#f46967
;
}
}
.list-tips
{
background
:
#e4e3ff
;
border-radius
:
4px
;
border
:
none
;
display
:
flex
;
align-items
:
center
;
font-size
:
14px
;
color
:
rgba
(
0
,
0
,
0
,
0.65
);
padding
:
10px
16px
;
height
:
20px
;
line-height
:
20px
;
}
.m-t-94
{
margin-top
:
94px
;
}
.upload-wrap
{
display
:
flex
;
}
.import-btn
{
position
:
relative
;
}
.import-input
{
opacity
:
0
;
position
:
absolute
;
right
:
0
;
top
:
0
;
width
:
98px
;
height
:
36px
;
cursor
:
pointer
;
font-size
:
0
;
}
.import-template
{
position
:
absolute
;
height
:
20px
;
top
:
50px
;
left
:
0
;
}
.m-l-md
{
margin-left
:
20px
;
}
.upload-statistics
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
margin
:
30px
70px
;
.quantity
{
font-size
:
14px
;
color
:
#333333
;
text-align
:
center
;
.success
{
font-size
:
26px
;
color
:
#2cca74
;
text-align
:
center
;
margin-bottom
:
4px
;
}
.err
{
font-size
:
26px
;
color
:
#eb4e4e
;
text-align
:
center
;
margin-bottom
:
4px
;
}
}
.line
{
width
:
1px
;
height
:
56px
;
background
:
#e8e8ea
;
}
}
</
style
>
</
style
>
src/views/index/index.vue
View file @
6071c7d
...
@@ -2,51 +2,19 @@
...
@@ -2,51 +2,19 @@
<
template
>
<
template
>
<div
class=
"indexPage"
>
<div
class=
"indexPage"
>
<reportDownloads
v-if=
"curBtnsInfo"
/>
<reportDownloads
v-if=
"curBtnsInfo"
/>
<!--
<el-row>
<el-col
:span=
"24"
>
<el-card
:body-style=
"
{ padding: '16px' }">
<div
class=
"reportContainer box-card"
>
<div
class=
"reportTips"
>
数据日报
{{
reportDay
}}
已生成
</div>
<div
class=
"selectContainer"
>
<div>
选择日期
</div>
<div
class=
"daySelect"
>
<el-date-picker
v-model=
"dateValue"
type=
"date"
:picker-options=
"pickerOptions"
format=
"yyyy 年 MM 月 dd 日"
placeholder=
"选择日期"
>
</el-date-picker>
</div>
<el-button
type=
"primary"
class=
"exportBtn"
>
导出日报
</el-button>
</div>
<div
class=
"inputTargetBtn"
@
click=
"outputVisible = true"
><i
class=
"el-icon-edit"
></i>
输入单店产值目标
</div>
</div>
</el-card>
</el-col>
</el-row>
-->
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
<div
slot=
"header"
class=
"clearfix"
>
class=
"clearfix"
>
<span>
工作台总览
</span>
<span>
工作台总览
</span>
<el-select
v-model=
"id"
<el-select
v-model=
"id"
@
change=
"idChange"
v-show=
"isBeSuper"
size=
"mini"
style=
"float:right;"
>
@
change=
"idChange"
<el-option
v-for=
"(item, index) in parkServiceList"
:key=
"index"
v-show=
"isBeSuper"
size=
"mini"
style=
"float:right;"
>
<el-option
v-for=
"(item, index) in parkServiceList"
:key=
"index"
:value=
"+accountType === 7 ? item.yqMerchantId : item.merchantId"
:value=
"+accountType === 7 ? item.yqMerchantId : item.merchantId"
:label=
"+accountType === 7 ? item.yqMerchantName : item.merchantName"
/>
:label=
"+accountType === 7 ? item.yqMerchantName : item.merchantName"
/>
</el-select>
</el-select>
</div>
</div>
<div
style=
"text-align: right;"
>
<div
style=
"text-align: right;"
>
<el-radio-group
v-model=
"totalType"
<el-radio-group
v-model=
"totalType"
type=
"info"
size=
"mini"
>
type=
"info"
size=
"mini"
>
<el-radio-button
label=
"today"
>
<el-radio-button
label=
"today"
>
今日
今日
</el-radio-button>
</el-radio-button>
...
@@ -58,11 +26,8 @@
...
@@ -58,11 +26,8 @@
</el-radio-button>
</el-radio-button>
</el-radio-group>
</el-radio-group>
</div>
</div>
<el-row
:gutter=
"40"
<el-row
:gutter=
"40"
class=
"row_one"
>
class=
"row_one"
>
<el-col
v-if=
"+accountType !== 7"
:span=
"8"
style=
"border-right: 1px solid #E7EAEC; "
>
<el-col
v-if=
"+accountType !== 7"
:span=
"8"
style=
"border-right: 1px solid #E7EAEC; "
>
<div
class=
"top_card"
>
<div
class=
"top_card"
>
<div
class=
"top_card_title"
>
<div
class=
"top_card_title"
>
今日待预约
今日待预约
...
@@ -84,8 +49,7 @@
...
@@ -84,8 +49,7 @@
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_md"
>
<div
class=
"top_card_md"
>
<span
class=
"top_card_md_left"
>
客户数(人)
</span>
<span
class=
"top_card_md_left"
>
客户数(人)
</span>
<span
<span
class=
"top_card_md_right top_card_second"
>
{{
totalData
.
totalCustomerNums
}}
</span>
class=
"top_card_md_right top_card_second"
>
{{
totalData
.
totalCustomerNums
}}
</span>
</div>
</div>
<div
class=
"top_card_bm"
>
<div
class=
"top_card_bm"
>
<span
class=
"top_card_bm_left"
>
转化率
</span>
<span
class=
"top_card_bm_left"
>
转化率
</span>
...
@@ -102,8 +66,7 @@
...
@@ -102,8 +66,7 @@
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_md"
>
<div
class=
"top_card_md"
>
<span
class=
"top_card_md_left"
>
已成交订单数(单)
</span>
<span
class=
"top_card_md_left"
>
已成交订单数(单)
</span>
<span
<span
class=
"top_card_md_right top_card_third"
>
{{
totalData
.
totalOrderCounts
}}
</span>
class=
"top_card_md_right top_card_third"
>
{{
totalData
.
totalOrderCounts
}}
</span>
</div>
</div>
<div
class=
"top_card_bm"
>
<div
class=
"top_card_bm"
>
<span
class=
"top_card_bm_left"
>
成交总额
</span>
<span
class=
"top_card_bm_left"
>
成交总额
</span>
...
@@ -120,8 +83,7 @@
...
@@ -120,8 +83,7 @@
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_md"
>
<div
class=
"top_card_md"
>
<span
class=
"top_card_md_left"
>
流水额(元)
</span>
<span
class=
"top_card_md_left"
>
流水额(元)
</span>
<span
<span
class=
"top_card_md_right top_card_fourth"
>
{{
totalData
.
totalFlowsMoney
}}
</span>
class=
"top_card_md_right top_card_fourth"
>
{{
totalData
.
totalFlowsMoney
}}
</span>
</div>
</div>
<div
class=
"top_card_bm"
>
<div
class=
"top_card_bm"
>
<span
class=
"top_card_bm_left"
>
毛利
</span>
<span
class=
"top_card_bm_left"
>
毛利
</span>
...
@@ -136,20 +98,14 @@
...
@@ -136,20 +98,14 @@
</el-card>
</el-card>
</el-col>
</el-col>
</el-row>
</el-row>
<!--
<div
class=
"ad_wrap"
>
<img
class=
"ad_img"
src=
"http://img01.glsx.com.cn/image/head.png"
alt=
""
>
</div>
-->
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
<div
slot=
"header"
class=
"clearfix"
>
class=
"clearfix"
>
<span>
客户报表视图
</span>
<span>
客户报表视图
</span>
</div>
</div>
<div>
<div>
<el-radio-group
v-model=
"customerType"
<el-radio-group
v-model=
"customerType"
type=
"info"
size=
"mini"
>
type=
"info"
size=
"mini"
>
<el-radio-button
label=
"today"
>
<el-radio-button
label=
"today"
>
今日
今日
</el-radio-button>
</el-radio-button>
...
@@ -161,8 +117,7 @@
...
@@ -161,8 +117,7 @@
</el-radio-button>
</el-radio-button>
</el-radio-group>
</el-radio-group>
</div>
</div>
<el-row
:gutter=
"40"
<el-row
:gutter=
"40"
class=
"row_one"
>
class=
"row_one"
>
<el-col
:span=
"16"
>
<el-col
:span=
"16"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -172,15 +127,11 @@
...
@@ -172,15 +127,11 @@
</div>
</div>
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_md"
>
<div
class=
"top_card_md"
>
<span
<span
class=
"top_card_md_right top_card_primary"
>
{{
customerData
.
totalCustomerNums
}}
</span>
class=
"top_card_md_right top_card_primary"
>
{{
customerData
.
totalCustomerNums
}}
</span>
</div>
</div>
<div
class=
"top_card_bm"
<div
class=
"top_card_bm"
v-show=
"customerType === 'today'"
>
v-show=
"customerType==='today'"
>
<span
class=
"top_card_bm_left"
>
周同比:
{{
$$
(
customerData
,
'onWeekCustomerNums'
)
}}
%
</span>
<span
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayCustomerNums
}}
%
</span>
class=
"top_card_bm_left"
>
周同比:
{{
$$
(
customerData
,
'onWeekCustomerNums'
)
}}
%
</span>
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayCustomerNums
}}
%
</span>
</div>
</div>
<div
class=
"top_card_bm"
>
<div
class=
"top_card_bm"
>
<span
class=
"top_card_bm_left"
>
日均新增客户(人)
</span>
<span
class=
"top_card_bm_left"
>
日均新增客户(人)
</span>
...
@@ -196,14 +147,11 @@
...
@@ -196,14 +147,11 @@
</div>
</div>
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_md"
>
<div
class=
"top_card_md"
>
<span
<span
class=
"top_card_md_right top_card_second"
>
{{
customerData
.
totalToShop
}}
</span>
class=
"top_card_md_right top_card_second"
>
{{
customerData
.
totalToShop
}}
</span>
</div>
</div>
<div
class=
"top_card_bm"
<div
class=
"top_card_bm"
v-show=
"customerType === 'today'"
>
v-show=
"customerType==='today'"
>
<span
class=
"top_card_bm_left"
>
周同比:
{{
customerData
.
onWeekToShop
}}
%
</span>
<span
class=
"top_card_bm_left"
>
周同比:
{{
customerData
.
onWeekToShop
}}
%
</span>
<span
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayToShop
}}
%
</span>
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayToShop
}}
%
</span>
</div>
</div>
<div
class=
"top_card_bm"
>
<div
class=
"top_card_bm"
>
<span
class=
"top_card_bm_left"
>
日均到店数(人)
</span>
<span
class=
"top_card_bm_left"
>
日均到店数(人)
</span>
...
@@ -219,28 +167,22 @@
...
@@ -219,28 +167,22 @@
</div>
</div>
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_main top_card_main_multi"
>
<div
class=
"top_card_md"
>
<div
class=
"top_card_md"
>
<span
<span
class=
"top_card_md_right top_card_third"
>
{{
customerData
.
upgradeTransfer
}}
%
</span>
class=
"top_card_md_right top_card_third"
>
{{
customerData
.
upgradeTransfer
}}
%
</span>
</div>
</div>
<div
class=
"top_card_bm"
<div
class=
"top_card_bm"
v-show=
"customerType === 'today'"
>
v-show=
"customerType==='today'"
>
<span
class=
"top_card_bm_left"
>
周同比:
{{
customerData
.
onWeekUpgradeTransfer
}}
%
</span>
<span
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayUpgradeTransfer
}}
%
</span>
class=
"top_card_bm_left"
>
周同比:
{{
customerData
.
onWeekUpgradeTransfer
}}
%
</span>
<span
class=
"top_card_bm_right customer"
>
日环比:
{{
customerData
.
onDayUpgradeTransfer
}}
%
</span>
</div>
</div>
<div
class=
"top_card_bm"
>
<div
class=
"top_card_bm"
>
<span
class=
"top_card_bm_left"
>
日均转化率(比)
</span>
<span
class=
"top_card_bm_left"
>
日均转化率(比)
</span>
<span
<span
class=
"top_card_bm_right"
>
{{
customerData
.
perDayUpgradeTransfer
}}
%
</span>
class=
"top_card_bm_right"
>
{{
customerData
.
perDayUpgradeTransfer
}}
%
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"8"
<el-col
:span=
"8"
style=
"border-left: 1px solid #E7EAEC; "
>
style=
"border-left: 1px solid #E7EAEC; "
>
<h4
class=
"funnel_title"
>
<h4
class=
"funnel_title"
>
转化漏斗模型:
转化漏斗模型:
</h4>
</h4>
...
@@ -259,8 +201,7 @@
...
@@ -259,8 +201,7 @@
{{
transferData
.
upgradeTransfer
}}
%
{{
transferData
.
upgradeTransfer
}}
%
</p>
</p>
</div>
</div>
<div
id=
"funnelChart"
<div
id=
"funnelChart"
style=
"height: 180px"
/>
style=
"height: 180px"
/>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -270,13 +211,11 @@
...
@@ -270,13 +211,11 @@
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
<div
slot=
"header"
class=
"clearfix"
>
class=
"clearfix"
>
<span>
客户转化数据
</span>
<span>
客户转化数据
</span>
</div>
</div>
<div>
<div>
<div
id=
"customTransChart"
<div
id=
"customTransChart"
style=
"height: 330px"
/>
style=
"height: 330px"
/>
</div>
</div>
</el-card>
</el-card>
</el-col>
</el-col>
...
@@ -284,28 +223,22 @@
...
@@ -284,28 +223,22 @@
<el-row
:gutter=
"15"
>
<el-row
:gutter=
"15"
>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
<div
slot=
"header"
class=
"clearfix"
>
class=
"clearfix"
>
<span>
4s门店客流量
</span>
<span>
4s门店客流量
</span>
</div>
</div>
<div>
<div>
<div
id=
"storeFlowChart"
<div
id=
"storeFlowChart"
style=
"height: 330px"
/>
style=
"height: 330px"
/>
</div>
</div>
</el-card>
</el-card>
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
<div
slot=
"header"
class=
"clearfix"
>
class=
"clearfix"
>
<span>
订单数据
</span>
<span>
订单数据
</span>
</div>
</div>
<div>
<div>
<div
id=
"orderChart"
<div
id=
"orderChart"
style=
"height: 330px"
v-show=
"false"
/>
style=
"height: 330px"
<div
id=
"orderProductChart"
style=
"height: 330px"
/>
v-show=
"false"
/>
<div
id=
"orderProductChart"
style=
"height: 330px"
/>
</div>
</div>
</el-card>
</el-card>
</el-col>
</el-col>
...
@@ -313,27 +246,22 @@
...
@@ -313,27 +246,22 @@
<el-row
:gutter=
"15"
>
<el-row
:gutter=
"15"
>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
<div
slot=
"header"
class=
"clearfix"
>
class=
"clearfix"
>
<span>
收入明细及利润
</span>
<span>
收入明细及利润
</span>
</div>
</div>
<div>
<div>
<div
id=
"incomeFlowChart"
<div
id=
"incomeFlowChart"
style=
"height: 330px"
/>
style=
"height: 330px"
/>
</div>
</div>
</el-card>
</el-card>
</el-col>
</el-col>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
<div
slot=
"header"
class=
"clearfix"
>
class=
"clearfix"
>
<span>
累计毛利产品占比
</span>
<span>
累计毛利产品占比
</span>
</div>
</div>
<div>
<div>
<div
style=
"text-align: right;"
>
<div
style=
"text-align: right;"
>
<el-radio-group
v-model=
"productType"
<el-radio-group
v-model=
"productType"
type=
"info"
size=
"mini"
>
type=
"info"
size=
"mini"
>
<el-radio-button
label=
"thisMonth"
>
<el-radio-button
label=
"thisMonth"
>
本月
本月
</el-radio-button>
</el-radio-button>
...
@@ -345,8 +273,7 @@
...
@@ -345,8 +273,7 @@
</el-radio-button>
</el-radio-button>
</el-radio-group>
</el-radio-group>
</div>
</div>
<div
id=
"incomeProductChart"
<div
id=
"incomeProductChart"
style=
"height: 302px"
/>
style=
"height: 302px"
/>
</div>
</div>
</el-card>
</el-card>
</el-col>
</el-col>
...
@@ -441,12 +368,6 @@ export default {
...
@@ -441,12 +368,6 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
// console.log(this.$store)
// console.log(this.$store.getters['d2admin/auth/curBtns'])
// console.log(this.$store.getters)
// console.log(this.$store.getters['d2admin/auth/curBtns'])
// let reportDay = moment().subtract(1, 'day').format('YYYY年MM月DD日')
// console.log(moment().subtract(1, 'day').format('YYYY年MM月DD日'))
this
.
getUserId
().
then
(()
=>
{
this
.
getUserId
().
then
(()
=>
{
this
.
init
()
this
.
init
()
})
})
...
@@ -825,12 +746,15 @@ export default {
...
@@ -825,12 +746,15 @@ export default {
overflow-y
:
auto
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
min-width
:
1150px
;
min-width
:
1150px
;
&
>
.el-row
{
&>.el-row
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
.d2-container-full__body
{
.d2-container-full__body
{
background-color
:
transparent
!important
;
background-color
:
transparent
!important
;
}
}
.row_one
{
.row_one
{
.el-col
{
.el-col
{
//
padding
:
15px
0
;
//
padding
:
15px
0
;
...
@@ -844,20 +768,24 @@ export default {
...
@@ -844,20 +768,24 @@ export default {
border
:
1px
solid
#f1f1f1
;
border
:
1px
solid
#f1f1f1
;
border-radius
:
5px
;
border-radius
:
5px
;
border-radius
:
5px
;
border-radius
:
5px
;
.top_card_title
{
.top_card_title
{
font-size
:
16px
;
font-size
:
16px
;
color
:
#666
;
color
:
#666
;
}
}
.top_card_main
{
.top_card_main
{
height
:
100px
;
height
:
100px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
.red
{
.red
{
color
:
red
;
color
:
red
;
}
}
.top_card_main_unit
{
}
.top_card_main_unit
{}
.top_card_main_count
{
.top_card_main_count
{
color
:
#0947c6
;
color
:
#0947c6
;
font-size
:
30px
;
font-size
:
30px
;
...
@@ -876,17 +804,22 @@ export default {
...
@@ -876,17 +804,22 @@ export default {
width
:
100%
;
width
:
100%
;
padding-top
:
20px
;
padding-top
:
20px
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.top_card_md_right
{
.top_card_md_right
{
font-size
:
30px
;
font-size
:
30px
;
&.top_card_primary
{
&.top_card_primary
{
color
:
#0947c6
;
color
:
#0947c6
;
}
}
&
.top_card_second
{
&
.top_card_second
{
color
:
#ffaa00
;
color
:
#ffaa00
;
}
}
&
.top_card_third
{
&
.top_card_third
{
color
:
#f46967
;
color
:
#f46967
;
}
}
&
.top_card_fourth
{
&
.top_card_fourth
{
color
:
#82c239
;
color
:
#82c239
;
}
}
...
@@ -898,8 +831,10 @@ export default {
...
@@ -898,8 +831,10 @@ export default {
align-items
:
center
;
align-items
:
center
;
width
:
100%
;
width
:
100%
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.top_card_bm_right
{
.top_card_bm_right
{
font-size
:
16px
;
font-size
:
16px
;
&.customer
{
&.customer
{
font-size
:
12px
;
font-size
:
12px
;
}
}
...
@@ -908,17 +843,21 @@ export default {
...
@@ -908,17 +843,21 @@ export default {
}
}
}
}
}
}
.funnel_wrap
{
.funnel_wrap
{
display
:
flex
;
display
:
flex
;
max-width
:
300px
;
max-width
:
300px
;
margin
:
0
auto
;
margin
:
0
auto
;
.funnel_info
{
.funnel_info
{
margin
:
30px
15px
0
0
;
margin
:
30px
15px
0
0
;
padding-top
:
20px
;
padding-top
:
20px
;
&
>
p
{
&>p
{
margin
:
8px
0
;
margin
:
8px
0
;
}
}
}
}
.funnel_label
{
.funnel_label
{
color
:
#999
;
color
:
#999
;
font-size
:
12px
;
font-size
:
12px
;
...
@@ -928,20 +867,24 @@ export default {
...
@@ -928,20 +867,24 @@ export default {
margin
:
0
0
10px
;
margin
:
0
0
10px
;
color
:
#0947c6
;
color
:
#0947c6
;
}
}
#funnelChart
{
#funnelChart
{
flex
:
1
;
flex
:
1
;
}
}
}
}
.funnel_title
{
.funnel_title
{
position
:
absolute
;
position
:
absolute
;
top
:
-10px
;
top
:
-10px
;
color
:
#0947c6
;
color
:
#0947c6
;
}
}
}
}
.ad_wrap
{
.ad_wrap
{
text-align
:
center
;
text-align
:
center
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
font-size
:
0
;
font-size
:
0
;
.ad_img
{
.ad_img
{
max-width
:
100%
;
max-width
:
100%
;
}
}
...
...
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