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