Commit 369d9f76 by 王志慧

style:ui弹窗修改

1 parent b10ee029
......@@ -111,13 +111,8 @@
</div>
</div>
</div>
<el-dialog center :visible.sync="dialogVisible" width="30%" class="dialog-panel">
<span>您需先创建门店并且门店关联企业微信后,方可正常使用!</span>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="jumpStore">去关联</el-button>
</span>
</el-dialog>
<GLDialog mode="small" okText="去关联" @onOk="jumpStore" @onCancel="dialogVisible=false" content="您需先创建门店并且门店关联企业微信后,方可正常使用!" :visible.sync="dialogVisible">
</GLDialog>
</div>
</template>
......@@ -247,6 +242,9 @@ export default {
}
}
.summary-ranking-panel {
/deep/ .btn-three {
display: none;
}
display: flex;
.summary-ranking-box {
width: 50%;
......
<template>
<div class="square-main" v-loading="loading">
<el-dialog :title="title" :visible.sync="dialogVisible" width="70%" :before-close="handleClose">
<GLDialog mode="big" :bigTitle="title" okText="关闭" @onOk="handleClose" @onCancel="handleClose" :visible.sync="dialogVisible">
<el-form :inline="true" :model="tableSearchForm" class="emp-form">
<el-form-item size="small" label="客户名称">
<el-input v-model="tableSearchForm.customerName" placeholder="请输入客户名称"></el-input>
......@@ -64,10 +64,7 @@
</div>
</div>
</GLTable>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="handleCancel" type="primary">关闭</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -139,7 +136,7 @@ export default {
label: '是否加企微', //1. 加入,0.未加入
prop: 'isJoin',
addHtml: 'isJoin',
width: 100
width: 120
},
{
label: '当前状态',
......@@ -246,7 +243,7 @@ export default {
handleDetail(scope) {
this.$history.push('/custom/clientManage/clientDetail?id=' + scope.oneId)
},
handleCancel: utils.debounce(function () {
handleCancel: utils.debounce(function() {
this.dialogVisible = false
}, 300)
}
......@@ -284,6 +281,9 @@ export default {
width: 100%;
height: 0px;
}
.btn-three {
display: none;
}
}
}
.entmicro {
......
<template>
<div class="square-main" v-loading="loading">
<el-dialog title="当日新增群客户详情" :visible.sync="dialogVisible" width="70%" :before-close="handleClose">
<GLDialog mode="big" bigTitle="当日新增群客户详情" okText="关闭" @onOk="handleClose" @onCancel="handleClose" :visible.sync="dialogVisible">
<el-form :inline="true" :model="tableSearchForm" class="emp-form">
<el-form-item size="small" label="客户名称">
<el-input v-model="tableSearchForm.customerName" placeholder="请输入客户名称"></el-input>
......@@ -15,22 +15,19 @@
</el-form>
<GLTable v-loading="loading" ref="tableEmp" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="handleSearch" @selectionTable="selectionTable">
<span slot="customerName" class="flex-center" slot-scope="scope">
<el-tooltip effect="dark" :content="scope.scope.customerName" placement="top">
<span class="ellipsis-1" style="display: inline-block; max-width: 70px; text-align: left">{{ scope.scope.customerName }}</span>
</el-tooltip>
<span class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : '' }}</span>
</span>
<span slot="customerSex" slot-scope="scope">
<span>{{ scope.scope.customerSex == 2 ? '女' : scope.scope.customerSex == 1 ? '男' : '未知' }}</span>
</span>
<span slot="joinScene" slot-scope="scope">
<span>{{ scope.scope.joinScene == 1 ? '直接邀请入群' : scope.scope.joinScene == 2 ? '通过邀请链接入群' : scope.scope.joinScene == 3 ? '通过扫描群二维码入群' : '' }}</span>
</span>
<el-tooltip effect="dark" :content="scope.scope.customerName" placement="top">
<span class="ellipsis-1" style="display: inline-block; max-width: 70px; text-align: left">{{ scope.scope.customerName }}</span>
</el-tooltip>
<span class="pure-blue-text">{{ scope.scope.type == 1 ? '@微信' : scope.scope.type == 2 ? '@企微' : '' }}</span>
</span>
<span slot="customerSex" slot-scope="scope">
<span>{{ scope.scope.customerSex == 2 ? '女' : scope.scope.customerSex == 1 ? '男' : '未知' }}</span>
</span>
<span slot="joinScene" slot-scope="scope">
<span>{{ scope.scope.joinScene == 1 ? '直接邀请入群' : scope.scope.joinScene == 2 ? '通过邀请链接入群' : scope.scope.joinScene == 3 ? '通过扫描群二维码入群' : '' }}</span>
</span>
</GLTable>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="handleCancel" type="primary">关闭</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -164,12 +161,12 @@ export default {
handleDetail(scope) {
this.$history.push('/custom/clientManage/clientDetail?id=' + scope.oneId)
},
handleCancel: utils.debounce(function () {
handleCancel: utils.debounce(function() {
this.dialogVisible = false
}, 300)
}
}
</script>
</script>
<style lang="scss" scoped>
.dialog-jump {
......@@ -203,5 +200,8 @@ export default {
height: 0px;
}
}
/deep/ .btn-three {
display: none;
}
</style>
\ No newline at end of file
}
</style>
<template>
<div class="square-main" v-loading="loading">
<el-dialog title="当日新增门店服务套餐" :visible.sync="dialogVisible" width="70%" :before-close="handleClose">
<GLDialog mode="big" bigTitle="当日新增门店服务套餐" okText="关闭" @onOk="handleClose" @onCancel="handleClose" :visible.sync="dialogVisible">
<el-form :inline="true" :model="tableSearchForm" class="emp-form">
<el-form-item size="small" label="订单编号">
<el-input v-model="tableSearchForm.outTradeNo" placeholder="请输入订单编号"></el-input>
......@@ -13,15 +13,12 @@
<el-button type="primary" @click="handleExport">导出</el-button>
</el-form-item>
</el-form>
<GLTable ref="tableEmp" class="table-img" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="handleSearch" @selectionTable="selectionTable">
<GLTable ref="tableEmp" class="table-img" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="handleSearch" @selectionTable="selectionTable">
<template slot="goodsImage" slot-scope="scope">
<img class="img-60" :src="scope.scope.goodsImage" />
</template>
</GLTable>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="handleCancel" type="primary">关闭</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -137,11 +134,11 @@ export default {
getFollower() {
var params = {
...JSON.parse(JSON.stringify(this.tableSearchForm)),
merchantId: this.$globalState.session.merchantId,
merchantId: this.$globalState.session.merchantId,
pageSize: this.$refs.tableEmp.page.pageSize,
currentPage: this.$refs.tableEmp.page.pageNum,
orderType: 1,
orderStatus: [2,3],
orderStatus: [2, 3],
startTime: this.startTime + ' 00:00:00',
endTime: this.endTime + ' 23:59:59'
}
......@@ -157,7 +154,7 @@ export default {
var params = {
...JSON.parse(JSON.stringify(this.tableSearchForm)),
merchantId: this.$globalState.session.merchantId,
orderStatus: [2,3],
orderStatus: [2, 3],
orderType: 1,
startTime: this.startTime + ' 00:00:00',
endTime: this.endTime + ' 23:59:59'
......@@ -187,7 +184,7 @@ export default {
handleDetail(scope) {
this.$history.push('/custom/clientManage/clientDetail?id=' + scope.oneId)
},
handleCancel: utils.debounce(function () {
handleCancel: utils.debounce(function() {
this.dialogVisible = false
}, 300)
}
......@@ -226,5 +223,8 @@ export default {
height: 0px;
}
}
/deep/ .btn-three {
display: none;
}
}
</style>
\ No newline at end of file
</style>
<template>
<div class="square-main" v-loading="loading">
<el-dialog title="客户列表" :visible.sync="dialogVisible" width="70%" :before-close="handleClose">
<GLDialog mode="big" bigTitle="客户列表" okText="关闭" @onOk="handleClose" @onCancel="handleClose" :visible.sync="dialogVisible">
<el-form :inline="true" :model="tableSearchForm" class="emp-form">
<el-form-item size="small" label="客户名称">
<el-input v-model="tableSearchForm.customerName" placeholder="请输入客户名称"></el-input>
......@@ -37,10 +37,7 @@
</div>
</template>
</GLTable>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="handleCancel" type="primary">关闭</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -132,7 +129,7 @@ export default {
var params = {
...JSON.parse(JSON.stringify(this.tableSearchForm)),
pageSize: this.$refs.tableEmp.page.pageSize,
pageNum: this.$refs.tableEmp.page.pageNum,
pageNum: this.$refs.tableEmp.page.pageNum
}
this.loading = true
this.$apis.home.getCustomer(params).then(res => {
......@@ -160,12 +157,12 @@ export default {
handleDetail(scope) {
this.$history.push('/custom/clientManage/clientDetail?id=' + scope.oneId)
},
handleCancel: utils.debounce(function () {
handleCancel: utils.debounce(function() {
this.dialogVisible = false
}, 300)
}
}
</script>
</script>
<style lang="scss" scoped>
.dialog-jump {
......@@ -177,7 +174,8 @@ export default {
}
.emp-form {
/deep/ {
.el-date-editor,.el-input {
.el-date-editor,
.el-input {
width: 215px;
}
}
......@@ -197,6 +195,9 @@ export default {
width: 100%;
height: 0px;
}
.btn-three {
display: none;
}
}
}
</style>
\ No newline at end of file
</style>
<template>
<div class="square-main" v-loading="loading">
<el-dialog title="客户列表" :visible.sync="dialogVisible" width="70%" :before-close="handleClose">
<GLDialog mode="big" bigTitle="客户列表" okText="关闭" @onOk="handleClose" @onCancel="handleClose" :visible.sync="dialogVisible">
<el-form :inline="true" :model="tableSearchForm" class="emp-form">
<el-form-item size="small" label="客户名称">
<el-input v-model="tableSearchForm.customerName" placeholder="请输入客户名称"></el-input>
......@@ -37,10 +37,7 @@
</div>
</template>
</GLTable>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="handleCancel" type="primary">关闭</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -201,6 +198,9 @@ export default {
width: 100%;
height: 0px;
}
.btn-three {
display: none;
}
}
}
</style>
\ No newline at end of file
<template>
<div class="square-main" v-loading="loading">
<el-dialog title="当日新增商城产值" :visible.sync="dialogVisible" width="70%" :before-close="handleClose">
<GLDialog mode="big" bigTitle="当日新增商城产值" okText="关闭" @onOk="handleClose" @onCancel="handleClose" :visible.sync="dialogVisible">
<el-form :inline="true" :model="tableSearchForm" class="emp-form">
<el-form-item size="small" label="订单编号">
<el-input v-model="tableSearchForm.orderCode" placeholder="请输入订单编号"></el-input>
......@@ -18,10 +18,7 @@
<img class="img-60" :src="scope.scope.goodsImage" />
</template>
</GLTable>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="handleCancel" type="primary">关闭</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -134,7 +131,7 @@ export default {
{
label: '订单支付时间',
prop: 'payDate',
formatter: cellValue => {
formatter: cellValue => {
return util.getTimeFomat(cellValue.payDate)
}
},
......@@ -175,7 +172,7 @@ export default {
currentPage: this.$refs.tableEmp.page.pageNum,
createdStartDateStr: this.startTime + ' 00:00:00',
createdEndDateStr: this.endTime + ' 23:59:59',
orderStatuses: [2,4,5,6,7,8,9]
orderStatuses: [2, 4, 5, 6, 7, 8, 9]
}
this.loading = true
this.$apis.home.shopmallPage(params).then(res => {
......@@ -189,7 +186,7 @@ export default {
...JSON.parse(JSON.stringify(this.tableSearchForm)),
createdStartDateStr: this.startTime + ' 00:00:00',
createdEndDateStr: this.endTime + ' 23:59:59',
orderStatuses: [2,4,5,6,7,8,9]
orderStatuses: [2, 4, 5, 6, 7, 8, 9]
}
this.loading = true
this.$apis.home.shopmallExport(params).then(res => {
......@@ -217,7 +214,7 @@ export default {
handleDetail(scope) {
this.$history.push('/custom/clientManage/clientDetail?id=' + scope.oneId)
},
handleCancel: utils.debounce(function () {
handleCancel: utils.debounce(function() {
this.dialogVisible = false
}, 300)
}
......@@ -255,6 +252,9 @@ export default {
width: 100%;
height: 0px;
}
.btn-three {
display: none;
}
}
}
</style>
<template>
<div class="square-main" v-loading="loading">
<el-dialog
title="当日新增精品升级产值"
:visible.sync="dialogVisible"
width="70%"
:before-close="handleClose"
>
<GLDialog mode="big" bigTitle="当日新增精品升级产值" okText="关闭" @onOk="handleClose" @onCancel="handleClose" :visible.sync="dialogVisible">
<el-form :inline="true" :model="tableSearchForm" class="emp-form">
<el-form-item size="small" label="订单编号">
<el-input
......@@ -33,10 +28,7 @@
<img class="img-60" :src="scope.scope.goodsImage" />
</template>
</GLTable>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="handleCancel" type="primary">关闭</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</template>
......@@ -239,6 +231,9 @@ export default {
width: 100%;
height: 0px;
}
.btn-three {
display: none;
}
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!