Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
maintain_service
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘帅
maintain_service
Commits
a0086b84
Commit
a0086b84
authored
Jan 26, 2026
by
刘帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.新增报表
2.车辆管理新增分公司、车队、线路字段
parent
e72e5471
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
138 additions
and
0 deletions
+138
-0
ErpCar.java
...ss/src/main/java/com/maintain/business/domain/ErpCar.java
+15
-0
ErpCarBo.java
...c/main/java/com/maintain/business/domain/bo/ErpCarBo.java
+14
-0
ErpCarVo.java
...c/main/java/com/maintain/business/domain/vo/ErpCarVo.java
+18
-0
index.vue
maintain-ui/src/views/business/car/index.vue
+18
-0
accidentVehicleMaintenanceStatistics.vue
.../business/report/accidentVehicleMaintenanceStatistics.vue
+37
-0
maintenanceRevenueStatistics.vue
...rc/views/business/report/maintenanceRevenueStatistics.vue
+36
-0
No files found.
maintain-business/src/main/java/com/maintain/business/domain/ErpCar.java
View file @
a0086b84
...
...
@@ -62,4 +62,19 @@ public class ErpCar extends BaseEntity {
*/
private
Long
carTypeId
;
/**
* 分公司
*/
private
String
branchOffice
;
/**
* 车队
*/
private
String
motorcade
;
/**
* 线路
*/
private
String
line
;
}
maintain-business/src/main/java/com/maintain/business/domain/bo/ErpCarBo.java
View file @
a0086b84
...
...
@@ -82,5 +82,19 @@ public class ErpCarBo extends BaseEntity {
*/
private
Date
createTime
;
/**
* 分公司
*/
private
String
branchOffice
;
/**
* 车队
*/
private
String
motorcade
;
/**
* 线路
*/
private
String
line
;
}
maintain-business/src/main/java/com/maintain/business/domain/vo/ErpCarVo.java
View file @
a0086b84
...
...
@@ -110,4 +110,22 @@ public class ErpCarVo implements Serializable {
@ColumnWidth
(
20
)
private
Date
createTime
;
/**
* 分公司
*/
@ExcelProperty
(
value
=
"分公司"
)
private
String
branchOffice
;
/**
* 车队
*/
@ExcelProperty
(
value
=
"车队"
)
private
String
motorcade
;
/**
* 线路
*/
@ExcelProperty
(
value
=
"线路"
)
private
String
line
;
}
maintain-ui/src/views/business/car/index.vue
View file @
a0086b84
...
...
@@ -213,6 +213,24 @@
<el-form-item label="车型ID" prop="carTypeId">
<el-input v-model="form.carTypeId" placeholder="请输入车型ID" />
</el-form-item> -->
<div
class=
"app-title"
>
车队信息
</div>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"分公司"
prop=
"branchOffice"
>
<el-input
v-model=
"form.branchOffice"
placeholder=
"请输入分公司"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"车队"
prop=
"motorcade"
>
<el-input
v-model=
"form.motorcade"
placeholder=
"请输入车队"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"线路"
prop=
"line"
>
<el-input
v-model=
"form.line"
placeholder=
"请输入线路"
/>
</el-form-item>
</el-col>
</el-row>
<div
class=
"app-title"
>
关联车型信息
</div>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
...
...
maintain-ui/src/views/business/report/accidentVehicleMaintenanceStatistics.vue
0 → 100644
View file @
a0086b84
<
template
>
<i-frame
:src=
"url"
/>
</
template
>
<
script
>
import
{
getToken
}
from
'
@/utils/auth
'
import
{
getBiUrl
}
from
'
@/api/tool/jimu
'
import
iFrame
from
'
@/components/iFrame/index.vue
'
import
{
getCurrentDeptTree
}
from
"
@/api/business/unit
"
;
export
default
{
name
:
"
orderInfo
"
,
components
:
{
iFrame
},
data
()
{
return
{
url
:
''
}
},
created
()
{
this
.
init
()
},
methods
:
{
init
()
{
getCurrentDeptTree
().
then
(
response
=>
{
let
deptIds
=
response
.
data
.
map
((
item
)
=>
{
return
item
.
deptId
})
console
.
log
(
'
deptIds
'
,
deptIds
.
join
(
'
,
'
))
this
.
url
=
`http://
${
window
.
location
.
hostname
}
:8099/jmreport/view/1174907222744879104?token=Bearer `
+
getToken
()
console
.
log
(
'
url
'
,
this
.
url
)
});
},
}
}
</
script
>
maintain-ui/src/views/business/report/maintenanceRevenueStatistics.vue
0 → 100644
View file @
a0086b84
<
template
>
<i-frame
:src=
"url"
/>
</
template
>
<
script
>
import
{
getToken
}
from
'
@/utils/auth
'
import
iFrame
from
'
@/components/iFrame/index.vue
'
import
{
getCurrentDeptTree
}
from
"
@/api/business/unit
"
;
export
default
{
name
:
"
orderInfo
"
,
components
:
{
iFrame
},
data
()
{
return
{
url
:
''
}
},
created
()
{
this
.
init
()
},
methods
:
{
init
()
{
getCurrentDeptTree
().
then
(
response
=>
{
let
deptIds
=
response
.
data
.
map
((
item
)
=>
{
return
item
.
deptId
})
console
.
log
(
'
deptIds
'
,
deptIds
.
join
(
'
,
'
))
this
.
url
=
`http://
${
window
.
location
.
hostname
}
:8099/jmreport/view/1174586035611238400?deptId=
${
this
.
$store
.
state
.
user
.
userInfo
.
deptId
}
&deptIds=
${
deptIds
.
join
(
'
,
'
)}
&token=Bearer `
+
getToken
()
console
.
log
(
'
url
'
,
this
.
url
)
});
},
}
}
</
script
>
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