Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
f58189dc
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1427
Star
162
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看板
提交
f58189dc
编写于
7月 24, 2023
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
项目管理删除冗余代码
上级
a768a315
变更
21
隐藏空白更改
内联
并排
Showing
21 changed file
with
0 addition
and
1938 deletion
+0
-1938
pro/src/main/resources/template/js/procostexpense/procostexpenseadd.js
...resources/template/js/procostexpense/procostexpenseadd.js
+0
-167
pro/src/main/resources/template/js/procostexpense/procostexpensealllist.js
...urces/template/js/procostexpense/procostexpensealllist.js
+0
-204
pro/src/main/resources/template/js/procostexpense/procostexpensedetails.js
...urces/template/js/procostexpense/procostexpensedetails.js
+0
-22
pro/src/main/resources/template/js/procostexpense/procostexpenseedit.js
...esources/template/js/procostexpense/procostexpenseedit.js
+0
-213
pro/src/main/resources/template/js/profile/profileadd.js
pro/src/main/resources/template/js/profile/profileadd.js
+0
-71
pro/src/main/resources/template/js/profile/profilealllist.js
pro/src/main/resources/template/js/profile/profilealllist.js
+0
-110
pro/src/main/resources/template/js/profile/profiledetails.js
pro/src/main/resources/template/js/profile/profiledetails.js
+0
-23
pro/src/main/resources/template/js/profile/profileedit.js
pro/src/main/resources/template/js/profile/profileedit.js
+0
-103
pro/src/main/resources/template/js/profile/profilelist.js
pro/src/main/resources/template/js/profile/profilelist.js
+0
-200
pro/src/main/resources/template/js/profile/profilelistbyproid.js
.../main/resources/template/js/profile/profilelistbyproid.js
+0
-70
pro/src/main/resources/template/tpl/procostexpense/procostexpenseadd.html
...ources/template/tpl/procostexpense/procostexpenseadd.html
+0
-109
pro/src/main/resources/template/tpl/procostexpense/procostexpensealllist.html
...es/template/tpl/procostexpense/procostexpensealllist.html
+0
-80
pro/src/main/resources/template/tpl/procostexpense/procostexpensedetails.html
...es/template/tpl/procostexpense/procostexpensedetails.html
+0
-94
pro/src/main/resources/template/tpl/procostexpense/procostexpenseedit.html
...urces/template/tpl/procostexpense/procostexpenseedit.html
+0
-123
pro/src/main/resources/template/tpl/profile/profileadd.html
pro/src/main/resources/template/tpl/profile/profileadd.html
+0
-63
pro/src/main/resources/template/tpl/profile/profilealllist.html
...c/main/resources/template/tpl/profile/profilealllist.html
+0
-56
pro/src/main/resources/template/tpl/profile/profiledetails.html
...c/main/resources/template/tpl/profile/profiledetails.html
+0
-57
pro/src/main/resources/template/tpl/profile/profileedit.html
pro/src/main/resources/template/tpl/profile/profileedit.html
+0
-24
pro/src/main/resources/template/tpl/profile/profileeditTemplate.tpl
...in/resources/template/tpl/profile/profileeditTemplate.tpl
+0
-43
pro/src/main/resources/template/tpl/profile/profilelist.html
pro/src/main/resources/template/tpl/profile/profilelist.html
+0
-80
pro/src/main/resources/template/tpl/profile/profilelistbyproid.html
...in/resources/template/tpl/profile/profilelistbyproid.html
+0
-26
未找到文件。
pro/src/main/resources/template/js/procostexpense/procostexpenseadd.js
已删除
100644 → 0
浏览文件 @
a768a315
// 项目报销
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
laydate
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
proCostExpense
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
var
costTypeList
=
""
;
//支出分类集合展示html
var
usetableTemplate
=
$
(
"
#usetableTemplate
"
).
html
();
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
laydate
.
render
({
elem
:
'
#reimbursementTime
'
,
range
:
false
,
btns
:
[
'
now
'
,
'
confirm
'
]});
// 获取当前登录员工信息
systemCommonUtil
.
getSysCurrentLoginUserMation
(
function
(
data
)
{
$
(
"
#title
"
).
val
(
'
费用报销-
'
+
data
.
bean
.
userName
+
'
-
'
+
getYMDFormatDate
());
$
(
"
#writePeople
"
).
html
(
data
.
bean
.
userName
);
});
// 项目成本费用支出分类
sysDictDataUtil
.
queryDictDataListByDictTypeCode
(
sysDictData
[
"
pmCostExpenseType
"
][
"
key
"
],
function
(
data
)
{
costTypeList
=
getDataUseHandlebars
(
selOption
,
data
);
addRow
();
});
// 获取我参与的项目列表
proUtil
.
queryMyProjectsList
(
function
(
data
)
{
$
(
"
#proId
"
).
html
(
getDataUseHandlebars
(
selOption
,
data
));
form
.
render
(
'
select
'
);
});
// 获取当前登录用户所属企业的所有部门信息
systemCommonUtil
.
queryDepartmentListByCurrentUserBelong
(
function
(
data
)
{
$
(
"
#departments
"
).
html
(
getDataUseHandlebars
(
selOption
,
data
));
form
.
render
(
'
select
'
);
});
//价格变化
$
(
"
body
"
).
on
(
"
input
"
,
"
.priceInput
"
,
function
()
{
calculatedTotalPrice
();
});
//计算总价
function
calculatedTotalPrice
(){
var
rowTr
=
$
(
"
#useTable tr
"
);
var
allLoad
=
0
;
$
.
each
(
rowTr
,
function
(
i
,
item
)
{
//获取行坐标
var
rowNum
=
$
(
item
).
attr
(
"
trcusid
"
).
replace
(
"
tr
"
,
""
);
//获取金额
var
price
=
parseFloat
(
isNull
(
$
(
"
#price
"
+
rowNum
).
val
())
?
"
0
"
:
$
(
"
#price
"
+
rowNum
).
val
());
//计算所有行的合计
allLoad
+=
price
;
});
$
(
"
#thisRowLoad
"
).
html
(
allLoad
);
}
skyeyeEnclosure
.
init
(
'
enclosureUpload
'
);
matchingLanguage
();
form
.
render
();
// 保存为草稿
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
"
);
var
tableData
=
new
Array
();
$
.
each
(
rowTr
,
function
(
i
,
item
)
{
//获取行编号
var
rowNum
=
$
(
item
).
attr
(
"
trcusid
"
).
replace
(
"
tr
"
,
""
);
var
row
=
{
expenditureTypeId
:
$
(
"
#costType
"
+
rowNum
).
val
(),
purposeContent
:
$
(
"
#purposeContent
"
+
rowNum
).
val
(),
price
:
isNull
(
$
(
"
#price
"
+
rowNum
).
val
())
?
"
0
"
:
$
(
"
#price
"
+
rowNum
).
val
(),
opposUnit
:
$
(
"
#opposUnit
"
+
rowNum
).
val
(),
experiencedPerson
:
$
(
"
#experiencedPerson
"
+
rowNum
).
val
()
};
tableData
.
push
(
row
);
});
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
departmentId
:
$
(
"
#departments
"
).
val
(),
reimbursementTime
:
$
(
"
#reimbursementTime
"
).
val
(),
expensePurposeStr
:
JSON
.
stringify
(
tableData
),
proId
:
$
(
"
#proId
"
).
val
(),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
subType
:
subType
,
// 表单类型 1.保存草稿 2.提交审批
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
procostexpense002
"
,
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
=
{
trId
:
"
tr
"
+
rowNum
.
toString
(),
//行的id
id
:
"
row
"
+
rowNum
.
toString
(),
//checkbox的id
costType
:
"
costType
"
+
rowNum
.
toString
(),
//支出分类内容id
purposeContent
:
"
purposeContent
"
+
rowNum
.
toString
(),
//用途说明id
price
:
"
price
"
+
rowNum
.
toString
(),
//价格id
opposUnit
:
"
opposUnit
"
+
rowNum
.
toString
(),
//对方单位id
experiencedPerson
:
"
experiencedPerson
"
+
rowNum
.
toString
()
//经手人id
};
$
(
"
#useTable
"
).
append
(
getDataUseHandlebars
(
usetableTemplate
,
par
));
//赋值给支出分类
$
(
"
#costType
"
+
rowNum
.
toString
()).
html
(
costTypeList
);
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
();
});
calculatedTotalPrice
();
}
else
{
winui
.
window
.
msg
(
'
请选择要删除的行
'
,
{
icon
:
2
,
time
:
2000
});
}
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
pro/src/main/resources/template/js/procostexpense/procostexpensealllist.js
已删除
100644 → 0
浏览文件 @
a768a315
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
table
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
proCostExpense
"
][
"
key
"
];
authBtn
(
'
1574906688311
'
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
procostexpense001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
title
'
,
title
:
'
主题
'
,
align
:
'
left
'
,
width
:
250
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
title
+
'
</a>
'
;
}},
{
field
:
'
projectName
'
,
title
:
'
所属项目
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
userName
'
,
title
:
'
报销人
'
,
align
:
'
left
'
,
width
:
80
},
{
field
:
'
stateName
'
,
title
:
'
状态
'
,
width
:
90
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
0
){
return
"
<span>草稿</span>
"
;
}
else
if
(
d
.
state
==
1
){
return
"
<span class='state-new'>审核中</span>
"
;
}
else
if
(
d
.
state
==
11
){
return
"
<span class='state-up'>审核通过</span>
"
;
}
else
if
(
d
.
state
==
12
){
return
"
<span class='state-down'>审核失败</span>
"
;
}
else
if
(
d
.
state
==
2
){
return
"
<span class='state-down'>作废</span>
"
;
}
else
if
(
d
.
state
==
3
){
return
"
<span class='state-error'>撤销</span>
"
;
}
}},
{
field
:
'
allPrice
'
,
title
:
'
报销费用
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
reimbursementTime
'
,
title
:
'
填报时间
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
processInstanceId
'
,
title
:
'
流程ID
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
processInstanceId
))
{
return
'
<a lay-event="processDetails" class="notice-title-click">
'
+
d
.
processInstanceId
+
'
</a>
'
;
}
else
{
return
""
;
}
}},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
250
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
details
'
){
//详情
details
(
data
);
}
else
if
(
layEvent
===
'
processDetails
'
)
{
//流程详情
activitiUtil
.
activitiDetails
(
data
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
subApproval
'
)
{
//提交审批
subApproval
(
data
,
obj
);
}
else
if
(
layEvent
===
'
cancellation
'
)
{
//作废
cancellation
(
data
,
obj
);
}
else
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
revoke
'
)
{
//撤销
revoke
(
data
);
}
});
// 撤销审批申请
function
revoke
(
data
)
{
var
msg
=
'
确认从工作流中撤销选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
procostexpense007
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 添加
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/procostexpense/procostexpenseadd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
procostexpenseadd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
// 提交审批
function
subApproval
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
serviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
procostexpense006
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
});
}
// 作废
function
cancellation
(
data
,
obj
){
var
msg
=
obj
?
'
确认作废【
'
+
obj
.
data
.
title
+
'
】吗?
'
:
'
确认作废该任务信息吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
作废操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
procostexpense010
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 详情
function
details
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/procostexpense/procostexpensedetails.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
procostexpensedetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
// 编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/procostexpense/procostexpenseedit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
procostexpenseedit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 删除
function
del
(
data
,
obj
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
procostexpense009
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 搜索表单
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
return
false
;
});
//刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
title
:
$
(
"
#title
"
).
val
(),
projectName
:
$
(
"
#projectName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()
};
}
exports
(
'
procostexpensealllist
'
,
{});
});
pro/src/main/resources/template/js/procostexpense/procostexpensedetails.js
已删除
100644 → 0
浏览文件 @
a768a315
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
var
beanTemplate
=
$
(
"
#beanTemplate
"
).
html
();
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
procostexpense003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
var
_html
=
getDataUseHandlebars
(
beanTemplate
,
json
);
$
(
"
#showForm
"
).
html
(
_html
);
// 附件回显
skyeyeEnclosure
.
showDetails
({
"
enclosureUploadBox
"
:
json
.
bean
.
enclosureInfo
});
matchingLanguage
();
}});
});
\ No newline at end of file
pro/src/main/resources/template/js/procostexpense/procostexpenseedit.js
已删除
100644 → 0
浏览文件 @
a768a315
// 项目报销
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
laydate
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
proCostExpense
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
var
costTypeList
=
""
;
//支出分类集合展示html
var
usetableTemplate
=
$
(
"
#usetableTemplate
"
).
html
();
var
showTemplate
=
$
(
"
#showTemplate
"
).
html
();
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
procostexpense004
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
$
(
"
#title
"
).
val
(
json
.
bean
.
title
);
$
(
"
#writePeople
"
).
html
(
json
.
bean
.
userName
);
$
(
"
#reimbursementTime
"
).
val
(
json
.
bean
.
reimbursementTime
);
$
(
"
#thisRowLoad
"
).
html
(
json
.
bean
.
allPrice
);
if
(
json
.
bean
.
state
==
'
1
'
){
$
(
"
.typeTwo
"
).
removeClass
(
"
layui-hide
"
);
}
else
{
$
(
"
.typeOne
"
).
removeClass
(
"
layui-hide
"
);
}
laydate
.
render
({
elem
:
'
#reimbursementTime
'
,
range
:
false
,
btns
:
[
'
now
'
,
'
confirm
'
]});
// 附件回显
skyeyeEnclosure
.
initTypeISData
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
// 获取我参与的项目列表
proUtil
.
queryMyProjectsList
(
function
(
data
)
{
$
(
"
#proId
"
).
html
(
getDataUseHandlebars
(
selOption
,
data
));
$
(
"
#proId
"
).
val
(
json
.
bean
.
proId
);
});
form
.
render
(
'
select
'
);
// 项目成本费用支出分类
sysDictDataUtil
.
queryDictDataListByDictTypeCode
(
sysDictData
[
"
pmCostExpenseType
"
][
"
key
"
],
function
(
data
)
{
costTypeList
=
getDataUseHandlebars
(
selOption
,
data
);
});
$
.
each
(
json
.
bean
.
purposes
,
function
(
i
,
item
)
{
showRow
(
item
);
});
// 获取当前登录用户所属企业的所有部门信息
systemCommonUtil
.
queryDepartmentListByCurrentUserBelong
(
function
(
data
)
{
$
(
"
#departments
"
).
html
(
getDataUseHandlebars
(
selOption
,
data
));
$
(
"
#departments
"
).
val
(
json
.
bean
.
departmentId
);
form
.
render
(
'
select
'
);
});
matchingLanguage
();
form
.
render
();
}});
// 价格变化
$
(
"
body
"
).
on
(
"
input
"
,
"
.priceInput
"
,
function
()
{
calculatedTotalPrice
();
});
// 计算总价
function
calculatedTotalPrice
(){
var
rowTr
=
$
(
"
#useTable tr
"
);
var
allLoad
=
0
;
$
.
each
(
rowTr
,
function
(
i
,
item
)
{
//获取行坐标
var
rowNum
=
$
(
item
).
attr
(
"
trcusid
"
).
replace
(
"
tr
"
,
""
);
//获取金额
var
price
=
parseFloat
(
isNull
(
$
(
"
#price
"
+
rowNum
).
val
())
?
"
0
"
:
$
(
"
#price
"
+
rowNum
).
val
());
//计算所有行的合计
allLoad
+=
price
;
});
$
(
"
#thisRowLoad
"
).
html
(
allLoad
);
}
// 保存为草稿
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(subBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
saveData
(
'
3
'
,
""
);
}
return
false
;
});
function
saveData
(
subType
,
approvalId
)
{
// 获取数据
var
rowTr
=
$
(
"
#useTable tr
"
);
var
tableData
=
new
Array
();
$
.
each
(
rowTr
,
function
(
i
,
item
)
{
//获取行编号
var
rowNum
=
$
(
item
).
attr
(
"
trcusid
"
).
replace
(
"
tr
"
,
""
);
var
row
=
{
expenditureTypeId
:
$
(
"
#costType
"
+
rowNum
).
val
(),
purposeContent
:
$
(
"
#purposeContent
"
+
rowNum
).
val
(),
price
:
isNull
(
$
(
"
#price
"
+
rowNum
).
val
())
?
"
0
"
:
$
(
"
#price
"
+
rowNum
).
val
(),
opposUnit
:
$
(
"
#opposUnit
"
+
rowNum
).
val
(),
experiencedPerson
:
$
(
"
#experiencedPerson
"
+
rowNum
).
val
()
};
tableData
.
push
(
row
);
});
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
departmentId
:
$
(
"
#departments
"
).
val
(),
reimbursementTime
:
$
(
"
#reimbursementTime
"
).
val
(),
expensePurposeStr
:
JSON
.
stringify
(
tableData
),
proId
:
$
(
"
#proId
"
).
val
(),
rowId
:
parent
.
rowId
,
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
subType
:
subType
,
// 1:保存为草稿 2.提交到工作流 3.在工作流中编辑
approvalId
:
approvalId
,
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
procostexpense005
"
,
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
=
{
trId
:
"
tr
"
+
rowNum
.
toString
(),
//行的id
id
:
"
row
"
+
rowNum
.
toString
(),
//checkbox的id
costType
:
"
costType
"
+
rowNum
.
toString
(),
//支出分类内容id
purposeContent
:
"
purposeContent
"
+
rowNum
.
toString
(),
//用途说明id
price
:
"
price
"
+
rowNum
.
toString
(),
//价格id
opposUnit
:
"
opposUnit
"
+
rowNum
.
toString
(),
//对方单位id
experiencedPerson
:
"
experiencedPerson
"
+
rowNum
.
toString
()
//经手人id
};
$
(
"
#useTable
"
).
append
(
getDataUseHandlebars
(
usetableTemplate
,
par
));
//赋值给支出分类
$
(
"
#costType
"
+
rowNum
.
toString
()).
html
(
costTypeList
);
form
.
render
(
'
select
'
);
form
.
render
(
'
checkbox
'
);
rowNum
++
;
}
//回显行
function
showRow
(
item
)
{
var
par
=
{
trId
:
"
tr
"
+
rowNum
.
toString
(),
//行的id
id
:
"
row
"
+
rowNum
.
toString
(),
//checkbox的id
costType
:
"
costType
"
+
rowNum
.
toString
(),
//支出分类内容id
purposeContent
:
"
purposeContent
"
+
rowNum
.
toString
(),
//用途说明id
purposeContentVal
:
item
.
purposeContent
,
//用途说明
price
:
"
price
"
+
rowNum
.
toString
(),
//价格id
priceVal
:
item
.
price
,
//价格
opposUnit
:
"
opposUnit
"
+
rowNum
.
toString
(),
//对方单位id
opposUnitVal
:
item
.
opposUnit
,
//对方单位
experiencedPerson
:
"
experiencedPerson
"
+
rowNum
.
toString
(),
//经手人id
experiencedPersonVal
:
item
.
experiencedPerson
//经手人
};
$
(
"
#useTable
"
).
append
(
getDataUseHandlebars
(
showTemplate
,
par
));
//赋值给支出分类
$
(
"
#costType
"
+
rowNum
.
toString
()).
html
(
costTypeList
);
$
(
"
#costType
"
+
rowNum
.
toString
()).
val
(
item
.
expenditureTypeId
);
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
();
});
calculatedTotalPrice
();
}
else
{
winui
.
window
.
msg
(
'
请选择要删除的行
'
,
{
icon
:
2
,
time
:
2000
});
}
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
pro/src/main/resources/template/js/profile/profileadd.js
已删除
100644 → 0
浏览文件 @
a768a315
// 项目文档
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
fileUpload
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
proFile
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
ue
=
ueEditorUtil
.
initEditor
(
'
content
'
);
// 项目文档分类
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
pmFileType
"
][
"
key
"
],
'
select
'
,
"
fileType
"
,
''
,
form
);
// 获取我参与的项目列表
proUtil
.
queryMyProjectsList
(
function
(
data
)
{
$
(
"
#proId
"
).
html
(
getDataUseHandlebars
(
selOption
,
data
));
form
.
render
(
'
select
'
);
});
skyeyeEnclosure
.
init
(
'
enclosureUpload
'
);
matchingLanguage
();
form
.
render
();
// 保存为草稿
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
params
=
{
title
:
$
(
"
#title
"
).
val
(),
typeId
:
$
(
"
#fileType
"
).
val
(),
content
:
encodeURIComponent
(
ue
.
getContent
()),
proId
:
$
(
"
#proId
"
).
val
(),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
subType
:
subType
,
// 表单类型 1.保存草稿 2.提交审批
approvalId
:
approvalId
};
if
(
isNull
(
ue
.
getContent
())){
winui
.
window
.
msg
(
'
请填写文档内容!
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
profile002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
pro/src/main/resources/template/js/profile/profilealllist.js
已删除
100644 → 0
浏览文件 @
a768a315
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
table
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
profile011
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
imits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
title
'
,
title
:
'
名称
'
,
align
:
'
left
'
,
width
:
250
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
title
+
'
</a>
'
;
}},
{
field
:
'
projectName
'
,
title
:
'
所属项目
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
stateName
'
,
title
:
'
状态
'
,
width
:
90
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
0
){
return
"
<span>草稿</span>
"
;
}
else
if
(
d
.
state
==
1
){
return
"
<span class='state-new'>审核中</span>
"
;
}
else
if
(
d
.
state
==
11
){
return
"
<span class='state-up'>审核通过</span>
"
;
}
else
if
(
d
.
state
==
12
){
return
"
<span class='state-down'>审核失败</span>
"
;
}
else
if
(
d
.
state
==
2
){
return
"
<span class='state-down'>作废</span>
"
;
}
else
if
(
d
.
state
==
3
){
return
"
<span class='state-error'>撤销</span>
"
;
}
}},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
updateTime
'
,
title
:
'
更新时间
'
,
align
:
'
center
'
,
width
:
140
},
{
field
:
'
processInstanceId
'
,
title
:
'
流程ID
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
processInstanceId
))
{
return
'
<a lay-event="processDetails" class="notice-title-click">
'
+
d
.
processInstanceId
+
'
</a>
'
;
}
else
{
return
""
;
}
}}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
details
'
)
{
//详情
details
(
data
);
}
else
if
(
layEvent
===
'
processDetails
'
)
{
//流程详情
activitiUtil
.
activitiDetails
(
data
);
}
});
// 详情
function
details
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/profile/profiledetails.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
profiledetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
// 搜索表单
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
return
false
;
});
// 刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
projectName
:
$
(
"
#proName
"
).
val
(),
title
:
$
(
"
#fileName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()
};
}
exports
(
'
profilealllist
'
,
{});
});
pro/src/main/resources/template/js/profile/profiledetails.js
已删除
100644 → 0
浏览文件 @
a768a315
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
+
"
profile003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
useTemplate
,
json
));
// 附件回显
skyeyeEnclosure
.
showDetails
({
"
enclosureInfoBox
"
:
json
.
bean
.
enclosureInfo
});
matchingLanguage
();
}});
});
});
\ No newline at end of file
pro/src/main/resources/template/js/profile/profileedit.js
已删除
100644 → 0
浏览文件 @
a768a315
// 项目文档
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
[
"
proFile
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
ue
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
profile004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/profile/profileeditTemplate.tpl
'
),
ajaxSendAfter
:
function
(
json
)
{
// 附件回显
skyeyeEnclosure
.
initTypeISData
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
if
(
json
.
bean
.
state
==
'
1
'
){
$
(
"
.typeTwo
"
).
removeClass
(
"
layui-hide
"
);
}
else
{
$
(
"
.typeOne
"
).
removeClass
(
"
layui-hide
"
);
}
ue
=
ueEditorUtil
.
initEditor
(
'
content
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
ue
.
setContent
(
json
.
bean
.
content
);
});
// 项目文档分类
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
pmFileType
"
][
"
key
"
],
'
select
'
,
"
fileType
"
,
json
.
bean
.
typeId
,
form
);
// 获取我参与的项目列表
proUtil
.
queryMyProjectsList
(
function
(
data
)
{
$
(
"
#proId
"
).
html
(
getDataUseHandlebars
(
selOption
,
data
));
$
(
"
#proId
"
).
val
(
json
.
bean
.
proId
);
form
.
render
(
'
select
'
);
});
matchingLanguage
();
form
.
render
();
}
});
// 保存为草稿
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(subBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
saveData
(
'
3
'
,
""
);
}
return
false
;
});
function
saveData
(
subType
,
approvalId
)
{
var
params
=
{
rowId
:
parent
.
rowId
,
title
:
$
(
"
#title
"
).
val
(),
typeId
:
$
(
"
#fileType
"
).
val
(),
content
:
encodeURIComponent
(
ue
.
getContent
()),
proId
:
$
(
"
#proId
"
).
val
(),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
subType
:
subType
,
// 1:保存为草稿 2.提交到工作流 3.在工作流中编辑
approvalId
:
approvalId
,
};
if
(
isNull
(
ue
.
getContent
())){
winui
.
window
.
msg
(
'
请填写文档内容!
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
profile005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
pro/src/main/resources/template/js/profile/profilelist.js
已删除
100644 → 0
浏览文件 @
a768a315
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
table
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
proFile
"
][
"
key
"
];
authBtn
(
'
1575277345327
'
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
profile001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
title
'
,
title
:
'
名称
'
,
align
:
'
left
'
,
width
:
250
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
title
+
'
</a>
'
;
}},
{
field
:
'
projectName
'
,
title
:
'
所属项目
'
,
align
:
'
left
'
,
width
:
100
},
{
field
:
'
stateName
'
,
title
:
'
状态
'
,
width
:
90
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
0
){
return
"
<span>草稿</span>
"
;
}
else
if
(
d
.
state
==
1
){
return
"
<span class='state-new'>审核中</span>
"
;
}
else
if
(
d
.
state
==
11
){
return
"
<span class='state-up'>审核通过</span>
"
;
}
else
if
(
d
.
state
==
12
){
return
"
<span class='state-down'>审核失败</span>
"
;
}
else
if
(
d
.
state
==
2
){
return
"
<span class='state-down'>作废</span>
"
;
}
else
if
(
d
.
state
==
3
){
return
"
<span class='state-error'>撤销</span>
"
;
}
}},
{
field
:
'
updateTime
'
,
title
:
'
更新时间
'
,
align
:
'
center
'
,
width
:
140
},
{
field
:
'
processInstanceId
'
,
title
:
'
流程ID
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
if
(
!
isNull
(
d
.
processInstanceId
))
{
return
'
<a lay-event="processDetails" class="notice-title-click">
'
+
d
.
processInstanceId
+
'
</a>
'
;
}
else
{
return
""
;
}
}},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
250
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
details
'
)
{
//详情
details
(
data
);
}
else
if
(
layEvent
===
'
processDetails
'
)
{
//流程详情
activitiUtil
.
activitiDetails
(
data
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
subApproval
'
)
{
//提交审批
subApproval
(
data
,
obj
);
}
else
if
(
layEvent
===
'
cancellation
'
)
{
//作废
cancellation
(
data
,
obj
);
}
else
if
(
layEvent
===
'
del
'
)
{
//删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
revoke
'
)
{
//撤销
revoke
(
data
);
}
});
// 撤销审批申请
function
revoke
(
data
)
{
layer
.
confirm
(
'
确认从工作流中撤销选中数据吗?
'
,
{
icon
:
3
,
title
:
'
撤销申请
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
profile007
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 添加
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/profile/profileadd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
profileadd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
// 提交审批
function
subApproval
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
serviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
profile006
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
});
}
// 作废
function
cancellation
(
data
,
obj
){
layer
.
confirm
(
'
确认作废该数据吗?
'
,
{
icon
:
3
,
title
:
'
作废操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
profile010
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 详情
function
details
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/profile/profiledetails.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
profiledetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
// 编辑
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/profile/profileedit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
profileedit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 删除
function
del
(
data
,
obj
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
profile009
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 搜索表单
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
return
false
;
});
// 刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
projectName
:
$
(
"
#proName
"
).
val
(),
title
:
$
(
"
#fileName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()
};
}
exports
(
'
profilelist
'
,
{});
});
pro/src/main/resources/template/js/profile/profilelistbyproid.js
已删除
100644 → 0
浏览文件 @
a768a315
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
table
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
profile012
'
,
where
:
{
rowId
:
parent
.
rowId
},
even
:
true
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
title
'
,
title
:
'
名称
'
,
align
:
'
left
'
,
width
:
250
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
title
+
'
</a>
'
;
}},
{
field
:
'
typeName
'
,
title
:
'
文档分类
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
updateTime
'
,
title
:
'
更新时间
'
,
align
:
'
center
'
,
width
:
140
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
details
'
){
//详情
details
(
data
);
}
});
form
.
render
();
//详情
function
details
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/profile/profiledetails.html
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
profiledetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
}});
}
//刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:{
rowId
:
parent
.
rowId
}});
}
exports
(
'
profilelistbyproid
'
,
{});
});
pro/src/main/resources/template/tpl/procostexpense/procostexpenseadd.html
已删除
100644 → 0
浏览文件 @
a768a315
<!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"
>
<input
type=
"text"
id=
"title"
name=
"title"
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 ver-center"
id=
"writePeople"
>
</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"
>
<select
id=
"departments"
name=
"departments"
win-verify=
"required"
>
</select>
</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"
>
<select
id=
"proId"
lay-filter=
"proIdProperty"
lay-search
win-verify=
"required"
>
</select>
</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=
"reimbursementTime"
name=
"reimbursementTime"
win-verify=
"required"
placeholder=
"请选择报销日期"
class=
"layui-input"
/>
</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
style=
"width: 30px;"
></th>
<th
style=
"width: 180px;"
>
支出分类
</th>
<th
style=
"width: 150px;"
>
用途说明
</th>
<th
style=
"width: 100px;"
>
费用金额
</th>
<th
style=
"width: 100px;"
>
对方单位
</th>
<th
style=
"width: 100px;"
>
经手人
</th>
</tr>
</thead>
<tbody
id=
"useTable"
class=
"insurance-table"
>
</tbody>
</table>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs4"
style=
"margin-left: 60%;"
>
<label
class=
"layui-form-label"
>
合计
</label>
<div
class=
"layui-input-block ver-center"
id=
"thisRowLoad"
>
0
</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
=
"
{{costType}}
"
lay
-
search
win
-
verify
=
"
required
"
><
/select></
td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{purposeContent}}
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入用途说明
"
class
=
"
layui-input
"
maxlength
=
"
200
"
/><
/td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{price}}
"
win
-
verify
=
"
required|money
"
placeholder
=
"
请输入费用金额
"
class
=
"
layui-input priceInput
"
value
=
"
0
"
/><
/td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{opposUnit}}
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入对方单位
"
class
=
"
layui-input
"
/><
/td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{experiencedPerson}}
"
placeholder
=
"
请输入经手人
"
class
=
"
layui-input
"
/><
/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/procostexpense/
'
}).
use
(
'
procostexpenseadd
'
);
</script>
</body>
</html>
\ No newline at end of file
pro/src/main/resources/template/tpl/procostexpense/procostexpensealllist.html
已删除
100644 → 0
浏览文件 @
a768a315
<!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
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=
"title"
name=
"title"
placeholder=
"请输入主题"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
所属项目
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"projectName"
name=
"projectName"
placeholder=
"请输入项目名称"
class=
"layui-input"
/>
</div>
<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=
"11"
>
审核通过
</option>
<option
value=
"12"
>
审核不通过
</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"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1574906688311"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
d
.
state
==
'
0
'
||
d
.
state
==
'
12
'
||
d
.
state
==
'
3
'
){
}}
{{
#
if
(
auth
(
'
1574906702989
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
subApproval
"
>
提交审批
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1574906740546
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
cancellation
"
>
作废
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1574906732146
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
'
1
'
||
d
.
editRow
==
'
2
'
){
}}
{{
#
if
(
auth
(
'
1574906722015
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
'
2
'
){
}}
{{
#
if
(
auth
(
'
1574906712083
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
revoke
"
>
撤销
<
/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/procostexpense/
'
}).
use
(
'
procostexpensealllist
'
);
</script>
</body>
</html>
\ No newline at end of file
pro/src/main/resources/template/tpl/procostexpense/procostexpensedetails.html
已删除
100644 → 0
浏览文件 @
a768a315
<!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>
<!-- 数据展示模板 -->
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
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
"
>
{{
userName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
所属部门
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
departmentName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
所属项目
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
projectName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
报销日期
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
reimbursementTime
}}
<
/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
style
=
"
width: 180px;
"
>
支出分类
<
/th
>
<
th
style
=
"
width: 150px;
"
>
用途说明
<
/th
>
<
th
style
=
"
width: 100px;
"
>
费用金额
<
/th
>
<
th
style
=
"
width: 100px;
"
>
对方单位
<
/th
>
<
th
style
=
"
width: 100px;
"
>
经手人
<
/th
>
<
/tr
>
<
/thead
>
<
tbody
id
=
"
useTable
"
class
=
"
insurance-table
"
>
{{
#
each
purposes
}}
<
td
>
{{
expenseTypeId
}}
<
/td
>
<
td
>
{{
purposeContent
}}
<
/td
>
<
td
>
{{
price
}}
<
/td
>
<
td
>
{{
opposUnit
}}
<
/td
>
<
td
>
{{
experiencedPerson
}}
<
/td
>
{{
/
each
}}
<
/tbody
>
<
/table
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs4
"
style
=
"
margin-left: 60%;
"
>
<
label
class
=
"
layui-form-label
"
>
合计
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
thisRowLoad
"
>
{{
allPrice
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
附件
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
enclosureUploadBox
"
>
<
/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/procostexpense/
'
}).
use
(
'
procostexpensedetails
'
);
</script>
</body>
</html>
\ No newline at end of file
pro/src/main/resources/template/tpl/procostexpense/procostexpenseedit.html
已删除
100644 → 0
浏览文件 @
a768a315
<!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"
>
<input
type=
"text"
id=
"title"
name=
"title"
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 ver-center"
id=
"writePeople"
>
</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"
>
<select
id=
"departments"
name=
"departments"
win-verify=
"required"
>
</select>
</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"
>
<select
id=
"proId"
lay-filter=
"proIdProperty"
lay-search
win-verify=
"required"
>
</select>
</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=
"reimbursementTime"
name=
"reimbursementTime"
win-verify=
"required"
placeholder=
"请选择报销日期"
class=
"layui-input"
/>
</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
style=
"width: 30px;"
></th>
<th
style=
"width: 180px;"
>
支出分类
</th>
<th
style=
"width: 150px;"
>
用途说明
</th>
<th
style=
"width: 100px;"
>
费用金额
</th>
<th
style=
"width: 100px;"
>
对方单位
</th>
<th
style=
"width: 100px;"
>
经手人
</th>
</tr>
</thead>
<tbody
id=
"useTable"
class=
"insurance-table"
>
</tbody>
</table>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs4"
style=
"margin-left: 60%;"
>
<label
class=
"layui-form-label"
>
合计
</label>
<div
class=
"layui-input-block ver-center"
id=
"thisRowLoad"
>
0
</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=
"subBean"
><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
=
"
{{costType}}
"
lay
-
search
win
-
verify
=
"
required
"
><
/select></
td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{purposeContent}}
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入用途说明
"
class
=
"
layui-input
"
maxlength
=
"
200
"
/><
/td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{price}}
"
win
-
verify
=
"
required|money
"
placeholder
=
"
请输入费用金额
"
class
=
"
layui-input priceInput
"
value
=
"
0
"
/><
/td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{opposUnit}}
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入对方单位
"
class
=
"
layui-input
"
/><
/td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{experiencedPerson}}
"
placeholder
=
"
请输入经手人
"
class
=
"
layui-input
"
/><
/td
>
<
/tr
>
</script>
<!-- 回显时使用的模板 -->
<script
type=
"text/x-handlebars-template"
id=
"showTemplate"
>
<
tr
trcusid
=
"
{{trId}}
"
>
<
td
><
input
type
=
"
checkbox
"
rowId
=
"
{{id}}
"
lay
-
filter
=
"
checkboxProperty
"
name
=
"
tableCheckRow
"
/><
/td
>
<
td
><
select
id
=
"
{{costType}}
"
lay
-
search
win
-
verify
=
"
required
"
><
/select></
td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{purposeContent}}
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入用途说明
"
class
=
"
layui-input
"
maxlength
=
"
200
"
value
=
"
{{purposeContentVal}}
"
/><
/td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{price}}
"
win
-
verify
=
"
required|money
"
placeholder
=
"
请输入费用金额
"
class
=
"
layui-input priceInput
"
value
=
"
{{priceVal}}
"
/><
/td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{opposUnit}}
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入对方单位
"
class
=
"
layui-input
"
value
=
"
{{opposUnitVal}}
"
/><
/td
>
<
td
><
input
type
=
"
text
"
id
=
"
{{experiencedPerson}}
"
placeholder
=
"
请输入经手人
"
class
=
"
layui-input
"
value
=
"
{{experiencedPersonVal}}
"
/><
/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/procostexpense/
'
}).
use
(
'
procostexpenseedit
'
);
</script>
</body>
</html>
\ No newline at end of file
pro/src/main/resources/template/tpl/profile/profileadd.html
已删除
100644 → 0
浏览文件 @
a768a315
<!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"
autocomplete=
"off"
>
<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=
"title"
name=
"title"
placeholder=
"请输入文档名称"
class=
"layui-input"
win-verify=
"required"
maxlength=
"100"
/>
</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"
>
<select
id=
"fileType"
name=
"fileType"
win-verify=
"required"
>
</select>
</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"
>
<select
id=
"proId"
name=
"proId"
win-verify=
"required"
>
</select>
</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"
>
<script
id=
"content"
name=
"content"
type=
"text/plain"
></script>
</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>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/ueditor.config.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/ueditor.all.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/lang/zh-cn/zh-cn.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/profile/
'
}).
use
(
'
profileadd
'
);
</script>
</body>
</html>
\ No newline at end of file
pro/src/main/resources/template/tpl/profile/profilealllist.html
已删除
100644 → 0
浏览文件 @
a768a315
<!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
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=
"fileName"
name=
"fileName"
placeholder=
"文档名称"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
所属项目
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"proName"
name=
"proName"
placeholder=
"请输入项目名称"
class=
"layui-input"
/>
</div>
<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=
"11"
>
审核通过
</option>
<option
value=
"12"
>
审核不通过
</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"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
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;"
>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
</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/profile/
'
}).
use
(
'
profilealllist
'
);
</script>
</body>
</html>
\ No newline at end of file
pro/src/main/resources/template/tpl/profile/profiledetails.html
已删除
100644 → 0
浏览文件 @
a768a315
<!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
"
>
{{
typeName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
所属项目
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
projectName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
文档内容
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{{
content
}}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
附件
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
enclosureInfoBox
"
>
<
/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/profile/
'
}).
use
(
'
profiledetails
'
);
</script>
</body>
</html>
\ No newline at end of file
pro/src/main/resources/template/tpl/profile/profileedit.html
已删除
100644 → 0
浏览文件 @
a768a315
<!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"
autocomplete=
"off"
>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/ueditor.config.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/ueditor.all.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/lang/zh-cn/zh-cn.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/profile/
'
}).
use
(
'
profileedit
'
);
</script>
</body>
</html>
\ No newline at end of file
pro/src/main/resources/template/tpl/profile/profileeditTemplate.tpl
已删除
100644 → 0
浏览文件 @
a768a315
{{
#
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=
"title"
name=
"title"
placeholder=
"请输入文档名称"
class=
"layui-input"
win-verify=
"required"
maxlength=
"100"
value=
"{
{
title
}
}"
/>
</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"
>
<select
id=
"fileType"
name=
"fileType"
win-verify=
"required"
>
</select>
</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"
>
<select
id=
"proId"
name=
"proId"
win-verify=
"required"
>
</select>
</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"
>
<script
id=
"content"
name=
"content"
type=
"text/plain"
></script>
</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=
"subBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
pro/src/main/resources/template/tpl/profile/profilelist.html
已删除
100644 → 0
浏览文件 @
a768a315
<!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
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=
"fileName"
name=
"fileName"
placeholder=
"文档名称"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
所属项目
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"proName"
name=
"proName"
placeholder=
"请输入项目名称"
class=
"layui-input"
/>
</div>
<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=
"11"
>
审核通过
</option>
<option
value=
"12"
>
审核不通过
</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"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1575277345327"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
d
.
state
==
'
0
'
||
d
.
state
==
'
12
'
||
d
.
state
==
'
3
'
){
}}
{{
#
if
(
auth
(
'
1575277364621
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
subApproval
"
>
提交审批
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1575277413174
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
cancellation
"
>
作废
<
/a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1575277404835
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
del
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
'
1
'
||
d
.
editRow
==
'
2
'
){
}}
{{
#
if
(
auth
(
'
1575277354979
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
editRow
==
'
2
'
){
}}
{{
#
if
(
auth
(
'
1575277373928
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
revoke
"
>
撤销
<
/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/profile/
'
}).
use
(
'
profilelist
'
);
</script>
</body>
</html>
\ No newline at end of file
pro/src/main/resources/template/tpl/profile/profilelistbyproid.html
已删除
100644 → 0
浏览文件 @
a768a315
<!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
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
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;"
>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
</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/profile/
'
}).
use
(
'
profilelistbyproid
'
);
</script>
</body>
</html>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录