Commit ebd18fe4 by huaying

fix: 客户分组创建异常bug修复

parent f1868214
......@@ -1668,6 +1668,13 @@ export default {
},
handleFindWidgetData(res){
let data = res.result;
if(data.templateCode != 'tag011') {
setTimeout(()=>{
this.$emit('closeLoadings')
},1000)
}
for (let key in data) {
if (data.templateCode == 'com023') {
this[data.templateCode][key] = data[key];
......@@ -2149,6 +2156,7 @@ export default {
this.templateData[i].isAdd = false;
this.templateData[i].uuid = value;
this.loadSelector = true;
this.$emit('closeLoadings')
}
}
break;
......
......@@ -2,7 +2,7 @@
<div>
<!-- 添加标签、编辑标签 -->
<el-dialog :title="title" :visible.sync="showEditTagPop" top="10vh" width="900px" :before-close="handleClose" custom-class="edit-tag" :close-on-click-modal="false" append-to-body>
<div class="dialog-box">
<div class="dialog-box" v-loading="loadings">
<div class="tag-info">
<p class="tag-name">
{{ tagDataAssgin.tagName }}
......@@ -16,12 +16,12 @@
><div slot="content"><span style="font-weight:600">固定时段:</span>在所选时间段内与关联了好办导购账号的企微员工成为好友的;<br/><span style="font-weight:600">相对时段:</span>在“标签统计时间”(每天凌晨计算统计一次)的前X天/月/年与某员工成为好友的。例:选择相对时段为“最近2天”,那么系统在5号凌晨进行统计时,统计的是在3号、4号与某员工成为企微好友的用户;系统在6号凌晨统计时,统计的是在4号、5号与某员工成为企微好友的客户;</div><i class="iconfont icon-QuestionCircleOutlined"></i></el-tooltip></p>
<!-- 所有标签的配置项 -->
<div class="tag-config-options">
<tag-config-options v-if="isAddFlag" :creatorId="creatorId" :tagId="tagDataAssgin.tagId" :columnKey="tagDataAssgin.columnKey" ref="tagConfig" :templateDataList="templateObj" @returnTagData="returnTagData"></tag-config-options>
<tag-config-options v-if="isAddFlag" :creatorId="creatorId" :tagId="tagDataAssgin.tagId" :columnKey="tagDataAssgin.columnKey" ref="tagConfig" :templateDataList="templateObj" @returnTagData="returnTagData" @closeLoadings="loadings = false"></tag-config-options>
</div>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="handleClose">取 消</el-button>
<el-button ref="animationStart" type="primary" @click="handleSave" style="margin-bottom: 14px">确 定</el-button>
<el-button ref="animationStart" type="primary" @click="handleSave" style="margin-bottom: 14px" :loading="loadings">确 定</el-button>
</span>
</el-dialog>
<i id="aniIcon" class="iconfont icon-biaoqian aniIcon" :style="{ right: `${animationPos.x}px`, bottom: `${animationPos.y}px` }"></i>
......@@ -60,6 +60,7 @@ export default {
templateObj: {},
isAddFlag: false,
animationPos: {},
loadings: false
};
},
watch: {
......@@ -83,6 +84,8 @@ export default {
} catch(e) {
console.error(e);
}
}else{
this.loadings = true;
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment