Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
recruiting-management
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
recruiting-management
Commits
7574437d
Commit
7574437d
authored
Sep 05, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑器显示问题
parent
603a3055
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
4 deletions
+20
-4
ckeditor.vue
src/components/ckeditor.vue
+10
-2
editor.vue
src/components/editor.vue
+1
-0
allResume.vue
src/page/resume/allResume.vue
+5
-2
index.js
src/router/index.js
+4
-0
No files found.
src/components/ckeditor.vue
View file @
7574437d
<
template
>
<
template
>
<div>
<div>
<textarea
id=
"editor"
rows=
"10"
cols=
"80"
v-model=
'value'
></textarea>
<textarea
id=
"editor"
rows=
"10"
cols=
"80"
v-model=
"editorValue"
></textarea>
</div>
</div>
</
template
>
</
template
>
<
script
type=
"text/ecmascript-6"
>
<
script
type=
"text/ecmascript-6"
>
...
@@ -30,10 +30,13 @@
...
@@ -30,10 +30,13 @@
}
}
},
},
data
()
{
data
()
{
return
{};
return
{
editorValue
:
this
.
value
};
},
},
mounted
()
{
mounted
()
{
this
.
init
()
this
.
init
()
console
.
log
(
3
,
this
.
value
)
},
},
beforeDestroy
()
{
beforeDestroy
()
{
},
},
...
@@ -56,6 +59,11 @@
...
@@ -56,6 +59,11 @@
});
});
}
}
},
},
watch
:{
value
:
function
(
value
)
{
this
.
editor
.
setData
(
value
)
}
},
components
:
{}
components
:
{}
};
};
</
script
>
</
script
>
...
...
src/components/editor.vue
View file @
7574437d
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
}
}
}
}
},
},
watch
:{},
components
:
{
components
:
{
editor
editor
},
},
...
...
src/page/resume/allResume.vue
View file @
7574437d
...
@@ -329,7 +329,7 @@
...
@@ -329,7 +329,7 @@
</div>
</div>
</div>
</div>
<div
class=
"ckeditor"
>
<div
class=
"ckeditor"
>
<ckeditor
height=
'100%'
>
{{
emailInline
.
templateContent
}}
</ckeditor>
<ckeditor
:value=
'sad'
:uploadUrl=
'uploadurl'
>
</ckeditor>
</div>
</div>
<div
class=
"uploadEnclosure"
>
<div
class=
"uploadEnclosure"
>
<p><span>
添加附件
</span><span
style=
"margin-left:10px"
>
<p><span>
添加附件
</span><span
style=
"margin-left:10px"
>
...
@@ -364,6 +364,7 @@ import ckeditor from '../../components/ckeditor'
...
@@ -364,6 +364,7 @@ import ckeditor from '../../components/ckeditor'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
sad
:
''
,
ruleInline
:
{
ruleInline
:
{
UpdateOWER
:
[
UpdateOWER
:
[
{
required
:
true
,
message
:
'
邀约人不能为空
'
,
trigger
:
'
blur
'
}
{
required
:
true
,
message
:
'
邀约人不能为空
'
,
trigger
:
'
blur
'
}
...
@@ -388,6 +389,7 @@ import ckeditor from '../../components/ckeditor'
...
@@ -388,6 +389,7 @@ import ckeditor from '../../components/ckeditor'
Enclosure
:[],
//附件
Enclosure
:[],
//附件
templateContent
:
''
,
//模板内容
templateContent
:
''
,
//模板内容
},
},
uploadurl
:
''
,
isShowAll
:
false
,
isShowAll
:
false
,
RescopyArr
:[],
RescopyArr
:[],
interelement
:
'
1
'
,
interelement
:
'
1
'
,
...
@@ -1190,7 +1192,8 @@ import ckeditor from '../../components/ckeditor'
...
@@ -1190,7 +1192,8 @@ import ckeditor from '../../components/ckeditor'
this
.
emailInline
.
theme
=
res
.
data
.
body
.
templateSubject
this
.
emailInline
.
theme
=
res
.
data
.
body
.
templateSubject
this
.
emailInline
.
receiveEmail
=
res
.
data
.
body
.
receiveEmail
this
.
emailInline
.
receiveEmail
=
res
.
data
.
body
.
receiveEmail
this
.
emailInline
.
templateContent
=
res
.
data
.
body
.
templateContent
this
.
emailInline
.
templateContent
=
res
.
data
.
body
.
templateContent
console
.
log
(
this
.
emailInline
.
templateContent
,
888888888888888
)
this
.
sad
=
this
.
emailInline
.
templateContent
console
.
log
(
this
.
sad
)
})
})
},
},
...
...
src/router/index.js
View file @
7574437d
...
@@ -31,6 +31,10 @@ export default new Router({
...
@@ -31,6 +31,10 @@ export default new Router({
path
:
'
/login
'
,
path
:
'
/login
'
,
name
:
'
login
'
,
name
:
'
login
'
,
component
:
login
,},
component
:
login
,},
{
path
:
'
/sweepCode
'
,
name
:
'
sweepCode
'
,
component
:
sweepCode
,},
{
{
path
:
'
/update
'
,
path
:
'
/update
'
,
name
:
'
update
'
,
name
:
'
update
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment