Commit a5663f79 by 前端

2.1

1 parent 11fa0d12
......@@ -262,6 +262,58 @@
</div>
</div>
</el-form-item>
<!-- 开单预警 - 关联群 -->
<el-form-item class="select-wrap">
<div slot="label">
将 开单预警
<img class="icon-eye" @click="handlePoster('InvoicingReport_qy')" src="@/assets/icon-eye.png" />
:推送至群聊:
</div>
<div class="common el-form-item__content">
<div class="el-input" ref="groupZhanServerRef">
<div class="el-input__inner" @click="openGroup('InvoicingReport')">
<span class="placeholder">请选择(可多选)</span>
</div>
<span class="el-input__suffix" @click="openGroup('InvoicingReport')">
<span class="el-input__suffix-inner"><i :class="['el-select__caret', 'el-input__icon', 'el-icon-arrow-up', groupHideObj.InvoicingReport ? 'is-reverse' : '']"></i></span>
</span>
</div>
</div>
<transition name="el-zoom-in-top" v-if="!groupHideObj.InvoicingReport">
<gl-select-menu :domEl="domZhanServerEl" @changeStatu="hideSelect">
<el-form-item class="search-groomname">
<el-input placeholder="请输入搜索关键词" prefix-icon="el-icon-search" v-model="roomName"></el-input>
</el-form-item>
<div class="el-select-dropdown__wrap el-scrollbar__wrap">
<ul class="el-scrollbar__view el-select-dropdown__list">
<template v-if="groupList.length > 0">
<li v-for="(k, kIdx) in roomName == '' ? groupList : stageList" class="el-select-dropdown__item" :key="kIdx" @click="e => selectGroup(e, k, 'InvoicingrReport')">
<span :class="[groupCofList.InvoicingReport.findIndex(i => i.roomName == k.roomName) != -1 ? 'grey-txt' : '']">{{ k.roomName }}</span>
</li>
</template>
<div class="empty" v-else>暂无数据</div>
</ul>
</div>
</gl-select-menu>
</transition>
<div class="group-list-box">
<div class="list-tag" v-for="(k, kIdx) in groupCofList.InvoicingReport" :key="kIdx">
<span class="tag-txt">{{ k.roomName }}</span>
<img class="icon-close" @click="handleGroupRemove(kIdx, 'InvoicingReport')" src="@/assets/icon-close.png" />
</div>
</div>
</el-form-item>
<el-form-item label="手动选择群名:">
<div class="group-box">
<div class="input-box" v-for="(i, k) in groupCofListInput.InvoicingValue" :key="k">
<el-select v-model="i.name" placeholder="请选择" filterable clearable>
<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.InvoicingValue)"></i>
<i class="el-icon-remove" v-else @click="delGroup(groupCofListInput.InvoicingValue, k)"></i>
</div>
</div>
</el-form-item>
<!-- 补单通知 - 关联群 -->
<!-- <el-form-item class="select-wrap">
<div slot="label">
......@@ -592,7 +644,8 @@ export default {
// saPerReport: true,
// scheduleReport: true,
zhanServerReport: true,
storeServerReport: true
storeServerReport: true,
InvoicingReport: true
},
groupCofList: {
xiReport: [],
......@@ -602,7 +655,8 @@ export default {
// saPerReport: [],
// scheduleReport: [],
zhanServerReport: [],
storeServerReport: []
storeServerReport: [],
InvoicingReport: []
},
groupCofListInput: {
xiReportValue: [],
......@@ -612,7 +666,8 @@ export default {
// saPerReportValue: [],
// scheduleReportValue: [],
zhanServerReportValue: [],
storeServerReportValue: []
storeServerReportValue: [],
InvoicingReportValue: []
},
groupToType: [
{
......@@ -646,6 +701,10 @@ export default {
{
attr: 'storeServerReport',
type: 9
},
{
attr: 'InvoicingReport',
type: 10
}
],
// 查看大图
......@@ -906,7 +965,8 @@ export default {
// saPerReport: [],
// scheduleReport: [],
zhanServerReport: [],
storeServerReport: []
storeServerReport: [],
InvoicingReport: []
}
this.hideSelect()
},
......@@ -933,7 +993,8 @@ export default {
xiReportValue: [{ name: '' }],
zhanReportValue: [{ name: '' }],
zhanServerReportValue: [{ name: '' }],
storeServerReportValue: [{ name: '' }]
storeServerReportValue: [{ name: '' }],
InvoicingReportValue: [{ name: '' }]
}
})
},
......@@ -945,6 +1006,7 @@ export default {
// this.groupHideObj.saReport = true
this.groupHideObj.zhanServerReport = true
this.groupHideObj.storeServerReport = true
this.groupHideObj.InvoicingReport = true
this.isAutomatic = true
},
selectGroup(e, data, groupHideAttr) {
......@@ -983,6 +1045,7 @@ export default {
// this.groupHideObj.scheduleReport = true
this.groupHideObj.zhanServerReport = true
this.groupHideObj.storeServerReport = true
this.groupHideObj.InvoicingReport = true
this.isAutomatic = !this.isAutomatic
},
handleGroupRemove(idx, groupHideAttr) {
......@@ -1006,7 +1069,8 @@ export default {
// saPerReport: [],
// scheduleReport: [],
zhanServerReport: [],
storeServerReport: []
storeServerReport: [],
InvoicingReport: []
}
},
battleSetHandle() {
......@@ -1029,7 +1093,8 @@ export default {
// saPerReport: [],
// scheduleReport: [],
zhanServerReport: [],
storeServerReport: []
storeServerReport: [],
InvoicingReport: []
}
this.getDepartmentTree()
this.battleVisible = true
......@@ -1148,7 +1213,8 @@ export default {
// saPerReport: [],
// scheduleReport: [],
zhanServerReport: [],
storeServerReport: []
storeServerReport: [],
InvoicingReport: []
}
this.groupCofListInput = {
xiReportValue: [],
......@@ -1158,7 +1224,8 @@ export default {
// saPerReportValue: [],
// scheduleReportValue: [],
zhanServerReportValue: [],
storeServerReportValue: []
storeServerReportValue: [],
InvoicingReportValue: []
}
this.battleVisible = true
// 编辑
......@@ -1210,7 +1277,8 @@ export default {
// saPerReportValue: [{ name: '' }],
// scheduleReportValue: [{ name: '' }],
zhanServerReportValue: [{ name: '' }],
storeServerReportValue: [{ name: '' }]
storeServerReportValue: [{ name: '' }],
InvoicingReportValue: [{ name: '' }]
}
}
this.getDepartmentTree()
......@@ -1228,7 +1296,8 @@ export default {
// saPerReport: [],
// scheduleReport: [],
zhanServerReport: [],
storeServerReport: []
storeServerReport: [],
InvoicingReport: []
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!