Commit f680f672 by 前端

Merge branch 'SAAS+V4.34.1' into 'master'

上线合并

See merge request !73
2 parents 8524cf02 4891621a
...@@ -8,10 +8,8 @@ ...@@ -8,10 +8,8 @@
<div class="config-wrap gl-form-page"> <div class="config-wrap gl-form-page">
<el-form ref="form" :model="form" label-width="154px"> <el-form ref="form" :model="form" label-width="154px">
<el-form-item label="所属企业:"> <el-form-item label="所属企业:">
<el-select v-model="config.merchantId" placeholder="请选择" @change="handleMerchatChange" <el-select v-model="config.merchantId" placeholder="请选择" @change="handleMerchatChange" @visible-change="hideSelect">
@visible-change="hideSelect"> <el-option v-for="item in merchantList" :key="item.merchantId" :label="item.merchantName" :value="item.merchantId"></el-option>
<el-option v-for="item in merchantList" :key="item.merchantId" :label="item.merchantName"
:value="item.merchantId"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 推送人 --> <!-- 推送人 -->
...@@ -23,8 +21,7 @@ ...@@ -23,8 +21,7 @@
{{ wechat.automaticName }} {{ wechat.automaticName }}
</div> </div>
<span class="el-input__suffix" @click="openAutomatic"> <span class="el-input__suffix" @click="openAutomatic">
<span class="el-input__suffix-inner"><i <span class="el-input__suffix-inner"><i :class="['el-select__caret', 'el-input__icon', 'el-icon-arrow-up', isAutomatic ? 'is-reverse' : '']"></i></span>
:class="['el-select__caret', 'el-input__icon', 'el-icon-arrow-up', isAutomatic ? 'is-reverse' : '']"></i></span>
</span> </span>
</div> </div>
</div> </div>
...@@ -35,9 +32,7 @@ ...@@ -35,9 +32,7 @@
</el-form-item> </el-form-item>
<div class="el-select-dropdown__wrap el-scrollbar__wrap"> <div class="el-select-dropdown__wrap el-scrollbar__wrap">
<template v-if="automaticData.length > 0"> <template v-if="automaticData.length > 0">
<el-tree class="filter-tree" :data="automaticData" node-key="id" :default-expanded-keys="expandedKeys" <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>
:props="defaultProps" default-expand-all :filter-node-method="filterNode" ref="tree"
@node-click="handleNodeClick"></el-tree>
</template> </template>
<div class="empty" v-else>暂无数据</div> <div class="empty" v-else>暂无数据</div>
</div> </div>
...@@ -51,15 +46,13 @@ ...@@ -51,15 +46,13 @@
<div class="input-box" v-for="(i, k) in groupCofListInput[bulletin.storageList]" :key="k"> <div class="input-box" v-for="(i, k) in groupCofListInput[bulletin.storageList]" :key="k">
<!-- <el-input v-model="i.name" ></el-input> --> <!-- <el-input v-model="i.name" ></el-input> -->
<el-select v-model="i.name" :placeholder="'将' + bulletin.label + '推送至群聊'" filterable clearable> <el-select v-model="i.name" :placeholder="'将' + bulletin.label + '推送至群聊'" filterable clearable>
<el-option v-for="item in selectGroupName" :key="item.groupName" :label="item.groupName" <el-option v-for="item in selectGroupName" :key="item.groupName" :label="item.groupName" :value="item.groupName"></el-option>
:value="item.groupName"></el-option>
</el-select> </el-select>
<i class="el-icon-circle-plus" v-if="k == 0" <i class="el-icon-circle-plus" v-if="k == 0" @click="addGroup(groupCofListInput[bulletin.storageList])"></i>
@click="addGroup(groupCofListInput[bulletin.storageList])"></i>
<i class="el-icon-remove" v-else @click="delGroup(groupCofListInput[bulletin.storageList], k)"></i> <i class="el-icon-remove" v-else @click="delGroup(groupCofListInput[bulletin.storageList], k)"></i>
</div> </div>
</div> </div>
<span class="group-config-text" @click="openConfigDialog(bulletin.componentName)">配置</span> <span class="group-config-text" @click="openConfigDialog(bulletin.componentName)">{{ bulletin.text ? bulletin.text : '配置' }}</span>
</el-form-item> </el-form-item>
</template> </template>
</el-form> </el-form>
...@@ -69,8 +62,7 @@ ...@@ -69,8 +62,7 @@
<el-button @click="handlebattleClose" size="medium">取消</el-button> <el-button @click="handlebattleClose" size="medium">取消</el-button>
<el-button type="primary" @click="handlebattleConfirm" size="medium" :loading="loading">保存</el-button> <el-button type="primary" @click="handlebattleConfirm" size="medium" :loading="loading">保存</el-button>
</GLFooter> </GLFooter>
<component :is="dialogComponent" ref="componentRef" v-if="isDialogVisible" :isDialogVisible="isDialogVisible" <component :is="dialogComponent" ref="componentRef" v-if="isDialogVisible" :isDialogVisible="isDialogVisible" :switchList="switchList" @handlePreview="handlePreview" @handleClose="handleClose"></component>
:switchList="switchList" @handlePreview="handlePreview" @handleClose="handleClose"></component>
</div> </div>
</template> </template>
<script> <script>
...@@ -83,6 +75,7 @@ import dailyDialog from './components/dialogs/dailyDialog.vue' ...@@ -83,6 +75,7 @@ import dailyDialog from './components/dialogs/dailyDialog.vue'
import progressDialog from './components/dialogs/progressDialog.vue' import progressDialog from './components/dialogs/progressDialog.vue'
import replenishmentDialog from './components/dialogs/replenishmentDialog.vue' import replenishmentDialog from './components/dialogs/replenishmentDialog.vue'
import saasDialog from './components/dialogs/saasDialog.vue' import saasDialog from './components/dialogs/saasDialog.vue'
import viewDialog from './components/dialogs/viewDialog.vue'
export default { export default {
components: { components: {
GlSelectMenu, GlSelectMenu,
...@@ -93,7 +86,8 @@ export default { ...@@ -93,7 +86,8 @@ export default {
dailyDialog, dailyDialog,
progressDialog, progressDialog,
replenishmentDialog, replenishmentDialog,
saasDialog saasDialog,
viewDialog
}, },
data() { data() {
return { return {
...@@ -126,12 +120,14 @@ export default { ...@@ -126,12 +120,14 @@ export default {
saPerReport: [], saPerReport: [],
scheduleReport: [], scheduleReport: [],
wordReport: [], wordReport: [],
saasReport: [] saasReport: [],
viewReport: []
}, },
switchList: { switchList: {
// xiReport: [], // xiReport: [],
zhanReport: [{ switchType: 201, switchStatus: 'Y', actionReportType: 2 }], zhanReport: [{ switchType: 201, switchStatus: 'Y', actionReportType: 2 }],
orderReport: [], orderReport: [],
viewReport: [],
saReport: [ saReport: [
{ switchType: 401, switchStatus: 'Y', actionReportType: 4 }, { switchType: 401, switchStatus: 'Y', actionReportType: 4 },
{ switchType: 402, switchStatus: 'Y', actionReportType: 4 } { switchType: 402, switchStatus: 'Y', actionReportType: 4 }
...@@ -143,11 +139,12 @@ export default { ...@@ -143,11 +139,12 @@ export default {
{ switchType: 504, switchStatus: 'Y', actionReportType: 5, switchText: '' } { switchType: 504, switchStatus: 'Y', actionReportType: 5, switchText: '' }
], ],
scheduleReport: [{ switchType: 601, switchStatus: 'Y', actionReportType: 6 }], scheduleReport: [{ switchType: 601, switchStatus: 'Y', actionReportType: 6 }],
wordReport: [{ switchType: 701, switchStatus: 'Y', actionReportType: 7, switchText: '' }], wordReport: [{ switchType: 701, switchStatus: 'Y', actionReportType: 7, switchText: '' }]
}, },
groupCofListInput: { groupCofListInput: {
wordReportValue: [], wordReportValue: [],
orderReportValue: [], orderReportValue: [],
viewReportValue: [],
saReportValue: [], saReportValue: [],
saPerReportValue: [], saPerReportValue: [],
scheduleReportValue: [], scheduleReportValue: [],
...@@ -186,6 +183,10 @@ export default { ...@@ -186,6 +183,10 @@ export default {
{ {
attr: 'saasReport', attr: 'saasReport',
type: 8 type: 8
},
{
attr: 'viewReport',
type: 9
} }
], ],
buttetinList: [ buttetinList: [
...@@ -223,6 +224,12 @@ export default { ...@@ -223,6 +224,12 @@ export default {
label: '.补单通知', label: '.补单通知',
storageList: 'orderReportValue', storageList: 'orderReportValue',
componentName: 'replenishmentDialog' componentName: 'replenishmentDialog'
},
{
label: '.驻店日报',
text: '预览配置',
storageList: 'viewReportValue',
componentName: 'viewDialog'
} }
] ]
} }
...@@ -295,7 +302,7 @@ export default { ...@@ -295,7 +302,7 @@ export default {
this.idBefEncryption = data.idBefEncryption this.idBefEncryption = data.idBefEncryption
this.$apis.battle.activityreportWorktool({ cloudId: this.idBefEncryption }).then(res => { this.$apis.battle.activityreportWorktool({ cloudId: this.idBefEncryption }).then(res => {
this.selectGroupName = res.data.result || [] this.selectGroupName = res.data.result || []
this.groupCofListInput = { wordReportValue: [{ name: '' }], orderReportValue: [{ name: '' }], saReportValue: [{ name: '' }], saPerReportValue: [{ name: '' }], scheduleReportValue: [{ name: '' }], zhanReportValue: [{ name: '' }], saasReportValue: [{ name: '' }] } this.groupCofListInput = { wordReportValue: [{ name: '' }], orderReportValue: [{ name: '' }], viewReportValue: [{ name: '' }], saReportValue: [{ name: '' }], saPerReportValue: [{ name: '' }], scheduleReportValue: [{ name: '' }], zhanReportValue: [{ name: '' }], saasReportValue: [{ name: '' }] }
}) })
}, },
// 弹窗数据回显 // 弹窗数据回显
...@@ -328,6 +335,7 @@ export default { ...@@ -328,6 +335,7 @@ export default {
saPerReportValue: [], saPerReportValue: [],
scheduleReportValue: [], scheduleReportValue: [],
zhanReportValue: [], zhanReportValue: [],
viewReportValue: [],
saasReportValue: [] saasReportValue: []
} }
this.battleVisible = true this.battleVisible = true
...@@ -372,6 +380,7 @@ export default { ...@@ -372,6 +380,7 @@ export default {
// xiReportValue: [{ name: '' }], // xiReportValue: [{ name: '' }],
wordReportValue: [{ name: '' }], wordReportValue: [{ name: '' }],
orderReportValue: [{ name: '' }], orderReportValue: [{ name: '' }],
viewReportValue: [{ name: '' }],
saReportValue: [{ name: '' }], saReportValue: [{ name: '' }],
saPerReportValue: [{ name: '' }], saPerReportValue: [{ name: '' }],
scheduleReportValue: [{ name: '' }], scheduleReportValue: [{ name: '' }],
...@@ -388,6 +397,7 @@ export default { ...@@ -388,6 +397,7 @@ export default {
this.groupCofList = { this.groupCofList = {
zhanReport: [], zhanReport: [],
orderReport: [], orderReport: [],
viewReport: [],
saReport: [], saReport: [],
saPerReport: [], saPerReport: [],
scheduleReport: [], scheduleReport: [],
...@@ -411,6 +421,7 @@ export default { ...@@ -411,6 +421,7 @@ export default {
this.groupCofList = { this.groupCofList = {
zhanReport: [], zhanReport: [],
orderReport: [], orderReport: [],
viewReport: [],
saReport: [], saReport: [],
saPerReport: [], saPerReport: [],
scheduleReport: [], scheduleReport: [],
...@@ -487,6 +498,7 @@ export default { ...@@ -487,6 +498,7 @@ export default {
}) })
return true return true
} }
console.log(this.groupCofListInput, 'this.groupCofListInput')
let isGroupEmpty = Object.keys(this.groupCofList) let isGroupEmpty = Object.keys(this.groupCofList)
.map(item => this.groupCofList[item].length) .map(item => this.groupCofList[item].length)
.every(item => item == 0) .every(item => item == 0)
...@@ -514,7 +526,7 @@ export default { ...@@ -514,7 +526,7 @@ export default {
scene: 1 scene: 1
} }
let switchList = [] let switchList = []
let reportParams = ['saReport', 'zhanReport', 'orderReport', 'saPerReport', 'scheduleReport', 'wordReport'] let reportParams = ['saReport', 'zhanReport', 'orderReport', 'saPerReport', 'scheduleReport', 'wordReport', 'viewReport']
reportParams.forEach(item => { reportParams.forEach(item => {
switchList.push(...this.switchList[item]) switchList.push(...this.switchList[item])
}) })
...@@ -659,4 +671,5 @@ export default { ...@@ -659,4 +671,5 @@ export default {
.is-reverse { .is-reverse {
transform: rotate(180deg); transform: rotate(180deg);
}</style> }
</style>
<template>
<GLDialog :mode="mode" title="#8.驻店日报 预览配置显示字段" :before-close="handlebattleClose" :visible.sync="isDialogVisible" @onOk="handlebattleClose" @onCancel="handlebattleClose">
<div class="popup-wrap">
<div class="left-wrap">
<div class="img-wrap">
<img src="@/assets/buttetin/view.png" />
</div>
<p class="color-3 txt-center text-14">图示效果</p>
</div>
<div class="right-wrap">
<div class="empty">
<img src="@/assets/buttetin/empty.png" />
</div>
<p class="empty-text">暂无配置项</p>
<div class="explain">
<div class="color6 weight-6 font-14">
<i class="el-icon-warning"></i>
推送机制说明
</div>
<p class="mrp">驻店人员在驻店日报中填写日报内容时,填写的当日及昨日内容,会推送消息到指定群聊。服务商老板可在生意助手打开并回复批复内容。</p>
</div>
</div>
</div>
</GLDialog>
</template>
<script>
import dialog from './dialog'
export default {
mixins: [dialog],
data() {
return {
mode: 'big'
}
},
methods: {
initData() {},
handlebattleConfirm() {
this.isDialogVisible = false
// let switchList = []
// const params = ['vehicleType', 'goodsType', 'proceedsType', 'verbalType']
// params.forEach(data => {
// this[data].switchStatus = this[data].switchStatus ? 'Y' : 'N'
// switchList.push(this[data])
// })
// this.$emit('handlePreview',{key:'saPerReport',data:switchList})
}
}
}
</script>
<style lang="scss" scoped>
.popup-wrap {
display: flex;
padding: 0 72px;
.img-wrap {
width: 250px;
height: 560px;
margin-bottom: 14px;
img {
width: 100%;
height: 100%;
}
}
.right-wrap {
display: 1;
position: relative;
width: 100%;
margin-top: 12px;
/deep/.el-form-item {
margin-bottom: 0px;
}
.item-line {
margin-bottom: 20px;
}
.empty {
width: 420px;
height: 260px;
position: absolute;
top: 35%;
left: 50%;
transform: translate(-50%, -50%);
img {
width: 100%;
height: 100%;
}
}
.empty-text {
font-size: 16px;
color: #666666;
line-height: 20px;
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
}
.explain {
width: 486px;
background: #f4f6fc;
padding: 16px;
margin-left: 70px;
box-sizing: border-box;
position: absolute;
bottom: 30px;
.el-icon-warning {
width: 16px;
height: 16px;
margin-right: 4px;
}
.mrp {
margin: 8px 0 0 20px;
line-height: 22px;
}
}
}
.warn {
font-size: 12px;
color: #999999;
margin-left: 154px;
}
}
</style>
...@@ -3,14 +3,11 @@ ...@@ -3,14 +3,11 @@
<div class="activity"> <div class="activity">
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<div class="container"> <div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
@handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="flex-between title"> <div class="flex-between title">
<div class="title-text">喜报列表</div> <div class="title-text">喜报列表</div>
</div> </div>
<GLTable ref="battleRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" <GLTable ref="battleRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun" @selectionTable="selectionTable">
:tableParams="tableParams" :pageConf="pageConf" @setTableFinishFun="setTableFinishFun"
@selectionTable="selectionTable">
<div slot="content" slot-scope="scope"> <div slot="content" slot-scope="scope">
<div v-for="(item, index) in formatterContent(scope.scope)" :key="index">{{ item }}</div> <div v-for="(item, index) in formatterContent(scope.scope)" :key="index">{{ item }}</div>
</div> </div>
...@@ -107,7 +104,7 @@ export default { ...@@ -107,7 +104,7 @@ export default {
[8, '#5.服务商战报>>'], [8, '#5.服务商战报>>'],
[6, '#6.客户进度消息>>'], [6, '#6.客户进度消息>>'],
[3, '#7.补单通知>>'], [3, '#7.补单通知>>'],
[9, '#8..驻店日报>>']
]) ])
let txt = '' let txt = ''
cellValue.groupConfigList?.forEach(item => { cellValue.groupConfigList?.forEach(item => {
...@@ -316,4 +313,5 @@ export default { ...@@ -316,4 +313,5 @@ export default {
} }
} }
} }
}</style> }
</style>
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<div class="activity"> <div class="activity">
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<div class="container"> <div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="flex-between title"> <div class="flex-between title">
<div class="title-text">专员列表</div> <div class="title-text">专员列表</div>
...@@ -211,6 +210,58 @@ ...@@ -211,6 +210,58 @@
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
<!-- 驻店日报 - 关联群 -->
<el-form-item class="select-wrap">
<div slot="label">
将 驻店日报
<img class="icon-eye" @click="handlePoster('storeServerReport_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('storeServerReport')">
<span class="placeholder">请选择(可多选)</span>
</div>
<span class="el-input__suffix" @click="openGroup('storeServerReport')">
<span class="el-input__suffix-inner"><i :class="['el-select__caret', 'el-input__icon', 'el-icon-arrow-up', groupHideObj.storeServerReport ? 'is-reverse' : '']"></i></span>
</span>
</div>
</div>
<transition name="el-zoom-in-top" v-if="!groupHideObj.storeServerReport">
<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, 'storeServerReport')">
<span :class="[groupCofList.storeServerReport.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.storeServerReport" :key="kIdx">
<span class="tag-txt">{{ k.roomName }}</span>
<img class="icon-close" @click="handleGroupRemove(kIdx, 'storeServerReport')" 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.storeServerReportValue" :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.storeServerReportValue)"></i>
<i class="el-icon-remove" v-else @click="delGroup(groupCofListInput.storeServerReportValue, k)"></i>
</div>
</div>
</el-form-item>
<!-- 补单通知 - 关联群 --> <!-- 补单通知 - 关联群 -->
<!-- <el-form-item class="select-wrap"> <!-- <el-form-item class="select-wrap">
<div slot="label"> <div slot="label">
...@@ -540,7 +591,8 @@ export default { ...@@ -540,7 +591,8 @@ export default {
// saReport: true, // saReport: true,
// saPerReport: true, // saPerReport: true,
// scheduleReport: true, // scheduleReport: true,
zhanServerReport: true zhanServerReport: true,
storeServerReport: true
}, },
groupCofList: { groupCofList: {
xiReport: [], xiReport: [],
...@@ -549,7 +601,8 @@ export default { ...@@ -549,7 +601,8 @@ export default {
// saReport: [], // saReport: [],
// saPerReport: [], // saPerReport: [],
// scheduleReport: [], // scheduleReport: [],
zhanServerReport: [] zhanServerReport: [],
storeServerReport: []
}, },
groupCofListInput: { groupCofListInput: {
xiReportValue: [], xiReportValue: [],
...@@ -558,7 +611,8 @@ export default { ...@@ -558,7 +611,8 @@ export default {
// saReportValue: [], // saReportValue: [],
// saPerReportValue: [], // saPerReportValue: [],
// scheduleReportValue: [], // scheduleReportValue: [],
zhanServerReportValue: [] zhanServerReportValue: [],
storeServerReportValue: []
}, },
groupToType: [ groupToType: [
{ {
...@@ -588,6 +642,10 @@ export default { ...@@ -588,6 +642,10 @@ export default {
{ {
attr: 'zhanServerReport', attr: 'zhanServerReport',
type: 22 type: 22
},
{
attr: 'storeServerReport',
type: 9
} }
], ],
// 查看大图 // 查看大图
...@@ -847,7 +905,8 @@ export default { ...@@ -847,7 +905,8 @@ export default {
// saReport: [], // saReport: [],
// saPerReport: [], // saPerReport: [],
// scheduleReport: [], // scheduleReport: [],
zhanServerReport: [] zhanServerReport: [],
storeServerReport: []
} }
this.hideSelect() this.hideSelect()
}, },
...@@ -873,7 +932,8 @@ export default { ...@@ -873,7 +932,8 @@ export default {
this.groupCofListInput = { this.groupCofListInput = {
xiReportValue: [{ name: '' }], xiReportValue: [{ name: '' }],
zhanReportValue: [{ name: '' }], zhanReportValue: [{ name: '' }],
zhanServerReportValue: [{ name: '' }] zhanServerReportValue: [{ name: '' }],
storeServerReportValue: [{ name: '' }]
} }
}) })
}, },
...@@ -884,6 +944,7 @@ export default { ...@@ -884,6 +944,7 @@ export default {
// this.groupHideObj.orderReport = true // this.groupHideObj.orderReport = true
// this.groupHideObj.saReport = true // this.groupHideObj.saReport = true
this.groupHideObj.zhanServerReport = true this.groupHideObj.zhanServerReport = true
this.groupHideObj.storeServerReport = true
this.isAutomatic = true this.isAutomatic = true
}, },
selectGroup(e, data, groupHideAttr) { selectGroup(e, data, groupHideAttr) {
...@@ -921,6 +982,7 @@ export default { ...@@ -921,6 +982,7 @@ export default {
// this.groupHideObj.saPerReport = true // this.groupHideObj.saPerReport = true
// this.groupHideObj.scheduleReport = true // this.groupHideObj.scheduleReport = true
this.groupHideObj.zhanServerReport = true this.groupHideObj.zhanServerReport = true
this.groupHideObj.storeServerReport = true
this.isAutomatic = !this.isAutomatic this.isAutomatic = !this.isAutomatic
}, },
handleGroupRemove(idx, groupHideAttr) { handleGroupRemove(idx, groupHideAttr) {
...@@ -943,7 +1005,8 @@ export default { ...@@ -943,7 +1005,8 @@ export default {
// saReport: [], // saReport: [],
// saPerReport: [], // saPerReport: [],
// scheduleReport: [], // scheduleReport: [],
zhanServerReport: [] zhanServerReport: [],
storeServerReport: []
} }
}, },
battleSetHandle() { battleSetHandle() {
...@@ -965,7 +1028,8 @@ export default { ...@@ -965,7 +1028,8 @@ export default {
// saReport: [], // saReport: [],
// saPerReport: [], // saPerReport: [],
// scheduleReport: [], // scheduleReport: [],
zhanServerReport: [] zhanServerReport: [],
storeServerReport: []
} }
this.getDepartmentTree() this.getDepartmentTree()
this.battleVisible = true this.battleVisible = true
...@@ -1083,7 +1147,8 @@ export default { ...@@ -1083,7 +1147,8 @@ export default {
// saReport: [], // saReport: [],
// saPerReport: [], // saPerReport: [],
// scheduleReport: [], // scheduleReport: [],
zhanServerReport: [] zhanServerReport: [],
storeServerReport: []
} }
this.groupCofListInput = { this.groupCofListInput = {
xiReportValue: [], xiReportValue: [],
...@@ -1092,7 +1157,8 @@ export default { ...@@ -1092,7 +1157,8 @@ export default {
// saReportValue: [], // saReportValue: [],
// saPerReportValue: [], // saPerReportValue: [],
// scheduleReportValue: [], // scheduleReportValue: [],
zhanServerReportValue: [] zhanServerReportValue: [],
storeServerReportValue: []
} }
this.battleVisible = true this.battleVisible = true
// 编辑 // 编辑
...@@ -1143,7 +1209,8 @@ export default { ...@@ -1143,7 +1209,8 @@ export default {
// saReportValue: [{ name: '' }], // saReportValue: [{ name: '' }],
// saPerReportValue: [{ name: '' }], // saPerReportValue: [{ name: '' }],
// scheduleReportValue: [{ name: '' }], // scheduleReportValue: [{ name: '' }],
zhanServerReportValue: [{ name: '' }] zhanServerReportValue: [{ name: '' }],
storeServerReportValue: [{ name: '' }]
} }
} }
this.getDepartmentTree() this.getDepartmentTree()
...@@ -1160,7 +1227,8 @@ export default { ...@@ -1160,7 +1227,8 @@ export default {
// saReport: [], // saReport: [],
// saPerReport: [], // saPerReport: [],
// scheduleReport: [], // scheduleReport: [],
zhanServerReport: [] zhanServerReport: [],
storeServerReport: []
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!