Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
0fd9c5c7
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1173
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看板
提交
0fd9c5c7
编写于
6月 27, 2023
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
印章借用托管到表单布局
上级
77dce79e
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
93 addition
and
781 deletion
+93
-781
admin-assistant/src/main/resources/template/js/myHasMation/myLicenceManagement.js
.../resources/template/js/myHasMation/myLicenceManagement.js
+3
-0
admin-assistant/src/main/resources/template/js/myHasMation/mySealManagement.js
...ain/resources/template/js/myHasMation/mySealManagement.js
+15
-24
admin-assistant/src/main/resources/template/js/sealManageBorrow/sealManageBorrowAdd.js
...urces/template/js/sealManageBorrow/sealManageBorrowAdd.js
+0
-136
admin-assistant/src/main/resources/template/js/sealManageBorrow/sealManageBorrowDetails.js
...s/template/js/sealManageBorrow/sealManageBorrowDetails.js
+0
-26
admin-assistant/src/main/resources/template/js/sealManageBorrow/sealManageBorrowEdit.js
...rces/template/js/sealManageBorrow/sealManageBorrowEdit.js
+0
-181
admin-assistant/src/main/resources/template/js/sealManageBorrow/sealManageBorrowList.js
...rces/template/js/sealManageBorrow/sealManageBorrowList.js
+47
-70
admin-assistant/src/main/resources/template/tpl/myHasMation/mySealManagement.html
.../resources/template/tpl/myHasMation/mySealManagement.html
+6
-22
admin-assistant/src/main/resources/template/tpl/sealManageBorrow/sealManageBorrowAdd.html
...es/template/tpl/sealManageBorrow/sealManageBorrowAdd.html
+0
-88
admin-assistant/src/main/resources/template/tpl/sealManageBorrow/sealManageBorrowDetails.html
...emplate/tpl/sealManageBorrow/sealManageBorrowDetails.html
+0
-92
admin-assistant/src/main/resources/template/tpl/sealManageBorrow/sealManageBorrowEdit.html
...s/template/tpl/sealManageBorrow/sealManageBorrowEdit.html
+0
-90
admin-assistant/src/main/resources/template/tpl/sealManageBorrow/sealManageBorrowList.html
...s/template/tpl/sealManageBorrow/sealManageBorrowList.html
+22
-52
未找到文件。
admin-assistant/src/main/resources/template/js/myHasMation/myLicenceManagement.js
浏览文件 @
0fd9c5c7
...
...
@@ -31,6 +31,9 @@ layui.config({
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入证照名称,证照编号
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
});
...
...
admin-assistant/src/main/resources/template/js/myHasMation/mySealManagement.js
浏览文件 @
0fd9c5c7
...
...
@@ -15,7 +15,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
myhasmation002
'
,
url
:
sysMainMation
.
admBasePath
+
'
queryMyRevertSealPageList
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -23,39 +23,30 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
sealName
'
,
title
:
'
印章名称
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
borrowName
'
,
title
:
'
领用人
'
,
align
:
'
left
'
,
width
:
80
},
{
field
:
'
sealAdmin
'
,
title
:
'
管理员
'
,
align
:
'
left
'
,
width
:
80
},
{
field
:
'
name
'
,
title
:
'
印章名称
'
,
align
:
'
left
'
,
width
:
150
},
{
field
:
'
licenceAdmin
'
,
title
:
'
管理员
'
,
align
:
'
left
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
isNull
(
d
.
licenceAdminMation
)
?
''
:
d
.
licenceAdminMation
.
name
;
}},
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入印章名称
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadmessageTable
"
,
function
()
{
loadTable
();
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
function
getTableParams
()
{
return
{
sealName
:
$
(
"
#sealName
"
).
val
()
};
}
exports
(
'
mySealManagement
'
,
{});
});
admin-assistant/src/main/resources/template/js/sealManageBorrow/sealManageBorrowAdd.js
已删除
100644 → 0
浏览文件 @
77dce79e
var
sealBorrows
=
new
Array
();
//印章集合
// 印章借用
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
fileUpload
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
sealManageBorrow
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
var
nameHtml
=
""
;
var
usetableTemplate
=
$
(
"
#usetableTemplate
"
).
html
();
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
// 获取当前登录员工信息
systemCommonUtil
.
getSysCurrentLoginUserMation
(
function
(
data
)
{
$
(
"
#useTitle
"
).
html
(
"
印章借用申请单-
"
+
getYMDFormatDate
()
+
'
-
'
+
data
.
bean
.
userName
);
$
(
"
#useName
"
).
html
(
data
.
bean
.
userName
);
});
initSealNameHtml
();
// 初始化印章名称
function
initSealNameHtml
()
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
seal007
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
nameHtml
=
getDataUseHandlebars
(
selOption
,
json
);
//加载类别数据
matchingLanguage
();
form
.
render
();
// 初始化一行数据
addRow
();
}});
}
skyeyeEnclosure
.
init
(
'
enclosureUpload
'
);
// 保存为草稿
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
saveData
(
"
1
"
,
""
);
}
return
false
;
});
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
serviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
return
false
;
});
function
saveData
(
subType
,
approvalId
)
{
// 获取已选印章数据
var
rowTr
=
$
(
"
#useTable tr
"
);
if
(
rowTr
.
length
==
0
)
{
winui
.
window
.
msg
(
'
请选择需要借用的印章~
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
var
tableData
=
new
Array
();
var
noError
=
false
;
//循环遍历表格数据时,是否有其他错误信息
$
.
each
(
rowTr
,
function
(
i
,
item
)
{
var
rowNum
=
$
(
item
).
attr
(
"
trcusid
"
).
replace
(
"
tr
"
,
""
);
var
row
=
{
sealId
:
$
(
"
#sealId
"
+
rowNum
).
val
(),
remark
:
$
(
"
#remark
"
+
rowNum
).
val
()
};
tableData
.
push
(
row
);
});
if
(
noError
)
{
return
false
;
}
var
params
=
{
title
:
$
(
"
#useTitle
"
).
html
(),
remark
:
$
(
"
#remark
"
).
val
(),
sealStr
:
JSON
.
stringify
(
tableData
),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
subType
:
subType
,
// 表单类型 1.保存草稿 2.提交审批
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
sealborrow002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
//新增行
$
(
"
body
"
).
on
(
"
click
"
,
"
#addRow
"
,
function
()
{
addRow
();
});
//删除行
$
(
"
body
"
).
on
(
"
click
"
,
"
#deleteRow
"
,
function
()
{
deleteRow
();
});
//新增行
function
addRow
()
{
var
par
=
{
id
:
"
row
"
+
rowNum
.
toString
(),
//checkbox的id
trId
:
"
tr
"
+
rowNum
.
toString
(),
//行的id
sealId
:
"
sealId
"
+
rowNum
.
toString
(),
//印章id
remark
:
"
remark
"
+
rowNum
.
toString
()
//备注id
};
$
(
"
#useTable
"
).
append
(
getDataUseHandlebars
(
usetableTemplate
,
par
));
//赋值给印章名称
$
(
"
#
"
+
"
sealId
"
+
rowNum
.
toString
()).
html
(
nameHtml
);
form
.
render
(
'
select
'
);
form
.
render
(
'
checkbox
'
);
rowNum
++
;
}
//删除行
function
deleteRow
()
{
var
checkRow
=
$
(
"
#useTable input[type='checkbox'][name='tableCheckRow']:checked
"
);
if
(
checkRow
.
length
>
0
)
{
$
.
each
(
checkRow
,
function
(
i
,
item
)
{
$
(
item
).
parent
().
parent
().
remove
();
});
}
else
{
winui
.
window
.
msg
(
'
请选择要删除的行
'
,
{
icon
:
2
,
time
:
2000
});
}
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
admin-assistant/src/main/resources/template/js/sealManageBorrow/sealManageBorrowDetails.js
已删除
100644 → 0
浏览文件 @
77dce79e
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
.
$
;
var
useTemplate
=
$
(
"
#useTemplate
"
).
html
();
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
sealborrow003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
json
.
bean
.
stateName
=
activitiUtil
.
showStateName2
(
json
.
bean
.
state
,
1
);
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
useTemplate
,
json
));
// 附件回显
skyeyeEnclosure
.
showDetails
({
"
enclosureUploadBtn
"
:
json
.
bean
.
enclosureInfo
});
matchingLanguage
();
}});
});
});
\ No newline at end of file
admin-assistant/src/main/resources/template/js/sealManageBorrow/sealManageBorrowEdit.js
已删除
100644 → 0
浏览文件 @
77dce79e
var
sealBorrows
=
new
Array
();
//印章集合
// 印章借用
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
fileUpload
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
sealManageBorrow
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
var
nameHtml
=
""
;
var
usetableTemplate
=
$
(
"
#usetableTemplate
"
).
html
();
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
sTableData
=
""
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
sealborrow004
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
$
(
"
#useTitle
"
).
html
(
json
.
bean
.
title
);
$
(
"
#useName
"
).
html
(
json
.
bean
.
userName
);
$
(
"
#remark
"
).
val
(
json
.
bean
.
remark
);
// 附件回显
skyeyeEnclosure
.
initTypeISData
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
if
(
json
.
bean
.
state
==
'
1
'
){
$
(
"
.typeTwo
"
).
removeClass
(
"
layui-hide
"
);
}
else
{
$
(
"
.typeOne
"
).
removeClass
(
"
layui-hide
"
);
}
sTableData
=
json
.
bean
.
goods
;
initSealNameHtml
();
}});
//初始化印章名称
function
initSealNameHtml
()
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
seal007
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
nameHtml
=
getDataUseHandlebars
(
selOption
,
json
);
//加载名称数据
matchingLanguage
();
form
.
render
();
// 加载表格数据
initTableAssetList
();
}});
}
//加载表格数据
function
initTableAssetList
()
{
$
.
each
(
sTableData
,
function
(
i
,
item
)
{
addDataRow
(
item
);
});
}
// 保存为草稿
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
saveData
(
'
1
'
,
""
);
}
return
false
;
});
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
serviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
return
false
;
});
// 保存
form
.
on
(
'
submit(save)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
saveData
(
'
3
'
,
""
);
}
return
false
;
});
function
saveData
(
subType
,
approvalId
)
{
// 获取已选印章数据
var
rowTr
=
$
(
"
#useTable tr
"
);
if
(
rowTr
.
length
==
0
)
{
winui
.
window
.
msg
(
'
请选择需要借用的印章~
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
var
tableData
=
new
Array
();
var
noError
=
false
;
//循环遍历表格数据时,是否有其他错误信息
$
.
each
(
rowTr
,
function
(
i
,
item
)
{
var
rowNum
=
$
(
item
).
attr
(
"
trcusid
"
).
replace
(
"
tr
"
,
""
);
var
row
=
{
sealId
:
$
(
"
#sealId
"
+
rowNum
).
val
(),
remark
:
$
(
"
#remark
"
+
rowNum
).
val
()
};
tableData
.
push
(
row
);
});
if
(
noError
)
{
return
false
;
}
var
params
=
{
remark
:
$
(
"
#remark
"
).
val
(),
sealStr
:
JSON
.
stringify
(
tableData
),
rowId
:
parent
.
rowId
,
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
subType
:
subType
,
// 1:保存为草稿 2.提交到工作流 3.在工作流中编辑
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
sealborrow005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
//加载数据行
function
addDataRow
(
item
)
{
var
thisRowNum
=
rowNum
.
toString
();
var
par
=
{
id
:
"
row
"
+
thisRowNum
,
//checkbox的id
trId
:
"
tr
"
+
thisRowNum
,
//行的id
sealId
:
"
sealId
"
+
thisRowNum
,
//印章id
remark
:
"
remark
"
+
thisRowNum
//备注id
};
$
(
"
#useTable
"
).
append
(
getDataUseHandlebars
(
usetableTemplate
,
par
));
//赋值给印章名称
$
(
"
#
"
+
"
sealId
"
+
thisRowNum
).
html
(
nameHtml
);
//数据回显
$
(
"
#sealId
"
+
thisRowNum
).
val
(
item
.
sealId
);
$
(
"
#remark
"
+
thisRowNum
).
val
(
item
.
remark
);
form
.
render
(
'
select
'
);
form
.
render
(
'
checkbox
'
);
rowNum
++
;
}
//新增行
$
(
"
body
"
).
on
(
"
click
"
,
"
#addRow
"
,
function
()
{
addRow
();
});
//删除行
$
(
"
body
"
).
on
(
"
click
"
,
"
#deleteRow
"
,
function
()
{
deleteRow
();
});
//新增行
function
addRow
()
{
var
par
=
{
id
:
"
row
"
+
rowNum
.
toString
(),
//checkbox的id
trId
:
"
tr
"
+
rowNum
.
toString
(),
//行的id
sealId
:
"
sealId
"
+
rowNum
.
toString
(),
//印章id
remark
:
"
remark
"
+
rowNum
.
toString
()
//备注id
};
$
(
"
#useTable
"
).
append
(
getDataUseHandlebars
(
usetableTemplate
,
par
));
//赋值给印章名称
$
(
"
#
"
+
"
sealId
"
+
rowNum
.
toString
()).
html
(
nameHtml
);
form
.
render
(
'
select
'
);
form
.
render
(
'
checkbox
'
);
rowNum
++
;
}
//删除行
function
deleteRow
()
{
var
checkRow
=
$
(
"
#useTable input[type='checkbox'][name='tableCheckRow']:checked
"
);
if
(
checkRow
.
length
>
0
)
{
$
.
each
(
checkRow
,
function
(
i
,
item
)
{
$
(
item
).
parent
().
parent
().
remove
();
});
}
else
{
winui
.
window
.
msg
(
'
请选择要删除的行
'
,
{
icon
:
2
,
time
:
2000
});
}
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
admin-assistant/src/main/resources/template/js/sealManageBorrow/sealManageBorrowList.js
浏览文件 @
0fd9c5c7
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
sealManageBorrow
"
][
"
key
"
];
// 印章借用
authBtn
(
'
1596961728905
'
);
laydate
.
render
({
elem
:
'
#createTime
'
,
range
:
'
~
'
});
// 印章借用列表
table
.
render
({
id
:
'
borrow
Table
'
,
elem
:
'
#
borrow
Table
'
,
id
:
'
message
Table
'
,
elem
:
'
#
message
Table
'
,
method
:
'
post
'
,
url
:
flowable
BasePath
+
'
sealborrow001
'
,
url
:
sysMainMation
.
adm
BasePath
+
'
sealborrow001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -31,38 +26,41 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
title
'
,
title
:
'
标题
'
,
width
:
300
,
templet
:
function
(
d
)
{
return
'
<a lay-event="borrowDedails" class="notice-title-click">
'
+
d
.
title
+
'
</a>
'
;
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
oddNumber
'
,
title
:
'
单号
'
,
width
:
200
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
oddNumber
+
'
</a>
'
;
}},
{
field
:
'
oddNum
'
,
title
:
'
单号
'
,
width
:
200
,
align
:
'
center
'
},
{
field
:
'
title
'
,
title
:
'
标题
'
,
width
:
300
},
{
field
:
'
processInstanceId
'
,
title
:
'
流程ID
'
,
width
:
80
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
processInstanceId
))
{
return
'
<a lay-event="processDetails" class="notice-title-click">
'
+
d
.
processInstanceId
+
'
</a>
'
;
}
else
{
return
""
;
}
return
'
<a lay-event="processDetails" class="notice-title-click">
'
+
d
.
processInstanceId
+
'
</a>
'
;
}},
{
field
:
'
state
Name
'
,
title
:
'
状态
'
,
width
:
90
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
activitiUtil
.
showStateName2
(
d
.
state
,
1
);
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
90
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
flowableStateEnum
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
width
:
150
,
align
:
'
center
'
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
250
,
toolbar
:
'
#borrowTableBar
'
}
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
lastUpdateTime
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
200
,
toolbar
:
'
#messageTableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入单号,标题
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
});
// 印章借用的操作事件
table
.
on
(
'
tool(
borrow
Table)
'
,
function
(
obj
)
{
table
.
on
(
'
tool(
message
Table)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
borrowDed
ails
'
)
{
//借用详情
borrowDed
ails
(
data
);
if
(
layEvent
===
'
det
ails
'
)
{
//借用详情
det
ails
(
data
);
}
else
if
(
layEvent
===
'
processDetails
'
)
{
//流程详情
activitiUtil
.
activitiDetails
(
data
);
}
else
if
(
layEvent
===
'
borrow
edit
'
)
{
//编辑借用申请
borrowE
dit
(
data
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑借用申请
e
dit
(
data
);
}
else
if
(
layEvent
===
'
subApproval
'
)
{
//提交审批
subApproval
(
data
);
}
else
if
(
layEvent
===
'
cancellation
'
)
{
//借用作废
...
...
@@ -77,24 +75,23 @@ layui.config({
var
msg
=
'
确认撤销该借用申请吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
sealborrow010
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
adm
BasePath
+
"
sealborrow010
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
load
Borrow
Table
();
loadTable
();
}});
});
}
// 编辑印章借用申请
function
borrowEdit
(
data
)
{
rowId
=
data
.
id
;
function
edit
(
data
)
{
_openNewWindows
({
url
:
"
../../tpl/sealManageBorrow/sealManageBorrowEdit.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023062700002&id=
'
+
data
.
id
,
null
),
title
:
"
编辑印章借用申请
"
,
pageId
:
"
sealManageBorrowEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
load
Borrow
Table
();
loadTable
();
}
});
}
...
...
@@ -105,12 +102,12 @@ layui.config({
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
serviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
rowI
d
:
data
.
id
,
i
d
:
data
.
id
,
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
sealborrow006
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
admBasePath
+
"
sealborrow006
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
load
Borrow
Table
();
loadTable
();
}});
});
});
...
...
@@ -121,18 +118,17 @@ layui.config({
var
msg
=
'
确认作废该条借用申请吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
作废操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
sealborrow007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
admBasePath
+
"
sealborrow007
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
load
Borrow
Table
();
loadTable
();
}});
});
}
// 印章借用详情
function
borrowDedails
(
data
)
{
rowId
=
data
.
id
;
function
details
(
data
)
{
_openNewWindows
({
url
:
"
../../tpl/sealManageBorrow/sealManageBorrowDetails.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023062700003&id=
'
+
data
.
id
,
null
),
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
sealManageBorrowDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
@@ -142,48 +138,29 @@ layui.config({
}
// 添加印章借用
$
(
"
body
"
).
on
(
"
click
"
,
"
#addB
orrowB
ean
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/sealManageBorrow/sealManageBorrowAdd.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023062700001
'
,
null
),
title
:
"
印章借用申请
"
,
pageId
:
"
sealManageBorrowAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
load
Borrow
Table
();
loadTable
();
}});
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reloadData
(
"
borrowTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
return
false
;
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
// 刷新印章借用列表
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadBorrowTable
"
,
function
()
{
loadBorrowTable
();
});
// 刷新印章借用列表数据
function
loadBorrowTable
(){
table
.
reloadData
(
"
borrowTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
var
startTime
=
""
,
endTime
=
""
;
if
(
!
isNull
(
$
(
"
#createTime
"
).
val
()))
{
//一定要记得,当createTime为空时
startTime
=
$
(
"
#createTime
"
).
val
().
split
(
'
~
'
)[
0
].
trim
()
+
'
00:00:00
'
;
endTime
=
$
(
"
#createTime
"
).
val
().
split
(
'
~
'
)[
1
].
trim
()
+
'
23:59:59
'
;
}
return
{
state
:
$
(
"
#state
"
).
val
(),
startTime
:
startTime
,
endTime
:
endTime
};
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
sealManageBorrowList
'
,
{});
});
admin-assistant/src/main/resources/template/tpl/myHasMation/mySealManagement.html
浏览文件 @
0fd9c5c7
...
...
@@ -7,29 +7,13 @@
<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=
"sealName"
name=
"sealName"
placeholder=
"请输入印章名称"
class=
"layui-input"
/>
</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"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
style=
"text-align: left;"
>
<button
id=
"reloadmessageTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
...
...
admin-assistant/src/main/resources/template/tpl/sealManageBorrow/sealManageBorrowAdd.html
已删除
100644 → 0
浏览文件 @
77dce79e
<!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;padding:20px;"
>
<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 ver-center"
id=
"useTitle"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
步骤
</label>
<div
class=
"layui-input-block ver-center"
>
填单
</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 ver-center"
id=
"useName"
>
</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=
"winui-toolbar"
>
<div
class=
"winui-tool"
style=
"text-align: left;"
>
<button
id=
"addRow"
class=
"winui-toolbtn"
type=
"button"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
新增行
</button>
<button
id=
"deleteRow"
class=
"winui-toolbtn"
type=
"button"
><i
class=
"fa fa-trash-o"
aria-hidden=
"true"
></i>
删除行
</button>
</div>
</div>
<table
class=
"layui-table"
>
<thead>
<tr>
<th></th>
<th>
印章名称
<i
class=
"red"
>
*
</i></th>
<th>
备注
</th>
</tr>
</thead>
<tbody
id=
"useTable"
class=
"insurance-table"
>
</tbody>
</table>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
相关描述
</label>
<div
class=
"layui-input-block"
>
<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"
>
<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"
>
保存为草稿
</button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formSubBean"
>
提交审批
</button>
</div>
</div>
</form>
</div>
<!-- usetableTemplate -->
<script
type=
"text/x-handlebars-template"
id=
"usetableTemplate"
>
<
tr
trcusid
=
"
{{trId}}
"
>
<
td
><
input
type
=
"
checkbox
"
rowId
=
"
{{id}}
"
lay
-
filter
=
"
checkboxProperty
"
name
=
"
tableCheckRow
"
/><
/td
>
<
td
><
select
id
=
"
{{sealId}}
"
lay
-
filter
=
"
selectSealIdProperty
"
win
-
verify
=
"
required
"
><
/select></
td
>
<
td
><
input
type
=
"
text
"
class
=
"
layui-input
"
id
=
"
{{remark}}
"
/><
/td
>
<
/tr
>
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/sealManageBorrow/
'
}).
use
(
'
sealManageBorrowAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
admin-assistant/src/main/resources/template/tpl/sealManageBorrow/sealManageBorrowDetails.html
已删除
100644 → 0
浏览文件 @
77dce79e
<!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;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
</form>
</div>
<!-- useTemplate -->
<script
type=
"text/x-handlebars-template"
id=
"useTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
标题
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
title
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
单号
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
oddNumber
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
状态
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{{
stateName
}}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
步骤
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
填单
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
借用人
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
userName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
印章
:
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
table
class
=
"
layui-table
"
>
<
thead
>
<
tr
>
<
th
>
印章名称
<
/th
>
<
th
>
状态
<
/th
>
<
th
>
备注
<
/th
>
<
/tr
>
<
/thead
>
<
tbody
id
=
"
useTable
"
class
=
"
insurance-table
"
>
{{
#
each
goods
}}
<
tr
>
<
td
>
{{
sealName
}}
<
/td
>
<
td
>
{{
stateName
}}
<
/td
>
<
td
>
{{
remark
}}
<
/td
>
<
/tr
>
{{
/
each
}}
<
/tbody
>
<
/table
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
相关描述
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
remark
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
相关附件
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
enclosureUploadBtn
"
>
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/sealManageBorrow/
'
}).
use
(
'
sealManageBorrowDetails
'
);
</script>
</body>
</html>
\ No newline at end of file
admin-assistant/src/main/resources/template/tpl/sealManageBorrow/sealManageBorrowEdit.html
已删除
100644 → 0
浏览文件 @
77dce79e
<!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;padding:20px;"
>
<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 ver-center"
id=
"useTitle"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
步骤
</label>
<div
class=
"layui-input-block ver-center"
>
填单
</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 ver-center"
id=
"useName"
>
</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=
"winui-toolbar"
>
<div
class=
"winui-tool"
style=
"text-align: left;"
>
<button
id=
"addRow"
class=
"winui-toolbtn"
type=
"button"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
新增行
</button>
<button
id=
"deleteRow"
class=
"winui-toolbtn"
type=
"button"
><i
class=
"fa fa-trash-o"
aria-hidden=
"true"
></i>
删除行
</button>
</div>
</div>
<table
class=
"layui-table"
>
<thead>
<tr>
<th></th>
<th>
印章名称
<i
class=
"red"
>
*
</i></th>
<th>
备注
</th>
</tr>
</thead>
<tbody
id=
"useTable"
class=
"insurance-table"
>
</tbody>
</table>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
相关描述
</label>
<div
class=
"layui-input-block"
>
<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"
>
<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 typeOne layui-hide"
lay-submit
lay-filter=
"formEditBean"
>
保存为草稿
</button>
<button
class=
"winui-btn typeOne layui-hide"
lay-submit
lay-filter=
"formSubBean"
>
提交审批
</button>
<button
class=
"winui-btn typeTwo layui-hide"
lay-submit
lay-filter=
"save"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
</form>
</div>
<!-- usetableTemplate -->
<script
type=
"text/x-handlebars-template"
id=
"usetableTemplate"
>
<
tr
trcusid
=
"
{{trId}}
"
>
<
td
><
input
type
=
"
checkbox
"
rowId
=
"
{{id}}
"
lay
-
filter
=
"
checkboxProperty
"
name
=
"
tableCheckRow
"
/><
/td
>
<
td
><
select
id
=
"
{{sealId}}
"
lay
-
filter
=
"
selectSealIdProperty
"
win
-
verify
=
"
required
"
><
/select></
td
>
<
td
><
input
type
=
"
text
"
class
=
"
layui-input
"
id
=
"
{{remark}}
"
/><
/td
>
<
/tr
>
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/sealManageBorrow/
'
}).
use
(
'
sealManageBorrowEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
admin-assistant/src/main/resources/template/tpl/sealManageBorrow/sealManageBorrowList.html
浏览文件 @
0fd9c5c7
...
...
@@ -7,62 +7,32 @@
<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"
>
<select
id=
"state"
>
<option
value=
""
>
全部
</option>
<option
value=
"0"
>
草稿
</option>
<option
value=
"1"
>
审核中
</option>
<option
value=
"2"
>
审核通过
</option>
<option
value=
"3"
>
审核不通过
</option>
<option
value=
"4"
>
作废
</option>
<option
value=
"5"
>
撤销
</option>
</select>
</div>
<label
class=
"layui-form-label"
>
申请时间
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"createTime"
name=
"createTime"
placeholder=
"请选择申请时间"
class=
"layui-input"
/>
</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=
"borrowSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn search-table-btn-right"
auth=
"1596961728905"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
印章借用申请
</button>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
style=
"text-align: left;"
>
<button
id=
"reloadBorrowTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBorrowBean"
class=
"winui-toolbtn"
auth=
"1596961728905"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
印章借用申请
</button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"borrowTable"
lay-filter=
"borrowTable"
></table>
<script
type=
"text/html"
id=
"borrowTableBar"
>
{{
#
if
(
d
.
editRow
==
'
1
'
){
}}
{{
#
if
(
auth
(
'
1596961681794
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
subApproval
"
>
提交审批
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1596961689065
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
cancellation
"
>
作废
<
/a
>
{{
#
}
}}
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"messageTableBar"
>
{{
#
if
(
d
.
editRow
==
'
1
'
){
}}
{{
#
if
(
auth
(
'
1596961681794
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
subApproval
"
>
提交审批
<
/a
>
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
'
1
'
||
d
.
editRow
==
'
2
'
){
}}
{{
#
if
(
auth
(
'
1596961761581
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
borrowedit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1596961689065
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
cancellation
"
>
作废
<
/a
>
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
'
2
'
){
}}
{{
#
if
(
auth
(
'
1596961672773
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
revoke
"
>
撤销
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1596961728905
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
</script>
</div>
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
'
2
'
){
}}
{{
#
if
(
auth
(
'
1596961672773
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
revoke
"
>
撤销
<
/a
>
{{
#
}
}}
{{
#
}
}}
</script>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录