Commit b3ea87d0 by 前端

Merge branch 'v2.10.0' into 'master'

V2.10.0

See merge request !15
2 parents 7d4ab6ea f86860c2
...@@ -239,8 +239,8 @@ ...@@ -239,8 +239,8 @@
} }
.my-circule-tips::before { .my-circule-tips::before {
position: absolute; position: absolute;
top: 0; top: 5;
right: -6px; right: -10%;
display: inline-block; display: inline-block;
height: 6px; height: 6px;
width: 6px; width: 6px;
...@@ -249,6 +249,11 @@ ...@@ -249,6 +249,11 @@
background-color: red; background-color: red;
} }
.el-dropdown-menu__item .my-circule-tips::before {
top: 5px;
right: 12px;
}
.newListPage { .newListPage {
margin-top: 17px; margin-top: 17px;
.wrap { .wrap {
......
<template> <template>
<div class="qr-code-components"> <div class="qr-code-components">
<div :style="[{ bottom: bottom + 'px' }]" @mousedown="move" @mouseup="moveEnd" ref="callCenter" @mouseenter="show = true" @mouseleave="show = false" class="right_btn flex_ccc"> <div :class="[{topclass:top}]" :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="valuation" v-if="valuation" @click="valuations">
<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/introduct/valuation.png" class="valuation_icon" />
</div>
<img v-if="icon" :src="icon" />
<img v-else src="../../assets/contact_icon.png" />
<div class="contact_text">联系我们</div> <div class="contact_text">联系我们</div>
<div v-if="show" class="left_code flex_ccc"> <div v-if="show" class="left_code flex_ccc">
<img :src="codeUrl" /> <img :src="codeUrl" />
...@@ -17,10 +22,18 @@ ...@@ -17,10 +22,18 @@
export default { export default {
name: '', name: '',
props: { props: {
icon:{
type:String,
default:''
},
bottom: { bottom: {
type: Number, type: Number,
default: 64 default: 64
}, },
top: {
type: Number,
default: 0
},
codeUrl: { codeUrl: {
type: String, type: String,
default: 'https://img01.glsx.com.cn/weapp/resource/equity-h5-new/qrcode2.jpg' default: 'https://img01.glsx.com.cn/weapp/resource/equity-h5-new/qrcode2.jpg'
...@@ -32,7 +45,15 @@ export default { ...@@ -32,7 +45,15 @@ export default {
phoneTitle:{ phoneTitle:{
type:String, type:String,
default:'服务热线' default:'服务热线'
} },
valuation: {
type: Boolean,
default: false
},
isValuation: {
type: Boolean,
default: false
},
}, },
data() { data() {
return { return {
...@@ -80,6 +101,10 @@ export default { ...@@ -80,6 +101,10 @@ export default {
} else { } else {
// console.log('执行了拖拽事件') // console.log('执行了拖拽事件')
} }
},
valuations() {
this.isValuation = !this.isValuation
this.$emit('valuations', this.isValuation)
} }
} }
} }
...@@ -128,4 +153,16 @@ export default { ...@@ -128,4 +153,16 @@ export default {
} }
} }
} }
.topclass{
top: 154px;
}
.valuation_icon {
width: 80px;
height: 80px;
}
.valuation {
position: absolute;
top: -88px;
cursor: pointer;
}
</style> </style>
...@@ -2,7 +2,7 @@ import Vue from 'vue' ...@@ -2,7 +2,7 @@ import Vue from 'vue'
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
import { message, messageBox } from '@/plugins/element.js' import { message, messageBox } from '@/plugins/element.js'
import { fetchConfig } from '@/config' import { fetchConfig } from '@/config'
import { GLButton, GLTable, GLCombiForm, GLTableButton,GLDialog } from 'glsx-components' //权限按钮 (根据权限动态创建) import { GLButton, GLTable, GLCombiForm, GLTableButton, GLDialog } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { getRoutes } from '@/router' import { getRoutes } from '@/router'
import render from './render' import render from './render'
import 'glsx-components/dist/glsx-components.css' import 'glsx-components/dist/glsx-components.css'
...@@ -20,10 +20,10 @@ Vue.use(GLDialog) ...@@ -20,10 +20,10 @@ Vue.use(GLDialog)
export async function bootstrap({ history, common, messenger, globalState, routerBase }) { export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
const { response, request, request_brand, request_common, request_merchant, sign_common, sign, secret } = await fetchConfig() const { response, request, request_brand, request_common, request_merchant, sign_common, sign, secret } = await fetchConfig()
// 本地切换域名,不需要Mock上面改动 const => let // 本地切换域名,不需要Mock上面改动 const => let
// request.baseURL = 'http://scrm.dev.glsx.com.cn' // request.baseURL = 'http://scrm.test.glsx.com.cn'
// request_brand.baseURL = 'http://scrm.dev.glsx.com.cn' // request_brand.baseURL = 'http://scrm.test.glsx.com.cn'
// request_common.baseURL = 'http://scrm.dev.glsx.com.cn' // request_common.baseURL = 'http://didicb.glsx.com.cn'
// request_merchant.baseURL = 'http://rop-merchant.dev.glsx.com.cn' // request_merchant.baseURL = 'http://rop-merchant.test.glsx.com.cn'
// request.baseURL = 'http://192.168.1.78:8064' // request.baseURL = 'http://192.168.1.78:8064'
// request_brand.baseURL = 'http://192.168.1.78:8064' // request_brand.baseURL = 'http://192.168.1.78:8064'
Vue.prototype.$history = history Vue.prototype.$history = history
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<el-button :size="size" plain style="float:right;margin-bottom:10px;" @click="handleExport">导出</el-button> <el-button :size="size" plain style="float:right;margin-bottom:10px;" @click="handleExport">导出</el-button>
<GLTable ref="equityRef" :pageSizes="sizeList" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable ref="equityRef" :pageSizes="sizeList" :getListApi="getListApi" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<div class="table-btns" slot="table-btns" slot-scope="scope"> <div class="table-btns" slot="table-btns" slot-scope="scope">
<GLButton v-if="[2, 4, 5, 7, 8, 9, 10, 11, 12].includes(scope.scope.orderStatus)" fn="查看" type="text" @click="handleEdit(5, scope.scope)">查看</GLButton> <!-- <GLButton v-if="[2, 4, 5, 7, 8, 9, 10, 11, 12].includes(scope.scope.orderStatus)" fn="查看" type="text" @click="handleEdit(5, scope.scope)">查看</GLButton>
<el-button v-if="[2, 8, 10, 11, 12].includes(scope.scope.orderStatus)" type="text" @click="handlePdf(scope.scope)">打印</el-button> <el-button v-if="[2, 8, 10, 11, 12].includes(scope.scope.orderStatus)" type="text" @click="handlePdf(scope.scope)">打印</el-button>
<el-button v-if="[2, 7, 8, 9, 10, 11, 12].includes(scope.scope.orderStatus)" style="position: relative;" type="text" @click="handleUpload(scope.scope)"> <el-button v-if="[2, 7, 8, 9, 10, 11, 12].includes(scope.scope.orderStatus)" style="position: relative;" type="text" @click="handleUpload(scope.scope)">
上传资料 上传资料
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
<GLButton v-if="[2, 8, 10, 11].includes(scope.scope.orderStatus) && (!scope.scope.hasPrint || userInfo.admin)" fn="修改" type="text" @click="handleEdit(3, scope.scope)">修改</GLButton> <GLButton v-if="[2, 8, 10, 11].includes(scope.scope.orderStatus) && (!scope.scope.hasPrint || userInfo.admin)" fn="修改" type="text" @click="handleEdit(3, scope.scope)">修改</GLButton>
<el-button v-if="[2, 8, 10, 11].includes(scope.scope.orderStatus)" type="text" @click="handleBack(scope.scope)">退单</el-button> <el-button v-if="[2, 8, 10, 11].includes(scope.scope.orderStatus)" type="text" @click="handleBack(scope.scope)">退单</el-button>
<GLButton v-if="[1, 3, 4, 5].includes(scope.scope.orderStatus)" fn="重新提单" type="text" @click="handleEdit(4, scope.scope)">重新提单</GLButton> <GLButton v-if="[1, 3, 4, 5].includes(scope.scope.orderStatus)" fn="重新提单" type="text" @click="handleEdit(4, scope.scope)">重新提单</GLButton>
<el-button v-if="userInfo.admin" type="text" @click="showFailModal(scope.scope)">失败</el-button> <el-button v-if="userInfo.admin" type="text" @click="showFailModal(scope.scope)">失败</el-button> -->
<!-- <GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton> --> <GLTableButton :buttonList="buttonList" :buttonItem="scope" :buttonNum="3"></GLTableButton>
</div> </div>
<!-- s --> <!-- s -->
</GLTable> </GLTable>
...@@ -1652,18 +1652,18 @@ export default { ...@@ -1652,18 +1652,18 @@ export default {
line-height: 16px; line-height: 16px;
} }
.before-sale .table-btns { // .before-sale .table-btns {
display: grid; // display: grid;
grid-template-columns: repeat(auto-fill, 33.33%); // grid-template-columns: repeat(auto-fill, 33.33%);
grid-row-gap: 10px; // grid-row-gap: 10px;
} // }
.before-sale .table-btns .el-button { // .before-sale .table-btns .el-button {
// padding: 0 0 0 5px; // // padding: 0 0 0 5px;
border-radius: 0; // border-radius: 0;
border: 0; // border: 0;
padding: 0; // padding: 0;
margin: 0; // margin: 0;
} // }
.tips-dialog .el-icon-success { .tips-dialog .el-icon-success {
margin-right: 10px; margin-right: 10px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!