Commit 04cd840b by caoyanzhi

update: 通话记录菜单调整

parent 60b15d94
......@@ -62,9 +62,9 @@ export default {
// breadcrumb() {
// return this.$store.state.marketing.breadcrumb;
// },
layoutTips() {
return this.$store.state.marketing.layoutTips;
},
// layoutTips() {
// return this.$store.state.marketing.layoutTips;
// },
showDescription() {
return (this.$route.path.indexOf('ecm/list') >= 0 && this.$store.state.marketing.xsxsFlag) || this.$route.path.indexOf('ecm/touch') >= 0;
}
......
......@@ -91,9 +91,6 @@ const mutations = {
}
}
},
mutations_layoutTips(state, val) {
state.layoutTips = val;
},
mutations_auth(state, { openFlag, showFlag }) {
state.isShowSelf = Boolean(showFlag);
state.openFlag = Boolean(openFlag);
......
<template>
<section class="dm-wrap" v-loading="loading">
<div class="tips">通话录音默认存储 3 天</div>
<div class="pb22 clearfix">
<el-date-picker v-model="dateTime" :picker-options="pickerOptions" class="w250" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="getTableList"></el-date-picker>
<el-select class="dm-select" clearable="" v-model="listParams.callStatus" placeholder="选择通话状态" @change="getTableList">
......@@ -94,24 +95,9 @@ export default {
}
};
},
mounted() {
this.$store.commit(
'mutations_layoutTips',
`<div class="layout--tips">
<i class="el-icon-info"></i>
通话录音默认存储3天。
</div>
`
);
},
created() {
this.$store.commit('aside_handler', false);
this.$store.commit('mutations_breadcrumb', [{ name: '会员管理', path: '' }, { name: '通话记录', path: '' }]); // eslint-disable-line
this.getTableList();
},
beforeDestroy() {
this.$store.commit('mutations_layoutTips', '');
},
methods: {
//列表请求
async getTableList() {
......@@ -137,3 +123,13 @@ export default {
}
};
</script>
<style lang="scss" scoped>
.tips {
margin-bottom: 20px;
font-size: 12px;
font-weight: 400;
color: #606266;
line-height: 17px;
}
</style>
......@@ -57,10 +57,6 @@ export default {
});
}
},
created() {
this.$store.commit('aside_handler', false);
this.$store.commit('mutations_breadcrumb', [{ name: '会员管理', path: '' }, { name: '通话记录', path: '/calllog/index' }, { name: '录音存储设置', path: '' }]); // eslint-disable-line
},
mounted() {
if (enableAccessControl()) {
alertInfo();
......
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