Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
冷月半明
Skyeye
提交
54ed26c9
S
Skyeye
项目概览
冷月半明
/
Skyeye
与 Fork 源项目一致
Fork自
doc_wei / Skyeye
通知
1
Star
1
Fork
0
代码
文件
提交
分支
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看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
54ed26c9
编写于
1月 17, 2023
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
资产管理整改
上级
e61b943b
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
27 addition
and
25 deletion
+27
-25
admin-assistant/src/main/resources/template/js/assetManage/assetManageAdd.js
.../main/resources/template/js/assetManage/assetManageAdd.js
+3
-3
admin-assistant/src/main/resources/template/js/assetManage/assetManageChoose.js
...in/resources/template/js/assetManage/assetManageChoose.js
+4
-4
admin-assistant/src/main/resources/template/js/assetManage/assetManageDetails.js
...n/resources/template/js/assetManage/assetManageDetails.js
+3
-2
admin-assistant/src/main/resources/template/js/assetManage/assetManageEdit.js
...main/resources/template/js/assetManage/assetManageEdit.js
+6
-5
admin-assistant/src/main/resources/template/js/assetManage/assetManageList.js
...main/resources/template/js/assetManage/assetManageList.js
+4
-4
admin-assistant/src/main/resources/template/tpl/assetManage/assetManageAdd.html
...in/resources/template/tpl/assetManage/assetManageAdd.html
+2
-2
admin-assistant/src/main/resources/template/tpl/assetManage/assetManageDetails.html
...esources/template/tpl/assetManage/assetManageDetails.html
+3
-3
admin-assistant/src/main/resources/template/tpl/assetManage/assetManageEdit.html
...n/resources/template/tpl/assetManage/assetManageEdit.html
+2
-2
未找到文件。
admin-assistant/src/main/resources/template/js/assetManage/assetManageAdd.js
浏览文件 @
54ed26c9
...
...
@@ -23,13 +23,13 @@ layui.config({
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
assetName
:
$
(
"
#assetN
ame
"
).
val
(),
name
:
$
(
"
#n
ame
"
).
val
(),
numberPrefix
:
$
(
"
#numberPrefix
"
).
val
(),
specifications
:
$
(
"
#specifications
"
).
val
(),
readPrice
:
$
(
"
#readPrice
"
).
val
(),
describe
:
$
(
"
#describe
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
typeId
:
$
(
"
#typeId
"
).
val
(),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
enclosureInfo
:
JSON
.
stringify
({
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
)}
),
assetImg
:
$
(
"
#assetImg
"
).
find
(
"
input[type='hidden'][name='upload']
"
).
attr
(
"
oldurl
"
)
};
if
(
isNull
(
params
.
assetImg
))
{
...
...
admin-assistant/src/main/resources/template/js/assetManage/assetManageChoose.js
浏览文件 @
54ed26c9
...
...
@@ -48,7 +48,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
queryAllAssetMationToChoose
'
,
url
:
flowableBasePath
+
'
asset001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -57,13 +57,13 @@ layui.config({
cols
:
[[
{
type
:
assetCheckType
?
'
checkbox
'
:
'
radio
'
,
fixed
:
'
left
'
},
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
fixed
:
'
left
'
,
type
:
'
numbers
'
},
{
field
:
'
assetN
ame
'
,
title
:
'
资产名称
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
'
<a lay-event="assetlistdetails" class="notice-title-click">
'
+
d
.
assetN
ame
+
'
</a>
'
;
{
field
:
'
n
ame
'
,
title
:
'
资产名称
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
'
<a lay-event="assetlistdetails" class="notice-title-click">
'
+
d
.
n
ame
+
'
</a>
'
;
}},
{
field
:
'
assetImg
'
,
title
:
'
图片
'
,
align
:
'
center
'
,
width
:
60
,
templet
:
function
(
d
)
{
return
'
<img src="
'
+
systemCommonUtil
.
getFilePath
(
d
.
assetImg
)
+
'
" class="photo-img" lay-event="assetImg">
'
;
}},
{
field
:
'
type
Id
'
,
title
:
'
资产类型
'
,
width
:
100
},
{
field
:
'
type
Name
'
,
title
:
'
资产类型
'
,
width
:
100
},
{
field
:
'
numberPrefix
'
,
title
:
'
资产编号前缀
'
,
width
:
140
},
{
field
:
'
readPrice
'
,
title
:
'
参考价
'
,
width
:
80
},
]],
...
...
admin-assistant/src/main/resources/template/js/assetManage/assetManageDetails.js
浏览文件 @
54ed26c9
...
...
@@ -14,11 +14,12 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
asset006
"
,
params
:
{
rowI
d
:
parent
.
rowId
},
params
:
{
i
d
:
parent
.
rowId
},
pagination
:
false
,
method
:
'
GET
'
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
,
json
)
{
json
.
bean
.
describe
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
describe
);
json
.
bean
.
remark
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
remark
);
},
ajaxSendAfter
:
function
(
json
)
{
$
(
"
#assetImg
"
).
attr
(
"
src
"
,
fileBasePath
+
json
.
bean
.
assetImg
);
...
...
admin-assistant/src/main/resources/template/js/assetManage/assetManageEdit.js
浏览文件 @
54ed26c9
...
...
@@ -13,8 +13,9 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
asset004
"
,
params
:
{
rowId
:
parent
.
rowId
},
url
:
flowableBasePath
+
"
asset006
"
,
params
:
{
id
:
parent
.
rowId
},
method
:
'
GET
'
,
pagination
:
false
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
)
{
...
...
@@ -42,13 +43,13 @@ layui.config({
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
id
:
parent
.
rowId
,
assetName
:
$
(
"
#assetN
ame
"
).
val
(),
name
:
$
(
"
#n
ame
"
).
val
(),
numberPrefix
:
$
(
"
#numberPrefix
"
).
val
(),
specifications
:
$
(
"
#specifications
"
).
val
(),
readPrice
:
$
(
"
#readPrice
"
).
val
(),
describe
:
$
(
"
#describe
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
typeId
:
$
(
"
#typeId
"
).
val
(),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
enclosureInfo
:
JSON
.
stringify
({
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
)}
),
assetImg
:
$
(
"
#assetImg
"
).
find
(
"
input[type='hidden'][name='upload']
"
).
attr
(
"
oldurl
"
)
};
if
(
isNull
(
params
.
assetImg
))
{
...
...
admin-assistant/src/main/resources/template/js/assetManage/assetManageList.js
浏览文件 @
54ed26c9
...
...
@@ -28,13 +28,13 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
assetN
ame
'
,
title
:
'
资产名称
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
'
<a lay-event="assetlistdetails" class="notice-title-click">
'
+
d
.
assetN
ame
+
'
</a>
'
;
{
field
:
'
n
ame
'
,
title
:
'
资产名称
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
'
<a lay-event="assetlistdetails" class="notice-title-click">
'
+
d
.
n
ame
+
'
</a>
'
;
}},
{
field
:
'
assetImg
'
,
title
:
'
图片
'
,
align
:
'
center
'
,
width
:
60
,
templet
:
function
(
d
)
{
return
'
<img src="
'
+
systemCommonUtil
.
getFilePath
(
d
.
assetImg
)
+
'
" class="photo-img" lay-event="assetImg">
'
;
}},
{
field
:
'
type
Id
'
,
title
:
'
资产类型
'
,
width
:
100
},
{
field
:
'
type
Name
'
,
title
:
'
资产类型
'
,
width
:
100
},
{
field
:
'
id
'
,
title
:
'
明细
'
,
align
:
'
center
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
'
<a lay-event="assetReport" class="notice-title-click">明细</a>
'
;
}},
...
...
@@ -98,7 +98,7 @@ layui.config({
function
assetlistdelet
(
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
+
"
asset003
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
asset003
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
'
DELETE
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadassetTable
();
}});
...
...
admin-assistant/src/main/resources/template/tpl/assetManage/assetManageAdd.html
浏览文件 @
54ed26c9
...
...
@@ -12,7 +12,7 @@
<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=
"
assetName"
name=
"assetN
ame"
win-verify=
"required"
placeholder=
"请输入资产名称"
class=
"layui-input"
/>
<input
type=
"text"
id=
"
name"
name=
"n
ame"
win-verify=
"required"
placeholder=
"请输入资产名称"
class=
"layui-input"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
新增的资产,状态默认为正常。
</div>
</div>
</div>
...
...
@@ -51,7 +51,7 @@
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
相关描述
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"
describe"
name=
"describe
"
placeholder=
"请输入相关描述"
class=
"layui-textarea"
style=
"height: 100px;"
maxlength=
"200"
></textarea>
<textarea
id=
"
remark"
name=
"remark
"
placeholder=
"请输入相关描述"
class=
"layui-textarea"
style=
"height: 100px;"
maxlength=
"200"
></textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
...
...
admin-assistant/src/main/resources/template/tpl/assetManage/assetManageDetails.html
浏览文件 @
54ed26c9
...
...
@@ -18,7 +18,7 @@
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
资产名称
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
assetN
ame
}}
{{
n
ame
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
...
...
@@ -30,7 +30,7 @@
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
资产类型
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
type
Id
}}
{{
type
Name
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
...
...
@@ -54,7 +54,7 @@
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
相关描述
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
describe
}}
{{
remark
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
...
...
admin-assistant/src/main/resources/template/tpl/assetManage/assetManageEdit.html
浏览文件 @
54ed26c9
...
...
@@ -18,7 +18,7 @@
<
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
=
"
assetName
"
name
=
"
assetName
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入资产名称
"
class
=
"
layui-input
"
value
=
"
{{assetN
ame}}
"
/>
<
input
type
=
"
text
"
id
=
"
name
"
name
=
"
name
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入资产名称
"
class
=
"
layui-input
"
value
=
"
{{n
ame}}
"
/>
<
div
class
=
"
layui-form-mid layui-word-aux
"
>
新增的资产
,
状态默认为正常
。
<
/div
>
<
/div
>
<
/div
>
...
...
@@ -57,7 +57,7 @@
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
相关描述
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
textarea
id
=
"
describe
"
name
=
"
describe
"
placeholder
=
"
请输入相关描述
"
class
=
"
layui-textarea
"
style
=
"
height: 100px;
"
maxlength
=
"
200
"
>
{{
roomAddDesc
}}
<
/textarea
>
<
textarea
id
=
"
remark
"
name
=
"
remark
"
placeholder
=
"
请输入相关描述
"
class
=
"
layui-textarea
"
style
=
"
height: 100px;
"
maxlength
=
"
200
"
>
{{
remark
}}
<
/textarea
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录