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
9adbe1a9
Commit
9adbe1a9
authored
May 31, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车辆预警消息
parent
ffbc494c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
237 additions
and
26 deletions
+237
-26
index.vue
src/views/vehicle/vehicleInfo/index.vue
+30
-3
index.vue
src/views/vehicle/vehicleWarningMsg/index.vue
+207
-23
No files found.
src/views/vehicle/vehicleInfo/index.vue
View file @
9adbe1a9
...
...
@@ -730,9 +730,16 @@
<el-input
v-model=
"upkeepForm.approvers"
placeholder=
"请输入保养审批人"
></el-input>
</el-form-item>
<el-form-item
label=
"分公司"
prop=
"branchCompanyId"
>
<el-select
class=
"filter-item"
v-model=
"upkeepForm.branchCompanyId"
placeholder=
"请选择分公司"
>
<el-option
v-for=
"item in allCompanies"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
<!--<el-select class="filter-item" v-model="upkeepForm.branchCompanyId" placeholder="请选择分公司">-->
<!--<el-option v-for="item in allCompanies" :key="item.id" :label="item.name" :value="item.id"></el-option>-->
<!--</el-select>-->
<el-autocomplete
class=
"inline-input"
v-model=
"upkeepForm.state1"
:fetch-suggestions=
"querySearch"
placeholder=
"请输入内容"
@
select=
"handleSelect"
></el-autocomplete>
</el-form-item>
<el-form-item
label=
"保养项目"
prop=
"upkeepItems"
>
<el-checkbox-group
v-model=
"upkeepForm.upkeepItems"
>
...
...
@@ -1124,6 +1131,7 @@
},
upkeepDialogVisible
:
false
,
upkeepForm
:
{
state1
:
""
,
vehicleId
:
null
,
numberPlate
:
null
,
operator
:
null
,
...
...
@@ -1410,6 +1418,9 @@
}
console
.
log
(
item
);
},
/**
* 保养结束
* */
upkeepEndHandler
(
row
)
{
console
.
dir
(
row
);
this
.
$confirm
(
'此操作将结束保养, 是否继续?'
,
'提示'
,
{
...
...
@@ -1457,7 +1468,21 @@
},
upkeepHandler
(
row
)
{
this
.
cleanUpkeepForm
();
this
.
upkeepForm
.
branchCompanyId
=
row
.
subordinateBranch
;
let
that
=
this
;
let
selectArry
=
[];
this
.
allCompaniesArr
.
map
(
function
(
item
){
item
.
value
=
item
.
name
;
selectArry
.
push
(
item
);
});
selectArry
.
map
(
function
(
iitem
)
{
if
(
row
.
subordinateBranch
==
iitem
.
id
){
that
.
upkeepForm
.
state1
=
iitem
.
name
;
}
});
this
.
upkeepForm
.
mileage
=
row
.
mileageLastUpdate
;
this
.
upkeepForm
.
vehicleId
=
row
.
id
;
this
.
upkeepForm
.
mileage
=
row
.
mileage
;
this
.
upkeepForm
.
numberPlate
=
row
.
numberPlate
;
this
.
upkeepDialogVisible
=
true
;
},
...
...
@@ -1468,6 +1493,7 @@
operator
:
null
,
date
:
null
,
mileage
:
null
,
state1
:
""
,
amount
:
null
,
approvers
:
null
,
branchCompanyId
:
null
,
...
...
@@ -1487,6 +1513,7 @@
this
.
arrivalDialogVisible
=
true
;
this
.
clearArrivalForm
();
this
.
arrivalForm
.
vehicleId
=
row
.
id
;
this
.
arrivalForm
.
mileage
=
row
.
mileage
;
this
.
arrivalForm
.
arrivalBranchCompanyId
=
row
.
subordinateBranch
;
let
that
=
this
;
let
selectArry
=
[];
...
...
src/views/vehicle/vehicleWarningMsg/index.vue
View file @
9adbe1a9
This diff is collapsed.
Click to expand it.
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