Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
902d9910
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1195
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
902d9910
编写于
6月 28, 2023
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
车辆管理托管到表单布局
上级
e27b9923
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
3 addition
and
973 deletion
+3
-973
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageAdd.js
...n/resources/template/js/vehicleManage/vehicleManageAdd.js
+0
-99
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageDetails.js
...sources/template/js/vehicleManage/vehicleManageDetails.js
+0
-34
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageEdit.js
.../resources/template/js/vehicleManage/vehicleManageEdit.js
+0
-118
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageList.js
.../resources/template/js/vehicleManage/vehicleManageList.js
+0
-190
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageAdd.html
...esources/template/tpl/vehicleManage/vehicleManageAdd.html
+0
-147
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageDetails.html
...rces/template/tpl/vehicleManage/vehicleManageDetails.html
+0
-21
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageDetailsTemplate.tpl
...mplate/tpl/vehicleManage/vehicleManageDetailsTemplate.tpl
+0
-128
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageEdit.html
...sources/template/tpl/vehicleManage/vehicleManageEdit.html
+0
-21
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageEditTemplate.tpl
.../template/tpl/vehicleManage/vehicleManageEditTemplate.tpl
+0
-128
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageList.html
...sources/template/tpl/vehicleManage/vehicleManageList.html
+0
-86
web/src/main/resources/template/assets/lib/layui/layui.js
web/src/main/resources/template/assets/lib/layui/layui.js
+1
-0
web/src/main/resources/template/json/skyeyeClassEnum.json
web/src/main/resources/template/json/skyeyeClassEnum.json
+2
-1
未找到文件。
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageAdd.js
已删除
100644 → 0
浏览文件 @
e27b9923
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
// 车辆信息
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
fileUpload
'
,
'
tagEditor
'
,
'
laydate
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
laydate
=
layui
.
laydate
;
// 初始化上传
$
(
"
#vehicleImg
"
).
upload
(
systemCommonUtil
.
uploadCommon003Config
(
'
vehicleImg
'
,
6
,
''
,
1
));
// 生产日期
laydate
.
render
({
elem
:
'
#manufactureTime
'
,
type
:
'
date
'
,
max
:
getYMDFormatDate
(),
trigger
:
'
click
'
});
// 采购日期
laydate
.
render
({
elem
:
'
#purchaseTime
'
,
type
:
'
date
'
,
max
:
getYMDFormatDate
(),
trigger
:
'
click
'
});
// 下次年检时间
laydate
.
render
({
elem
:
'
#nextInspectionTime
'
,
type
:
'
date
'
,
trigger
:
'
click
'
});
// 保险截止期限
laydate
.
render
({
elem
:
'
#insuranceDeadline
'
,
type
:
'
date
'
,
trigger
:
'
click
'
});
// 上次保养日期
laydate
.
render
({
elem
:
'
#prevMaintainTime
'
,
type
:
'
date
'
,
trigger
:
'
click
'
});
skyeyeEnclosure
.
init
(
'
enclosureUpload
'
);
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
vehicleName
:
$
(
"
#vehicleName
"
).
val
(),
licensePlate
:
$
(
"
#licensePlate
"
).
val
(),
specifications
:
$
(
"
#specifications
"
).
val
(),
oilConsumption
:
$
(
"
#oilConsumption
"
).
val
(),
unitPrice
:
$
(
"
#unitPrice
"
).
val
(),
vehicleColor
:
$
(
"
#vehicleColor
"
).
val
(),
manufacturer
:
$
(
"
#manufacturer
"
).
val
(),
manufactureTime
:
$
(
"
#manufactureTime
"
).
val
(),
supplier
:
$
(
"
#supplier
"
).
val
(),
purchaseTime
:
$
(
"
#purchaseTime
"
).
val
(),
engineNumber
:
$
(
"
#engineNumber
"
).
val
(),
frameNumber
:
$
(
"
#frameNumber
"
).
val
(),
storageArea
:
$
(
"
#storageArea
"
).
val
(),
roomAddDesc
:
$
(
"
#roomAddDesc
"
).
val
(),
nextInspectionTime
:
$
(
"
#nextInspectionTime
"
).
val
(),
insuranceDeadline
:
$
(
"
#insuranceDeadline
"
).
val
(),
prevMaintainTime
:
$
(
"
#prevMaintainTime
"
).
val
(),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
vehicleAdmin
:
systemCommonUtil
.
tagEditorGetItemData
(
'
vehicleAdmin
'
,
userList
)
};
params
.
vehicleImg
=
$
(
"
#vehicleImg
"
).
find
(
"
input[type='hidden'][name='upload']
"
).
attr
(
"
oldurl
"
);
if
(
isNull
(
params
.
vehicleImg
))
{
winui
.
window
.
msg
(
'
请上传车辆图片
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
vehicle002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
// 车辆管理人
$
(
'
#vehicleAdmin
'
).
tagEditor
({
initialTags
:
[],
placeholder
:
'
请选择车辆管理人
'
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
}
});
// 车辆管理人选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
vehicleAdmin
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageDetails.js
已删除
100644 → 0
浏览文件 @
e27b9923
// 车辆信息详情
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
vehicle007
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/vehicleManage/vehicleManageDetailsTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
$
(
"
#vehicleImg
"
).
attr
(
"
src
"
,
fileBasePath
+
json
.
bean
.
vehicleImg
);
// 附件回显
skyeyeEnclosure
.
showDetails
({
"
enclosureUpload
"
:
json
.
bean
.
enclosureInfo
});
matchingLanguage
();
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#vehicleImg
"
,
function
()
{
systemCommonUtil
.
showPicImg
(
$
(
this
).
attr
(
"
src
"
));
});
});
});
\ No newline at end of file
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageEdit.js
已删除
100644 → 0
浏览文件 @
e27b9923
var
userList
=
new
Array
();
//选择用户返回的集合或者进行回显的集合
// 车辆信息
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
fileUpload
'
,
'
tagEditor
'
,
'
laydate
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
laydate
=
layui
.
laydate
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
vehicle008
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/vehicleManage/vehicleManageEditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
// 生产日期
laydate
.
render
({
elem
:
'
#manufactureTime
'
,
type
:
'
date
'
,
max
:
getYMDFormatDate
(),
trigger
:
'
click
'
});
// 采购日期
laydate
.
render
({
elem
:
'
#purchaseTime
'
,
type
:
'
date
'
,
max
:
getYMDFormatDate
(),
trigger
:
'
click
'
});
// 下次年检时间
laydate
.
render
({
elem
:
'
#nextInspectionTime
'
,
type
:
'
date
'
,
trigger
:
'
click
'
});
// 保险截止期限
laydate
.
render
({
elem
:
'
#insuranceDeadline
'
,
type
:
'
date
'
,
trigger
:
'
click
'
});
// 上次保养日期
laydate
.
render
({
elem
:
'
#prevMaintainTime
'
,
type
:
'
date
'
,
trigger
:
'
click
'
});
// 初始化上传
$
(
"
#vehicleImg
"
).
upload
(
systemCommonUtil
.
uploadCommon003Config
(
'
vehicleImg
'
,
6
,
json
.
bean
.
vehicleImg
,
1
));
var
userNames
=
[];
userList
=
[].
concat
(
json
.
bean
.
vehicleAdmin
);
$
.
each
(
json
.
bean
.
vehicleAdmin
,
function
(
i
,
item
)
{
userNames
.
push
(
item
.
name
);
});
// 管理人员选择
$
(
'
#vehicleAdmin
'
).
tagEditor
({
initialTags
:
userNames
,
placeholder
:
'
请选择车辆管理人
'
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
userList
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
userList
,
val
));
}
});
// 附件回显
skyeyeEnclosure
.
initTypeISData
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rowId
:
parent
.
rowId
,
vehicleName
:
$
(
"
#vehicleName
"
).
val
(),
licensePlate
:
$
(
"
#licensePlate
"
).
val
(),
specifications
:
$
(
"
#specifications
"
).
val
(),
oilConsumption
:
$
(
"
#oilConsumption
"
).
val
(),
unitPrice
:
$
(
"
#unitPrice
"
).
val
(),
vehicleColor
:
$
(
"
#vehicleColor
"
).
val
(),
manufacturer
:
$
(
"
#manufacturer
"
).
val
(),
manufactureTime
:
$
(
"
#manufactureTime
"
).
val
(),
supplier
:
$
(
"
#supplier
"
).
val
(),
purchaseTime
:
$
(
"
#purchaseTime
"
).
val
(),
engineNumber
:
$
(
"
#engineNumber
"
).
val
(),
frameNumber
:
$
(
"
#frameNumber
"
).
val
(),
storageArea
:
$
(
"
#storageArea
"
).
val
(),
roomAddDesc
:
$
(
"
#roomAddDesc
"
).
val
(),
nextInspectionTime
:
$
(
"
#nextInspectionTime
"
).
val
(),
insuranceDeadline
:
$
(
"
#insuranceDeadline
"
).
val
(),
prevMaintainTime
:
$
(
"
#prevMaintainTime
"
).
val
(),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
vehicleAdmin
:
systemCommonUtil
.
tagEditorGetItemData
(
'
vehicleAdmin
'
,
userList
),
vehicleImg
:
$
(
"
#vehicleImg
"
).
find
(
"
input[type='hidden'][name='upload']
"
).
attr
(
"
oldurl
"
)
};
if
(
isNull
(
params
.
vehicleImg
)){
winui
.
window
.
msg
(
'
请上传车辆图片
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
vehicle009
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
// 管理人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
#userNameSelPeople
"
,
function
(
e
)
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
userList
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
)
{
// 重置数据
userList
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
vehicleAdmin
'
,
userReturnList
));
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
admin-assistant/src/main/resources/template/js/vehicleManage/vehicleManageList.js
已删除
100644 → 0
浏览文件 @
e27b9923
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
,
laydate
=
layui
.
laydate
;
// 新增车辆
authBtn
(
'
1565850421887
'
);
showVehicleList
();
// 车辆信息管理
function
showVehicleList
(){
table
.
render
({
id
:
'
vehicleTable
'
,
elem
:
'
#vehicleTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
"
vehicle001
"
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
vehicleName
'
,
title
:
'
名称
'
,
width
:
170
,
templet
:
function
(
d
)
{
return
'
<a lay-event="vehicledetails" class="notice-title-click">
'
+
d
.
vehicleName
+
'
</a>
'
;
}},
{
field
:
'
vehicleImg
'
,
title
:
'
图片
'
,
align
:
'
center
'
,
width
:
60
,
templet
:
function
(
d
)
{
if
(
isNull
(
d
.
vehicleImg
)){
return
'
<img src="../../assets/images/os_windows.png" class="photo-img">
'
;
}
else
{
return
'
<img src="
'
+
fileBasePath
+
d
.
vehicleImg
+
'
" class="photo-img" lay-event="vehicleImg">
'
;
}
}},
{
field
:
'
licensePlate
'
,
title
:
'
车牌
'
,
align
:
'
center
'
,
width
:
120
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
80
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
'
1
'
){
return
"
<span class='state-up'>正常</span>
"
;
}
else
if
(
d
.
state
==
'
2
'
){
return
"
<span class='state-down'>维修</span>
"
;
}
else
if
(
d
.
state
==
'
3
'
){
return
"
<span class='state-down'>报废</span>
"
;
}
else
{
return
"
参数错误
"
;
}
}},
{
field
:
'
nextInspectionTime
'
,
title
:
'
下次年检日期
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
insuranceDeadline
'
,
title
:
'
保险截止日期
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
prevMaintainTime
'
,
title
:
'
上次保养日期
'
,
align
:
'
center
'
,
width
:
100
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
220
,
toolbar
:
'
#vehicletableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
}
table
.
on
(
'
tool(vehicleTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
vehiclerepair
'
)
{
// 维修
vehiclerepair
(
data
);
}
else
if
(
layEvent
===
'
vehicleImg
'
)
{
// 图片预览
systemCommonUtil
.
showPicImg
(
fileBasePath
+
data
.
vehicleImg
);
}
else
if
(
layEvent
===
'
vehicledetails
'
)
{
// 详情
vehicledetails
(
data
);
}
else
if
(
layEvent
===
'
vehiclescrap
'
)
{
// 报废
vehiclescrap
(
data
);
}
else
if
(
layEvent
===
'
vehiclenormal
'
)
{
// 恢复正常
vehiclenormal
(
data
);
}
else
if
(
layEvent
===
'
vehicledelet
'
)
{
// 删除
vehicledelet
(
data
);
}
else
if
(
layEvent
===
'
vehicleedit
'
)
{
// 编辑
vehicleedit
(
data
);
}
});
// 车辆详情
function
vehicledetails
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/vehicleManage/vehicleManageDetails.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
vehicleManageDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
// 车辆维修
function
vehiclerepair
(
data
)
{
layer
.
confirm
(
'
确认维修该车辆吗?
'
,
{
icon
:
3
,
title
:
'
维修操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
vehicle005
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadVehicleTable
();
}});
});
}
// 车辆报废
function
vehiclescrap
(
data
)
{
layer
.
confirm
(
'
确认报废该车辆吗?
'
,
{
icon
:
3
,
title
:
'
报废操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
vehicle006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadVehicleTable
();
}});
});
}
// 车辆恢复正常
function
vehiclenormal
(
data
)
{
layer
.
confirm
(
'
确认对该车辆恢复正常吗?
'
,
{
icon
:
3
,
title
:
'
恢复操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
vehicle004
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadVehicleTable
();
}});
});
}
// 删除车辆
function
vehicledelet
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
vehicle003
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadVehicleTable
();
}});
});
}
// 登记车辆
$
(
"
body
"
).
on
(
"
click
"
,
"
#addVehicleBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/vehicleManage/vehicleManageAdd.html
"
,
title
:
"
登记车辆
"
,
pageId
:
"
vehicleManageAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadVehicleTable
();
}});
});
// 编辑车辆
function
vehicleedit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/vehicleManage/vehicleManageEdit.html
"
,
title
:
"
编辑车辆
"
,
pageId
:
"
vehicleManageEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadVehicleTable
();
}});
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadVehicleTable
"
,
function
()
{
loadVehicleTable
();
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#vehicleformSearch
"
,
function
()
{
table
.
reloadData
(
"
vehicleTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
function
loadVehicleTable
(){
table
.
reloadData
(
"
vehicleTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
vehicleName
:
$
(
"
#vehicleName
"
).
val
(),
licensePlate
:
$
(
"
#licensePlate
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()
};
}
exports
(
'
vehicleManageList
'
,
{});
});
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageAdd.html
已删除
100644 → 0
浏览文件 @
e27b9923
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
车辆名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"vehicleName"
name=
"vehicleName"
win-verify=
"required"
placeholder=
"请输入车辆名称"
class=
"layui-input"
maxlength=
"25"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
新增的车辆,状态默认为正常。
</div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
图片
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<div
class=
"upload"
id=
"vehicleImg"
></div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
车牌
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"licensePlate"
name=
"licensePlate"
win-verify=
"required"
placeholder=
"请输入车辆车牌号"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
车辆规格
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"specifications"
name=
"specifications"
win-verify=
"required|number"
placeholder=
"请输入车辆准载人数"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
油耗
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"oilConsumption"
name=
"oilConsumption"
placeholder=
"请输入油耗(km/L)"
class=
"layui-input"
win-verify=
"double"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
单价
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"unitPrice"
name=
"unitPrice"
placeholder=
"请输入单价(元)"
class=
"layui-input"
win-verify=
"money"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
车辆颜色
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"vehicleColor"
name=
"vehicleColor"
placeholder=
"请输入车辆颜色"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
生产商
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"manufacturer"
name=
"manufacturer"
placeholder=
"请输入生产商"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
供应商
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"supplier"
name=
"supplier"
placeholder=
"请输入供应商"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
生产日期
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"manufactureTime"
name=
"manufactureTime"
placeholder=
"请选择生产日期"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
采购日期
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"purchaseTime"
name=
"purchaseTime"
placeholder=
"请选择采购日期"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
发动机号
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"engineNumber"
name=
"engineNumber"
placeholder=
"请输入发动机号"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
车架号
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"frameNumber"
name=
"frameNumber"
placeholder=
"请输入车架号"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
存放区域
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"storageArea"
name=
"storageArea"
placeholder=
"请输入存放区域"
class=
"layui-input"
maxlength=
"50"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
管理人
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"vehicleAdmin"
name=
"vehicleAdmin"
placeholder=
"请选择管理人员"
class=
"layui-input"
/>
<i
class=
"fa fa-user-plus input-icon"
id=
"userNameSelPeople"
></i>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
下次年检时间
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"nextInspectionTime"
name=
"nextInspectionTime"
placeholder=
"请选择下次年检时间"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
保险截止期限
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"insuranceDeadline"
name=
"insuranceDeadline"
placeholder=
"请选择保险截止期限"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
上次保养日期
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"prevMaintainTime"
name=
"prevMaintainTime"
placeholder=
"请选择上次保养日期"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
附加描述:
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"roomAddDesc"
name=
"roomAddDesc"
placeholder=
"请输入附加描述"
class=
"layui-textarea"
style=
"height: 100px;"
maxlength=
"200"
></textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
相关附件
</label>
<div
class=
"layui-input-block"
id=
"enclosureUpload"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/vehicleManage/
'
}).
use
(
'
vehicleManageAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageDetails.html
已删除
100644 → 0
浏览文件 @
e27b9923
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/vehicleManage/
'
}).
use
(
'
vehicleManageDetails
'
);
</script>
</body>
</html>
\ No newline at end of file
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageDetailsTemplate.tpl
已删除
100644 → 0
浏览文件 @
e27b9923
{{
#
bean
}}
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
名称:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
vehicleName
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
状态:
</label>
<div
class=
"layui-input-block ver-center {
{
colorClass
}
}"
>
{
{
state
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
图片:
</label>
<div
class=
"layui-input-block ver-center"
>
<img
src=
""
class=
"photo-img"
id=
"vehicleImg"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
车牌:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
licensePlate
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
车辆规格:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
specifications
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
油耗:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
oilConsumption
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
单价:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
unitPrice
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
车辆颜色:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
vehicleColor
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
生产商:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
manufacturer
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
供应商:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
supplier
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
生产日期:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
manufactureTime
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
采购日期:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
purchaseTime
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
发动机号:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
engineNumber
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
车架号:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
frameNumber
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
存放区域:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
storageArea
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
管理人:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
vehicleAdmin
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
下次年检时间:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
nextInspectionTime
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
保险截止期限:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
insuranceDeadline
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
上次保养日期:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
prevMaintainTime
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
附加描述:
</label>
<div
class=
"layui-input-block ver-center"
>
{
{
roomAddDesc
}
}
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
相关附件:
</label>
<div
class=
"layui-input-block ver-center"
id=
"enclosureUpload"
>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageEdit.html
已删除
100644 → 0
浏览文件 @
e27b9923
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/vehicleManage/
'
}).
use
(
'
vehicleManageEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageEditTemplate.tpl
已删除
100644 → 0
浏览文件 @
e27b9923
{{
#
bean
}}
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
车辆名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"vehicleName"
name=
"vehicleName"
win-verify=
"required"
placeholder=
"请输入车辆名称"
class=
"layui-input"
value=
"{
{
vehicleName
}
}"
maxlength=
"25"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
图片
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<div
class=
"upload"
id=
"vehicleImg"
></div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
车牌
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"licensePlate"
name=
"licensePlate"
win-verify=
"required"
placeholder=
"请输入车辆车牌号"
class=
"layui-input"
value=
"{
{
licensePlate
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
车辆规格
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"specifications"
name=
"specifications"
win-verify=
"required|number"
placeholder=
"请输入车辆准载人数"
class=
"layui-input"
value=
"{
{
specifications
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
油耗
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"oilConsumption"
name=
"oilConsumption"
placeholder=
"请输入油耗(km/L)"
class=
"layui-input"
value=
"{
{
oilConsumption
}
}"
win-verify=
"double"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
单价
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"unitPrice"
name=
"unitPrice"
placeholder=
"请输入单价(元)"
class=
"layui-input"
value=
"{
{
unitPrice
}
}"
win-verify=
"money"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
车辆颜色
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"vehicleColor"
name=
"vehicleColor"
placeholder=
"请输入车辆颜色"
class=
"layui-input"
value=
"{
{
vehicleColor
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
生产商
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"manufacturer"
name=
"manufacturer"
placeholder=
"请输入生产商"
class=
"layui-input"
value=
"{
{
manufacturer
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
供应商
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"supplier"
name=
"supplier"
placeholder=
"请输入供应商"
class=
"layui-input"
value=
"{
{
supplier
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
生产日期
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"manufactureTime"
name=
"manufactureTime"
placeholder=
"请选择生产日期"
class=
"layui-input"
value=
"{
{
manufactureTime
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
采购日期
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"purchaseTime"
name=
"purchaseTime"
placeholder=
"请选择采购日期"
class=
"layui-input"
value=
"{
{
purchaseTime
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
发动机号
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"engineNumber"
name=
"engineNumber"
placeholder=
"请输入发动机号"
class=
"layui-input"
value=
"{
{
engineNumber
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
车架号
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"frameNumber"
name=
"frameNumber"
placeholder=
"请输入车架号"
class=
"layui-input"
value=
"{
{
frameNumber
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
存放区域
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"storageArea"
name=
"storageArea"
placeholder=
"请输入存放区域"
class=
"layui-input"
value=
"{
{
storageArea
}
}"
maxlength=
"50"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
管理人
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"vehicleAdmin"
name=
"vehicleAdmin"
placeholder=
"请选择管理人员"
class=
"layui-input"
/>
<i
class=
"fa fa-user-plus input-icon"
id=
"userNameSelPeople"
></i>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
下次年检时间
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"nextInspectionTime"
name=
"nextInspectionTime"
placeholder=
"请选择下次年检时间"
class=
"layui-input"
value=
"{
{
nextInspectionTime
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
保险截止期限
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"insuranceDeadline"
name=
"insuranceDeadline"
placeholder=
"请选择保险截止期限"
class=
"layui-input"
value=
"{
{
insuranceDeadline
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
上次保养日期
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"prevMaintainTime"
name=
"prevMaintainTime"
placeholder=
"请选择上次保养日期"
class=
"layui-input"
value=
"{
{
prevMaintainTime
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
附加描述:
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"roomAddDesc"
name=
"roomAddDesc"
placeholder=
"请输入附加描述"
class=
"layui-textarea"
style=
"height: 100px;"
maxlength=
"200"
>
{
{
roomAddDesc
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
相关附件
</label>
<div
class=
"layui-input-block"
id=
"enclosureUpload"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
admin-assistant/src/main/resources/template/tpl/vehicleManage/vehicleManageList.html
已删除
100644 → 0
浏览文件 @
e27b9923
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto; height: 100%;"
>
<div
class=
"txtcenter"
style=
"margin: 0 auto; padding-top: 10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
车辆名称
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"vehicleName"
name=
"vehicleName"
placeholder=
"请输入车辆名称"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
车牌号
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"licensePlate"
name=
"licensePlate"
placeholder=
"请输入车牌号"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
状态
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"state"
name=
"state"
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
正常
</option>
<option
value=
"2"
>
维修
</option>
<option
value=
"3"
>
报废
</option>
</select>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
type=
"button"
id=
"vehicleformSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
style=
"text-align: left;"
>
<button
id=
"reloadVehicleTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addVehicleBean"
class=
"winui-toolbtn"
auth=
"1565850421887"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
登记
</button>
</div>
</div>
<div
style=
"margin: auto 10px;"
>
<table
id=
"vehicleTable"
lay-filter=
"vehicleTable"
></table>
<script
type=
"text/html"
id=
"vehicletableBar"
>
{{
#
if
(
d
.
state
==
1
){
}}
{{
#
if
(
auth
(
'
1565851306689
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
vehiclerepair
"
>
维修
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1565851317967
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
vehiclescrap
"
>
报废
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
state
==
2
){
}}
{{
#
if
(
auth
(
'
1565851333621
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
vehiclenormal
"
>
恢复正常
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1565851317967
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
vehiclescrap
"
>
报废
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
state
==
3
){
}}
{{
#
if
(
auth
(
'
1565851333621
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
vehiclenormal
"
>
恢复正常
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1565851306689
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
vehiclerepair
"
>
维修
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
auth
(
'
1565851345852
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
vehicleedit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1565851359639
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
vehicledelet
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
</div>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/vehicleManage/
'
}).
use
(
'
vehicleManageList
'
);
</script>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/layui.js
浏览文件 @
902d9910
...
...
@@ -59,6 +59,7 @@ var dataTypeList = [
{
id
:
29
,
name
:
"
ERP商品规格图片
"
},
{
id
:
30
,
name
:
"
附件
"
},
{
id
:
31
,
name
:
"
行政-会议室
"
},
{
id
:
32
,
name
:
"
行政-车辆
"
},
];
//系统cookies从哪里获取, true:从用户登陆获取;false:跨域获取
...
...
web/src/main/resources/template/json/skyeyeClassEnum.json
浏览文件 @
902d9910
...
...
@@ -83,6 +83,7 @@
"clockOutTime"
:
{
"name"
:
"下班打卡状态"
,
"className"
:
"skyeye-checkwork#com.skyeye.checkwork.classenum.ClockOutTime"
},
"assetReportState"
:
{
"name"
:
"资产明细状态"
,
"className"
:
"skyeye-adm#com.skyeye.eve.assets.classenum.AssetReportState"
},
"conferenceState"
:
{
"name"
:
"会议室状态"
,
"className"
:
"skyeye-adm#com.skyeye.eve.conference.classenum.ConferenceState"
}
"conferenceState"
:
{
"name"
:
"会议室状态"
,
"className"
:
"skyeye-adm#com.skyeye.eve.conference.classenum.ConferenceState"
},
"vehicleState"
:
{
"name"
:
"车辆状态"
,
"className"
:
"skyeye-adm#com.skyeye.eve.vehicle.classenum.VehicleState"
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录