Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
0093d25f
Commit
0093d25f
authored
Jul 16, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default Changelist
parent
acd62fd6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
11 deletions
+25
-11
oneCampsiteModal.vue
src/views/campsiteManage/modal/oneCampsiteModal.vue
+2
-2
Ueditor.vue
src/views/modal/Ueditor.vue
+2
-2
oneType.vue
src/views/vehicleType/modal/oneType.vue
+21
-7
No files found.
src/views/campsiteManage/modal/oneCampsiteModal.vue
View file @
0093d25f
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
}
}
</
style
>
</
style
>
<
script
>
<
script
>
import
Editor
from
"../../modal/editorTool"
;
//富文本
//
import Editor from "../../modal/editorTool";//富文本
import
UE
from
'../../modal/Ueditor'
;
//百度ue富文本
import
UE
from
'../../modal/Ueditor'
;
//百度ue富文本
import
campsiteLabelModal
from
"../../tourManage/modal/tourLabelModal"
;
//标签
import
campsiteLabelModal
from
"../../tourManage/modal/tourLabelModal"
;
//标签
import
campsiteModal
from
"./campsiteModal"
;
//营地地址
import
campsiteModal
from
"./campsiteModal"
;
//营地地址
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
props
:
[
"oneRow"
,
"title"
],
props
:
[
"oneRow"
,
"title"
],
name
:
'upkeepDialog'
,
name
:
'upkeepDialog'
,
components
:
{
components
:
{
Editor
,
//
Editor,
UE
,
UE
,
campsiteModal
,
campsiteModal
,
campsiteLabelModal
campsiteLabelModal
...
...
src/views/modal/Ueditor.vue
View file @
0093d25f
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
},
},
editorId
:{}
editorId
:{}
},
},
mounted
()
{
debugger
mounted
()
{
const
_this
=
this
;
const
_this
=
this
;
this
.
editor
=
UE
.
getEditor
(
this
.
editorId
,
this
.
config
);
// 初始化UE
this
.
editor
=
UE
.
getEditor
(
this
.
editorId
,
this
.
config
);
// 初始化UE
this
.
editor
.
addListener
(
"ready"
,
function
()
{
debugger
this
.
editor
.
addListener
(
"ready"
,
function
()
{
_this
.
editor
.
setContent
(
_this
.
defaultMsg
);
// 确保UE加载完成后,放入内容。
_this
.
editor
.
setContent
(
_this
.
defaultMsg
);
// 确保UE加载完成后,放入内容。
_this
.
$emit
(
'ready'
,
_this
.
editor
);
_this
.
$emit
(
'ready'
,
_this
.
editor
);
});
});
...
...
src/views/vehicleType/modal/oneType.vue
View file @
0093d25f
...
@@ -147,9 +147,15 @@
...
@@ -147,9 +147,15 @@
<el-button
v-if=
"fileList2.length
<5
"
size=
"small"
type=
"primary"
>
点击上传
</el-button>
<el-button
v-if=
"fileList2.length
<5
"
size=
"small"
type=
"primary"
>
点击上传
</el-button>
</el-upload>
</el-upload>
</el-form-item>
</el-form-item>
<el-form-item
label=
"车型详情"
>
<Editor
@
input=
"handelIncrease"
:value=
"form.modelsDetails"
:myQuillEditor=
"'myQuillEditor'"
></Editor>
<el-tabs
v-model=
"activeName2"
type=
"card"
>
</el-form-item>
<el-tab-pane
label=
"车型详情"
name=
"first"
>
<!--
<Editor
@
input=
"handelIncrease"
:value=
"form.modelsDetails"
:myQuillEditor=
"'myQuillEditor'"
></Editor>
-->
<div
class=
"editor-container"
>
<UE
:editorId=
"activeName2"
:defaultMsg=
"form.modelsDetails"
:config=
config
ref=
"ue"
@
ready=
"editorReadyEvent"
></UE>
</div>
</el-tab-pane>
</el-tabs>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
...
@@ -192,6 +198,9 @@
...
@@ -192,6 +198,9 @@
</div>
</div>
</
template
>
</
template
>
<
style
>
<
style
>
textarea
{
display
:
none
;
}
.el-upload-list
{
.el-upload-list
{
display
:
flex
;
display
:
flex
;
width
:
100px
;
width
:
100px
;
...
@@ -201,7 +210,8 @@
...
@@ -201,7 +210,8 @@
}
}
</
style
>
</
style
>
<
script
>
<
script
>
import
Editor
from
"../../modal/editorTool"
;
//富文本
// import Editor from "../../modal/editorTool";//富文本
import
UE
from
'../../modal/Ueditor'
;
//百度ue富文本
import
{
import
{
getOneTypeById
,
getOneTypeById
,
getAllParentLabel
,
getAllParentLabel
,
...
@@ -227,12 +237,13 @@
...
@@ -227,12 +237,13 @@
ElFormItem
,
ElFormItem
,
ElCol
,
ElCol
,
ElRow
,
ElRow
,
Editor
UE
},
},
data
()
{
data
()
{
return
{
return
{
labelList
:[],
//全部车型标签
labelList
:[],
//全部车型标签
fileList2
:[],
fileList2
:[],
activeName2
:
'first'
,
//房车详情
form
:
{
form
:
{
pPrice
:
0
,
//普通会员
pPrice
:
0
,
//普通会员
hPrice
:
0
,
//黄金会员
hPrice
:
0
,
//黄金会员
...
@@ -721,8 +732,11 @@
...
@@ -721,8 +732,11 @@
* 富文本内容
* 富文本内容
* @param step
* @param step
*/
*/
handelIncrease
(
step
)
{
editorReadyEvent
(
instance
){
this
.
form
.
modelsDetails
=
step
;
let
t
=
this
;
instance
.
addListener
(
'contentChange'
,
()
=>
{
t
.
form
.
modelsDetails
=
instance
.
getContent
();
});
},
},
/**
/**
* 删除banner
* 删除banner
...
...
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