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
bbe8c26f
Commit
bbe8c26f
authored
Oct 09, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询车辆
parent
1131f715
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
15 deletions
+62
-15
rentVehicle.js
src/api/order/rentVehicle.js
+2
-2
applyPage.vue
src/views/summit/model/applyPage.vue
+60
-13
No files found.
src/api/order/rentVehicle.js
View file @
bbe8c26f
...
@@ -67,14 +67,14 @@ export function saveOrderViolation(params) {
...
@@ -67,14 +67,14 @@ export function saveOrderViolation(params) {
*/
*/
export
function
getStep
(
orderNo
)
{
export
function
getStep
(
orderNo
)
{
return
fetch
({
return
fetch
({
url
:
'/
vehicle/vehicleInfo
/getByOrderId?orderNo='
+
orderNo
,
url
:
'/
api/order/orderVehicle
/getByOrderId?orderNo='
+
orderNo
,
method
:
'get'
method
:
'get'
});
});
}
}
export
function
inquire
(
query
)
{
export
function
inquire
(
query
)
{
return
fetch
({
return
fetch
({
url
:
'
api/order
/rent/back-stage/usable-vehicle'
,
url
:
'
/vehicle/vehicleInfo
/rent/back-stage/usable-vehicle'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
});
});
...
...
src/views/summit/model/applyPage.vue
View file @
bbe8c26f
<
template
>
<
template
>
<el-dialog
title=
"报名页面"
:visible
.
sync=
"applyInfo.dialogVisible"
class=
"order-details"
>
<el-dialog
title=
"报名页面"
:visible
.
sync=
"applyInfo.dialogVisible"
class=
"order-details"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"峰会主题:"
prop=
"name"
>
<UE
<UE
:editorId=
"activeName"
:editorId=
"activeName"
:defaultMsg=
"versionRow.content"
:defaultMsg=
"versionRow.content"
...
@@ -7,6 +15,26 @@
...
@@ -7,6 +15,26 @@
ref=
"ue"
ref=
"ue"
@
ready=
"editorReadyEvent"
@
ready=
"editorReadyEvent"
></UE>
></UE>
</el-form-item>
<el-form-item
label=
"诚邀莅临:"
prop=
"name"
>
<UE
:editorId=
"activeNameShare"
:defaultMsg=
"versionRow.share"
:config=
"config"
ref=
"ue"
@
ready=
"editorReadyEventShare"
></UE>
</el-form-item>
<el-form-item
label=
"公司简章:"
prop=
"name"
>
<UE
:editorId=
"activeNameFirm"
:defaultMsg=
"versionRow.contentFirm"
:config=
"config"
ref=
"ue"
@
ready=
"editorReadyEventFirm"
></UE>
</el-form-item>
</el-form>
</el-dialog>
</el-dialog>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -20,21 +48,24 @@ export default {
...
@@ -20,21 +48,24 @@ export default {
deep
:
true
//对象内部的属性监听,也叫深度监听
deep
:
true
//对象内部的属性监听,也叫深度监听
},
},
props
:
{
props
:
{
applyInfo
:
Object
applyInfo
:
Object
},
},
components
:
{
components
:
{
UE
UE
},
},
created
()
{
created
()
{},
console
.
log
(
this
.
applyInfo
);
},
data
()
{
data
()
{
return
{
return
{
rules
:
{},
ruleForm
:
{},
dialogVisible
:
false
,
dialogVisible
:
false
,
activeName
:
"first"
,
activeName
:
"first"
,
activeNameShare
:
"second"
,
activeNameFirm
:
"three"
,
versionRow
:
{
versionRow
:
{
content
:
""
content
:
""
,
share
:
""
,
contentFirm
:
""
},
},
config
:
{
config
:
{
initialFrameWidth
:
null
,
initialFrameWidth
:
null
,
...
@@ -50,6 +81,22 @@ export default {
...
@@ -50,6 +81,22 @@ export default {
t
.
versionRow
.
content
=
instance
.
getContent
();
t
.
versionRow
.
content
=
instance
.
getContent
();
}
}
});
});
},
editorReadyEventShare
(
instance
)
{
let
t
=
this
;
instance
.
addListener
(
"contentChange"
,
()
=>
{
if
(
t
.
activeNameShare
==
"second"
)
{
t
.
versionRow
.
share
=
instance
.
getContent
();
}
});
},
editorReadyEventFirm
(
instance
)
{
let
t
=
this
;
instance
.
addListener
(
"contentChange"
,
()
=>
{
if
(
t
.
activeNameFirm
==
"three"
)
{
t
.
versionRow
.
contentFirm
=
instance
.
getContent
();
}
});
}
}
}
}
};
};
...
...
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