Commit 8b31122e by 李长胜

修改

1 parent d8770c51
...@@ -178,8 +178,8 @@ ...@@ -178,8 +178,8 @@
</span> </span>
</div> </div>
</div> </div>
<!-- v-if="isShowBarMap" --> <!-- v-if="isShowBarMap" width="100%" -->
<multiple-echart width="100%" height="420px" :totalData="allMapList"></multiple-echart> <multiple-echart v-if="isReload" width="100%" height="420px" :totalData="allMapList"></multiple-echart>
</template> </template>
</div> </div>
<el-dialog title="提示" :visible.sync="dialogVisible" top="15vh" width="30%" :before-close="handleClose"> <el-dialog title="提示" :visible.sync="dialogVisible" top="15vh" width="30%" :before-close="handleClose">
...@@ -211,6 +211,7 @@ export default { ...@@ -211,6 +211,7 @@ export default {
}, },
data() { data() {
return { return {
isReload:true,
isShowModal: false, isShowModal: false,
isHasCustomerCountBanner: false, isHasCustomerCountBanner: false,
topDataObj: { topDataObj: {
...@@ -271,6 +272,13 @@ export default { ...@@ -271,6 +272,13 @@ export default {
mounted() { mounted() {
document.body.style.overflow = 'hidden' document.body.style.overflow = 'hidden'
var that =this;
window.addEventListener('resize', () => {
that.isReload=false
that.$nextTick(() => {
that.isReload=true
});
})
}, },
computed: { computed: {
isEmptyObj() { isEmptyObj() {
......
...@@ -153,13 +153,13 @@ ...@@ -153,13 +153,13 @@
<el-table-column prop="description" label="描述" align="center"></el-table-column> <el-table-column prop="description" label="描述" align="center"></el-table-column>
</el-table> --> </el-table> -->
<p> <p>
<span>所属客户群</span> <span>所属群聊</span>
<span>{{ clientGroupTableList.length || 0 }}个</span> <span>{{ clientGroupTableList.length || 0 }}个</span>
</p> </p>
<!-- <div>所属客户群表格,待定</div> --> <!-- <div>所属客户群表格,待定</div> -->
<!-- 3.所属客户群 --> <!-- 3.所属客户群/群聊 -->
<el-table :data="clientGroupTableList" style="width: 100%" :header-cell-style="{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }"> <el-table :data="clientGroupTableList" style="width: 100%" :header-cell-style="{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }">
<el-table-column label="客户群名称" align="center"> <el-table-column label="群聊名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.groupName || '群聊(默认)' }}</span> <span>{{ scope.row.groupName || '群聊(默认)' }}</span>
</template> </template>
......
...@@ -82,9 +82,8 @@ ...@@ -82,9 +82,8 @@
</el-select> </el-select>
<!-- id="tagTipMsgRef" --> <!-- id="tagTipMsgRef" -->
<span class="tagTipMsg" v-if="tagDialogTitle == '添加标签组' && !tagForm.initTagsGroup"> <span class="tagTipMsg" v-if="tagDialogTitle == '添加标签组' && !tagForm.initTagsGroup">
企业标签 企业标签<template v-if="!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))">和自店标签分别</template>
<template v-if="!((merchantModel == 2 && accountLevel == 4) || (merchantModel == 1 && accountLevel == 1))">和自店标签</template> 最多3000个
分别最多3000个
</span> </span>
<span class="tagTipMsg" v-if="tagDialogTitle == '添加标签组' && tagForm.initTagsGroup == 1"> <span class="tagTipMsg" v-if="tagDialogTitle == '添加标签组' && tagForm.initTagsGroup == 1">
企业标签已创建 企业标签已创建
...@@ -238,7 +237,7 @@ export default { ...@@ -238,7 +237,7 @@ export default {
tagVisible: false, tagVisible: false,
tagForm: { tagForm: {
tagsName: '', tagsName: '',
initTagsGroup: '', initTagsGroup: 1,
tagsList: [] tagsList: []
}, },
tagDialogData: [ tagDialogData: [
...@@ -425,7 +424,7 @@ export default { ...@@ -425,7 +424,7 @@ export default {
case 'create': case 'create':
this.tagDialogTitle = '添加标签组' this.tagDialogTitle = '添加标签组'
this.tagForm.tagsForm = '' this.tagForm.tagsForm = ''
this.tagForm.initTagsGroup = '' this.tagForm.initTagsGroup = 1//默认改成,企业标签
this.$set(this.tagDialogData[0], 'disabled', false) this.$set(this.tagDialogData[0], 'disabled', false)
this.handleClose() this.handleClose()
...@@ -511,7 +510,7 @@ export default { ...@@ -511,7 +510,7 @@ export default {
this.tagNameRules = false this.tagNameRules = false
if (!this.tagVisible && this.$refs.tagForm) { if (!this.tagVisible && this.$refs.tagForm) {
this.$refs.tagForm.$children[0].resetFields() this.$refs.tagForm.$children[0].resetFields()
this.tagForm.initTagsGroup = '' this.tagForm.initTagsGroup = 1
this.tagForm.tagsName = '' this.tagForm.tagsName = ''
// console.log(this.tagForm.initTagsGroup, '7777') // console.log(this.tagForm.initTagsGroup, '7777')
// console.log(this.tagForm, '内') // console.log(this.tagForm, '内')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!