Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
c7642fa3
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1423
Star
161
Fork
130
代码
文件
提交
分支
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看板
提交
c7642fa3
编写于
6月 19, 2023
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
资产明细列表重构完成
上级
f2fe3f8e
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
23 addition
and
31 deletion
+23
-31
admin-assistant/src/main/resources/template/js/assetManage/assetManageChoose.js
...in/resources/template/js/assetManage/assetManageChoose.js
+1
-1
admin-assistant/src/main/resources/template/js/assetReportManage/assetReportList.js
...esources/template/js/assetReportManage/assetReportList.js
+19
-29
web/src/main/resources/template/json/skyeyeClassEnum.json
web/src/main/resources/template/json/skyeyeClassEnum.json
+3
-1
未找到文件。
admin-assistant/src/main/resources/template/js/assetManage/assetManageChoose.js
浏览文件 @
c7642fa3
...
...
@@ -48,7 +48,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowable
BasePath
+
'
asset001
'
,
url
:
sysMainMation
.
adm
BasePath
+
'
asset001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
admin-assistant/src/main/resources/template/js/assetReportManage/assetReportList.js
浏览文件 @
c7642fa3
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
...
...
@@ -13,12 +10,14 @@ layui.config({
form
=
layui
.
form
,
table
=
layui
.
table
;
var
assetId
=
GetUrlParam
(
"
id
"
);
// 资产明细列表
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowable
BasePath
+
'
queryAssetReportList
'
,
url
:
sysMainMation
.
adm
BasePath
+
'
queryAssetReportList
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -26,17 +25,23 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
assetNum
'
,
title
:
'
资产编号
'
,
width
:
160
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
assetNum
+
'
</a>
'
;
}},
{
field
:
'
assetNum
'
,
title
:
'
资产编号
'
,
width
:
160
},
{
field
:
'
unitPrice
'
,
title
:
'
采购单价
'
,
width
:
100
},
{
field
:
'
fromName
'
,
title
:
'
资产来源
'
,
width
:
120
},
{
field
:
'
barCodeMation
'
,
title
:
'
条形码
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
{
field
:
'
fromId
'
,
title
:
'
资产来源
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
sysDictDataUtil
.
getDictDataNameByCodeAndKey
(
"
ADM_ASSET_FROM
"
,
d
.
fromId
);
}},
{
field
:
'
barCodeMation
'
,
title
:
'
条形码
'
,
align
:
'
center
'
,
width
:
150
,
templet
:
function
(
d
)
{
return
'
<img src="
'
+
systemCommonUtil
.
getFilePath
(
d
.
barCodeMation
.
imagePath
)
+
'
" class="photo-img" lay-event="barCode" style="width: 100px">
'
;
}},
{
field
:
'
stateName
'
,
title
:
'
状态
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
assetAdmin
'
,
title
:
'
管理员
'
,
width
:
80
},
{
field
:
'
useUserName
'
,
title
:
'
申领人
'
,
width
:
120
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
assetReportState
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
{
field
:
'
assetAdminMation
'
,
title
:
'
管理员
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
isNull
(
d
.
assetAdminMation
)
?
''
:
d
.
assetAdminMation
.
name
;
}},
{
field
:
'
useUserMation
'
,
title
:
'
申领人
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
isNull
(
d
.
useUserMation
)
?
''
:
d
.
useUserMation
.
name
;
}},
{
field
:
'
storageArea
'
,
title
:
'
存放区域
'
,
width
:
140
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
...
...
@@ -55,26 +60,11 @@ layui.config({
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
details
'
)
{
// 详情
details
(
data
);
}
else
if
(
layEvent
===
'
barCode
'
)
{
// 条形码预览
if
(
layEvent
===
'
barCode
'
)
{
// 条形码预览
systemCommonUtil
.
showPicImg
(
systemCommonUtil
.
getFilePath
(
data
.
barCodeMation
.
imagePath
));
}
});
// 详情
function
details
(
data
)
{
rowId
=
data
.
id
;
// todo 资产明细列表
_openNewWindows
({
url
:
""
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
assetManageDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadassetTable
();
...
...
@@ -85,7 +75,7 @@ layui.config({
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{
assetId
:
parent
.
row
Id
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
return
$
.
extend
(
true
,
{
assetId
:
asset
Id
},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
assetReportList
'
,
{});
...
...
web/src/main/resources/template/json/skyeyeClassEnum.json
浏览文件 @
c7642fa3
...
...
@@ -80,5 +80,7 @@
"leaveType"
:
{
"name"
:
"请假类型"
,
"className"
:
"skyeye-checkwork#com.skyeye.leave.classenum.LeaveType"
},
"useYearHolidayType"
:
{
"name"
:
"请假是否使用年假/补休的类型"
,
"className"
:
"skyeye-checkwork#com.skyeye.leave.classenum.UseYearHolidayType"
},
"clockInTime"
:
{
"name"
:
"上班打卡状态"
,
"className"
:
"skyeye-checkwork#com.skyeye.checkwork.classenum.ClockInTime"
},
"clockOutTime"
:
{
"name"
:
"下班打卡状态"
,
"className"
:
"skyeye-checkwork#com.skyeye.checkwork.classenum.ClockOutTime"
}
"clockOutTime"
:
{
"name"
:
"下班打卡状态"
,
"className"
:
"skyeye-checkwork#com.skyeye.checkwork.classenum.ClockOutTime"
},
"assetReportState"
:
{
"name"
:
"资产明细状态"
,
"className"
:
"skyeye-adm#com.skyeye.eve.assets.classenum.AssetReportState"
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录