Commit dc862921 by 前端

Merge branch 'develop' into 'master'

合并线上版本代码到主干

See merge request !3
2 parents ea71e2c8 df7b0fa0
This diff could not be displayed because it is too large.
......@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5",
"glsx-common": "^1.4.6",
"glsx-components": "^1.2.5",
"glsx-components": "^1.3.7",
"lodash": "^4.17.21",
"vue": "^2.6.10",
"vue-router": "^3.1.3",
......
......@@ -44,7 +44,7 @@ const getMerchantApi = params => {
}
const getExportApi = params => {
params.method = `${defaultPath}order.export.get`
params.method = `scrm.api.equity.service.package.dj.order.export.get`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
......@@ -55,7 +55,7 @@ const getExportApi = params => {
// 打印合同
const getPriteApi = params => {
params.method = `${defaultPath}order.prite`
params.method = `scrm.api.equity.service.package.dj.order.print`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
......@@ -107,7 +107,18 @@ const getCarTypeListApi = params => {
}
const getHotlineApi = params => {
params.method = `${defaultPath}merchant.hotline.get`
// params.method = `${defaultPath}merchant.hotline.get`
params.method = `scrm.api.equity.service.package.merchant.config.get`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
const getDefaultCarbrandApi = params => {
params.method = 'scrm.api.equity.service.merchant.vehicle.default.detail'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
......@@ -127,6 +138,17 @@ const updateHotlineApi = params => {
})
}
const updateCarBrandApi = params => {
params.method = 'scrm.api.equity.service.merchant.vehicle.default.insert.or.update'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 获取产品名称(套餐名称)
const getProListApi = params => {
params.method = `${defaultPath}select.get`
......@@ -140,7 +162,8 @@ const getProListApi = params => {
// 获取无忧卡套餐列表
const getPackageListApi = params => {
params.method = `${defaultPath}list.get`
params.method = `scrm.api.equity.service.package.dj.list.get`
// params.method = `scrm.api.equity.service.package.list.get`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
......@@ -150,7 +173,7 @@ const getPackageListApi = params => {
}
const getEquityApi = params => {
params.method = `${orderPath}detail`
params.method = `scrm.api.equity.service.channel.order.detail`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
......@@ -160,7 +183,7 @@ const getEquityApi = params => {
}
const updateEquityApi = params => {
params.method = `${orderPath}insert.or.update`
params.method = `scrm.api.equity.service.channel.order.insert.or.update`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
......@@ -193,8 +216,17 @@ const getOrderAttrApi = params => {
}
// 获取套菜附件属性
const getOrderValueApi = params => {
params.method = `${defaultPath}order.attachment.value.get`
// const getOrderValueApi = params => {
// params.method = `${defaultPath}order.attachment.value.get`
// return http({
// url: 'rop-scrm-equity/router',
// method: 'GET',
// data: params,
// sign: true
// })
// }
const getAllOrderValueApi = params => {
params.method = `${defaultPath}order.attachments.value.get`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
......@@ -203,6 +235,30 @@ const getOrderValueApi = params => {
})
}
// 校验
const verifyOrderApi = params => {
params.method = 'scrm.api.equity.service.order.verify'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 车架号
const checkOrderApi = params => {
params.method = 'scrm.api.equity.service.order.check'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 更新套菜附件属性
const updateOrderApi = params => {
params.method = `${orderPath}attachment.update`
......@@ -228,7 +284,7 @@ const uploadImgApi = params => {
// 退保
const backOrderApi = params => {
params.method = `${orderPath}charge.back`
params.method = `scrm.api.equity.service.channel.order.charge.back`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
......@@ -238,4 +294,81 @@ const backOrderApi = params => {
})
}
export default { getUserInfoApi, getCountNoDataApi, getListApi, getMerchantApi, getExportApi, getPriteApi, getCarBrandListApi, getCarChildListApi, getCarTypeListApi, getCarSeriesListApi, getHotlineApi, updateHotlineApi, getProListApi, getPackageListApi, getEquityApi, updateEquityApi, createCodeApi, getOrderAttrApi, getOrderValueApi, updateOrderApi, uploadImgApi, backOrderApi }
\ No newline at end of file
// 审核
const aduitOrderApi = params => {
params.method = `${orderPath}aduit`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 是否开通配置
const judgeSetting = params => {
params.method = 'scrm.api.equity.service.merchant.config.get'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 获取特别约定
const spaAgressData = params => {
params.method = 'scrm.api.equity.service.spa.list.get'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
})
}
// 店铺信息
const merchantInfo = params => {
params.method = 'scrm.api.equity.common.merchant.detail.det'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
})
}
// 卡号---获取期限
const dateBycarNo = params => {
params.method = 'scrm.api.equity.service.cfc.get.by.seqno'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
})
}
// 获取活码列表-
const activeCodeList = params => {
params.method = 'entmicro.api.code.getFreeChannelCode'
return http({
url: 'rop-scrm-entmicro/router',
method: 'POST',
data: params,
sign: true,
})
}
// 更新活码
const updateActiveCode = params => {
params.method = 'scrm.api.equity.service.merchant.qrcode.update'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
})
}
export default { getUserInfoApi, getCountNoDataApi, getListApi, getMerchantApi, getExportApi, getPriteApi, getCarBrandListApi, getCarChildListApi, getCarTypeListApi, getCarSeriesListApi, getHotlineApi, getDefaultCarbrandApi, updateHotlineApi, updateCarBrandApi, getProListApi, getPackageListApi, getEquityApi, updateEquityApi, createCodeApi, getOrderAttrApi, getAllOrderValueApi, verifyOrderApi, checkOrderApi, updateOrderApi, uploadImgApi, backOrderApi, aduitOrderApi, judgeSetting, spaAgressData, merchantInfo, dateBycarNo,activeCodeList,updateActiveCode }
\ No newline at end of file
import { http, http_brand } from '@/main'
const defaultPath = 'scrm.api.equity.service.package.'
const orderPath = 'scrm.api.equity.service.order.'
const getUserInfoApi = params => {
params.method = 'scrm.api.equity.common.merchant.current.det'
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
const getCountNoDataApi = params => {
params.method = `${defaultPath}count.unDataEffective`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
const getListApi = params => {
params.method = `${defaultPath}order.list.get`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
// 获取门店
const getMerchantApi = params => {
params.method = 'scrm.api.equity.common.under.merchant.list.det'
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
const getExportApi = params => {
params.method = `${defaultPath}order.export.get`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
// 打印合同
const getPriteApi = params => {
params.method = `${defaultPath}order.prite`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true,
returnAll:true
})
}
const getCarBrandListApi = params => {
// params.method = 'dj.api.car.series.list'
params.method = 'scrm.api.carlife.common.getCarBrandList'
return http_brand({
url: 'rop-scrm-carlife/router',
method: 'GET',
data: params,
sign: true
})
}
const getCarChildListApi = params => {
// params.method = 'dj.api.car.series.list'
params.method = 'scrm.api.carlife.common.getOnlyCarBrandList'
return http_brand({
url: 'rop-scrm-carlife/router',
method: 'GET',
data: params,
sign: true
})
}
const getCarSeriesListApi = params => {
params.method = 'scrm.api.carlife.common.getCarSeriesList'
return http_brand({
url: 'rop-scrm-carlife/router',
method: 'GET',
data: params,
sign: true
})
}
const getCarTypeListApi = params => {
params.method = 'scrm.api.carlife.common.getCarTypeList'
return http_brand({
url: 'rop-scrm-carlife/router',
method: 'GET',
data: params,
sign: true
})
}
const getHotlineApi = params => {
//params.method = `${defaultPath}merchant.hotline.get`
params.method = `${defaultPath}merchant.config.get`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
const getDefaultCarbrandApi = params => {
params.method = 'scrm.api.equity.service.merchant.vehicle.default.detail'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
const updateHotlineApi = params => {
params.method = `${defaultPath}merchant.hotline.update`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
const updateCarBrandApi = params => {
params.method = 'scrm.api.equity.service.merchant.vehicle.default.insert.or.update'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
const getSalesPersonApi = params => {
params.method = 'entmicro.api.staff.findStaffByMerchantId'
return http({
url: 'rop-scrm-entmicro/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 获取产品名称(套餐名称)
const getProListApi = params => {
params.method = `${defaultPath}select.get`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
// 获取无忧卡套餐列表
const getPackageListApi = params => {
params.method = `${defaultPath}list.get`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
const getEquityApi = params => {
params.method = `${orderPath}detail`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
const updateEquityApi = params => {
params.method = `${orderPath}insert.or.update`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 获取合同号
const createCodeApi = params => {
params.method = `${orderPath}code.create`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
// 获取套菜附件属性
const getOrderAttrApi = params => {
params.method = `${defaultPath}order.attachment.get`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
// 获取套菜附件属性
// const getOrderValueApi = params => {
// params.method = `${defaultPath}order.attachment.value.get`
// return http({
// url: 'rop-scrm-equity/router',
// method: 'GET',
// data: params,
// sign: true
// })
// }
const getAllOrderValueApi = params => {
params.method = `${defaultPath}order.attachments.value.get.multiple`
return http({
url: 'rop-scrm-equity/router',
method: 'GET',
data: params,
sign: true
})
}
// 校验
const verifyOrderApi = params => {
params.method = 'scrm.api.equity.service.order.verify'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 车架号
const checkOrderApi = params => {
params.method = 'scrm.api.equity.service.order.check'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 更新套菜附件属性
const updateOrderApi = params => {
params.method = `${orderPath}attachment.add`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
//删除图片
const delImgApi = params => {
params.method = `${orderPath}attachment.delete`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
const uploadImgApi = params => {
params.method = 'scrm.api.equity.common.upload.image'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
noSignAttr: ['file']
})
}
// 退保
const backOrderApi = params => {
params.method = `${orderPath}charge.back`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
// 审核
const aduitOrderApi = params => {
params.method = `${orderPath}aduit`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
const judgeSetting = params => {
params.method = `scrm.api.equity.service.merchant.config.get`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
const failHttpByAdmin = params => {
params.method = `scrm.api.equity.service.order.resend.ero.transmission`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true,
returnAll: false
})
}
export default { getUserInfoApi, getCountNoDataApi, getListApi, getMerchantApi, getExportApi, getPriteApi, getCarBrandListApi, getCarChildListApi, getCarTypeListApi, getCarSeriesListApi, getHotlineApi, getDefaultCarbrandApi, updateHotlineApi, updateCarBrandApi, getProListApi, getPackageListApi, getEquityApi, updateEquityApi, createCodeApi, getOrderAttrApi, getAllOrderValueApi, verifyOrderApi, checkOrderApi, updateOrderApi, uploadImgApi, backOrderApi, aduitOrderApi, delImgApi, getSalesPersonApi,judgeSetting,failHttpByAdmin }
......@@ -159,4 +159,22 @@
align-items: center;
justify-content: center;
flex-direction: column;
}
.el-message{
z-index: 3000!important;
}
.customConfirm{
.el-message-box__btns button:nth-child(2) {
margin-left: 20px;
}
}
.el-message.el-message--error.customMessage{
&>p{
&>p{
white-space: nowrap;
}
}
}
\ No newline at end of file
......@@ -18,3 +18,13 @@ export const afterRangePickerOptions = {
return false
}
}
export const afterTodayRangePickerOptions = {
disabledDate(date) {
const yesterday = new Date(new Date().setDate(new Date().getDate()))
if (date < yesterday) {
return true
}
return false
}
}
<template>
<div class="qr-code-components">
<div :style="[{bottom:bottom+'px'}]" @mouseenter="show = true" @mouseleave="show = false" class="right_btn flex_ccc">
<div :style="[{ bottom: bottom + 'px' }]" @mousedown="move" @mouseup="moveEnd" ref="callCenter" @mouseenter="show = true" @mouseleave="show = false" class="right_btn flex_ccc">
<img src="../../assets/contact_icon.png" />
<div class="contact_text">联系我们</div>
</div>
<div :style="[{bottom:bottom+'px'}]" v-if="show" class="left_code flex_ccc">
<img :src="codeUrl" />
<div style="height: 16px"></div>
<span class="h18_title">服务热线</span>
<span class="h18_title">{{phone}}</span>
<div v-if="show" class="left_code flex_ccc">
<img :src="codeUrl" />
<div style="height: 16px"></div>
<span class="h18_title">{{phoneTitle}}</span>
<span class="h18_title">{{ phone }}</span>
</div>
</div>
</div>
</template>
......@@ -21,13 +21,17 @@ export default {
type: Number,
default: 64
},
codeUrl:{
type:String,
default:'https://img01.glsx.com.cn/weapp/resource/equity-h5-new/qrcode2.jpg'
codeUrl: {
type: String,
default: 'https://img01.glsx.com.cn/weapp/resource/equity-h5-new/qrcode2.jpg'
},
phone:{
phone: {
type: String,
default: '189 0000 1234'
},
phoneTitle:{
type:String,
default:'189 0000 1234'
default:'服务热线'
}
},
data() {
......@@ -35,15 +39,57 @@ export default {
show: false
}
},
methods: {}
methods: {
// 拖动窗口,鼠标按下
move(event) {
// 给对应div添加拖拽属性
let callCenter = this.$refs.callCenter
callCenter.style.cursor = 'move'
var distanceX = event.clientX - callCenter.offsetLeft
var distanceY = event.clientY - callCenter.offsetTop
// 获取按下时对应的坐标
this.startX = event.pageX
this.startY = event.pageY
document.onmousemove = function (ev) {
var oevent = ev || event
// 加入判断,让浮窗在限定的页面内可拖动
if (ev.clientX < 40 || ev.clientX > document.body.clientWidth - 30) {
return
}
if (ev.clientY < 40 || ev.clientY > document.body.clientHeight - 30) {
return
}
callCenter.style.left = oevent.clientX - distanceX + 'px'
callCenter.style.top = oevent.clientY - distanceY + 'px'
}
document.onmouseup = function () {
document.onmousemove = null
document.onmouseup = null
callCenter.style.cursor = 'default'
}
},
// 鼠标抬起触发
moveEnd(event) {
// 获取鼠标抬起时的坐标
this.endX = event.pageX
this.endY = event.pageY
// 计算按下与抬起位置差值
var d = Math.sqrt((this.startX - this.endX) * (this.startX - this.endX) + (this.startY - this.endY) * (this.startY - this.endY))
if (d === 0 || d < 7) {
// console.log('执行了点击事件')
} else {
// console.log('执行了拖拽事件')
}
}
}
}
</script>
<style lang="scss" scoped>
.qr-code-components {
.left_code {
position: fixed;
right: 77px;
bottom: 64px;
position: absolute;
right: 57px;
bottom: 0px;
width: 144px;
height: 201px;
background: #ffffff;
......
......@@ -20,15 +20,15 @@ const staticRoutes = Object.freeze([{
meta: {}
},
{
name: 'beforeSale',
path: '/beforeSale/index',
component: resolve => require([`@/views/beforeSale/index.vue`], resolve),
name: 'serviceSet',
path: '/beforeSale/serviceSet',
component: resolve => require([`@/views/beforeSale/serviceSet.vue`], resolve),
meta: {}
},
{
name: 'editEquity',
path: '/beforeSale/editEquity/:addOrEdit/:contractNo',
component: resolve => require([`@/views/beforeSale/editEquity.vue`], resolve),
name: 'equityList',
path: '/beforeSale/equityList',
component: resolve => require([`@/views/beforeSale/equityList.vue`], resolve),
meta: {}
}, {
name: 'introduct',
......@@ -41,10 +41,28 @@ const staticRoutes = Object.freeze([{
component: resolve => require([`@/views/afterSales/index.vue`], resolve),
meta: {}
}, {
name: 'introduct',
path: '/beforeSale/introduct',
component: resolve => require([`@/views/beforeSale/introduct.vue`], resolve),
name: 'index',
path: '/beforeSale/index',
component: resolve => require([`@/views/beforeSale/index.vue`], resolve),
meta: {}
}
},
{
name: 'editEquity',
path: '/beforeSale/editEquity/:id',
component: resolve => require([`@/views/beforeSale/editEquity.vue`], resolve),
meta: {}
},
{
name: 'checkSet',
path: '/beforeSale/checkSet',
component: resolve => require([`@/views/beforeSale/checkSet.vue`], resolve),
meta: {}
},
{
name: 'index',
path: '/ghPreSale/index',
component: resolve => require([`@/views/ghPreSale/index.vue`], resolve),
meta: {}
},
])
export default staticRoutes
\ No newline at end of file
......@@ -10,10 +10,13 @@ let routes = []
let router = null
let instance = null
Vue.use(GLTable)
// Vue.use(Table)
// Vue.use(TableColumn)
// Vue.use(Table)
// Vue.use(TableColumn)
export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
const { response, request, sign, secret } = await fetchConfig()
const { response, request, request_brand, sign, secret } = await fetchConfig()
// 本地切换域名,不需要Mock上面改动 const => let
// request.baseURL = 'https://scrm.dev.glsx.com.cn'
// request_brand.baseURL = 'https://scrm.dev.glsx.com.cn'
Vue.prototype.$history = history
Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState
......@@ -22,7 +25,10 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue.prototype.$messageBox = messageBox
Vue.prototype.$defaultStartDate = '2021-07-01'
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: '3c50d4be-7211-45c1-a2c6-9792bbb3c0d9' } })
// Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: '3c50d4be-7211-45c1-a2c6-9792bbb3c0d9' } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
const routesData = common.utils.deepClone(globalState.routers)
routes = getRoutes(routesData)
subscribe({ messenger })
......
......@@ -18,14 +18,14 @@ export async function start() {
if (window.__POWERED_BY_QIANKUN__) return
const { response, request, request_brand, sign, secret } = await fetchConfig()
var urlParams = {}
window.location.href.split('?').length > 1
? window.location.href
.split('?')[1]
.split('&')
.forEach(item => {
urlParams[item.split('=')[0]] = item.split('=')[1]
})
: ''
window.location.href.split('?').length > 1 ?
window.location.href
.split('?')[1]
.split('&')
.forEach(item => {
urlParams[item.split('=')[0]] = item.split('=')[1]
}) :
''
var token = Object.keys(urlParams).includes('sessionId') ? urlParams.sessionId : '1112223333444'
Vue.prototype.$http = new Http({ response, request, sign, secret, alert: message.error, headers: { token: token } })
Vue.prototype.$http_brand = new Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: token } })
......@@ -34,4 +34,4 @@ export async function start() {
}
Vue.use(GLButton, { permissions: ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
render('/', routes)
}
}
\ No newline at end of file
......@@ -69,4 +69,13 @@ util.getExplorer = function() {
}
return browserType
}
util.debounce=(fn,timer)=> {
let timeout = null;
return function () {
clearTimeout(timeout);
timeout = setTimeout(() => {
fn.apply(this, arguments);
}, timer);
};
}
export default util
\ No newline at end of file
......@@ -148,8 +148,8 @@
</div>
</div>
<qrCode :codeUrl="code" phone="189 2340 8808"></qrCode>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 18px"></div>
<el-dialog class="video-dialog" :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 25px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/afterSale.mp4"></video>
</el-dialog>
</div>
......@@ -182,7 +182,7 @@ export default {
tip: '秒杀、抽奖、满减等'
},
{
title: '直播间直播',
title: '直播间准备',
tip: '地点、灯光、布景等'
}
],
......@@ -532,4 +532,18 @@ export default {
z-index: 2;
}
}
::v-deep .video-dialog{
.el-dialog__header{
border-bottom: none;
background-color: #000;
.el-dialog__headerbtn{
top:15px;
font-size: 24px;
}
}
.el-dialog__body{
padding: 0;
display: flex;
}
}
</style>
\ No newline at end of file
<!-- 权益订单 -->
<template>
<div class="equity">
<open v-if="status == 1"></open>
<not-open v-if="status == 2"></not-open>
</div>
</template>
<script>
import equityList from './equityList.vue'
import introduct from './introduct.vue'
export default {
name: 'index',
components: {
open: equityList,
'not-open': introduct
},
data() {
return {
activeName: 'equityList',
status: 0
}
},
created() {
this.isOpenSettin()
// this.$router.push('/beforeSale/equityList')
},
mounted() {},
methods: {
// 判断是否开通
isOpenSettin() {
localStorage.removeItem('preSetStatus')
const { merchantId } = this.$globalState.session
this.$apis.beforeSale.judgeSetting({ merchantId }).then(res => {
// data != null 且data.openFlag == 1 为开通,其他的都是未开通
const { code, data } = res
if (code == 0 && data != null && data.openFlag == 1) {
this.status = 1
} else {
this.status = 2
}
localStorage.setItem('preSetStatus', this.status)
})
}
}
}
</script>
<style>
</style>
\ No newline at end of file
<!-- 权益订单 -->
<template>
<div class="equity">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="其他权益订单" name="equityList">
<equity-list v-if="activeName == 'equityList'"></equity-list>
</el-tab-pane>
<el-tab-pane label="店面服务设置" name="serviceSet">
<service-set v-if="activeName == 'serviceSet'"></service-set>
</el-tab-pane>
</el-tabs>
<!-- <open v-if="status==1"></open>
<not-open v-if="status==2"></not-open> -->
</div>
</template>
<script>
import equityList from './equityList'
import serviceSet from './serviceSet'
// import equityList from './equityList.vue'
// import introduct from './introduct.vue'
export default {
name: 'index',
// components: {
// open: equityList,
// 'not-open': introduct
// },
data() {
return {
activeName: 'equityList'
activeName: 'equityList',
status: 0
}
},
components: {
equityList,
serviceSet
created() {
this.isOpenSettin()
},
mounted() {},
methods: {}
methods: {
// 判断是否开通
isOpenSettin() {
localStorage.removeItem('preSetStatus')
const { merchantId } = this.$globalState.session
this.$apis.beforeSale.judgeSetting({ merchantId }).then(res => {
// data != null 且data.openFlag == 1 为开通,其他的都是未开通
const { code, data } = res
if (code == 0 && data != null && data.openFlag == 1) {
this.status = 1
} else {
this.status = 2
}
localStorage.setItem('preSetStatus', this.status)
this.$router.push('/beforeSale/checkSet')
})
}
// 页面跳转
// handleEdit(path,title) {
// this.$router.push({
// path,
// query: {
// $title: encodeURI(title)
// }
// })
// }
}
}
</script>
<style>
.equity .el-tabs__nav-wrap:after {
opacity: 0;
}
.equity .el-tabs__item {
height: 20px !important;
line-height: 10px !important;
font-weight: 400;
font-size: 16px;
}
</style>
</style>
\ No newline at end of file
......@@ -60,8 +60,8 @@
</div>
</div>
<qrCode :codeUrl="code" :phone="phone"></qrCode>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 18px"></div>
<el-dialog class="video-dialog" :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 25px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/beforeSale.mp4"></video>
</el-dialog>
</div>
......@@ -135,9 +135,9 @@ export default {
}
</script>
<style lang="scss" scoped>
// .introduct_container {
// margin-top: 17px;
// }
.introduct_container {
margin-top: 17px;
}
.top_play_wrap {
height: 360px;
background: #ffffff;
......@@ -319,4 +319,18 @@ export default {
}
}
}
::v-deep .video-dialog{
.el-dialog__header{
border-bottom: none;
background-color: #000;
.el-dialog__headerbtn{
top:15px;
font-size: 24px;
}
}
.el-dialog__body{
padding: 0;
display: flex;
}
}
</style>
\ No newline at end of file
<!-- 查看详情 -->
<template>
<div class="pdfDialog">
<el-dialog
:visible.sync="isVisible"
:title="title"
:before-close="handleClose"
:close-on-click-modal="false"
width="860px"
>
<el-dialog :visible.sync="isVisible" :title="title" :before-close="handleClose" :close-on-click-modal="false" width="860px">
<iframe width="100%" height="700px" scrolling="yes" frameborder="0" :src="pdfUrl"></iframe>
</el-dialog>
</div>
......@@ -17,8 +11,7 @@
export default {
name: 'pdfDialog',
data() {
return {
}
return {}
},
props: {
......@@ -38,21 +31,20 @@ export default {
}
}
}
</script>
<style lang="scss">
.pdfDialog{
.pdfDialog {
.el-dialog__header {
padding: 10px 16px 4px;
background-color: #141516;
.el-dialog__title{
.el-dialog__title {
color: #fff;
font-size: 16px;
}
}
.el-dialog__body {
padding: 0;
background-color: #202223
background-color: #202223;
}
}
</style>
<!-- 权益订单 -->
<template>
<div class="equity">
<!-- <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="其他权益订单" name="equityList">
<equity-list v-show="activeName == 'equityList'"></equity-list>
</el-tab-pane>
<el-tab-pane label="店面服务设置" name="serviceSet">
<service-set v-show="activeName == 'serviceSet'"></service-set>
</el-tab-pane>
</el-tabs> -->
</div>
</template>
<script>
import equityList from './equityList'
import serviceSet from './serviceSet'
export default {
name: 'index',
data() {
return {
activeName: 'equityList'
}
},
// components: {
// equityList,
// serviceSet
// },
created() {
this.$router.push('/ghPreSale/equityList')
},
methods: {
handleClick() { }
}
}
</script>
<style>
.equity .el-tabs__nav-wrap:after {
opacity: 0;
}
.equity .el-tabs__item {
height: 20px !important;
line-height: 10px !important;
font-weight: 400;
font-size: 16px;
}
</style>
<!-- 查看详情 -->
<template>
<div class="pdfDialog">
<el-dialog :visible.sync="isVisible" :title="title" :before-close="handleClose" :close-on-click-modal="false" width="860px">
<iframe width="100%" height="700px" scrolling="yes" frameborder="0" :src="pdfUrl"></iframe>
</el-dialog>
</div>
</template>
<script>
export default {
name: 'pdfDialog',
data() {
return {}
},
props: {
isVisible: {
type: Boolean,
default: false
},
title: String,
pdfUrl: String
},
mounted() {},
methods: {
handleClose() {
this.$emit('closeDialog')
}
}
}
</script>
<style lang="scss">
.pdfDialog {
.el-dialog__header {
padding: 10px 16px 4px;
background-color: #141516;
.el-dialog__title {
color: #fff;
font-size: 16px;
}
}
.el-dialog__body {
padding: 0;
background-color: #202223;
}
}
</style>
<!-- 店面服务设置 -->
<template>
<div class="before-sale edit-equity mall-server">
<template v-if="showPage==1">
<div class="container edit-container mall-server-box">
<p class="edit-title">{{ title }}</p>
<glsx-combi-form class="edit-form-container" ref="editFormRef" labelWidth="144px" :isBlock="isBlock" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"></glsx-combi-form>
<glsx-combi-form ref="editFormRefBrand" labelWidth="144px" defaultWidth="215px" formRef="editChildRefBrand" :formObj.sync="editForm" :formData="editFormDataCar">
<template slot="vehicleBrandId">
<el-select v-model="editForm.vehicleBrandId" placeholder="请选择品牌" filterable @change="handleChangeBrand(editForm.vehicleBrandId)" style="width:320px;" clearable>
<el-option v-for="item in baseData.carBrandOptions" :key="item.id" :value="item.id" :label="item.name" />
</el-select>
</template>
<template slot="vehicleSubBrandId">
<el-select v-model="editForm.vehicleSubBrandId" placeholder="请选择子品牌" filterable style="width:320px;" clearable>
<el-option v-for="item in baseData.carChildOptions" :key="item.id" :value="item.id" :label="item.name" />
</el-select>
</template>
</glsx-combi-form>
<div style="margin-left: 140px">
<p>针对包含“车主生活权益服务”的服务套餐,提供通过扫描小程序码进行领取“车主生活权益服务”。</p>
<img style="margin-top: 20px;" class="qrcodeImg" :src="qrcodeUrl" />
</div>
</div>
<!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> -->
<div class="footer">
<el-button size="small" type="primary" @click="handleConfirm">确定</el-button>
</div>
</template>
<template v-if="showPage==2">
<div class="nodata_widget">
<div :style="[{ height: nodataHeight + 'px' }]" class="wrapper">
<img src="../../assets/nodata_icon.png" />
<span class="nodata_tip_1">您暂未开通售前权益服务</span>
<span class="nodata_tip_2">合作开通后,您方可在此页设置店面的服务热线和默认提单车辆品牌等。</span>
</div>
</div>
</template>
</div>
</template>
<script>
import glsxCombiForm from '@/components/glsx-combi-form'
export default {
name: 'serviceSet',
data() {
return {
size: 'small',
isBlock: true,
title: '店面服务设置',
footerLeft: '0',
footerWidth: '0',
editChildRef: 'editChildRef',
qrcodeUrl: '',
editForm: {
hotline: '',
vehicleBrandId: '',
vehicleSubBrandId: ''
},
editRule: {
// hotline: [{ required: true, message: '请输入服务热线', trigger: 'change' }]
},
editFormData: [
{
label: '服务热线',
name: 'hotline',
width: '320px',
type: 'input',
maxlength: 20
}
],
editFormDataCar: [
{
label: '主营品牌',
name: 'vehicleBrandId',
addHtml: 'vehicleBrandId'
},
{
label: '',
// label: '子品牌',
name: 'vehicleSubBrandId',
addHtml: 'vehicleSubBrandId'
}
],
// 公共数据
baseData: {
carBrandOptions: [],
carChildOptions: []
},
showPage:0,
nodataHeight: 0,
}
},
components: {
glsxCombiForm
},
created() {
let clientHeight = document.documentElement.clientHeight
this.nodataHeight = clientHeight * 0.8
const openStatus = localStorage.getItem('preSetStatus')
if (openStatus == 2) {
this.showPage = 2
return
}
this.showPage = 1
this.getAllVehicleBrand()
this.getCarChildList()
},
mounted() {
if(this.showPage==2){
return
}
this.getHotline()
// this.getDefaultCarbrand()
},
methods: {
getHotline() {
this.$apis.ghBeforeSale.getHotlineApi({}).then(res => {
this.editForm.hotline = res.serviceHotline
this.qrcodeUrl = res.qrcodeUrl
})
},
getDefaultCarbrand() {
this.$apis.ghBeforeSale.getDefaultCarbrandApi({}).then(res => {
// console.log(res)
if (res) {
this.editForm.id = res.id
this.editForm.vehicleBrandId = res.vehicleBrandId
this.editForm.vehicleSubBrandId = res.vehicleSubBrandId
this.handleChangeBrand(this.editForm.vehicleBrandId, true)
}
})
},
// 获取品牌车型
getAllVehicleBrand(fn = () => {}) {
const params = {}
this.$apis.ghBeforeSale.getCarBrandListApi(params).then(res => {
// console.log(res)
this.baseData.carBrandOptions = res || []
})
},
handleChangeBrand(brandId, isRecovery = false) {
!isRecovery && (this.editForm.vehicleSubBrandId = '')
this.baseData.carChildOptions = brandId ? this.allCarChildList.find(item => item.id == brandId).childs : []
},
// 获取子品牌
getCarChildList(isRecovery = false) {
this.$apis.ghBeforeSale.getCarChildListApi({}).then(res => {
this.allCarChildList = res || []
if (isRecovery) {
this.baseData.carChildOptions = this.allCarChildList.find(item => item.id == this.editForm.vehicleBrandId).childs
}
this.getDefaultCarbrand()
})
},
handleConfirm() {
this.$refs.editFormRef.$refs[this.editChildRef].validate(valid => {
if (valid) {
var params = this.$common.utils.deepClone(this.editForm)
Promise.all([this.$apis.ghBeforeSale.updateHotlineApi(params), this.$apis.ghBeforeSale.updateCarBrandApi(params)]).then(([hotlineRes, carBrandRes]) => {
this.$message({
message: hotlineRes.code == '0' && carBrandRes.code == '0' ? '操作成功' : '操作失败',
type: hotlineRes.code == '0' && carBrandRes.code == '0' ? 'success' : 'error'
})
this.getHotline()
this.getDefaultCarbrand()
})
}
})
}
}
}
</script>
<style lang="scss" scoped>
.before-sale .container {
padding: 0 !important;
background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
padding: 20px;
}
.before-sale{
padding-top: 17px;
}
.before-sale .edit-container {
margin-bottom: 84px;
}
.before-sale .edit-form-container {
margin-top: 20px;
}
.before-sale .txt-center {
text-align: center;
}
.before-sale .footer {
width: calc(100% + 40px);
position: absolute;
bottom: 0;
height: 64px;
left: -40px;
text-align: center;
line-height: 64px;
background: #ffffff;
z-index: 999;
}
.before-sale .flex {
display: flex;
justify-content: space-between;
}
.before-sale .flex-grow {
flex: 1;
}
.before-sale .edit-title {
padding: 0 20px;
font-size: 16px;
font-weight: bold;
height: 58px;
line-height: 58px;
border-bottom: 1px solid #e7eaec;
margin: 0 0;
color: #333333;
}
.before-sale .edit-sub-title {
position: relative;
font-size: 13px;
font-weight: 700;
height: 32px;
line-height: 32px;
color: #333333;
margin-bottom: 20px;
padding-left: 8px;
background-color: rgba(242, 242, 242, 1);
}
.before-sale .message-Z-zinde {
z-index: 3000 !important;
}
.before-sale .txt-red {
color: red;
}
.one-line-ellipsis {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
.before-sale .qrcodeImg {
width: 160px;
height: 160px;
}
.mall-server{
height: calc(100% - 94px);
}
.mall-server-box{
height: 100%;
}
.nodata_widget {
margin-top: 17px;
.wrapper {
width: 100%;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
overflow: hidden;
.nodata_tip_1 {
font-size: 18px;
font-weight: 500;
color: #3a3a3a;
margin-top: 48px;
}
.nodata_tip_2 {
font-size: 14px;
font-weight: 400;
color: #3a3a3a;
margin-top: 9px;
}
}
}
</style>
......@@ -38,7 +38,7 @@
<span v-if="index" class="tip_text" @click="showTable(item.show, index)">{{ item.show ? '收缩详情' : '点击查看详情' }}</span>
</div>
<div v-if="item.show" class="table_con">
<rule-table :bankData="bankInfo" :division="item.divisionRule" :settle="item.settleRule"></rule-table>
<rule-table :bankData="item.bankInfo" :division="item.divisionRule" :settle="item.settleRule"></rule-table>
</div>
</el-timeline-item>
</template>
......@@ -259,6 +259,9 @@ export default {
}
let str = newArr.join(',')
division.inCludeStr = str
if(!newArr.length){
division.inCludeStr = '无'
}
return division
},
// 获取分账记录
......
......@@ -19,7 +19,7 @@
</div>
</div>
<div class="table_widget">
<GLTable ref="table" :hasPage="false" :tableData="productValueInfo" :tableParams="tableParams"></GLTable>
<GLTable ref="table" :hasPage="false" max-height="270" :tableData="productValueInfo" :tableParams="tableParams"></GLTable>
</div>
</div>
<div v-if="!show" class="openBtn h18_title" @click="showContainer">
......@@ -181,8 +181,8 @@ export default {
height: 9px;
}
}
.bloc-chart-container /deep/ .el-table__body-wrapper {
height: 270px;
overflow-y: scroll;
}
// .bloc-chart-container /deep/ .el-table__body-wrapper {
// height: 270px;
// overflow-y: scroll;
// }
</style>
\ No newline at end of file
......@@ -35,9 +35,10 @@
</div>
</div>
<div v-if="!showNewLine" class="right_widget">
<div class="cell_wrapper flex_sc">
<div class="cell_wrapper flex_sc flex_esc">
<el-button size="mini" @click="toshowDialog">查看礼券</el-button>
<el-button size="mini" @click="toExport">导出数据</el-button>
<!-- <el-button size="mini" @click="toExport">导出数据</el-button> -->
<GLButton size="mini" fn="导出礼券" @click="toExport">导出数据</GLButton>
</div>
<div style="height: 2px"></div>
<div class="cell_wrapper flex_sc">
......@@ -304,6 +305,14 @@ export default {
...params
}
converterApi(para).then(res => {
this.httpParam = {
currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize,
...params
}
if(!res){
return
}
this.tableData = res.list.map(item => {
item.createdDate = utils.dateFormat(item.createdDate, 'YYYY-MM-DD HH:mm:ss')
item.usedTime = item.usedTime ? utils.dateFormat(item.usedTime, 'YYYY-MM-DD HH:mm:ss') : '--'
......@@ -313,11 +322,6 @@ export default {
return item
})
this.tableTotal = res.total
this.httpParam = {
currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize,
...params
}
})
},
toOpenCoupons() {
......@@ -410,6 +414,10 @@ export default {
width: 156px;
}
}
.flex_esc{
display: flex;
justify-content: flex-end;
}
.customselect /deep/ .el-select .el-input--mini .el-input__inner {
// border-left: none;
border-top-left-radius: 0;
......@@ -465,10 +473,10 @@ export default {
}
}
.table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover{
background: #f4f3ff !important;
}
.table_wrap /deep/ .el-table tbody tr:hover >td{
background: #f4f3ff !important;
}
// .table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover{
// background: #f4f3ff !important;
// }
// .table_wrap /deep/ .el-table tbody tr:hover >td{
// background: #f4f3ff !important;
// }
</style>
......@@ -109,8 +109,8 @@
</div>
</div>
<qrCode :codeUrl="code" phone="188 2423 1191"></qrCode>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height:18px"></div>
<el-dialog class="video-dialog" :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height:25px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/totalSale.mp4"></video>
</el-dialog>
</div>
......@@ -569,4 +569,18 @@ export default {
}
}
}
::v-deep .video-dialog{
.el-dialog__header{
border-bottom: none;
background-color: #000;
.el-dialog__headerbtn{
top:15px;
font-size: 24px;
}
}
.el-dialog__body{
padding: 0;
display: flex;
}
}
</style>
\ No newline at end of file
......@@ -51,6 +51,10 @@
</div>
<div class="right_widget">
<div class="cell_wrapper flex_sc">
<!-- <el-button class="cell_btn_max" size="mini" @click="toExport">导出数据</el-button> -->
<GLButton class="cell_btn_max" size="mini" fn="导出分账订单" @click="toExport">导出数据</GLButton>
</div>
<div class="cell_wrapper flex_sc">
<el-button class="cell_btn" size="mini" @click="clearFind">重置</el-button>
<el-button class="cell_btn" size="mini" type="primary" @click="handlerParams">查询</el-button>
</div>
......@@ -106,7 +110,6 @@
</div>
</div>
</template>
<script>
import { mydivision, exportMydivision, myAccountTotalNumOfJT } from '../../api/modules/rules'
import { converterApi } from '../../api/modules/converter'
......@@ -337,7 +340,7 @@ export default {
// this.pickerOptions = this.setDateLimit()
},
mounted() {
let params = this.resetTime()
let params = this.resetTime()
this.toGetMyDivision(params)
},
methods: {
......@@ -382,7 +385,7 @@ export default {
this.storeId = ''
this.$refs.table.page.pageNum = 1
this.curMerchantNo = ''
let params = this.resetTime()
let params = this.resetTime()
this.toGetMyDivision(params)
},
handlerParams() {
......@@ -406,8 +409,8 @@ export default {
delete params.successDateStartDate
delete params.successDateEndDate
}
if(!this.divisionTime&&!this.payTime){
params = this.resetTime()
if (!this.divisionTime && !this.payTime) {
params = this.resetTime()
}
if (this.divisionTypeStatus) {
params.divisionStatus = this.divisionTypeStatus
......@@ -508,13 +511,20 @@ export default {
let method = exportMydivision()
let para = {
routerMethod: method,
currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize,
...this.httpParam
}
converterApi(para).then(res => {
let iframe = document.createElement('iframe')
iframe.style.display = 'none'
iframe.src = res
document.body.appendChild(iframe)
let tempaa = utils.getExplorer()
if (tempaa == 'QQ') {
window.open(res)
} else {
let iframe = document.createElement('iframe')
iframe.style.display = 'none'
iframe.src = res
document.body.appendChild(iframe)
}
})
}
}
......@@ -607,10 +617,10 @@ export default {
margin-bottom: 20px;
}
// 表格悬浮样式
.table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover {
background: #f4f3ff !important;
}
.table_wrap /deep/ .el-table tbody tr:hover > td {
background: #f4f3ff !important;
}
</style>
// .table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover {
// background: #f4f3ff !important;
// }
// .table_wrap /deep/ .el-table tbody tr:hover > td {
// background: #f4f3ff !important;
// }
</style>
\ No newline at end of file
......@@ -79,8 +79,23 @@
</div>
</template>
</div>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height:18px"></div>
<div class="step_wrap">
<span class="nodata_tip_3">精品合作升级流程</span>
<div class="step flex_scb">
<div class="stepIcon flex_cc">1</div>
<div class="stepLine"></div>
<div class="stepIcon flex_cc">2</div>
<div class="stepLine"></div>
<div class="stepIcon flex_cc">3</div>
</div>
<div class="step_content flex_scb">
<span class="h13_title">联系嘀加精品业务经理,开通此业务</span>
<span class="h13_title">确定合作细则,销售专员转发精品礼券</span>
<span class="h13_title">车主完成精品升级,您获得分账收益</span>
</div>
</div>
<el-dialog class="video-dialog" :visible.sync="videoShow" width="50%" :before-close="handleClose">
<div slot="title" style="height: 25px"></div>
<video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/upgrade.mp4"></video>
</el-dialog>
<qrCode phone="138 2651 0577" :codeUrl="code"></qrCode>
......@@ -335,4 +350,66 @@ export default {
margin-top: 25px;
}
}
.step_wrap {
width: 100%;
padding: 20px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
margin-top: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.nodata_tip_3 {
width: 100%;
height: 25px;
font-size: 18px;
font-weight: 600;
color: #000000;
line-height: 25px;
margin-bottom: 40px;
text-align: left;
}
.step,
.step_content {
width: 100%;
box-sizing: border-box;
padding: 0 50px;
}
.step {
padding: 0 146px;
}
.step_content {
margin-top: 22px;
}
.stepLine {
width: 40%;
height: 1px;
background: #5850ff;
}
.stepIcon {
width: 32px;
height: 32px;
background: #5850ff;
font-size: 14px;
font-weight: 400;
color: #ffffff;
border-radius: 50%;
}
}
::v-deep .video-dialog{
.el-dialog__header{
border-bottom: none;
background-color: #000;
.el-dialog__headerbtn{
top:15px;
font-size: 24px;
}
}
.el-dialog__body{
padding: 0;
display: flex;
}
}
</style>
......@@ -378,7 +378,9 @@ export default {
'merchantAccountLevelList[0]': temp
}
get4SList(para).then(res => {
this.storeList = res.list || []
if(res){
this.storeList = res.list || []
}
})
}
}
......
......@@ -20,7 +20,12 @@
</div> -->
</div>
<div class="table_widget">
<el-table :data="tableData" height="350" style="100%" highlight-current-row>
<el-table :data="tableData" class="hightline" height="350" style="100%" highlight-current-row>
<el-table-column fixed="left" width="5">
<template slot-scope="scope">
<span :scope="scope"></span>
</template>
</el-table-column>
<el-table-column label="排名" width="100" align="center" type="index" :index="index => index + 1"></el-table-column>
<el-table-column prop="merchantName" label="门店名称" align="center"></el-table-column>
<el-table-column label="总产值" width="500">
......@@ -178,10 +183,10 @@ export default {
}
}
}
.table_widget /deep/ .el-table--enable-row-hover .el-table__body tr:hover{
background: #f4f3ff !important;
}
.table_widget /deep/ .el-table tbody tr:hover >td{
background: #f4f3ff !important;
}
// .table_widget /deep/ .el-table--enable-row-hover .el-table__body tr:hover{
// background: #f4f3ff !important;
// }
// .table_widget /deep/ .el-table tbody tr:hover >td{
// background: #f4f3ff !important;
// }
</style>
\ No newline at end of file
......@@ -51,17 +51,24 @@
</div>
<div class="table_four flex_scb border_all">
<div class="h9_title">
<span>收款账户:{{ division.realityShopMerchantName }}</span>
<span v-if="division.inCludeStr!='无'">收款账户:{{ division.realityShopMerchantName || '无'}}</span>
<span v-if="division.inCludeStr=='无'">收款账户:无</span>
</div>
</div>
</div>
<div class="min_widget">
<div class="title h7_title">对公账户信息</div>
<div v-if="bankData" class="info_widget">
<span class="h9_title">开户账户户行:{{ bankData.bankName }}</span>
<span class="h9_title">开户支行:{{ bankData.openAccBankName }}</span>
<span class="h9_title">账户号:{{ bankData.bankAccountNo }}</span>
<span class="h9_title">账户名称:{{ bankData.bankAccountName }}</span>
<div v-if="bankData&&division.inCludeStr!='无'" class="info_widget">
<span class="h9_title">开户账户户行:{{ bankData.bankName || '无'}}</span>
<span class="h9_title">开户支行:{{ bankData.openAccBankName || '无'}}</span>
<span class="h9_title">账户号:{{ bankData.bankAccountNo || '无'}}</span>
<span class="h9_title">账户名称:{{ bankData.bankAccountName || '无'}}</span>
</div>
<div v-if="division.inCludeStr=='无'" class="info_widget">
<span class="h9_title">开户账户户行:无</span>
<span class="h9_title">开户支行:无</span>
<span class="h9_title">账户号:无</span>
<span class="h9_title">账户名称:无</span>
</div>
</div>
</div>
......
......@@ -60,7 +60,8 @@
<!-- :style="'flex:'+flexWidth" -->
<div class="right_widget">
<div class="cell_wrapper flex_sc">
<el-button class="cell_btn_max" size="mini" @click="toExport">导出数据</el-button>
<!-- <el-button class="cell_btn_max" size="mini" @click="toExport">导出数据</el-button> -->
<GLButton class="cell_btn_max" size="mini" fn="导出精品升级订单" @click="toExport">导出数据</GLButton>
</div>
<div class="cell_wrapper flex_sc">
<el-button class="cell_btn" size="mini" @click="clearFind">重置</el-button>
......@@ -70,7 +71,7 @@
</div>
<div v-if="accountLevel < 3" class="find_wrap new_find_wrapper">
<div class="left_widget">
<div class="cell_wrapper flex_sc" style="margin-right:5px">
<div class="cell_wrapper flex_sc" style="margin-right: 5px">
<div class="cell_label h13_title">商户名</div>
<!-- <div v-if="accountLevel == 2" class="cell_label h13_title">商户名</div> -->
<!-- <div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div>
......@@ -169,7 +170,13 @@
</div>
</div>
<div class="table_wrap">
<el-table id="initTable" :data="tableData">
<el-table id="initTable" class="hightline" :data="tableData">
<!-- //实现高亮竖线 -->
<el-table-column fixed="left" width="5">
<template slot-scope="scope">
<span :scope="scope"></span>
</template>
</el-table-column>
<el-table-column label="序号" align="center" width="100px" type="index" :index="index => index + (currentPage - 1) * pageSize + 1"></el-table-column>
<el-table-column label="订单信息" align="center">
<template v-for="(ele, index) in tableCoulumList">
......@@ -363,6 +370,7 @@ import { converterApi } from '../../api/modules/converter'
import utils from '../../util/util'
const logTypeList = ['预录用户', '用户下单', '用户付款', '完成服务']
const orderStatusList = ['待升级', '未升级', '待支付', '已支付', '已退款', '已完成']
export default {
name: '',
components: {
......@@ -888,7 +896,8 @@ export default {
this.detailImageList.push(this.detailImage)
this.dialogVisible = true
})
}
},
}
}
</script>
......@@ -948,9 +957,9 @@ export default {
right: 15px;
}
}
.new_find_wrapper{
.new_find_wrapper {
// padding: 9px 0 9px 15px;
padding:0 0 0 15px;
padding: 0 0 0 15px;
}
.tipper {
width: 100%;
......@@ -1058,62 +1067,10 @@ export default {
.right_select /deep/ .el-select .el-tag__close.el-icon-close {
display: none;
}
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar {
// /*width: 0;宽度为0隐藏*/
// width: 2px !important;
// border: none;
// }
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
// border-radius: 6px;
// height: 2px !important;
// background: #E9E8FF; //滚动条颜色
// border: none;
// }
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-track {
// // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
// border-radius: 6px;
// background: white; //滚动条背景色
// border: none;
// }
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar {
// width: 10px;
// height: 10px;
// /* display: none; */
// }
// /*正常情况下滑块的样式*/
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
// background-color: rgba(0, 0, 0, 0.05);
// border-radius: 10px;
// box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
// }
// /*鼠标悬浮在该类指向的控件上时滑块的样式*/
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
// /* background-color: rgba(0, 0, 0, 0.2); */
// background: #e9e8ff;
// border-radius: 10px;
// box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
// }
// /*鼠标悬浮在滑块上时滑块的样式*/
// /* &::-webkit-scrollbar-thumb:hover {
// background-color: rgba(0, 0, 0, 0.4);
// box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
// } */
// /*正常时候的主干部分*/
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-track {
// border-radius: 10px;
// box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
// background-color: white;
// }
.table_wrap /deep/ .el-table__row>td{
border-right: none;
}
.table_wrap /deep/ .el-table th.is-leaf:first-child{
border-right: none;
}
</style>
......@@ -3,11 +3,12 @@ const packageName = require('./package.json').name
const node_env = process.env.NODE_ENV === 'production'
const publicPath = node_env ? `/child/${packageName}/` : '/'
const resolve = dir => path.join(__dirname, dir)
const CDN_DOMAIN = 'https://cdn.bootcdn.net/'
// const CDN_DOMAIN = 'https://cdn.bootcdn.net/'
const CDN_DOMAIN = 'https://img02.glsx.com.cn/'
const cdn = {
//css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css`],
css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.13.0/theme-chalk/index.css`],
js: [`${CDN_DOMAIN}ajax/libs/vue/2.6.11/vue.min.js`, `${CDN_DOMAIN}ajax/libs/vue-router/3.2.0/vue-router.min.js`, `${CDN_DOMAIN}ajax/libs/element-ui/2.13.0/index.js`, `${CDN_DOMAIN}ajax/libs/vuex/3.6.2/vuex.min.js`, `${CDN_DOMAIN}ajax/libs/echarts/5.1.2/echarts.min.js`]
css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css`],
// css: [`${CDN_DOMAIN}ajax/libs/element-ui/2.13.0/theme-chalk/index.css`],
js: [`${CDN_DOMAIN}ajax/libs/vue/2.6.11/vue.min.js`, `${CDN_DOMAIN}ajax/libs/vue-router/3.2.0/vue-router.min.js`, `${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/index.js`, `${CDN_DOMAIN}ajax/libs/vuex/3.6.2/vuex.min.js`, `${CDN_DOMAIN}ajax/libs/echarts/5.1.2/echarts.min.js`]
}
module.exports = {
outputDir: `../dist/${packageName}`,
......@@ -46,6 +47,7 @@ module.exports = {
'Access-Control-Allow-Origin': '*' // 主应用获取子应用时跨域响应头
}
},
lintOnSave: false,
chainWebpack: config => {
config.plugin('html').tap(args => {
// args[0].minify.removeComments = false;
......@@ -68,4 +70,4 @@ module.exports = {
})
.end()
}
}
}
\ 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!