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