Commit ebcb63e9 authored by zhangderong's avatar zhangderong

渠道模块添加编辑器

parent be51ad81
......@@ -43,7 +43,7 @@
watch: {
value:function (value) {
this.editor.setData()
}
},
},
methods: {
init () {
......
......@@ -54,7 +54,7 @@ import localstorage from '../service/localstorage.service.js'
xiabiao:'',
itemSelect:'',
type:'',
levelOneName: '',
levelOneName: '1',
levelTwoName: ['1-1', '2-1', '3-1', '4-1'],
levelThreeName: '1-1-1',
menuList: [
......@@ -164,15 +164,15 @@ import localstorage from '../service/localstorage.service.js'
selectMenu(name, refesh) {
// // refesh是否为刷新页面
this.levelOneName = name
const menus = this.menuList.filter(v => name === v.name)[0]
this.childMenu = menus.child ? menus.child : this.menuList[0].child
const menus = this.menuList.filter(v => name === v.name)
this.childMenu = menus.length >0? menus[0].child : this.menuList[0].child
if (!refesh) { // 点击菜单默认展示第一个菜单
this.levelTwoName = []
let initName = this.getInitName(name, menus)
let initName = this.getInitName(name, menus[0])
this.levelTwoName.push(initName.levelTwoName)
this.levelThreeName = initName.levelThreeName
}
if (menus.loadMenu) { // 简历管理模块需要加载渠道简历
if (menus[0].loadMenu) { // 简历管理模块需要加载渠道简历
this.getChannelMenu()
}
if (refesh&&this.$route.path.indexOf('channel') > -1) {
......
......@@ -1023,7 +1023,6 @@ import ckeditor from '../../components/ckeditor'
if(sss==true){
this.emailIdArr.push(doID)
// this.emailId=doID
console.log(this.emailIdArr,1111111111)
this.delateARRALL.push(doID)
this.delateARRALL2.push(doID)
this.flowStatusarr.push(doStatus)
......@@ -1033,7 +1032,6 @@ import ckeditor from '../../components/ckeditor'
this.delateARRALL2.remove(doID)
this.flowStatusarr.remove(doStatus)
this.emailIdArr.remove(doID)
console.log(this.emailIdArr,222111111111)
}
},
//查看简历详情
......
This diff is collapsed.
This diff is collapsed.
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