Commit ce89ef29 by cwq0219
2 parents 87199701 a0ca653f
...@@ -45,14 +45,14 @@ ...@@ -45,14 +45,14 @@
<span>{{form == 'customer' ? statistic.senderStaffCount: statistic.senderStaffCount}}</span> <span>{{form == 'customer' ? statistic.senderStaffCount: statistic.senderStaffCount}}</span>
人 人
</div> </div>
<div>已发送{{form == 'customer' ? '成员': '群主'}}</div> <div class="statistics-text">已发送{{form == 'customer' ? '成员': '群主'}}</div>
</div> </div>
<div class="statistics-li"> <div class="statistics-li">
<div class="statistics-number"> <div class="statistics-number">
<span>{{form == 'customer' ? statistic.senderCustomerCount :statistic.senderGroupCount}}</span> <span>{{form == 'customer' ? statistic.senderCustomerCount :statistic.senderGroupCount}}</span>
人 人
</div> </div>
<div>送达{{form == 'customer' ? '客户': '群聊'}}</div> <div class="statistics-text">送达{{form == 'customer' ? '客户': '群聊'}}</div>
</div> </div>
</div> </div>
<div class="statistics-ul"> <div class="statistics-ul">
...@@ -61,14 +61,14 @@ ...@@ -61,14 +61,14 @@
<span>{{form == 'customer' ?statistic.unSenderStaffCount:statistic.unSenderStaffCount}}</span> <span>{{form == 'customer' ?statistic.unSenderStaffCount:statistic.unSenderStaffCount}}</span>
人 人
</div> </div>
<div>未发送{{form == 'customer' ? '成员': '群主'}}</div> <div class="statistics-text">未发送{{form == 'customer' ? '成员': '群主'}}</div>
</div> </div>
<div class="statistics-li"> <div class="statistics-li">
<div class="statistics-number"> <div class="statistics-number">
<span>{{form == 'customer' ?statistic.unSenderCustomerCount:statistic.unSenderGroupCount}}</span> <span>{{form == 'customer' ?statistic.unSenderCustomerCount:statistic.unSenderGroupCount}}</span>
人 人
</div> </div>
<div>未送达{{form == 'customer' ? '客户': '群聊'}}</div> <div class="statistics-text">未送达{{form == 'customer' ? '客户': '群聊'}}</div>
</div> </div>
</div> </div>
<div v-if="form == 'customer'" class="statistics-ul"> <div v-if="form == 'customer'" class="statistics-ul">
...@@ -208,6 +208,9 @@ export default { ...@@ -208,6 +208,9 @@ export default {
font-size: 26px; font-size: 26px;
} }
} }
.statistics-text {
width: 70px;
}
} }
} }
} }
......
...@@ -2,15 +2,10 @@ ...@@ -2,15 +2,10 @@
<div style="margin-top: 26px;"> <div style="margin-top: 26px;">
<BasicInof :form="'customerGroup'" :eventBus="eventBus" :id="$route.params.id"></BasicInof> <BasicInof :form="'customerGroup'" :eventBus="eventBus" :id="$route.params.id"></BasicInof>
<div class="group-detail-container"> <div class="group-detail-container">
<glsx-combi-form <glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
ref="showSearch"
labelWidth="90px"
:formObj="searchForm"
:formData="searchFormData"
>
<span slot="footer" class="search-btns"> <span slot="footer" class="search-btns">
<el-button :size="size" @click="handleReset">重置</el-button>
<el-button :size="size" type="primary" @click="handleSearch">查询</el-button> <el-button :size="size" type="primary" @click="handleSearch">查询</el-button>
<el-button :size="size" type="primary" @click="handleReset">重置</el-button>
</span> </span>
</glsx-combi-form> </glsx-combi-form>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
...@@ -39,7 +34,7 @@ ...@@ -39,7 +34,7 @@
}" }"
> >
<!-- <el-button type="primary" @click="handleNext">确定</el-button> --> <!-- <el-button type="primary" @click="handleNext">确定</el-button> -->
<el-button @click="handleCancel">取消</el-button> <el-button type="primary" @click="handleCancel">取消</el-button>
</div> </div>
</div> </div>
</template> </template>
...@@ -64,6 +59,7 @@ export default { ...@@ -64,6 +59,7 @@ export default {
{ {
label: '群主', label: '群主',
name: 'staffId', name: 'staffId',
labelWidth: 28,
type: 'select', type: 'select',
isClear: true, isClear: true,
optionLabel: 'staffName', optionLabel: 'staffName',
...@@ -138,7 +134,6 @@ export default { ...@@ -138,7 +134,6 @@ export default {
{ {
label: '操作', label: '操作',
prop: 'optionBtns', prop: 'optionBtns',
width: '140px',
addHtml: 'optionBtns', addHtml: 'optionBtns',
fixed: 'right' fixed: 'right'
} }
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
> >
<!-- <el-button type="primary" @click="handle <!-- <el-button type="primary" @click="handle
Next">确定</el-button>--> Next">确定</el-button>-->
<el-button @click="handleCancel">取消</el-button> <el-button type="primary" @click="handleCancel">取消</el-button>
</div> </div>
</div> </div>
</template> </template>
...@@ -209,7 +209,7 @@ export default { ...@@ -209,7 +209,7 @@ export default {
.detail-info { .detail-info {
padding: 0 20px; padding: 0 20px;
.detail-total { .detail-total {
padding: 31px 0 14px; padding: 20px 0 14px;
font-size: 14px; font-size: 14px;
color: #333; color: #333;
line-height: 16px; line-height: 16px;
...@@ -294,6 +294,10 @@ export default { ...@@ -294,6 +294,10 @@ export default {
.el-menu.el-menu--horizontal { .el-menu.el-menu--horizontal {
border-bottom: none; border-bottom: none;
} }
.el-menu-item {
line-height: 56px;
height: 46px;
}
.el-menu--horizontal > .el-menu-item.is-active { .el-menu--horizontal > .el-menu-item.is-active {
border-bottom-color: #5850ff; border-bottom-color: #5850ff;
color: #5850ff; color: #5850ff;
......
...@@ -50,13 +50,13 @@ ...@@ -50,13 +50,13 @@
</div> </div>
<div v-if="activeIndex == 2" class="container"> <div v-if="activeIndex == 2" class="container">
<div class="container-header"> <div class="container-header">
<div class="text">管理员或负责人统一创建内容,群主收到通知后,可选择他管理的客户群并群发。</div>
<el-button <el-button
type="primary" type="primary"
size="small" size="small"
icon="el-icon-plus" icon="el-icon-plus"
@click="btnClick('create', 2)" @click="btnClick('create', 2)"
>新建群发</el-button> >新建群发</el-button>
<div class="text">管理员或负责人统一创建内容,群主收到通知后,可选择他管理的客户群并群发。</div>
</div> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable <GLTable
...@@ -124,6 +124,7 @@ export default { ...@@ -124,6 +124,7 @@ export default {
{ {
label: '发送时间', label: '发送时间',
prop: 'sendTime', prop: 'sendTime',
width: 160,
line: 2, line: 2,
formatter: cellValue => { formatter: cellValue => {
if (cellValue.sendTime) { if (cellValue.sendTime) {
...@@ -182,6 +183,7 @@ export default { ...@@ -182,6 +183,7 @@ export default {
{ {
label: '发送时间', label: '发送时间',
prop: 'sendTime', prop: 'sendTime',
width: 150,
line: 2 line: 2
}, },
{ {
...@@ -286,17 +288,25 @@ export default { ...@@ -286,17 +288,25 @@ export default {
.send-assistant { .send-assistant {
// margin-top: 26px; // margin-top: 26px;
.menu-sub { .menu-sub {
margin-bottom: 15px;
.menu-sub-item { .menu-sub-item {
display: inline-block; display: inline-block;
text-align: center; text-align: center;
color: #666; color: #303133;
width: 180px; font-size: 14px;
// width: 180px;
// padding: 0 20px;
margin-right: 40px;
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
cursor: pointer; cursor: pointer;
// &:first-child {
// padding-left: 0;
// }
&.active { &.active {
background-color: #fff; // background-color: #fff;
color: #5850ff; color: #5850ff;
border-bottom: 2px solid #5850ff;
} }
} }
} }
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
{{ item }} {{ item }}
</div> </div>
</div> </div>
<GLTable ref="memberOrderRef" v-if="isReload" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable ref="memberOrderRef" v-if="isReload" :noDataImg="url" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<!-- <span slot="shareImgUrl" slot-scope="scope"> <!-- <span slot="shareImgUrl" slot-scope="scope">
<img class="img-60" :src="scope.scope.shareImgUrl" /> <img class="img-60" :src="scope.scope.shareImgUrl" />
</span> --> </span> -->
...@@ -50,10 +50,12 @@ ...@@ -50,10 +50,12 @@
<script> <script>
import { orderTypesList, orderStatusList } from '@/common/constant' import { orderTypesList, orderStatusList } from '@/common/constant'
import url from "@/assets/empty.png"
import { getOrderListApi } from '@/api/modules/order' import { getOrderListApi } from '@/api/modules/order'
export default { export default {
data() { data() {
return { return {
url:url,
isReload: true, isReload: true,
pickerOptions: { pickerOptions: {
disabledDate(time) { disabledDate(time) {
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</el-row> </el-row>
</el-form> </el-form>
</div> </div>
<GLTable ref="memberRecordRef" v-if="isReload" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable ref="memberRecordRef" v-if="isReload" :noDataImg="url" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<span slot="verificationTime" slot-scope="scope"> <span slot="verificationTime" slot-scope="scope">
<span>{{ dateFormatFun(scope.scope.verificationTime) }}</span> <span>{{ dateFormatFun(scope.scope.verificationTime) }}</span>
</span> </span>
...@@ -48,11 +48,13 @@ ...@@ -48,11 +48,13 @@
<script> <script>
import { getRecordListApi } from '@/api/modules/record' import { getRecordListApi } from '@/api/modules/record'
import url from "@/assets/empty.png"
import { dateFormat } from '@/utils/index.js' import { dateFormat } from '@/utils/index.js'
export default { export default {
name: 'record', name: 'record',
data() { data() {
return { return {
url:url,
isReload:true, isReload:true,
pickerOptions: { pickerOptions: {
disabledDate(time) { disabledDate(time) {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</el-form-item> </el-form-item>
</el-row> </el-row>
</el-form> </el-form>
<GLTable v-if="isReload" ref="memberServiceRef" @setTableFinishFun="setTableFinishFun" :searchForm="searchForm" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable v-if="isReload" ref="memberServiceRef" :noDataImg="url" @setTableFinishFun="setTableFinishFun" :searchForm="searchForm" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<span slot="effectiveType" slot-scope="scope"> <span slot="effectiveType" slot-scope="scope">
<span>{{ toLabelText(scope.scope) }}</span> <span>{{ toLabelText(scope.scope) }}</span>
</span> </span>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<script> <script>
import { getServiceListApi, effectiveService, deleteService,getLoginCount } from '@/api/modules/service' import { getServiceListApi, effectiveService, deleteService,getLoginCount } from '@/api/modules/service'
import url from "@/assets/empty.png"
import { serviceStatusList } from '@/common/constant' import { serviceStatusList } from '@/common/constant'
import tipPanel from '@/components/tipPanel/index.vue' import tipPanel from '@/components/tipPanel/index.vue'
export default { export default {
...@@ -57,6 +57,7 @@ export default { ...@@ -57,6 +57,7 @@ export default {
}, },
data() { data() {
return { return {
url:url,
isReload:true, isReload:true,
isFirstShow: false, isFirstShow: false,
panelContent: '会员服务:是由门店根据自店服务项目创建的线上服务券,如“一年十二次洗车券”、“陶瓷镀膜”等,客户购买后可到店出示服务券享受服务,门店扫码进行次数核销。', panelContent: '会员服务:是由门店根据自店服务项目创建的线上服务券,如“一年十二次洗车券”、“陶瓷镀膜”等,客户购买后可到店出示服务券享受服务,门店扫码进行次数核销。',
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<el-button :size="size" type="primary" @click="handleCreate" icon="el-icon-plus">创建套餐</el-button> <el-button :size="size" type="primary" @click="handleCreate" icon="el-icon-plus">创建套餐</el-button>
<el-button :size="size" @click="isDialogVisible = true">查看示例效果</el-button> <el-button :size="size" @click="isDialogVisible = true">查看示例效果</el-button>
</div> </div>
<GLTable ref="memberSetMealRef" @setTableFinishFun="setTableFinishFun" :searchForm="searchForm" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"> <GLTable ref="memberSetMealRef" :noDataImg="url" @setTableFinishFun="setTableFinishFun" :searchForm="searchForm" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<span slot="list" slot-scope="scope"> <span slot="list" slot-scope="scope">
<div v-for="(item, index) in scope.scope.list" :key="index">{{ item.couponName }}×{{ item.serviceQuantity }}</div> <div v-for="(item, index) in scope.scope.list" :key="index">{{ item.couponName }}×{{ item.serviceQuantity }}</div>
</span> </span>
...@@ -51,11 +51,13 @@ ...@@ -51,11 +51,13 @@
<script> <script>
import glsxDialog from '@/components/glsx-dialog' import glsxDialog from '@/components/glsx-dialog'
import url from "@/assets/empty.png"
import { getSetMealListApi, deleteSetMeal, upDownPackage } from '@/api/modules/setmeal' import { getSetMealListApi, deleteSetMeal, upDownPackage } from '@/api/modules/setmeal'
import { getLoginCount } from '@/api/modules/service' import { getLoginCount } from '@/api/modules/service'
import { stateList } from '@/common/constant' import { stateList } from '@/common/constant'
import tipPanel from '@/components/tipPanel/index.vue' import tipPanel from '@/components/tipPanel/index.vue'
export default { export default {
components: { components: {
tipPanel, tipPanel,
...@@ -63,6 +65,7 @@ export default { ...@@ -63,6 +65,7 @@ export default {
}, },
data() { data() {
return { return {
url:url,
isFirstShow: false, isFirstShow: false,
panelContent: '会员套餐:将已经创建好的会员服务打包成一个套餐售卖给客户。', panelContent: '会员套餐:将已经创建好的会员服务打包成一个套餐售卖给客户。',
size: 'small', size: 'small',
......
...@@ -203,7 +203,8 @@ export default { ...@@ -203,7 +203,8 @@ export default {
{ {
label: '规格明细', label: '规格明细',
name: '', name: '',
addHtml: 'specificationsHtml' addHtml: 'specificationsHtml',
isHide: true
} }
] ]
} }
...@@ -317,10 +318,12 @@ export default { ...@@ -317,10 +318,12 @@ export default {
this.selectedProInfo = this.$common.utils.deepClone(res) this.selectedProInfo = this.$common.utils.deepClone(res)
console.log(this.selectedProInfo) console.log(this.selectedProInfo)
if (this.selectedProInfo.specificationDetailList.length) { if (this.selectedProInfo.specificationDetailList.length) {
this.editFormData[5].isHide = false
// this.specificationDetailList = this.$common.utils.deepClone(res.specificationList) // this.specificationDetailList = this.$common.utils.deepClone(res.specificationList)
this.specificationDetailList = this.selectedProInfo.specificationList this.specificationDetailList = this.selectedProInfo.specificationList
this.recoverySpec() this.recoverySpec()
} else { } else {
this.editFormData[5].isHide = true
this.nameToValSpecsList = [] this.nameToValSpecsList = []
this.specificationDetailList = [] this.specificationDetailList = []
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!