Commit cd43f32a by 前端

Merge branch 'SAAS+V5.8.5' into 'master'

上线合并

See merge request !94
2 parents d57a4862 483a75de
......@@ -5,8 +5,10 @@
<div class="config-wrap gl-form-page">
<el-form ref="form" :model="form" label-width="295px">
<el-form-item label="所属企业:">
<el-select v-model="config.merchantId" placeholder="请选择" @change="handleMerchatChange" @visible-change="hideSelect">
<el-option v-for="item in merchantList" :key="item.merchantId" :label="item.merchantName" :value="item.merchantId"></el-option>
<el-select v-model="config.merchantId" placeholder="请选择" @change="handleMerchatChange"
@visible-change="hideSelect">
<el-option v-for="item in merchantList" :key="item.merchantId" :label="item.merchantName"
:value="item.merchantId"></el-option>
</el-select>
</el-form-item>
<!-- 推送人 -->
......@@ -18,7 +20,8 @@
{{ wechat.automaticName }}
</div>
<span class="el-input__suffix" @click="openAutomatic">
<span class="el-input__suffix-inner"><i :class="['el-select__caret', 'el-input__icon', 'el-icon-arrow-up', isAutomatic ? 'is-reverse' : '']"></i></span>
<span class="el-input__suffix-inner"><i
:class="['el-select__caret', 'el-input__icon', 'el-icon-arrow-up', isAutomatic ? 'is-reverse' : '']"></i></span>
</span>
</div>
</div>
......@@ -29,7 +32,9 @@
</el-form-item>
<div class="el-select-dropdown__wrap el-scrollbar__wrap">
<template v-if="automaticData.length > 0">
<el-tree class="filter-tree" :data="automaticData" node-key="id" :default-expanded-keys="expandedKeys" :props="defaultProps" default-expand-all :filter-node-method="filterNode" ref="tree" @node-click="handleNodeClick"></el-tree>
<el-tree class="filter-tree" :data="automaticData" node-key="id"
:default-expanded-keys="expandedKeys" :props="defaultProps" default-expand-all
:filter-node-method="filterNode" ref="tree" @node-click="handleNodeClick"></el-tree>
</template>
<div class="empty" v-else>暂无数据</div>
</div>
......@@ -41,8 +46,10 @@
<el-form-item class="group-item-box" :key="index">
<div slot="label">
{{ bulletin.label }}
<img v-if="bulletin.eyeIcon" class="icon-eye" @click="handlePoster(bulletin.eyeIcon)" src="@/assets/icon-eye.png" />
<span v-if="['收款喜报', '文字喜报', '店面早报', '服务商战报', '驻店日报', '智能工牌开机检测', '业务预警', '延保门店产值及个人成交报表', '将场景集市上架通知'].includes(bulletin.label)">推送至群聊:</span>
<img v-if="bulletin.eyeIcon" class="icon-eye" @click="handlePoster(bulletin.eyeIcon)"
src="@/assets/icon-eye.png" />
<span
v-if="['收款喜报', '文字喜报', '店面早报', '服务商战报', '驻店日报', '智能工牌开机检测', '业务预警', '延保门店产值及个人成交报表', '将场景集市上架通知'].includes(bulletin.label)">推送至群聊:</span>
<span v-else>:</span>
</div>
<div v-if="bulletin.label == '推送时间'" class="group-box group-box-white">
......@@ -55,22 +62,25 @@
<div class="input-box">
<!-- :disabled="pushRadio == 2" -->
<el-time-select :picker-options="{
start: '00:00',
step: '00:01',
end: '23:00'
}" v-model="pushTimeValue" placeholder="选择时间"></el-time-select>
start: '00:00',
step: '00:01',
end: '23:00'
}" v-model="pushTimeValue" placeholder="选择时间"></el-time-select>
</div>
</div>
<div class="group-box">
<div class="input-box" v-for="(i, k) in groupCofListInput[bulletin.storageList]" :key="k">
<el-select v-model="i.name" :placeholder="'将' + bulletin.label + '推送至群聊'" filterable clearable>
<el-option v-for="item in selectGroupName" :key="item.groupName" :label="item.groupName" :value="item.groupName"></el-option>
<el-option v-for="item in selectGroupName" :key="item.groupName" :label="item.groupName"
:value="item.groupName"></el-option>
</el-select>
<i class="el-icon-circle-plus" v-if="k == 0" @click="addGroup(groupCofListInput[bulletin.storageList])"></i>
<i class="el-icon-circle-plus" v-if="k == 0"
@click="addGroup(groupCofListInput[bulletin.storageList])"></i>
<i class="el-icon-remove" v-else @click="delGroup(groupCofListInput[bulletin.storageList], k)"></i>
</div>
</div>
<span v-if="bulletin.componentName == 'wordReportDialog'" class="group-config-text" @click="openConfigDialog(bulletin.componentName)">配置</span>
<span v-if="bulletin.componentName == 'wordReportDialog'" class="group-config-text"
@click="openConfigDialog(bulletin.componentName)">配置</span>
</el-form-item>
</template>
</el-form>
......@@ -80,9 +90,11 @@
<el-button @click="handlebattleClose" size="medium">取消</el-button>
<el-button type="primary" @click="handlebattleConfirm" size="medium" :loading="loading">保存</el-button>
</GLFooter>
<component :is="dialogComponent" ref="componentRef" v-if="isDialogVisible" :isDialogVisible="isDialogVisible" :switchList="switchList" @handlePreview="handlePreview" @handleClose="handleClose"></component>
<component :is="dialogComponent" ref="componentRef" v-if="isDialogVisible" :isDialogVisible="isDialogVisible"
:switchList="switchList" @handlePreview="handlePreview" @handleClose="handleClose"></component>
<!-- 查看 -->
<GLDialog v-if="isImgVisible" title="查看" mode="mid" :visible.sync="isImgVisible" class="dialog-look" :hasFooter="false">
<GLDialog v-if="isImgVisible" title="查看" mode="mid" :visible.sync="isImgVisible" class="dialog-look"
:hasFooter="false">
<img width="50%" :src="require(`@/assets/${dialogImageUrl}.png`)" alt="" />
</GLDialog>
</div>
......@@ -165,6 +177,7 @@ export default {
extendedWarrantyWjMerchantDailyReport: [],
extendedWarrantyOtherMerchantDailyReport: [],
extendedWarrantyLtMerchantDailyReport: [],
extendedWarrantyHarmonyMerchantDailyReport: [],
extendedRevenueReport: [],
sceneReport: []
},
......@@ -213,6 +226,7 @@ export default {
extendedWarrantyWjMerchantDailyReportValue: [],
extendedWarrantyOtherMerchantDailyReportValue: [],
extendedWarrantyLtMerchantDailyReportValue: [],
extendedWarrantyHarmonyMerchantDailyReportValue: [],
extendedRevenueReportValue: [],
sceneReportValue: []
},
......@@ -326,6 +340,10 @@ export default {
type: 54
},
{
attr: 'extendedWarrantyHarmonyMerchantDailyReport',
type: 57
},
{
attr: 'extendedRevenueReport',
type: 26
},
......@@ -488,7 +506,7 @@ export default {
eyeIcon: ''
},
{
label: '延保权益问界/鸿蒙门店日报',
label: '延保权益问界门店日报',
storageList: 'extendedWarrantyWjMerchantDailyReportValue',
componentName: '',
eyeIcon: ''
......@@ -506,6 +524,12 @@ export default {
eyeIcon: ''
},
{
label: '2.1延保权益鸿蒙门店日报',
storageList: 'extendedWarrantyHarmonyMerchantDailyReportValue',
componentName: '',
eyeIcon: ''
},
{
label: '延保门店产值及个人成交报表',
storageList: 'extendedRevenueReportValue',
componentName: '',
......@@ -631,6 +655,7 @@ export default {
extendedWarrantyWjMerchantDailyReportValue: [{ name: '' }],
extendedWarrantyOtherMerchantDailyReportValue: [{ name: '' }],
extendedWarrantyLtMerchantDailyReportValue: [{ name: '' }],
extendedWarrantyHarmonyMerchantDailyReportValue: [{ name: '' }],
extendedRevenueReportValue: [{ name: '' }],
sceneReportValue: [{ name: '' }]
}
......@@ -687,6 +712,7 @@ export default {
extendedWarrantyWjMerchantDailyReport: [],
extendedWarrantyOtherMerchantDailyReport: [],
extendedWarrantyLtMerchantDailyReport: [],
extendedWarrantyHarmonyMerchantDailyReport: [],
extendedRevenueReport: [],
sceneReport: []
}
......@@ -718,6 +744,7 @@ export default {
extendedWarrantyWjMerchantDailyReportValue: [],
extendedWarrantyOtherMerchantDailyReportValue: [],
extendedWarrantyLtMerchantDailyReportValue: [],
extendedWarrantyHarmonyMerchantDailyReportValue: [],
extendedRevenueReportValue: [],
sceneReportValue: []
}
......@@ -805,6 +832,7 @@ export default {
extendedWarrantyWjMerchantDailyReportValue: [{ name: '' }],
extendedWarrantyOtherMerchantDailyReportValue: [{ name: '' }],
extendedWarrantyLtMerchantDailyReportValue: [{ name: '' }],
extendedWarrantyHarmonyMerchantDailyReportValue: [{ name: '' }],
extendedRevenueReportValue: [{ name: '' }],
sceneReportValue: [{ name: '' }]
}
......@@ -843,6 +871,7 @@ export default {
extendedWarrantyWjMerchantDailyReport: [],
extendedWarrantyOtherMerchantDailyReport: [],
extendedWarrantyLtMerchantDailyReport: [],
extendedWarrantyHarmonyMerchantDailyReport: [],
extendedRevenueReport: [],
sceneReport: []
}
......@@ -888,6 +917,7 @@ export default {
extendedWarrantyWjMerchantDailyReport: [],
extendedWarrantyOtherMerchantDailyReport: [],
extendedWarrantyLtMerchantDailyReport: [],
extendedWarrantyHarmonyMerchantDailyReport: [],
extendedRevenueReport: [],
sceneReport: []
}
......@@ -1125,9 +1155,11 @@ export default {
}
}
}
.group-box-white {
background: #fff;
padding: 14px 0 20px 20px;
.radio-box {
margin-bottom: 14px;
}
......@@ -1153,12 +1185,14 @@ export default {
.is-reverse {
transform: rotate(180deg);
}
.icon-eye {
width: 20px;
height: 20px;
cursor: pointer;
vertical-align: middle;
}
.dialog-look {
text-align: center;
}
......
......@@ -3,9 +3,11 @@
<div class="activity">
<!-- 表格区域 开始 -->
<div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData"
@handleOk="handleSearch" @handleRest="handleReset">
<template slot="unionMerchantId">
<el-input v-model.trim="searchForm.unionMerchantId" maxlength="11" placeholder="请输入商户号" @input="merchantIdInput"></el-input>
<el-input v-model.trim="searchForm.unionMerchantId" maxlength="11" placeholder="请输入商户号"
@input="merchantIdInput"></el-input>
</template>
</GLCombiForm>
<div class="flex-between title">
......@@ -15,11 +17,14 @@
class="battle-set-btn"
@click="battleSetHandle">批量配置专员</el-button> -->
</div>
<GLTable ref="battleRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun" @selectionTable="selectionTable">
<GLTable ref="battleRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm"
:tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun"
@selectionTable="selectionTable">
<div slot="content" slot-scope="scope">
<div v-for="(item, index) in formatterContent(scope.scope)" :key="index">{{ item }}</div>
</div>
<div slot="activityTime" slot-scope="scope">{{ dateFormatFun(scope.scope.startTime) }}-{{ dateFormatFun(scope.scope.endTime) }}</div>
<div slot="activityTime" slot-scope="scope">{{ dateFormatFun(scope.scope.startTime) }}-{{
dateFormatFun(scope.scope.endTime) }}</div>
<div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button type="text" v-if="!scope.scope.staffId" @click="handlebattleOn(scope.scope)">配置</el-button>
<el-button type="text" v-else @click="handlebattleOn(scope.scope, 'edit')">编辑</el-button>
......@@ -790,7 +795,8 @@
</div>
</GLDialog> -->
<!-- 查看 -->
<GLDialog v-if="isImgVisible" title="查看" mode="mid" :visible.sync="isImgVisible" class="dialog-look" :hasFooter="false">
<GLDialog v-if="isImgVisible" title="查看" mode="mid" :visible.sync="isImgVisible" class="dialog-look"
:hasFooter="false">
<img width="50%" :src="require(`@/assets/${dialogImageUrl}.png`)" alt="" />
</GLDialog>
</div>
......@@ -1127,9 +1133,10 @@ export default {
[47, '#47.2.3运营主管月报模版>>'],
[48, '#48.2.1运营主管日报模版>>'],
[49, '#49.2.3运营主管日报模版>>'],
[53, '#50.延保权益问界/鸿蒙门店日报>>'],
[53, '#50.延保权益问界门店日报>>'],
[55, '#51.延保权益其他品牌门店日报>>'],
[54, '#52.延保权益岚图门店日报>>']
[54, '#52.延保权益岚图门店日报>>'],
[57, '#53.2.1延保权益鸿蒙门店日报>>']
])
let txt = ''
cellValue.groupConfigList?.forEach(item => {
......@@ -1444,7 +1451,7 @@ export default {
// this.battleVisible = false
// this.clearData()
// },
handleDetails() {},
handleDetails() { },
// addGroup (group) {
// group.push({ name: '' })
// },
......@@ -1641,13 +1648,16 @@ export default {
.message-Z-zinde {
z-index: 9999 !important;
}
.activity {
.container {
margin-top: 16px;
.title {
height: 32px;
line-height: 32px;
margin-bottom: 10px;
.title-text {
font-weight: 600;
font-size: 16px;
......@@ -1656,15 +1666,19 @@ export default {
}
}
}
.group-box {
padding: 20px;
background: #f9f9f9;
/deep/ .el-input {
width: 255px !important;
}
.input-box {
display: flex;
align-items: center;
i {
cursor: pointer;
font-size: 20px;
......@@ -1673,6 +1687,7 @@ export default {
}
}
}
.input-tag-wrapper {
position: relative;
font-size: 14px;
......@@ -1694,16 +1709,19 @@ export default {
align-items: center;
margin-top: 6px;
font-size: 14px;
i {
color: #75acff;
margin-right: 3px;
font-size: 14px;
}
/deep/ .el-tag {
background-color: #fff !important;
margin-bottom: 4px;
}
}
.select-wrap {
.icon-eye {
width: 20px;
......@@ -1711,25 +1729,31 @@ export default {
cursor: pointer;
vertical-align: middle;
}
.common {
margin: 4px 0;
height: 40px !important;
overflow: hidden;
/deep/ .el-input {
height: 40px !important;
line-height: 40px !important;
}
/deep/ .el-input__suffix {
height: 40px !important;
margin-top: -4px;
.is-reverse {
transform: rotate(180deg);
}
}
}
.group-list-box {
display: flex;
flex-wrap: wrap;
.list-tag {
box-sizing: border-box;
display: flex;
......@@ -1741,6 +1765,7 @@ export default {
padding: 0 8px;
margin-right: 4px;
border-radius: 4px;
.tag-txt {
font-size: 14px;
color: #666666;
......@@ -1748,10 +1773,12 @@ export default {
padding-right: 8px;
line-height: 26px;
}
.icon-close {
width: 8px;
height: 8px;
}
img {
width: 16px;
height: 16px;
......@@ -1761,20 +1788,25 @@ export default {
}
}
}
.search-groomname {
width: 252px;
margin: 12px 16px 0;
/deep/.el-input {
width: 252px;
}
}
.filter-tree {
padding: 0 16px;
}
.grey-txt {
color: #c8c8c8;
cursor: not-allowed;
}
.empty {
padding: 10px 0;
margin: 0;
......@@ -1782,11 +1814,13 @@ export default {
color: #999;
font-size: 13px;
}
.placeholder {
font-size: 14px;
color: #c0c6ce;
line-height: 20px;
}
.dialog-look {
text-align: center;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!