Commit 7e03ef30 by yangming

output

1 parent 07a71de2
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
"core-js": "^3.4.4", "core-js": "^3.4.4",
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.1.1", "glsx-components": "^1.2.3",
"glsx-table": "^1.0.9" "glsx-table": "^1.0.9"
}, },
"devDependencies": { "devDependencies": {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
import { http } from '@/main' import { http } from '@/main'
const sessionId = 'mini-a8d84762-da6a-4ff7-b009-eb7fa0c80dfb-rop'; const sessionId = 'mini-a8d84762-da6a-4ff7-b009-eb7fa0c80dfb-rop';
const listFollowerStaffByPage = params => { const listFollowerStaffByPage = params => {
params.method = 'cn.com.glsx.entmicro.staff.listFollowerStaffByPage' params.method = 'entmicro.api.staff.listFollowerStaffByPage'
params.sessionId = sessionId params.sessionId = sessionId
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
...@@ -20,7 +20,7 @@ const listFollowerStaffByPage = params => { ...@@ -20,7 +20,7 @@ const listFollowerStaffByPage = params => {
} }
// 获取跟进类型列表 // 获取跟进类型列表
const listEntFollowerType = params => { const listEntFollowerType = params => {
params.method = 'cn.com.glsx.entmicro.staff.listEntFollowerType' params.method = 'entmicro.api.staff.listEntFollowerType'
params.sessionId = sessionId params.sessionId = sessionId
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
...@@ -31,7 +31,7 @@ const listEntFollowerType = params => { ...@@ -31,7 +31,7 @@ const listEntFollowerType = params => {
} }
// 删除根据员工 // 删除根据员工
const deleteFollowerStaff = params => { const deleteFollowerStaff = params => {
params.method = 'cn.com.glsx.entmicro.staff.deleteFollowerStaff' params.method = 'entmicro.api.staff.deleteFollowerStaff'
params.sessionId = sessionId params.sessionId = sessionId
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
...@@ -43,7 +43,7 @@ const deleteFollowerStaff = params => { ...@@ -43,7 +43,7 @@ const deleteFollowerStaff = params => {
// 删除跟进类型 // 删除跟进类型
const deleteFollowerType = params => { const deleteFollowerType = params => {
params.sessionId = sessionId params.sessionId = sessionId
params.method = 'cn.com.glsx.entmicro.staff.deleteFollowerType' params.method = 'entmicro.api.staff.deleteFollowerType'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
...@@ -54,7 +54,7 @@ const deleteFollowerType = params => { ...@@ -54,7 +54,7 @@ const deleteFollowerType = params => {
// 查询外部联系人员工 // 查询外部联系人员工
const listEntmicroStaff = params => { const listEntmicroStaff = params => {
params.sessionId = sessionId params.sessionId = sessionId
params.method = 'cn.com.glsx.entmicro.staff.listEntmicroStaff' params.method = 'entmicro.api.staff.listEntmicroStaff'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
...@@ -65,7 +65,7 @@ const listEntmicroStaff = params => { ...@@ -65,7 +65,7 @@ const listEntmicroStaff = params => {
// 添加跟进员工 // 添加跟进员工
const saveFollowerStaff = params => { const saveFollowerStaff = params => {
params.sessionId = sessionId params.sessionId = sessionId
params.method = 'cn.com.glsx.entmicro.staff.saveFollowerStaff' params.method = 'entmicro.api.staff.saveFollowerStaff'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
...@@ -76,7 +76,7 @@ const saveFollowerStaff = params => { ...@@ -76,7 +76,7 @@ const saveFollowerStaff = params => {
// 新增跟进类型 // 新增跟进类型
const saveFollowerType = params => { const saveFollowerType = params => {
params.sessionId = sessionId params.sessionId = sessionId
params.method = 'cn.com.glsx.entmicro.staff.saveFollowerType' params.method = 'entmicro.api.staff.saveFollowerType'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
...@@ -87,7 +87,7 @@ const saveFollowerType = params => { ...@@ -87,7 +87,7 @@ const saveFollowerType = params => {
// 同步企微外部联系人 // 同步企微外部联系人
const syncEntmicroIsOutsiderStaff = params => { const syncEntmicroIsOutsiderStaff = params => {
params.sessionId = sessionId params.sessionId = sessionId
params.method = 'cn.com.glsx.entmicro.staff.syncEntmicroIsOutsiderStaff' params.method = 'entmicro.api.staff.syncEntmicroIsOutsiderStaff'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
...@@ -98,7 +98,7 @@ const syncEntmicroIsOutsiderStaff = params => { ...@@ -98,7 +98,7 @@ const syncEntmicroIsOutsiderStaff = params => {
// 查询组织树 // 查询组织树
const listDepartmentTree = params => { const listDepartmentTree = params => {
params.sessionId = sessionId params.sessionId = sessionId
params.method = 'cn.com.glsx.entmicro.department.listDepartmentTree' params.method = 'entmicro.api.department.listDepartmentTree'
return http({ return http({
url: '/rop-scrm-entmicro/router', url: '/rop-scrm-entmicro/router',
method: 'POST', method: 'POST',
......
...@@ -8,8 +8,9 @@ ...@@ -8,8 +8,9 @@
*/ */
import { http } from '@/main' import { http } from '@/main'
const url = '/rop-scrm-entmicro/router' const url = '/rop-scrm-entmicro/router'
const urlc = '/rop-scrm-wwbench/router'
const getChart = params => { const getChart = params => {
params.method = 'org.ore.api.home.view.chart' params.method = 'entmicro.api.home.view.chart'
return http({ return http({
url, url,
method: 'POST', method: 'POST',
...@@ -19,7 +20,7 @@ const getChart = params => { ...@@ -19,7 +20,7 @@ const getChart = params => {
} }
const getSort = params => { const getSort = params => {
params.method = 'org.ore.api.home.view.sort' params.method = 'entmicro.api.home.view.sort'
return http({ return http({
url, url,
...@@ -29,7 +30,7 @@ const getSort = params => { ...@@ -29,7 +30,7 @@ const getSort = params => {
}) })
} }
const getStore = params => { const getStore = params => {
params.method = 'org.ore.api.home.view.store.data' params.method = 'entmicro.api.home.view.store.data'
return http({ return http({
url, url,
...@@ -39,7 +40,7 @@ const getStore = params => { ...@@ -39,7 +40,7 @@ const getStore = params => {
}) })
} }
const getShop = params => { const getShop = params => {
params.method = 'org.ore.api.home.view.shop.data' params.method = 'entmicro.api.home.view.shop.data'
return http({ return http({
url, url,
...@@ -49,7 +50,7 @@ const getShop = params => { ...@@ -49,7 +50,7 @@ const getShop = params => {
}) })
} }
const getView = params => { const getView = params => {
params.method = 'org.ore.api.home.view.data' params.method = 'entmicro.api.home.view.data'
return http({ return http({
url, url,
...@@ -59,7 +60,7 @@ const getView = params => { ...@@ -59,7 +60,7 @@ const getView = params => {
}) })
} }
const findLoginCount = params => { const findLoginCount = params => {
params.method = 'org.ore.api.common.findLoginCount' params.method = 'entmicro.api.common.findLoginCount'
return http({ return http({
url, url,
...@@ -69,7 +70,7 @@ const findLoginCount = params => { ...@@ -69,7 +70,7 @@ const findLoginCount = params => {
}) })
} }
const findMerchantInfoByMerchantNo = params => { const findMerchantInfoByMerchantNo = params => {
params.method = 'org.ore.api.common.findMerchantInfoByMerchantNo.list' params.method = 'entmicro.api.common.findMerchantInfoByMerchantNo.list'
return http({ return http({
url, url,
...@@ -78,6 +79,36 @@ const findMerchantInfoByMerchantNo = params => { ...@@ -78,6 +79,36 @@ const findMerchantInfoByMerchantNo = params => {
sign: true sign: true
}) })
} }
const outputValue = params => {
params.method = 'scrm.api.wwbench.outputValue.stat'
return http({
url: urlc,
method: 'POST',
data: params,
sign: true
})
}
const merchantRank = params => {
params.method = 'scrm.api.wwbench.outputValue.stat.merchantRank'
return http({
url: urlc,
method: 'POST',
data: params,
sign: true
})
}
const outputValueTotal = params => {
params.method = 'scrm.api.wwbench.outputValue.stat.total'
return http({
url: urlc,
method: 'POST',
data: params,
sign: true
})
}
export default { export default {
getChart, getChart,
getView, getView,
...@@ -85,5 +116,8 @@ export default { ...@@ -85,5 +116,8 @@ export default {
getShop, getShop,
getStore, getStore,
findLoginCount, findLoginCount,
findMerchantInfoByMerchantNo findMerchantInfoByMerchantNo,
outputValue,
outputValueTotal,
merchantRank
} }
\ No newline at end of file \ No newline at end of file

797 Bytes | W: | H:

919 Bytes | W: | H:

src/assets/img/enterprise/clone.png
src/assets/img/enterprise/clone.png
src/assets/img/enterprise/clone.png
src/assets/img/enterprise/clone.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -35,6 +35,7 @@ const render = (base, routes) => { ...@@ -35,6 +35,7 @@ const render = (base, routes) => {
next('/enterpriseWechat/index') next('/enterpriseWechat/index')
sessionStorage.setItem('wxStatus', 1) sessionStorage.setItem('wxStatus', 1)
} else { } else {
sessionStorage.setItem('wxAcess', 1)
next() next()
} }
}) })
......
import { Message } from 'element-ui' import { Message } from 'element-ui'
let util = {} let util = {}
util.cloneText = function(message) { util.cloneText = function (message) {
let input = document.createElement('input') let input = document.createElement('input')
input.value = message input.value = message
document.body.appendChild(input) document.body.appendChild(input)
...@@ -9,7 +9,7 @@ util.cloneText = function(message) { ...@@ -9,7 +9,7 @@ util.cloneText = function(message) {
document.body.removeChild(input) document.body.removeChild(input)
Message.success('复制成功') Message.success('复制成功')
} }
util.getBeforeDate = function(sign = '-') { util.getBeforeDate = function (sign = '-') {
let day = new Date(); let day = new Date();
let month = day.getMonth() + 1; let month = day.getMonth() + 1;
let date = day.getDate(); let date = day.getDate();
...@@ -18,7 +18,7 @@ util.getBeforeDate = function(sign = '-') { ...@@ -18,7 +18,7 @@ util.getBeforeDate = function(sign = '-') {
var s = day.getFullYear() + sign + month + sign + date; var s = day.getFullYear() + sign + month + sign + date;
return s; return s;
} }
util.getBeforeMonth = function(days) { util.getBeforeMonth = function (days) {
let month = new Date().getMonth() + 1; let month = new Date().getMonth() + 1;
let year = new Date().getFullYear(); let year = new Date().getFullYear();
let arr = new Array(); let arr = new Array();
...@@ -33,4 +33,14 @@ util.getBeforeMonth = function(days) { ...@@ -33,4 +33,14 @@ util.getBeforeMonth = function(days) {
} }
return arr; return arr;
} }
util.getCurrentMonthLast = function (date) {
var endDate = new Date(date);
var month = endDate.getMonth();
var nextMonth = ++month;
var nextMonthFirstDay = new Date(endDate.getFullYear(), nextMonth, 1);
var oneDay = 1000 * 60 * 60 * 24;
var dateString = new Date(nextMonthFirstDay - oneDay);
return dateString.toLocaleDateString().replace(new RegExp('/','g'),"-"); //toLocaleDateString() 返回 如:2018/8/31
}
export default util export default util
\ No newline at end of file \ No newline at end of file
<template>
<div class="report-about">
<h4>穿梭框1</h4>
<h4 class="align-center">
<label>请打开f12查看移动数据</label>
<el-button size="medium" type="info" @click="changeMode">当前模式:{{ mode }}</el-button>
<el-button size="medium" @click="clearChecked()">清除选中</el-button>
</h4>
<div class="box">
<!-- lazy -->
<!-- :lazyFn="lazyFn" -->
<tree-transfer ref="wl-tree-transfer" filter high-light default-transfer :mode="mode" :title="title" :to_data="toData" :from_data="fromData" :filterNode="filterNode" :defaultProps="defaultProps" :defaultCheckedKeys="defaultCheckedKeys" :defaultExpandedKeys="[2, 3]" @right-check-change="rightCheckChange" @left-check-change="leftCheckChange" @removeBtn="remove" @addBtn="add" height="540px" node_key="id">
<span slot="title-right" class="my-title-right" @click="handleTitleRight">自定义内容</span>
</tree-transfer>
</div>
</div>
</template>
<script>
import treeTransfer from 'el-tree-transfer'
export default {
name: 'App',
components: { treeTransfer },
data() {
return {
mode: 'transfer', // transfer addressList
defaultProps: { label: 'name', children: 'children' },
fromData: [
{
id: 1,
pid: 0,
name: '测试左侧',
children: [
{
id: 2,
pid: 1,
name: '水电费是打发斯蒂芬斯蒂芬gas噶水电费噶地方死光光',
disabled: true,
children: []
},
{
id: 3,
pid: 1,
name: '11-3',
children: []
},
{
id: 4,
pid: 1,
name: '11-4',
children: [
{
id: 5,
pid: 4,
name: '11-5',
children: [
{
id: 111,
pid: 5,
name: '11-111'
}
]
},
{
id: 6,
pid: 4,
name: '11-6',
children: []
}
]
}
]
},
{
id: 7127,
pid: 0,
name: 'debug',
children: [
{
id: 71272,
pid: 7127,
name: 'debug22',
// disabled: true,
children: []
},
{
id: 71273,
pid: 7127,
name: 'debug11',
children: []
}
]
}
], // 穿梭框 - 源数据 - 树形
toData: [],
fromArray: [
{
id: '1',
name: '1',
pid: '0'
},
{
id: '2',
name: '2',
pid: '0'
},
{
id: '1-1',
name: '1-1',
pid: '1'
},
{
id: '1-2',
name: '1-2',
pid: '1'
},
{
id: '1-1-1',
name: '1-1-1',
pid: '1-1'
},
{
id: '1-1-1-1',
name: '1-1-1-1',
pid: '1-1-1'
},
{
id: '2-1',
name: '2-1',
pid: '2'
},
{
id: '2-2',
name: '2-2',
pid: '2'
}
],
toArray: [],
defaultCheckedKeys: [] // 左侧默认选中数据
}
},
created() {},
mounted() {
this.$apis.demo.GETLISTDEVICEFILEUNSTOCK({ k: 2, kdj: 5 }).then(res => {})
// 测试延迟默认选中
setTimeout(() => {
this.defaultCheckedKeys = [1]
}, 1000)
},
methods: {
// 清除选中
clearChecked() {
this.$refs['wl-tree-transfer'].clearChecked()
},
// 自定义筛选函数
filterNode(value, data, where) {
console.log(value, data, where)
if (!value) return true
return data[this.defaultProps.label].indexOf(value) !== -1
},
// 懒加载回调
lazyFn(node, resolve) {
setTimeout(() => {
resolve([
{
id: 71272,
pid: 7127,
name: 'debug22',
// disabled: true,
children: []
},
{
id: 71273,
pid: 7127,
name: 'debug11',
children: []
}
])
}, 500)
},
// 切换模式 现有树形穿梭框模式transfer 和通讯录模式addressList
changeMode() {
if (this.mode == 'transfer') {
this.mode = 'addressList'
} else {
this.mode = 'transfer'
}
},
// 添加按钮
add(fromData, toData, obj) {
// 树形穿梭框模式transfer时,返回参数为左侧树移动后数据、右侧树移动后数据、移动的{keys,nodes,halfKeys,halfNodes}对象
// 通讯录模式addressList时,返回参数为右侧收件人列表、右侧抄送人列表、右侧密送人列表
console.log('fromData:', fromData)
console.log('toData:', toData)
console.log('obj:', obj)
},
// 移除按钮
remove(fromData, toData, obj) {
// 树形穿梭框模式transfer时,返回参数为左侧树移动后数据、右侧树移动后数据、移动的{keys,nodes,halfKeys,halfNodes}对象
// 通讯录模式addressList时,返回参数为右侧收件人列表、右侧抄送人列表、右侧密送人列表
console.log('fromData:', fromData)
console.log('toData:', toData)
console.log('obj:', obj)
},
// 左侧源数据选中事件
leftCheckChange(nodeObj, treeObj, checkAll) {
console.log(nodeObj)
console.log(treeObj)
console.log(checkAll)
},
// 右侧目标数据选中事件
rightCheckChange(nodeObj, treeObj, checkAll) {
console.log(nodeObj)
console.log(treeObj)
console.log(checkAll)
},
// 自定义节点 仅树形结构支持
renderContent(h, { node, data }) {
return (
<span class="custom-tree-node">
<span>{node.label}</span>
<span>
<el-button size="mini" type="text" on-click={() => this.append(data)}>
Append
</el-button>
<el-button size="mini" type="text" on-click={() => this.remove(node, data)}>
Delete
</el-button>
</span>
</span>
)
},
// 标题自定义区点击事件
handleTitleRight() {
alert('标题自定义区点击事件')
}
},
computed: {
title() {
if (this.mode == 'transfer') {
return ['源列表', '目标列表']
} else {
return ['通讯录', '收件人', '抄送人', '密送人']
}
}
}
}
</script>
<style>
.align-center {
text-align: center;
}
.box {
width: 600px;
margin: 0 auto;
text-align: left;
}
.btn {
border: 1px solid #ebeef5;
padding: 5px 10px;
background-color: #f5f7fa;
outline: none;
}
.my-title-right {
float: right;
font-size: 12px;
cursor: pointer;
}
</style>
...@@ -93,7 +93,14 @@ ...@@ -93,7 +93,14 @@
</div> </div>
</div> </div>
</div> </div>
<div class="config-box" v-if="active == 1"> <div
class="config-box"
v-if="active == 1"
:style="{
'min-height': boxHeight - 140 + 'px',
}"
>
<div>
<div class="config-box-h1"> <div class="config-box-h1">
初次使用客户,需要企业微信超级管理员授权绑定企业,具体如下: 初次使用客户,需要企业微信超级管理员授权绑定企业,具体如下:
</div> </div>
...@@ -152,7 +159,9 @@ ...@@ -152,7 +159,9 @@
v-if="applicationList && applicationList.length > 0" v-if="applicationList && applicationList.length > 0"
> >
<div> <div>
<div class="config-box-h3">2.填写嘀加智慧门店秘钥secret</div> <div class="config-box-h3" style="margin-bottom: 20px">
2.填写嘀加企微管家门店秘钥secret
</div>
<div class="config-box-form"> <div class="config-box-form">
<div <div
class="config-box-input" class="config-box-input"
...@@ -186,13 +195,21 @@ ...@@ -186,13 +195,21 @@
<div class="config-use-qrcode"> <div class="config-use-qrcode">
<img src="@/assets/img/qrcode.png" alt="" /> <img src="@/assets/img/qrcode.png" alt="" />
</div> </div>
<div class="config-use-desc">请联系超级管理员用企业微信扫码接入</div> <div class="config-use-desc">微信号:458711332</div>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="config-box config-box-second" v-if="active == 2"> <div
class="config-box config-box-second"
v-if="active == 2"
:style="{
'min-height': boxHeight - 160 + 'px',
}"
>
<div>
<div class="config-box-h1"> <div class="config-box-h1">
如若完整使用本系统,还需要管理员完成以下授权配置。 如若完整使用本系统,还需要企业微信超级管理员完成以下授权配置。
</div> </div>
<div class="config-form-panel"> <div class="config-form-panel">
<div> <div>
...@@ -241,21 +258,33 @@ ...@@ -241,21 +258,33 @@
'http://qcimg01.glsx.net/upload/temporary/illustration.html' 'http://qcimg01.glsx.net/upload/temporary/illustration.html'
) )
" "
>查看如何获取 >></span >查看如何配置 >></span
> >
<el-button <el-button
type="primary" type="primary"
size="mini" size="mini"
class="step-jump" class="step-jump"
@click="handleConfig" @click="
>立即配置</el-button jumpUrl(
'https://work.weixin.qq.com/wework_admin/loginpage_wx?from=myhome'
)
"
>打开企业微信</el-button
> >
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="config-box config-box-third" v-if="active == 3"> </div>
<div
class="config-box config-box-third"
v-if="active == 3"
:style="{
'min-height': boxHeight - 110 + 'px',
}"
>
<div>
<div class="config-box-h1"></div> <div class="config-box-h1"></div>
<div class="config-box-qrcode config-qrcode-finish"> <div class="config-box-qrcode config-qrcode-finish">
<div class="config-finish"> <div class="config-finish">
...@@ -288,6 +317,7 @@ ...@@ -288,6 +317,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div <div
class="footer-panel" class="footer-panel"
:style="{ :style="{
...@@ -301,11 +331,33 @@ ...@@ -301,11 +331,33 @@
<el-button type="primary" v-show="active == 3" @click="handlePrev" <el-button type="primary" v-show="active == 3" @click="handlePrev"
>返回上一步</el-button >返回上一步</el-button
> >
<el-button type="primary" v-show="active == 1" @click="handleNext" <el-button
type="primary"
v-show="
active == 1 && statusQrcode != 'SUCCESS' && statusQrcode != 'SERVER_CHECK'
"
@click="handleNext"
>确定</el-button >确定</el-button
> >
<el-button
type="primary"
v-show="
active == 1 && (statusQrcode == 'SUCCESS' || statusQrcode == 'SERVER_CHECK')
"
@click="handleNext"
>下一步</el-button
>
<el-button type="primary" v-show="active == 2" @click="handleNext" <el-button
type="primary"
v-show="active == 2 && statusQrcode != 'SUCCESS'"
@click="handleNext"
>确定</el-button
>
<el-button
type="primary"
v-show="active == 2 && statusQrcode == 'SUCCESS'"
@click="handleNext"
>下一步</el-button >下一步</el-button
> >
</div> </div>
...@@ -386,7 +438,7 @@ export default { ...@@ -386,7 +438,7 @@ export default {
}, },
handleGetSecret() { handleGetSecret() {
for (let i in this.applicationList) { for (let i in this.applicationList) {
if (!this.applicationList[i].appSecret) { if (this.applicationList[i].appSecret === "" || this.applicationList[i].appSecret === null) {
this.$message({ this.$message({
message: "请填写Secret", message: "请填写Secret",
type: "error", type: "error",
...@@ -431,18 +483,12 @@ export default { ...@@ -431,18 +483,12 @@ export default {
if (this.statusQrcode == "SUCCESS") { if (this.statusQrcode == "SUCCESS") {
this.active++; this.active++;
} else { } else {
this.$message({
message: "消息服务器未验证",
type: "warning",
});
}
}
},
handleConfig() {
if (this.statusQrcode == "SUCCESS") {
this.active++;
} else {
this.getStatus(); this.getStatus();
// this.$message({
// message: "消息服务器未验证",
// type: "warning",
// });
}
} }
}, },
handlePrev() { handlePrev() {
...@@ -486,7 +532,7 @@ export default { ...@@ -486,7 +532,7 @@ export default {
}, },
//获取二维码 //获取二维码
getQrcode() { getQrcode() {
this.$apis.ww.getQrcode({ loginType: "service_login" }).then((res) => { this.$apis.ww.getQrcode({ loginType: "login_admin" }).then((res) => {
this.qrcodeUrl = res.qrcodeUrl; this.qrcodeUrl = res.qrcodeUrl;
this.timerQrcode = setInterval(this.getCheckStatus, 3000); this.timerQrcode = setInterval(this.getCheckStatus, 3000);
}); });
...@@ -508,7 +554,18 @@ export default { ...@@ -508,7 +554,18 @@ export default {
this.$apis.ww.getStatus({}).then((res) => { this.$apis.ww.getStatus({}).then((res) => {
this.loading = false; this.loading = false;
this.statusQrcode = res.status; this.statusQrcode = res.status;
this.applicationList = res.applicationList; if (res.applicationList) {
res.applicationList.forEach((item,index)=> {
if(item.appCode == 'DJQWGJ') {
this.applicationList[0] = item;
}
if(item.appCode == 'WBLXR') {
this.applicationList[1] = item;
}
if(item.appCode == 'TXLTBZS') {
this.applicationList[2] = item;
}
});
if (this.applicationList) { if (this.applicationList) {
let index = res.applicationList.findIndex((item) => { let index = res.applicationList.findIndex((item) => {
return item.appCode == "TXLTBZS"; return item.appCode == "TXLTBZS";
...@@ -518,6 +575,7 @@ export default { ...@@ -518,6 +575,7 @@ export default {
this.encodingAesKey = this.applicationList[index].encodingAesKey; this.encodingAesKey = this.applicationList[index].encodingAesKey;
this.checkResult = this.applicationList[index].checkResult; this.checkResult = this.applicationList[index].checkResult;
} }
}
if (this.statusQrcode == "NEVER") { if (this.statusQrcode == "NEVER") {
this.active = 1; this.active = 1;
this.dialogStatus = true; this.dialogStatus = true;
...@@ -545,7 +603,7 @@ export default { ...@@ -545,7 +603,7 @@ export default {
} }
var a = this.$apis.ww var a = this.$apis.ww
.getReportStatus({ .getReportStatus({
loginType: "service_login", loginType: "login_admin",
operation: operation, operation: operation,
status: status, status: status,
}) })
...@@ -577,12 +635,12 @@ export default { ...@@ -577,12 +635,12 @@ export default {
// position: relative; // position: relative;
} }
.enterprise-step-box { .enterprise-step-box {
padding-top: 20px; padding-top: 40px;
width: 80%; width: 80%;
margin: 0 auto; margin: 0 auto;
} }
.el-steps { .el-steps {
transform: translateX(-30px); transform: translateX(-30px);
} }
.el-step.is-vertical .el-step__head { .el-step.is-vertical .el-step__head {
width: 32px; width: 32px;
...@@ -666,6 +724,7 @@ transform: translateX(-30px); ...@@ -666,6 +724,7 @@ transform: translateX(-30px);
.step-panel { .step-panel {
display: flex; display: flex;
margin-bottom: 55px; margin-bottom: 55px;
position: relative;
.step-left { .step-left {
width: 220px; width: 220px;
padding: 40px 20px; padding: 40px 20px;
...@@ -679,10 +738,16 @@ transform: translateX(-30px); ...@@ -679,10 +738,16 @@ transform: translateX(-30px);
.step-right { .step-right {
flex: 1; flex: 1;
.config-box { .config-box {
display: flex;
justify-content: center;
align-items: center;
padding: 40px 0px; padding: 40px 0px;
&.config-box-second { &.config-box-second {
width: 600px; width: 600px;
margin: 0 auto; margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
.config-form-panel { .config-form-panel {
justify-content: center; justify-content: center;
} }
...@@ -690,6 +755,9 @@ transform: translateX(-30px); ...@@ -690,6 +755,9 @@ transform: translateX(-30px);
&.config-box-third { &.config-box-third {
text-align: center; text-align: center;
padding: 0px; padding: 0px;
display: flex;
justify-content: center;
align-items: center;
} }
&-h1 { &-h1 {
height: 25px; height: 25px;
...@@ -698,6 +766,7 @@ transform: translateX(-30px); ...@@ -698,6 +766,7 @@ transform: translateX(-30px);
color: #424242; color: #424242;
line-height: 25px; line-height: 25px;
letter-spacing: 1px; letter-spacing: 1px;
text-align: center;
} }
&-h2 { &-h2 {
font-size: 14px; font-size: 14px;
...@@ -706,10 +775,11 @@ transform: translateX(-30px); ...@@ -706,10 +775,11 @@ transform: translateX(-30px);
line-height: 20px; line-height: 20px;
letter-spacing: 1px; letter-spacing: 1px;
margin-top: 10px; margin-top: 10px;
text-align: center;
> a { > a {
cursor: pointer; cursor: pointer;
font-size: 12px; font-size: 12px;
font-weight: 500; font-weight: 600;
color: #5850ff; color: #5850ff;
} }
} }
...@@ -732,9 +802,9 @@ transform: translateX(-30px); ...@@ -732,9 +802,9 @@ transform: translateX(-30px);
letter-spacing: 1px; letter-spacing: 1px;
} }
.config-finish { .config-finish {
width: 300px; width: 240px;
height: 300px; height: 240px;
margin: 40px; margin-bottom: 40px;
} }
.step-jump-home { .step-jump-home {
cursor: pointer; cursor: pointer;
...@@ -796,7 +866,9 @@ transform: translateX(-30px); ...@@ -796,7 +866,9 @@ transform: translateX(-30px);
} }
.config-form-panel { .config-form-panel {
display: flex; display: flex;
justify-content: space-between; .config-box-qrcode {
margin-top: 36px;
}
} }
.config-box-form { .config-box-form {
.config-box-input { .config-box-input {
...@@ -808,7 +880,7 @@ transform: translateX(-30px); ...@@ -808,7 +880,7 @@ transform: translateX(-30px);
font-size: 12px; font-size: 12px;
line-height: 32px; line-height: 32px;
padding-left: 10px; padding-left: 10px;
margin-bottom: 10px; margin-bottom: 32px;
color: #999999; color: #999999;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -835,9 +907,10 @@ transform: translateX(-30px); ...@@ -835,9 +907,10 @@ transform: translateX(-30px);
line-height: 20px; line-height: 20px;
} }
img { img {
width: 16px; width: 14px;
height: 16px; height: 14px;
margin-right: 10px; margin-right: 10px;
margin-top: 3px;
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
} }
...@@ -845,7 +918,6 @@ transform: translateX(-30px); ...@@ -845,7 +918,6 @@ transform: translateX(-30px);
.config-box-link { .config-box-link {
width: 610px; width: 610px;
font-size: 12px; font-size: 12px;
text-align: right;
font-weight: 400; font-weight: 400;
color: #a0a0a0; color: #a0a0a0;
line-height: 30px; line-height: 30px;
...@@ -855,6 +927,8 @@ transform: translateX(-30px); ...@@ -855,6 +927,8 @@ transform: translateX(-30px);
} }
> span { > span {
cursor: pointer; cursor: pointer;
font-weight: 600;
color: #5850ff;
} }
} }
} }
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
slot="append" slot="append"
type="primary" type="primary"
@click="syncEntmicroIsOutsiderStaff" @click="syncEntmicroIsOutsiderStaff"
:loading="loading"
>同步有外部联系人权限的员工</el-button >同步有外部联系人权限的员工</el-button
> >
</div> </div>
...@@ -91,6 +92,7 @@ export default { ...@@ -91,6 +92,7 @@ export default {
data() { data() {
return { return {
loading: false,
addForm: {}, addForm: {},
typeIndex: 0, typeIndex: 0,
empType: [], empType: [],
...@@ -165,6 +167,7 @@ export default { ...@@ -165,6 +167,7 @@ export default {
}); });
}, },
syncEntmicroIsOutsiderStaff() { syncEntmicroIsOutsiderStaff() {
this.loading = true;
let params = { let params = {
departmentId: 1, departmentId: 1,
merchantId: this.$globalState.session.merchantId, merchantId: this.$globalState.session.merchantId,
...@@ -177,6 +180,7 @@ export default { ...@@ -177,6 +180,7 @@ export default {
type: "success", type: "success",
}); });
} }
this.loading = false;
}); });
}, },
onSubmit() { onSubmit() {
......
...@@ -5,74 +5,60 @@ ...@@ -5,74 +5,60 @@
<div <div
class="emp-scroll-panel" class="emp-scroll-panel"
:style="{ :style="{
height: treeHeight + 'px', height: treeHeight + 'px'
}" }"
> >
<div class="tree-title">所在门店/部门</div> <div class="tree-title">所在门店/部门</div>
<el-tree <el-tree :data="listTree" :expand-on-click-node="false" highlight-current :props="defaultProps" @node-click="handleNodeClick"></el-tree>
:data="listTree"
:expand-on-click-node="false"
highlight-current
:props="defaultProps"
@node-click="handleNodeClick"
></el-tree>
</div> </div>
</div> </div>
<el-col <el-col
class="scrm-p10 emp-table-panel" class="scrm-p10 emp-table-panel"
:style="{ :style="{
height: treeHeight+20 + 'px', height: treeHeight + 20 + 'px'
}" }"
> >
<GLTable <GLTable ref="saleTable" :tableData="tableEmpData" :tableParams="tableParams" :hasNum="false" :hasPage="false" @selectionTable="selectionTable"></GLTable>
ref="saleTable"
:tableData="tableEmpData"
:tableParams="tableParams"
:hasNum="false"
:hasPage="false"
@selectionTable="selectionTable"
>
</GLTable>
</el-col> </el-col>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: "selectEmp", name: 'selectEmp',
data() { data() {
return { return {
treeHeight: 0, treeHeight: 0,
staffName: "", staffName: '',
listTree: [], listTree: [],
defaultProps: { defaultProps: {
children: "children", children: 'children',
label: "departmentName", label: 'departmentName'
}, },
// 表格参数 // 表格参数
tableParams: { tableParams: {
checkSelectKey: "id", checkSelectKey: 'id',
checkSelectVal: [], checkSelectVal: [],
listName: "list", listName: 'list',
// 行数据的key // 行数据的key
mutiSelectUniqueKey: "id", mutiSelectUniqueKey: 'id',
// 多选ref的名称 // 多选ref的名称
mutiSelectName: "salelist", mutiSelectName: 'salelist',
btnId: new Date().getTime() + parseInt(Math.random() * 1000), btnId: new Date().getTime() + parseInt(Math.random() * 1000),
tableColumns: [ tableColumns: [
{ {
label: "姓名", label: '姓名',
prop: "staffName", prop: 'staffName'
}, },
{ {
label: "职务", label: '职务',
prop: "staffTitle", prop: 'staffTitle'
}, }
], ]
}, },
tableEmpData: [], tableEmpData: []
}; }
}, },
methods: { methods: {
...@@ -80,42 +66,46 @@ export default { ...@@ -80,42 +66,46 @@ export default {
this.$emit('selectTable', val) this.$emit('selectTable', val)
}, },
listDepartmentTree() { listDepartmentTree() {
this.$apis.emp.listDepartmentTree({ id: 1 }).then((res) => { this.$apis.emp.listDepartmentTree({ id: 1 }).then(res => {
this.listTree = res; this.listTree = res
this.$nextTick(() => { this.$nextTick(() => {
document.getElementsByClassName('el-tree-node__expand-icon')[0].click(); document.getElementsByClassName('el-tree-node__expand-icon')[0].click()
document.getElementsByClassName('el-tree-node__content')[0].click(); document.getElementsByClassName('el-tree-node__content')[0].click()
}); })
}); })
}, },
clearSelect(row) { clearSelect(row) {
this.$refs.saleTable.$refs.salelistMutiTable.toggleRowSelection(row); this.tableEmpData.forEach(item => {
if (item.id == row.id) {
this.$refs.saleTable.$refs.salelistMutiTable.toggleRowSelection(item)
}
})
}, },
clearSelection() { clearSelection() {
this.$refs.saleTable.$refs.salelistMutiTable.clearSelection(); this.$refs.saleTable.$refs.salelistMutiTable.clearSelection()
}, },
handleNodeClick(data) { handleNodeClick(data) {
this.departmentId = data.id; this.departmentId = data.id
this.listEntmicroStaff(); this.listEntmicroStaff()
}, },
listEntmicroStaff(staffName) { listEntmicroStaff(staffName) {
let params = { let params = {
departmentId: this.departmentId, departmentId: this.departmentId,
staffName: staffName ? staffName : this.staffName, staffName: staffName ? staffName : this.staffName,
merchantid: this.$globalState.session.merchantId, merchantid: this.$globalState.session.merchantId
}; }
this.$apis.emp.listEntmicroStaff(params).then((res) => { this.$apis.emp.listEntmicroStaff(params).then(res => {
this.tableEmpData = res; this.tableEmpData = res
}); })
}, }
}, },
mounted() { mounted() {
let clientHeight = document.documentElement.clientHeight; let clientHeight = document.documentElement.clientHeight
this.treeHeight = clientHeight - 450; this.treeHeight = clientHeight - 480
this.listDepartmentTree(); this.listDepartmentTree()
}, }
}; }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
...@@ -146,7 +136,7 @@ export default { ...@@ -146,7 +136,7 @@ export default {
border-style: solid; border-style: solid;
border-bottom-color: #e4e7ed; border-bottom-color: #e4e7ed;
&:after { &:after {
content: " "; content: ' ';
border-width: 6px; border-width: 6px;
top: 1px; top: 1px;
margin-left: -6px; margin-left: -6px;
......
<template> <template>
<div className="scrm-main"> <div className="scrm-main">
<div class="follow-header"> <div class="follow-header">
<p>1、跟进专员可以接收/发放活动任务,接收任务后可分发给客户。</p> <p>为不同的业务部门设置对应的跟进专员,方便后续业务部门创办相关的活动时能为其成员创建活动和发送企微消息,引导其跟进活动。跟进专员接收任务后可转发给客户/客户群,拥有“添加外部联系人权限”的员工才允许设置为跟进专员。<a class="follow-process-a" @click="jumpUrl('https://open.work.weixin.qq.com/help2/pc/16853?person_id=1&is_tencent=')">企微管理员为员工“设置外部联系人权限”流程>></a></p>
<p>2、拥有“添加外部联系人权限”的员工才允许设置为跟进专员。</p>
<div class="follow-process-a">企微管理员为员工“设置外部联系人权限”流程>></div>
</div> </div>
<div class="follow-form"> <div class="follow-form" :style="{'min-height': formHeight+'px'}">
<el-form :inline="true" :model="searchForm" class="follow-form-item"> <el-form :inline="true" :model="searchForm" class="follow-form-item">
<el-form-item label="跟进专员类型"> <el-form-item label="跟进专员类型">
<el-select <el-select
...@@ -85,6 +84,7 @@ export default { ...@@ -85,6 +84,7 @@ export default {
data() { data() {
return { return {
formHeight: 300,
drawer: false, drawer: false,
direction: "rtl", direction: "rtl",
searchForm: { searchForm: {
...@@ -160,6 +160,9 @@ export default { ...@@ -160,6 +160,9 @@ export default {
}, },
}, },
methods: { methods: {
jumpUrl(url) {
window.open(url)
},
openDrawer() { openDrawer() {
this.drawer = true; this.drawer = true;
this.$nextTick(() => { this.$nextTick(() => {
...@@ -236,6 +239,7 @@ export default { ...@@ -236,6 +239,7 @@ export default {
mounted() { mounted() {
this.listEntFollowerType(); this.listEntFollowerType();
this.handleSearch(); this.handleSearch();
this.formHeight = document.documentElement.clientHeight - 190;
}, },
}; };
</script> </script>
...@@ -248,11 +252,11 @@ export default { ...@@ -248,11 +252,11 @@ export default {
font-size: 15px; font-size: 15px;
color: rgba(0, 0, 0, 0.65); color: rgba(0, 0, 0, 0.65);
position: relative; position: relative;
p {
// width: 70%;
}
.follow-process-a { .follow-process-a {
text-decoration: underline; text-decoration: underline;
position: absolute;
right: 50px;
bottom: 10px;
line-height: 24px; line-height: 24px;
color: #5850ff; color: #5850ff;
cursor: pointer; cursor: pointer;
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</div> </div>
<div class="accurate-use-btn"> <div class="accurate-use-btn">
<el-button type="primary" size="small">立即使用</el-button> <el-button type="primary" size="small" @click="jumpSquare">立即使用</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</div> </div>
<div class="accurate-use-btn"> <div class="accurate-use-btn">
<el-button type="primary" size="small">立即使用</el-button> <el-button type="primary" size="small" @click="jumpSquare">立即使用</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -52,10 +52,9 @@ export default { ...@@ -52,10 +52,9 @@ export default {
return {}; return {};
}, },
methods: { methods: {
test() { jumpSquare() {
console.log("点击了按钮"); this.$history.push('/drainage/square/drainage')
this.$messenger.send({ from: 11, message: "11111" }); }
},
}, },
}; };
</script> </script>
......
...@@ -4,40 +4,46 @@ ...@@ -4,40 +4,46 @@
<div class="view-l-title"> <div class="view-l-title">
<div class="view-title-desc"> <div class="view-title-desc">
<span>总产值</span> <span>总产值</span>
<el-popover <el-popover placement="top" width="200" trigger="hover" content="累计至统计截止时间,门店各业务产值之和。业务包括:精品升级、商城(秒杀、商品、券)、门店会员服务套餐。">
placement="top"
title="说明"
width="200"
trigger="hover"
content="累计至统计截止时间,旗下各门店产值之和。"
>
<img src="@/assets/img/question.png" slot="reference" /> <img src="@/assets/img/question.png" slot="reference" />
</el-popover> </el-popover>
</div> </div>
<div class="view-title-num">¥ - -</div> <div class="view-title-num">{{ totalOutputValue ? totalOutputValue : '¥ - -' }}</div>
</div> </div>
<div class="view-chart"> <div class="view-chart">
<div class="view-chart-empty"> <output-echart :output="output"></output-echart>
<!-- <div class="view-chart-empty">
<img src="@/assets/img/empty.png" /> <img src="@/assets/img/empty.png" />
<div>暂无数据</div> <div>暂无数据</div>
</div> </div> -->
</div> </div>
</div> </div>
<div class="chart-home-right"> <div class="chart-home-right">
<div class="view-l-title"> <div class="view-l-title">
<div class="view-title-desc"> <div class="view-title-desc">
<span>当日新增总产值</span> <span>当日新增总产值</span>
<el-popover placement="top" width="200" trigger="hover" content="统计截止时间当天,各业务产值之和。">
<img src="@/assets/img/question.png" slot="reference" />
</el-popover>
</div> </div>
<div class="view-title-num">¥ - -</div> <div class="view-title-num">{{ currentDayTotalOutputValue ? currentDayTotalOutputValue : '¥ - -' }}</div>
</div> </div>
<linechart echartId="customerId1" :echartData="totalOutputValueTrends" echartHeight="90"></linechart>
<div class="view-r-value"> <div class="view-r-value">
<div class="view-value-panle"> <div class="view-value-panle">
<div class="view-value-p">
<div class="view-value">当日新增精品升级产值</div> <div class="view-value">当日新增精品升级产值</div>
<div class="view-value-price" style="color: #fe9c1c">¥ - -</div> <div class="view-value-price" style="color: #fe9c1c">{{ currentDayBoutiqueUpgradeTotalOutputValue ? currentDayBoutiqueUpgradeTotalOutputValue : '¥ - -' }}</div>
</div>
<linechart echartId="customerId2" :echartData="boutiqueUpgradeOutputValueTrends" echartHeight="70"></linechart>
</div> </div>
<div class="view-value-panle"> <div class="view-value-panle">
<div class="view-value">当日新增权益产值</div> <div class="view-value-p">
<div class="view-value-price" style="color: #716aff">¥ - -</div> <div class="view-value">当日新增商城产值</div>
<div class="view-value-price" style="color: #716aff">{{ currentDayShopmallTotalOutputValue ? currentDayShopmallTotalOutputValue : '¥ - -' }}</div>
</div>
<linechart echartId="customerId3" :echartData="shopmallOutputValueTrends" echartHeight="70"></linechart>
</div> </div>
</div> </div>
</div> </div>
...@@ -45,20 +51,66 @@ ...@@ -45,20 +51,66 @@
</template> </template>
<script> <script>
import linechart from './linechart'
import outputEchart from './output-echart'
export default { export default {
name: "customerEchart", name: 'customerEchart',
components: {
linechart,
outputEchart
},
data() { data() {
return { return {
permissions: [1211], output: {},
}; totalOutputValueTrends: [],
shopmallOutputValueTrends: [],
boutiqueUpgradeOutputValueTrends: [],
liveOutputValueTrends: [],
equityOutputValueTrends: [],
totalOutputValue: 0,
todayTotalOutputValue: 0,
todayShopmallTotalOutputValue: 0,
todayBoutiqueUpgradeTotalOutputValue: 0,
liveTotalOutputValue: 0,
currentDayTotalOutputValue: 0,
currentDayShopmallTotalOutputValue: 0,
currentDayLiveTotalOutputValue: 0,
currentDayEquityTotalOutputValue: 0,
currentDayBoutiqueUpgradeTotalOutputValue: 0
}
}, },
methods: { props: {
test() { summaryTimeFomat: {
console.log("点击了按钮"); type: String
this.$messenger.send({ from: 11, message: "11111" }); }
},
watch: {
summaryTimeFomat() {
this.getOutput()
}
}, },
methods: {
getOutput() {
this.$apis.home.outputValue({ dataEndDateStr: this.summaryTimeFomat }).then(res => {
this.output = res
this.totalOutputValue = res.totalOutputValue
this.currentDayTotalOutputValue = res.currentDayTotalOutputValue
this.currentDayShopmallTotalOutputValue = res.currentDayShopmallTotalOutputValue
this.currentDayLiveTotalOutputValue = res.currentDayLiveTotalOutputValue
this.currentDayEquityTotalOutputValue = res.currentDayEquityTotalOutputValue
this.currentDayBoutiqueUpgradeTotalOutputValue = res.currentDayBoutiqueUpgradeTotalOutputValue
this.totalOutputValueTrends = res.totalOutputValueTrends
this.shopmallOutputValueTrends = res.shopmallOutputValueTrends
this.boutiqueUpgradeOutputValueTrends = res.boutiqueUpgradeOutputValueTrends
this.liveOutputValueTrends = res.liveOutputValueTrends
this.equityOutputValueTrends = res.equityOutputValueTrends
})
}
}, },
}; mounted() {
this.getOutput()
}
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
...@@ -70,7 +122,6 @@ export default { ...@@ -70,7 +122,6 @@ export default {
padding: 20px; padding: 20px;
.view-chart { .view-chart {
width: 100%; width: 100%;
height: 258px;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
...@@ -94,7 +145,7 @@ export default { ...@@ -94,7 +145,7 @@ export default {
width: 50%; width: 50%;
padding: 20px 40px; padding: 20px 40px;
.view-r-value { .view-r-value {
margin-top: 100px; margin-top: 10px;
display: flex; display: flex;
.view-value-panle { .view-value-panle {
width: 50%; width: 50%;
...@@ -118,7 +169,7 @@ export default { ...@@ -118,7 +169,7 @@ export default {
line-height: 18px; line-height: 18px;
.view-title-num { .view-title-num {
font-size: 14px; font-size: 14px;
>span { > span {
font-size: 26px; font-size: 26px;
} }
} }
......
<template> <template>
<div :id="echartId" class="chart-line"></div> <div :id="echartId" class="chart-line" :style="{ height: echartHeight + 'px' }"></div>
</template> </template>
<script> <script>
import * as echarts from "echarts"; import * as echarts from 'echarts'
export default { export default {
name: "linechart", name: 'linechart',
props: { props: {
echartId: { echartId: {
type: String, type: String,
default: "", default: ''
}, },
echartData: {
type: Array
},
echartHeight: {
type: Number,
default: 70
}
}, },
data() { data() {
return {}; return {}
}, },
methods: { watch: {
getChartTotal() { echartData: {
console.log(this.echartId); handler(value) {
var chartDom = document.getElementById(this.echartId); console.log(value, this.echartId)
var myChart = echarts.init(chartDom); let data = value.map(item => {
var option; return item.outputValue
})
let dateTime = value.map(item => {
return item.dateTime
})
console.log(data)
this.getChartTotal(dateTime, data)
},
deep: true
}
},
methods: {
getChartTotal(dateTime, lineData) {
console.log(this.echartId)
var chartDom = document.getElementById(this.echartId)
var myChart = echarts.init(chartDom)
var option
option = { option = {
xAxis: { xAxis: {
type: "category", type: 'category',
boundaryGap: false, boundaryGap: false,
show: false, data: dateTime
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], },
yAxis: {
type: 'value',
show: false
}, },
grid: { grid: {
bottom: 0, bottom: 0,
top: 0, top: 0
},
yAxis: {
type: "value",
show: false,
}, },
series: [ series: [
{ {
data: [1, 12, 33, 23, 45, 65, 4445], data: lineData,
type: "line", type: 'line',
symbol: "none", symbol: 'none',
color: '#5850FF',
areaStyle: { areaStyle: {
color: { color: {
type: "linear", type: 'linear',
x: 0, x: 0,
y: 0, y: 0,
x2: 0, x2: 0,
...@@ -55,34 +78,27 @@ export default { ...@@ -55,34 +78,27 @@ export default {
colorStops: [ colorStops: [
{ {
offset: 0, offset: 0,
color: "#5850FF", // 100% 处的颜色 color: '#5850FF' // 100% 处的颜色
}, },
{ {
offset: 1, offset: 1,
color: "#FFFFFF", // 0% 处的颜色 color: '#FFFFFF' // 0% 处的颜色
}, }
],
global: false, // 缺省为 false
},
},
},
], ],
}; global: false // 缺省为 false
}
option && myChart.setOption(option); }
}, }
}, ]
}
mounted() { option && myChart.setOption(option)
this.getChartTotal(); }
}, }
}; }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.chart-line {
height: 100px;
}
.summary-header { .summary-header {
display: flex; display: flex;
color: #3a3a3a; color: #3a3a3a;
...@@ -129,7 +145,7 @@ export default { ...@@ -129,7 +145,7 @@ export default {
} }
} }
.expand-more { .expand-more {
margin: 20px 0px; margin-bottom: 20px;
text-align: center; text-align: center;
height: 56px; height: 56px;
background: rgba(0, 0, 0, 0.02); background: rgba(0, 0, 0, 0.02);
...@@ -139,6 +155,6 @@ export default { ...@@ -139,6 +155,6 @@ export default {
color: #000000; color: #000000;
} }
#main-customer { #main-customer {
height: 300px; height: 360px;
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
<template> <template>
<div class="marketing-tools scrm-box-f"> <div class="marketing-tools scrm-box-f">
<div class="marketing-item" v-for="(item, index) in tools" :key="index"> <div class="marketing-item" v-for="(item, index) in tools" :key="index" @click="jumpSqure(item.url)">
<div class="marketing-icon"> <div class="marketing-icon">
<div class="hot" v-if="item.status"><img src="@/assets/img/hot.png"></div> <div class="hot" v-if="item.status"><img src="@/assets/img/hot.png" /></div>
<img :src="require('../../../assets/img/service/tool' + (index + 1) + '.png')" /> <img :src="require('../../../assets/img/service/tool' + (index + 1) + '.png')" />
</div> </div>
<div class="marketing-desc">{{ item.name }}</div> <div class="marketing-desc">{{ item.name }}</div>
...@@ -12,40 +12,41 @@ ...@@ -12,40 +12,41 @@
<script> <script>
export default { export default {
name: "marketingTools", name: 'marketingTools',
data() { data() {
return { return {
tools: [ tools: [
{ {
name: "活码引流", name: '活码引流',
url: '/drainage/channel/index'
}, },
{ {
name: "批量加好友", name: '批量加好友',
url: '/drainage/friends/index'
}, },
{ {
name: "群发助手", name: '群发助手',
status: 1, status: 1,
url: '/marketing/customerTransform/index'
}, },
{ {
name: "企业素材库", name: '秒杀活动',
},
{
name: "权益裂变",
status: 1, status: 1,
url: '/marketing/seckillActivity/index'
}, },
{ {
name: "优惠券营销", name: '优惠券营销',
}, url: '/marketing/couponManage/index'
], }
}; ]
}
}, },
methods: { methods: {
test() { jumpSqure(url) {
console.log("点击了按钮"); this.$history.push(url)
this.$messenger.send({ from: 11, message: "11111" }); }
}, }
}, }
};
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
...@@ -54,20 +55,21 @@ export default { ...@@ -54,20 +55,21 @@ export default {
justify-content: space-around; justify-content: space-around;
padding: 25px; padding: 25px;
.marketing-item { .marketing-item {
cursor: pointer;
margin: 0 auto; margin: 0 auto;
text-align: center; text-align: center;
.marketing-icon { .marketing-icon {
position: relative; position: relative;
width: 76px; width: 76px;
text-align: center; text-align: center;
.hot img{ .hot img {
position: absolute; position: absolute;
right: -10px; right: -10px;
top: 0px; top: 0px;
width: 28px; width: 28px;
height: auto; height: auto;
} }
>img { > img {
width: 50px; width: 50px;
height: 50px; height: 50px;
margin: 4px auto; margin: 4px auto;
......
...@@ -4,19 +4,19 @@ ...@@ -4,19 +4,19 @@
<div class="operational-icon"><img src="@/assets/img/home/service1.png" /></div> <div class="operational-icon"><img src="@/assets/img/home/service1.png" /></div>
<div class="operational-title">新车售前打包增值方案</div> <div class="operational-title">新车售前打包增值方案</div>
<div class="operational-desc">4S店会员权益服务——赚钱 、锁客两不误</div> <div class="operational-desc">4S店会员权益服务——赚钱 、锁客两不误</div>
<div class="operational-btn">立即使用</div> <div class="operational-btn" @click="jumpSquare('/services/inSale/introduct')">立即使用</div>
</div> </div>
<div class="operational-item scrm-box-f"> <div class="operational-item scrm-box-f">
<div class="operational-icon"><img src="@/assets/img/home/service2.png" /></div> <div class="operational-icon"><img src="@/assets/img/home/service2.png" /></div>
<div class="operational-title">精品售中升级</div> <div class="operational-title">精品售中升级</div>
<div class="operational-desc">驻店升级转化精品——帮助门店新车流量托管式增值变现</div> <div class="operational-desc">驻店升级转化精品——帮助门店新车流量托管式增值变现</div>
<div class="operational-btn">立即使用</div> <div class="operational-btn" @click="jumpSquare('/services/inSale/upgrade')">立即使用</div>
</div> </div>
<div class="operational-item scrm-box-f"> <div class="operational-item scrm-box-f">
<div class="operational-icon"><img src="@/assets/img/home/service3.png" /></div> <div class="operational-icon"><img src="@/assets/img/home/service3.png" /></div>
<div class="operational-title">售后直播代运营服务</div> <div class="operational-title">售后直播代运营服务</div>
<div class="operational-desc">专业直播带货服务,助力商家直播带货,快速提高销量</div> <div class="operational-desc">专业直播带货服务,助力商家直播带货,快速提高销量</div>
<div class="operational-btn">立即使用</div> <div class="operational-btn" @click="jumpSquare('/services/inSale/introduct')">立即使用</div>
</div> </div>
</div> </div>
</template> </template>
...@@ -26,13 +26,11 @@ export default { ...@@ -26,13 +26,11 @@ export default {
name: "operationalSercives", name: "operationalSercives",
data() { data() {
return { return {
permissions: [1211],
}; };
}, },
methods: { methods: {
test() { jumpSquare(url) {
console.log("点击了按钮"); this.$history.push(url)
this.$messenger.send({ from: 11, message: "11111" });
}, },
}, },
}; };
...@@ -43,7 +41,7 @@ export default { ...@@ -43,7 +41,7 @@ export default {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
.operational-item { .operational-item {
padding: 20px 55px; padding: 20px 0px;
margin-right: 30px; margin-right: 30px;
text-align: center; text-align: center;
width: 33.33%; width: 33.33%;
...@@ -69,6 +67,10 @@ export default { ...@@ -69,6 +67,10 @@ export default {
font-weight: 400; font-weight: 400;
color: #666666; color: #666666;
line-height: 24px; line-height: 24px;
height: 48px;
width: 72%;
margin: 0 auto;
text-align: center;
} }
.operational-btn { .operational-btn {
cursor: pointer; cursor: pointer;
......
<template> <template>
<div class="output-panel"> <div class="output-panel">
<div id="echarts1"></div> <div id="echartOutput"></div>
</div> </div>
</template> </template>
<script> <script>
import * as echarts from 'echarts'; import * as echarts from 'echarts'
export default { export default {
name: 'outputEchart', name: 'echartOutput',
data() { data() {
return { return {
permissions: [1211] permissions: [1211]
} }
}, },
props: {
methods: { output: {
test() { type: Object
console.log('点击了按钮')
this.$messenger.send({ from: 11, message: '11111' })
} }
}, },
watch: {
output() {
this.getOutput()
}
mounted() { },
methods: {
var chartDom = document.getElementById('echarts1'); getOutput() {
var myChart = echarts.init(chartDom); var chartDom = document.getElementById('echartOutput')
var option; var myChart = echarts.init(chartDom)
var option
option = { option = {
tooltip: { tooltip: {
trigger: 'item' trigger: 'item'
}, },
legend: { legend: {
left: 'left' left: 'left',
top: '5%',
data: [
{
name: '精品升级',
icon: 'circle',
},
{
name: '商城',
icon: 'circle',
}, },
color: ['#FE9C1C','#716AFF','#3DA4F4'], {
name: '其他',
icon: 'circle',
}
]
},
color: ['#FE9C1C', '#716AFF', '#3DA4F4', '#5850FF', '#34911A'],
series: [ series: [
{ {
name: '访问来源', name: '访问来源',
type: 'pie', type: 'pie',
center: ['50%', '58%'],
data: [ data: [
{value: 580, name: '精品升级'}, { value: this.output.boutiqueUpgradeTotalOutputValueRadio, name: '精品升级' },
{value: 484, name: '权益'}, { value: this.output.shopmallTotalOutputValueRadio, name: '商城' },
{value: 300, name: '其他'} { value: this.output.otherTotalOutputValueRadio, name: '其他' }
] ]
} }
] ]
}; }
option && myChart.setOption(option);
option && myChart.setOption(option)
} }
}; }
}
</script> </script>
<style>
#echarts1 {
height: 300px;
}
</style>
\ No newline at end of file \ No newline at end of file
<style lang="scss" scoped>
.output-panel {
width: 100%;
}
#echartOutput {
height: 280px;
}
</style>>
\ No newline at end of file \ No newline at end of file
...@@ -7,10 +7,9 @@ ...@@ -7,10 +7,9 @@
<span>客户总数</span> <span>客户总数</span>
<el-popover <el-popover
placement="top" placement="top"
title="说明"
width="200" width="200"
trigger="hover" trigger="hover"
content="累计至统计截止时间,旗下各门店的客户总数之和,按手机号和企微双重去重。" content="累计至统计截止时间,门店的客户总数之和,按手机号和企业微信双重去重。"
> >
<img src="@/assets/img/question.png" slot="reference" /> <img src="@/assets/img/question.png" slot="reference" />
</el-popover> </el-popover>
...@@ -41,7 +40,7 @@ ...@@ -41,7 +40,7 @@
>人 >人
</div> </div>
<div class="view-loss-btn"> <div class="view-loss-btn">
<el-button type="primary" size="small" :class="{'emp-btn': !notAddEntmicroCount}">立即召回</el-button> <el-button type="primary" size="small" :class="{'emp-btn': !notAddEntmicroCount}" @click="getBackUp">立即召回</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -105,6 +104,9 @@ export default { ...@@ -105,6 +104,9 @@ export default {
}, },
methods: { methods: {
getBackUp() {
this.$alert('敬请期待', '提示');
},
getViewData() { getViewData() {
this.$apis.home.getStore({ date: this.summaryTime }).then((res) => { this.$apis.home.getStore({ date: this.summaryTime }).then((res) => {
this.customerCount = res.customerCount; this.customerCount = res.customerCount;
...@@ -138,7 +140,7 @@ export default { ...@@ -138,7 +140,7 @@ export default {
display: flex; display: flex;
.view-prise-l { .view-prise-l {
width: 60%; width: 60%;
padding: 20px 40px 20px 20px; padding: 0px 40px 20px 0px;
border-right: 1px solid rgba(0, 0, 0, 0.06); border-right: 1px solid rgba(0, 0, 0, 0.06);
.view-l-title { .view-l-title {
display: flex; display: flex;
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
/> />
<div <div
class="jump-mf-btn" class="jump-mf-btn"
@click="jumpSqure"
:style="{ :style="{
left: headWidth / 1.36 + 'px', left: headWidth / 1.36 + 'px',
}" }"
...@@ -40,7 +41,7 @@ ...@@ -40,7 +41,7 @@
</div> </div>
</div> </div>
<overview-enterprise :summaryTime="summaryTime"></overview-enterprise> <overview-enterprise :summaryTime="summaryTime"></overview-enterprise>
<customer-echart></customer-echart> <customer-echart :summaryTimeFomat="summaryTime"></customer-echart>
<div class="home-overview-content"></div> <div class="home-overview-content"></div>
<div class="home-statistics-title">精准营销</div> <div class="home-statistics-title">精准营销</div>
<accurate-marketing></accurate-marketing> <accurate-marketing></accurate-marketing>
...@@ -205,6 +206,9 @@ export default { ...@@ -205,6 +206,9 @@ export default {
}, },
methods: { methods: {
jumpSqure() {
this.$history.push('/drainage/square/index')
},
handleNext(val) { handleNext(val) {
if (val == 3) { if (val == 3) {
this.guideStatus = false; this.guideStatus = false;
......
<template>
<div class="report-home">
<h2>
报表子应用
<span class="right">{{ gs }}</span>
</h2>
<div id="nav">
<span>切换路由:</span>
<el-button-group class="right">
<el-button type="primary" size="medium" @click="routerChange('/')">报表</el-button>
<el-button type="primary" size="medium" @click="routerChange('/about')">穿梭框</el-button>
<el-button type="primary" size="medium" @click="toAppReport('1-1')">表格</el-button>
<el-button type="primary" size="medium" @click="toAppReport('1-2')">日历</el-button>
<el-button type="primary" size="medium" @click="toAppReport({ path: 'sub01/changeData' })">aaaa</el-button>
</el-button-group>
</div>
<div class="parent-child-communication">
<h3>父子应用通信:</h3>
<div style="margin-bottom: 20px;">
<span>rxjs通信方案:{{ myMsg }}</span>
<el-button class="right" type="primary" size="medium" @click="callParentChange('rxjs')">通知父应用变天了</el-button>
</div>
<div>
<span>官方通信方案:{{ myMessage }}</span>
<el-button class="right" type="primary" size="medium" @click="callParentChange('default')">通知父应用收到</el-button>
</div>
<img src="../assets/logo.png" alt="" srcset="" />
</div>
</div>
</template>
<script>
export default {
name: 'report-home',
data() {
return {
myMsg: '',
gs: '',
myMessage: ''
}
},
methods: {
/**
* 路由切换
* url 路由地址
*/
routerChange(url) {
this.$router.push(url).catch(err => {
console.log(err)
})
},
/**
* 跨应用路由切换
* url 路由地址
*/
toAppReport(menu) {
this.$history.push(menu)
},
/**
* 通知父应用变天了
* type 通信方案
*/
callParentChange(type) {
if (type === 'default') {
this.myMessage = '子应用scrm-sub-blog收到'
this.$messenger.send({
route: {
id: '3-1',
url: '/test1.html'
},
message: {
from: 'scrm-sub-blog',
token: '倘若有你,西湖一路无雨'
}
})
return
}
this.myMsg = '倘若有你,西湖一路无雨'
this.$globalState.dispatch({
from: 'scrm-sub-blog',
message: this.myMsg,
time: new Date()
})
}
}
}
</script>
<style lang="scss">
.parent-child-communication {
padding: 20px 0;
line-height: 36px;
}
</style>
...@@ -19,27 +19,19 @@ ...@@ -19,27 +19,19 @@
<div class="service-content"> <div class="service-content">
<div class="service-content-wrap"> <div class="service-content-wrap">
<div class="service-content-l"> <div class="service-content-l">
<div class="service-content-title"> <div class="service-content-title">嘀加智慧门店SCRM——赢在销售 Win Consumer</div>
嘀加智慧门店SCRM——赢在销售 Win Consumer <div class="service-content-desc">面向汽车营销场景,依托嘀加智慧门店SaaS产品服务能力,帮助汽车经销商及门店打通引流-互动-转化-复购的路径,满足企业精准营销+全链路SaaS+数字化运营的一站式增长需求,助力汽车经销商打造自己的数字化营销平台。</div>
</div> <div class="service-content-in">我们不仅提供管理工具,我们更有方法论与策略 。</div>
<div class="service-content-desc">
面向汽车营销场景,依托嘀加智慧门店SaaS产品服务能力,帮助汽车经销商及门店打通引流-互动-转化-复购的路径,满足企业精准营销+全链路SaaS+数字化运营的一站式增长需求,助力汽车经销商打造自己的数字化营销平台。
</div>
<div class="service-content-in">
我们不仅提供管理工具,我们更有方法论与策略 。
</div>
</div> </div>
<div class="service-content-r"> <div class="service-content-r">
<img src="@/assets/img/service/s2.png" /> <img src="@/assets/img/service/s2.png" />
</div> </div>
</div> </div>
<div class="service-content-cause"> <div class="service-content-cause">
<div class="service-cause-border" v-for="(item, index) in cause" :key="index"> <div class="service-cause-border" v-for="(item, index) in cause" :key="index" @click="jumpSquare(item.url)">
<div class="cause-icon"> <div class="cause-icon">
<div class="hot" v-if="item.status"><img src="@/assets/img/hot.png" /></div> <div class="hot" v-if="item.status"><img src="@/assets/img/hot.png" /></div>
<img <img :src="require('../../assets/img/service/tool' + (index + 1) + '.png')" />
:src="require('../../assets/img/service/tool' + (index + 1) + '.png')"
/>
</div> </div>
<div class="cause-name">{{ item.name }}</div> <div class="cause-name">{{ item.name }}</div>
</div> </div>
...@@ -70,13 +62,9 @@ ...@@ -70,13 +62,9 @@
<div class="service-contact-p">联系人:杨经理</div> <div class="service-contact-p">联系人:杨经理</div>
<div class="service-contact-p">联系电话:13500001234</div> <div class="service-contact-p">联系电话:13500001234</div>
<div class="service-contact-p">微信:13500001234</div> <div class="service-contact-p">微信:13500001234</div>
<div class="service-contact-p"> <div class="service-contact-p">地址:广东省深圳市南山区XXXXXX智园1栋14楼(整层)</div>
地址:广东省深圳市南山区XXXXXX智园1栋14楼(整层)
</div>
<hr /> <hr />
<div class="service-contact-f scrm-f20"> <div class="service-contact-f scrm-f20">您也可在线申请,我们会24小时内安排工作人员主动跟您联系!</div>
您也可在线申请,我们会24小时内安排工作人员主动跟您联系!
</div>
<div class="service-form"> <div class="service-form">
<div class="sevice-qrcode"> <div class="sevice-qrcode">
<img src="@/assets/img/qrcode.png" alt="" /> <img src="@/assets/img/qrcode.png" alt="" />
...@@ -89,29 +77,25 @@ ...@@ -89,29 +77,25 @@
</template> </template>
<script> <script>
const cause = [ const cause = [{ name: '活码引流', url: '/drainage/channel/index' }, { name: '批量加好友',url: '/drainage/friends/index' }, { name: '群发助手', status: 1 ,url: '/marketing/customerTransform/index'}, { name: '秒杀活动' ,url: '/marketing/seckillActivity/index'}, { name: '会员中心', status: 1 ,url: '/marketing/memberCenter/center'}, { name: '分销裂变',url: '/marketing/couponManage/index' }, { name: '优惠券营销',url: '/marketing/couponManage/index' }]
{ name: "活码引流" },
{ name: "批量加好友" },
{ name: "群发助手",status: 1 },
{ name: "企业素材库" },
{ name: "权益裂变" },
{ name: "会员中心",status: 1 },
{ name: "分销裂变" },
{ name: "优惠券营销" },
];
export default { export default {
name: "index", name: 'index',
data() { data() {
return { return {
cause, cause,
form: { form: {
name: "", name: '',
phone: "", phone: '',
remark: "", remark: ''
}, }
}; }
}, },
}; methods: {
jumpSquare(url) {
this.$history.push(url)
}
}
}
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
...@@ -205,6 +189,7 @@ export default { ...@@ -205,6 +189,7 @@ export default {
padding: 15px; padding: 15px;
.service-cause-border { .service-cause-border {
text-align: center; text-align: center;
cursor: pointer;
.cause-icon { .cause-icon {
position: relative; position: relative;
width: 76px; width: 76px;
......
No preview for this file type
No preview for this file type
$defaultColor: #5850FF;
$lightColor: #7973ff;
$dackColor: #4f48e6;
/* 按钮 */
.el-button {
padding: 12px 20px;
font-size: 14px;
border-radius: 4px
}
.el-button:hover,
.el-button:focus {
color: $defaultColor;
border-color: #cdcbff;
background-color: #eef;
}
.el-button:active {
color: $dackColor;
border-color: $dackColor;
outline: none;
}
.el-button.is-round {
padding: 12px 20px
}
.el-button--primary {
color: #fff;
background-color: $defaultColor;
border-color: $defaultColor;
}
.el-button--primary:focus,
.el-button--primary:hover {
background: $lightColor;
border-color: $lightColor;
color: #fff;
}
.el-button--text:focus,
.el-button--text:hover {
color: $lightColor;
border-color: transparent;
background-color: transparent;
}
.el-button.is-plain:focus,
.el-button.is-plain:hover {
background: #FFF;
border-color: $lightColor;
color: $lightColor;
}
.el-button--primary.is-active,
.el-button--primary:active {
background: $dackColor;
border-color: $dackColor;
color: #fff;
}
.el-select .el-input__inner:focus {
border-color: $dackColor;
}
.el-button--small {
padding: 8px 16px;
font-size: 14px;
border-radius: 4px;
}
.el-button--small.is-round {
padding: 8px 16px;
}
.el-button--mini {
padding: 5px 10px;
font-size: 14px;
border-radius: 4px;
}
.el-button--mini.is-round {
padding: 5px 10px;
}
.el-dialog__title {
font-size: 20px;
font-weight: 500;
color: #333333;
line-height: 28px;
}
/* 输入框 下拉框 选择器 开关 单选 多选*/
.el-input__inner:focus {
outline: none;
border-color: $defaultColor;
}
.el-date-table td.today span {
color: $defaultColor;
font-weight: bold;
}
.el-date-table td.current:not(.disabled) span {
color: #fff;
background-color: $defaultColor;
}
.el-date-table td.available:hover {
color: $defaultColor;
}
.el-time-panel__btn.confirm {
font-weight: 800;
color: $defaultColor;
}
.el-date-picker__header-label.active,
.el-date-picker__header-label:hover {
color: $defaultColor;
}
.el-year-table td.today .cell {
color: $defaultColor;
font-weight: 700;
}
.el-month-table td .cell:hover {
color: $defaultColor;
}
.el-picker-panel__icon-btn:hover {
color: $defaultColor;
}
.el-date-table td.end-date span,
.el-date-table td.start-date span {
background-color: $defaultColor;
}
.el-year-table td .cell:hover,
.el-year-table td.current:not(.disabled) .cell {
color: $defaultColor;
}
.el-select .el-input.is-focus .el-input__inner {
border-color: $defaultColor;
}
.el-button--text {
color: $defaultColor;
}
.el-select-dropdown__item.selected {
color: $defaultColor;
font-weight: bold;
}
.el-switch.is-checked .el-switch__core {
border-color: $defaultColor;
background-color: $defaultColor;
}
.el-radio__input.is-checked .el-radio__inner {
border-color: $defaultColor;
background: #fff;
}
.el-radio-button__orig-radio:checked+.el-radio-button__inner {
background-color: $defaultColor;
border-color: $defaultColor;
-webkit-box-shadow: -1px 0 0 0 $defaultColor;
box-shadow: -1px 0 0 0 $defaultColor
}
.el-radio__inner:after {
background-color: $defaultColor;
width: 10px;
height: 10px;
}
.el-radio__inner:hover {
border-color: $defaultColor;
}
.el-radio__input.is-checked+.el-radio__label {
color: $defaultColor;
}
.el-checkbox__input.is-checked .el-checkbox__inner {
background-color: $defaultColor;
border-color: $defaultColor;
}
.el-checkbox__inner:hover {
border-color: $defaultColor;
}
.el-checkbox__input.is-checked+.el-checkbox__label {
color: $defaultColor;
}
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: $defaultColor;
border-color: $defaultColor;
}
.el-checkbox__input.is-focus .el-checkbox__inner {
border-color: $defaultColor;
}
/* 标签*/
.el-tag {
color: $lightColor;
background: #E6E9FF;
border: 1px solid #5850FF;
}
.el-tag .el-tag__close {
color: $lightColor;
}
.el-tag .el-tag__close:hover {
background-color: $lightColor;
}
/* 面包屑*/
.el-breadcrumb__inner a,
.el-breadcrumb__inner.is-link {
font-weight: 400;
color: #999999;
}
.el-breadcrumb__inner a:hover,
.el-breadcrumb__inner.is-link:hover {
color: $defaultColor;
}
.el-breadcrumb__inner {
font-weight: 700;
color: #3A3A3A;
}
.el-breadcrumb__item:last-child .el-breadcrumb__inner,
.el-breadcrumb__item:last-child .el-breadcrumb__inner a,
.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,
.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover {
font-weight: 700;
color: #3A3A3A;
}
/* 树形 */
.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
color: $defaultColor;
background-color: #F2F5FA;
height: 34px;
}
.el-tree-node__content {
height: 34px;
}
/* 表格 */
.el-table--medium .el-table__cell {
padding: 8.5px 0px;
}
.el-table .cell {
line-height: 36px;
}
.el-table .el-table__header tr {
background: #F4F6FC;
font-size: 14px;
font-weight: 500;
color: #333333;
line-height: 20px;
}
.el-table th.el-table__cell {
background: #F4F6FC;
font-size: 14px;
font-weight: 600;
color: #333333;
line-height: 20px;
}
.el-table__body {
font-size: 14px;
font-weight: 400;
color: #666666;
line-height: 14px;
}
.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell {
background-color: #F4F3FF;
}
.el-table__body tr.current-row>td.el-table__cell {
background-color: #F4F3FF;
}
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
background: #fff;
}
.el-table__body tr.hover-row.current-row>td.el-table__cell,
.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,
.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,
.el-table__body tr.hover-row>td.el-table__cell {
background-color: #F4F3FF;
}
/* 分页 */
.el-pager li.active {
color: $defaultColor;
cursor: default;
}
.el-pager li:hover {
color: $defaultColor;
}
.el-pagination button:hover {
color: $defaultColor;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: $defaultColor;
}
.el-pagination__sizes .el-input .el-input__inner:hover {
border-color: $defaultColor;
}
.el-form-item__label {
font-size: 14px;
font-weight: 400;
color: #666666;
}
/* common.css */
/* img {
width: 100%;
height: 100%;
vertical-align: top;
} */
.text-hide {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.text-hide-2 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.scrm-textRight {
text-align: right;
}
.scrm-textCenter {
text-align: center;
}
.scrm-f12 {
font-size: 12px;
}
.scrm-f13 {
font-size: 13px;
}
.scrm-f14 {
font-size: 14px;
}
.scrm-f15 {
font-size: 15px;
}
.scrm-f16 {
font-size: 16px;
}
.scrm-f18 {
font-size: 18px;
}
.scrm-f20 {
font-size: 20px;
}
.scrm-f22 {
font-size: 22px;
}
.scrm-f24 {
font-size: 24px;
}
.scrm-m10 {
margin: 10px;
}
.scrm-m20 {
margin: 20px;
}
.scrm-ml10 {
margin-left: 10px;
}
.scrm-ml20 {
margin-left: 20px;
}
.scrm-mr10 {
margin-right: 10px;
}
.scrm-mr20 {
margin-right: 20px;
}
.scrm-p10 {
padding: 10px;
}
.scrm-p20 {
padding: 20px;
}
.scrm-box-background {
background: #FFFFFF;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.10);
}
.scrm-h1-title {
font-size: 20px;
font-weight: 600;
color: #424242;
line-height: 20px;
}
.scrm-h2-title {
font-size: 16px;
font-weight: 600;
color: #333333;
line-height: 28px;
}
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!