Commit ebcb63e9 authored by zhangderong's avatar zhangderong

渠道模块添加编辑器

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