Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
邬友楠
test
Commits
aedec281
Commit
aedec281
authored
Apr 25, 2021
by
雍欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并指标模板
parent
cbcfead0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
1546 additions
and
0 deletions
+1546
-0
index.js
huigou-xt/src/main/webapp/system/index/index.js
+211
-0
index.jsp
huigou-xt/src/main/webapp/system/index/index.jsp
+35
-0
indexAlertAllDetail.js
...ou-xt/src/main/webapp/system/index/indexAlertAllDetail.js
+191
-0
indexClassification.js
...ou-xt/src/main/webapp/system/index/indexClassification.js
+224
-0
indexClassification.jsp
...u-xt/src/main/webapp/system/index/indexClassification.jsp
+31
-0
indexClassificationDetail.jsp
...rc/main/webapp/system/index/indexClassificationDetail.jsp
+21
-0
indexClassificationDim.js
...xt/src/main/webapp/system/index/indexClassificationDim.js
+172
-0
indexClassificationDim.jsp
...t/src/main/webapp/system/index/indexClassificationDim.jsp
+22
-0
indexClassificationDimDetail.jsp
...main/webapp/system/index/indexClassificationDimDetail.jsp
+20
-0
indexDemo.jsp
huigou-xt/src/main/webapp/system/index/indexDemo.jsp
+45
-0
indexDetail.js
huigou-xt/src/main/webapp/system/index/indexDetail.js
+475
-0
indexDetail.jsp
huigou-xt/src/main/webapp/system/index/indexDetail.jsp
+47
-0
indexEntryDetail.jsp
huigou-xt/src/main/webapp/system/index/indexEntryDetail.jsp
+52
-0
No files found.
huigou-xt/src/main/webapp/system/index/index.js
0 → 100644
View file @
aedec281
var
gridManager
=
null
,
refreshFlag
=
false
;
var
pageParam
=
{
rootId
:
"1"
,
rootParentId
:
"0"
,
currentId
:
"0"
};
$
(
document
).
ready
(
function
()
{
UICtrl
.
initDefaultLayout
();
initTree
();
initGrid
();
});
function
initTree
()
{
$
(
'#mainTree'
).
commonTree
({
loadTreesAction
:
"indexClassification/queryIndexClassifications.ajax"
,
parentId
:
pageParam
.
rootParentId
,
isLeaf
:
function
(
data
)
{
return
parseInt
(
data
.
hasChildren
)
==
0
;
},
onClick
:
function
(
data
)
{
onTreeNodeClick
(
data
);
},
getParam
:
function
(){
return
{
isDefault
:
1
};
},
IsShowMenu
:
false
});
}
function
onTreeNodeClick
(
data
)
{
var
html
=
[];
if
(
data
.
id
==
pageParam
.
rootId
)
{
html
.
push
(
'指标列表'
);
}
else
{
html
.
push
(
'<span class="tomato-color">['
,
data
.
name
,
']</span>指标列表'
);
}
pageParam
.
currentId
=
data
.
id
;
$
(
"#layout"
).
layout
(
"setCenterTitle"
,
html
.
join
(
''
));
if
(
gridManager
)
{
UICtrl
.
gridSearch
(
gridManager
,
{
fullId
:
data
.
fullId
});
}
}
//初始化表格
function
initGrid
()
{
var
toolbarOptions
=
UICtrl
.
getDefaultToolbarOptions
({
addHandler
:
addHandler
,
updateHandler
:
function
(){
updateHandler
();
},
deleteHandler
:
deleteHandler
,
saveSortIDHandler
:
saveSortIDHandler
,
enableHandler
:
enableHandler
,
disableHandler
:
disableHandler
,
moveHandler
:
moveHandler
});
gridManager
=
UICtrl
.
grid
(
'#maingrid'
,
{
columns
:
[
{
display
:
"ID"
,
name
:
"id"
,
width
:
240
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"编码"
,
name
:
"code"
,
width
:
150
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"名称"
,
name
:
"name"
,
width
:
250
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"流程主键"
,
name
:
"procKey"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"周期类型"
,
name
:
"indexPeriodKindTextView"
,
width
:
70
,
minWidth
:
60
,
type
:
"string"
,
align
:
"center"
},
{
display
:
"指标级别"
,
name
:
"indexGradeTextView"
,
width
:
70
,
minWidth
:
60
,
type
:
"string"
,
align
:
"center"
},
{
display
:
"状态"
,
name
:
"status"
,
width
:
60
,
minWidth
:
30
,
type
:
"string"
,
align
:
"center"
,
render
:
UICtrl
.
getStatusInfo
},
{
display
:
"排序号"
,
name
:
"sequence"
,
width
:
60
,
minWidth
:
30
,
type
:
"int"
,
align
:
"left"
,
render
:
function
(
item
)
{
return
UICtrl
.
sequenceRender
(
item
);
}
},
{
display
:
"描述"
,
name
:
"description"
,
width
:
350
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
}
],
dataAction
:
'server'
,
url
:
web_app
.
name
+
'/index/slicedQueryIndexes.ajax'
,
width
:
'100%'
,
height
:
'100%'
,
heightDiff
:
-
5
,
sortName
:
'sequence'
,
sortOrder
:
'asc'
,
checkbox
:
true
,
fixedCellHeight
:
true
,
selectRowButtonOnly
:
true
,
toolbar
:
toolbarOptions
,
onDblClickRow
:
function
(
data
,
rowindex
,
rowobj
)
{
doShowUpdate
(
data
.
id
);
}
});
UICtrl
.
setSearchAreaToggle
(
gridManager
);
}
function
addHandler
()
{
if
(
pageParam
.
currentId
==
"0"
||
pageParam
.
currentId
==
"1"
){
Public
.
errorTip
(
'请选择指标分类树。'
);
return
;
}
parent
.
addTabItem
({
tabid
:
'MCSIndexDetail'
,
text
:
"添加指标"
,
url
:
web_app
.
name
+
'/index/showInsertIndex.do?classificationId='
+
pageParam
.
currentId
});
}
function
updateHandler
(){
var
row
=
UICtrl
.
checkSelectedRows
(
gridManager
);
if
(
row
)
{
doShowUpdate
(
row
.
id
);
}
}
function
doShowUpdate
(
id
){
parent
.
addTabItem
({
tabid
:
'MCSIndexDetail'
+
id
,
text
:
"修改指标"
,
url
:
web_app
.
name
+
'/index/showUpdateIndex.do?id='
+
id
});
}
//删除
function
deleteHandler
()
{
var
action
=
"index/deleteIndexes.ajax"
;
DataUtil
.
del
({
action
:
action
,
idFieldName
:
'id'
,
gridManager
:
gridManager
,
onSuccess
:
reloadGrid
});
}
//保存扩展字段排序号
function
saveSortIDHandler
(){
var
action
=
"index/updateIndexsSequence.ajax"
;
DataUtil
.
updateSequence
({
action
:
action
,
gridManager
:
gridManager
,
idFieldName
:
'id'
,
onSuccess
:
function
(){
reloadGrid
();
}});
return
false
;
}
//启用
function
enableHandler
()
{
updateStatus
(
'确实要启用选中数据吗?'
,
1
);
}
//禁用
function
disableHandler
()
{
updateStatus
(
'确实要禁用选中数据吗?'
,
0
);
}
//修改状态
function
updateStatus
(
message
,
status
)
{
DataUtil
.
updateById
({
action
:
'index/updateIndexsStatus.ajax'
,
gridManager
:
gridManager
,
param
:
{
status
:
status
},
message
:
message
,
onSuccess
:
function
()
{
reloadGrid
();
}
});
}
//移动
function
moveHandler
(){
UICtrl
.
showDialog
({
title
:
'移动指标'
||
'common.button.move'
,
width
:
300
,
content
:
'<div style="overflow-x: hidden; overflow-y: auto; width:280px;height:250px;"><ul id="dialogMoveTree"></ul></div>'
,
init
:
function
(){
$
(
'#dialogMoveTree'
).
commonTree
({
loadTreesAction
:
"indexClassification/queryIndexClassifications.ajax"
,
parentId
:
pageParam
.
rootParentId
,
getParam
:
function
(){
return
{
isDefault
:
1
};
},
IsShowMenu
:
false
});
},
ok
:
function
(){
var
parentId
=
$
(
'#dialogMoveTree'
).
commonTree
(
'getSelectedId'
);
if
(
!
parentId
){
Public
.
tip
(
'common.warning.not.nodetree'
);
return
false
;
}
DataUtil
.
updateById
({
action
:
'index/moveIndexs.ajax'
,
gridManager
:
gridManager
,
idFieldName
:
'id'
,
param
:{
classificationId
:
parentId
},
onSuccess
:
function
(){
reloadGrid
();
}
});
this
.
close
();
}
});
}
//查询
function
query
(
obj
)
{
var
param
=
$
(
obj
).
formToJSON
();
UICtrl
.
gridSearch
(
gridManager
,
param
);
}
//刷新表格
function
reloadGrid
()
{
gridManager
.
loadData
();
}
//重置表单
function
resetForm
(
obj
)
{
$
(
obj
).
formClean
();
}
//关闭对话框
function
dialogClose
(){
if
(
refreshFlag
){
reloadGrid
();
refreshFlag
=
false
;
}
}
huigou-xt/src/main/webapp/system/index/index.jsp
0 → 100644
View file @
aedec281
<%@ page
contentType=
"text/html; charset=utf-8"
language=
"java"
%>
<%@ taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<html>
<head>
<x:base
include=
"layout,dialog,grid,tree,combox,commonTree"
/>
<script
src=
'
<c:url
value=
"/biz/mcs/baseinfo/index/index.js"
/>
'
type=
"text/javascript"
></script>
</head>
<body>
<div
class=
"container-fluid"
>
<div
id=
"layout"
>
<div
position=
"left"
title=
"指标分类树"
>
<ul
id=
"mainTree"
>
</ul>
</div>
<div
position=
"center"
title=
"列表"
>
<x:title
title=
"搜索"
hideTable=
"queryMainForm"
isHide=
"true"
/>
<form
class=
"hg-form ui-hide"
method=
"post"
action=
""
id=
"queryMainForm"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"code"
label=
"编号"
maxLength=
"64"
labelCol=
"1"
/>
<x:inputC
name=
"name"
label=
"名称"
maxLength=
"64"
labelCol=
"1"
/>
<x:selectC
name=
"indexPeriodKind"
label=
"周期类型"
dictionary=
"indexPeriodKind"
labelCol=
"1"
/>
<div
class=
"col-xs-12 col-sm-3"
>
<button
type=
"button"
class=
"btn btn-primary"
onclick=
"query(this.form)"
><i
class=
"fa fa-search"
></i>
查询
</button>
<button
type=
"button"
class=
"btn btn-primary"
onclick=
"resetForm(this.form)"
><i
class=
"fa fa-history"
></i>
重置
</button>
</div>
</div>
</form>
<div
class=
"clearfix"
></div>
<div
id=
"maingrid"
style=
"margin: 2px;"
></div>
</div>
</div>
</div>
</body>
</html>
huigou-xt/src/main/webapp/system/index/indexAlertAllDetail.js
0 → 100644
View file @
aedec281
var
inputParams
=
{
comp_id
:
""
,
comp_name
:
""
,
start_date
:
""
,
end_date
:
""
};
var
indexEntryId
;
$
(
document
).
ready
(
function
()
{
bindEvent
();
});
function
bindEvent
(){
/*$("#bizOrgName").treebox({
type: 'hana',
name: 'bizOrgTreeForCity',
param: { rootParentId: '10000', parentId: '10000', businessType: 'CIGARETTE' },
onChange: function(values, data) {
$('#bizOrgId').val(data.orgId);
$('#bizOrgName').val(data.orgName);
$('#bizOrgName_text').val(data.orgName);
}
});*/
$
(
'#indexEntryName'
).
searchbox
({
type
:
'mcs'
,
name
:
'selectIndexEntry'
,
onChange
:
function
(
values
,
data
)
{
$
(
'#indexEntryId'
).
val
(
data
.
indexEntryId
);
$
(
'#indexEntryName_text'
).
val
(
data
.
indexName
);
$
(
'#indexEntryTableId'
).
val
(
''
);
$
(
'#indexEntryTableName_text'
).
val
(
''
);
}
});
$
(
'#indexEntryTableName'
).
searchbox
({
type
:
'mcs'
,
name
:
'selectIndexEntryTab'
,
getParam
:
function
()
{
var
entryId
=
$
(
'#indexEntryId'
).
val
();
if
(
Public
.
isBlank
(
entryId
)){
Public
.
tip
(
"请先选择指标。"
);
return
false
;
}
return
{
indexEntryId
:
entryId
};
},
onChange
:
function
(
values
,
data
)
{
$
(
'#indexEntryTableId'
).
val
(
data
.
id
);
$
(
'#indexEntryTableName_text'
).
val
(
data
.
name
);
}
});
}
function
getQueryParameters
()
{
indexEntryId
=
$
(
'#indexEntryId'
).
val
();
inputParams
.
comp_id
=
$
(
'#bizOrgId'
).
val
();
inputParams
.
comp_name
=
$
(
'#bizOrgName'
).
val
();
inputParams
.
start_date
=
getStartDate
();
inputParams
.
end_date
=
getEndDate
();
}
function
loadIndexAlertDetailDefinition
(){
Public
.
ajax
(
web_app
.
name
+
'/indexAlert/loadIndexAlertDetailDefinition.ajax'
,
{
indexEntryId
:
indexEntryId
,
bizOrgId
:
inputParams
.
comp_id
},
function
(
result
)
{
if
(
!
result
)
return
;
$
.
each
(
result
.
tabs
,
function
(
i
,
o
){
if
(
o
.
id
==
$
(
'#indexEntryTableId'
).
val
()){
loadDetailData
(
o
);
}
});
});
}
function
loadDetailData
(
tab
){
var
queryParams
=
{
indexEntryId
:
indexEntryId
,
indexEntryTabId
:
tab
.
id
};
queryParams
.
startDate
=
inputParams
.
start_date
;
queryParams
.
endDate
=
inputParams
.
end_date
;
queryParams
.
bizOrgId
=
inputParams
.
comp_id
;
var
cascade
=
tab
.
cascade
;
cascade
=
$
.
parseJSON
(
"{"
+
cascade
+
"}"
);
cascade
=
cascade
.
cascade
;
if
(
cascade
){
var
fromQueryParams
=
cascade
.
fromQueryParams
;
var
splits
,
cascadeParams
;
if
(
!
Public
.
isBlank
(
fromQueryParams
)){
cascadeParams
=
{};
splits
=
fromQueryParams
.
split
(
","
);
$
.
each
(
splits
,
function
(
i
,
o
){
cascadeParams
[
o
]
=
inputParams
[
o
];
});
}
var
datasetQueryParams
=
cascade
.
datasetQueryParams
;
if
(
!
Public
.
isBlank
(
datasetQueryParams
)){
cascadeParams
=
cascadeParams
||
{};
cascadeParams
.
datasetQueryParams
=
{};
splits
=
datasetQueryParams
.
split
(
","
);
$
.
each
(
splits
,
function
(
i
,
o
){
cascadeParams
.
datasetQueryParams
[
o
]
=
inputParams
[
o
];
});
}
queryParams
.
cascadeParams
=
Public
.
encodeJSONURI
(
cascadeParams
);
}
var
sortName
=
""
,
sortOrder
=
"asc"
;
if
(
tab
.
sortJson
){
var
sort
=
$
.
parseJSON
(
"{"
+
tab
.
sortJson
+
"}"
).
sort
;
sortName
=
sort
.
name
;
sortOrder
=
sort
.
order
;
}
var
tableColumnsJson
=
JSON
.
parse
(
"{"
+
tab
.
tableColumnsJson
+
"}"
);
$
(
"#maingrid"
).
empty
();
$
(
"#maingrid"
).
append
(
'<table id="statisticsGrid"></table>'
);
$
(
"#statisticsGrid"
).
bootstrapTable
(
"destroy"
).
bootstrapTable
({
url
:
web_app
.
name
+
"/indexAlert/getAggregateAllData.ajax"
,
dataType
:
"json"
,
method
:
'get'
,
cache
:
false
,
toolbarAlign
:
"right"
,
striped
:
true
,
//是否显示行间隔色
//cache: false, //是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*)
pagination
:
true
,
//是否显示分页(*)
sortable
:
true
,
//是否启用排序
sortName
:
sortName
,
sortOrder
:
sortOrder
,
//排序方式
queryParams
:
queryParams
,
//传递参数(*)
sidePagination
:
"client"
,
//分页方式:client客户端分页,server服务端分页(*)
pageNumber
:
1
,
//初始化加载第一页,默认第一页
pageSize
:
10
,
//每页的记录行数(*)
pageList
:
[
10
,
25
,
50
,
100
],
//可供选择的每页的行数(*)
search
:
true
,
//是否显示表格搜索,此搜索是客户端搜索,不会进服务端,所以,个人感觉意义不大
strictSearch
:
false
,
showColumns
:
true
,
//是否显示所有的列
showRefresh
:
true
,
//是否显示刷新按钮
minimumCountColumns
:
2
,
//最少允许的列数
clickToSelect
:
true
,
//是否启用点击选中行
uniqueId
:
""
,
//每一行的唯一标识,一般为主键列
showToggle
:
true
,
//是否显示详细视图和列表视图的切换按钮
cardView
:
false
,
//是否显示详细视图
detailView
:
false
,
//是否显示父子表
showExport
:
true
,
//是否显示导出
exportDataType
:
"all"
,
exportTypes
:[
"excel"
],
columns
:
tableColumnsJson
.
columns
,
onDblClickCell
:
function
(
field
,
value
,
row
,
$element
)
{
var
isBaseInfo
=
false
;
switch
(
field
)
{
case
"cust_id"
:
case
"cust_code"
:
case
"cust_name"
:
var
customerId
=
row
.
cust_id
||
row
.
cust_code
;
if
(
customerId
){
$
.
showCustomer
({
params
:
{
customerId
:
customerId
}});
isBaseInfo
=
true
;
}
break
;
case
"item_code"
:
case
"item_name"
:
var
itemId
=
row
.
item_id
||
row
.
item_code
;
var
compId
=
row
.
organ_id
||
row
.
comp_id
;
if
(
itemId
){
$
.
showItem
({
params
:
{
itemId
:
itemId
,
compId
:
compId
}
});
isBaseInfo
=
true
;
}
break
;
case
"order_number"
:
case
"co_num"
:
if
(
row
.
order_number
||
row
.
co_num
){
$
.
showSaleOrder
({
params
:
{
orderNumber
:
row
.
order_number
||
row
.
co_num
}});
isBaseInfo
=
true
;
}
break
;
}
}
});
}
function
getStartDate
(){
return
$
(
"#startDate"
).
val
();
}
function
getEndDate
(){
return
$
(
"#endDate"
).
val
();
}
//查询
function
query
(
obj
)
{
var
param
=
$
(
obj
).
formToJSON
();
if
(
param
){
getQueryParameters
();
loadIndexAlertDetailDefinition
();
}
}
//重置表单
function
resetForm
(
obj
)
{
$
(
obj
).
formClean
();
}
\ No newline at end of file
huigou-xt/src/main/webapp/system/index/indexClassification.js
0 → 100644
View file @
aedec281
var
gridManager
=
null
,
refreshFlag
=
false
;
var
pageParam
=
{
rootId
:
"1"
,
rootParentId
:
"0"
,
currentId
:
"0"
};
$
(
document
).
ready
(
function
()
{
UICtrl
.
initDefaultLayout
();
initializeTree
();
initializeGrid
();
function
initializeTree
()
{
$
(
'#indexClassificationTree'
).
commonTree
({
loadTreesAction
:
"indexClassification/queryIndexClassifications.ajax"
,
parentId
:
pageParam
.
rootParentId
,
isLeaf
:
function
(
data
)
{
return
parseInt
(
data
.
hasChildren
)
==
0
;
},
onClick
:
function
(
data
)
{
onTreeNodeClick
(
data
);
},
getParam
:
function
(){
return
{
isDefault
:
0
};
},
IsShowMenu
:
false
});
}
//初始化表格
function
initializeGrid
()
{
var
toolbarOptions
=
UICtrl
.
getDefaultToolbarOptions
({
addHandler
:
addHandler
,
updateHandler
:
function
(){
updateHandler
();
},
deleteHandler
:
deleteHandler
,
enableHandler
:
enableHandler
,
disableHandler
:
disableHandler
,
saveSortIDHandler
:
saveSortIDHandler
});
gridManager
=
UICtrl
.
grid
(
'#maingrid'
,
{
columns
:
[
{
display
:
'图标'
,
name
:
'icon'
,
width
:
60
,
minWidth
:
60
,
type
:
"string"
,
align
:
"center"
,
isAutoWidth
:
0
,
render
:
function
(
item
)
{
if
(
!
Public
.
isBlank
(
item
.
icon
))
{
return
'<span style="font-size:32px;"><i class="fa '
+
item
.
icon
+
'"></i></span>'
;
}
return
''
;
}
},
{
display
:
"编码"
,
name
:
"code"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"名称"
,
name
:
"name"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"名称全路径"
,
name
:
"fullName"
,
width
:
300
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"状态"
,
name
:
"status"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
render
:
UICtrl
.
getStatusInfo
},
{
display
:
"排序号"
,
name
:
"sequene"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
render
:
function
(
item
)
{
return
UICtrl
.
sequenceRender
(
item
);
}
}
],
dataAction
:
'server'
,
url
:
web_app
.
name
+
'/indexClassification/slicedQueryIndexClassifications.ajax'
,
parms
:
{
parentId
:
pageParam
.
rootId
},
width
:
'100%'
,
height
:
'100%'
,
heightDiff
:
-
5
,
sortName
:
'sequence'
,
sortOrder
:
'asc'
,
toolbar
:
toolbarOptions
,
checkbox
:
true
,
selectRowButtonOnly
:
true
,
onDblClickRow
:
function
(
data
,
rowindex
,
rowobj
)
{
updateHandler
(
data
.
id
);
}
});
UICtrl
.
setSearchAreaToggle
(
gridManager
);
}
});
function
onTreeNodeClick
(
data
)
{
var
html
=
[];
if
(
data
.
id
==
pageParam
.
rootId
)
{
html
.
push
(
'指标分类列表'
);
}
else
{
html
.
push
(
'<span class="tomato-color">['
,
data
.
name
,
']</span>指标分类列表'
);
}
pageParam
.
currentId
=
data
.
id
;
$
(
"#layout"
).
layout
(
"setCenterTitle"
,
html
.
join
(
''
));
if
(
gridManager
)
{
UICtrl
.
gridSearch
(
gridManager
,
{
parentId
:
pageParam
.
currentId
});
}
}
// 查询
function
query
(
obj
)
{
var
param
=
$
(
obj
).
formToJSON
();
UICtrl
.
gridSearch
(
gridManager
,
param
);
}
//刷新表格
function
reloadGrid
()
{
$
(
"#indexClassificationTree"
).
commonTree
(
'refresh'
,
pageParam
.
currentId
);
var
params
=
$
(
"#queryMainForm"
).
formToJSON
();
UICtrl
.
gridSearch
(
gridManager
,
params
);
}
//重置表单
function
resetForm
(
obj
)
{
$
(
obj
).
formClean
();
}
//添加按钮
function
addHandler
()
{
if
(
pageParam
.
currentId
==
pageParam
.
rootParentId
)
{
Public
.
errorTip
(
'请选择类别树。'
);
return
;
}
if
(
pageParam
.
currentId
==
pageParam
.
rootId
){
Public
.
errorTip
(
'不能创建一级分类。'
);
return
;
}
var
currentNodeData
=
$
(
'#indexClassificationTree'
).
commonTree
(
"getSelected"
);
UICtrl
.
showAjaxDialog
({
url
:
web_app
.
name
+
'/indexClassification/showInsertIndexClassification.load'
,
title
:
"添加指标分类"
,
width
:
400
,
param
:
{
parentId
:
pageParam
.
currentId
,
dimId
:
currentNodeData
.
dimId
},
ok
:
insert
,
close
:
dialogClose
});
}
//编辑按钮
function
updateHandler
(
id
){
if
(
!
id
){
id
=
DataUtil
.
getUpdateRowId
(
gridManager
);
if
(
!
id
){
return
;
}
}
//所需参数需要自己提取 {id:row.id}
UICtrl
.
showAjaxDialog
({
url
:
web_app
.
name
+
'/indexClassification/showUpdateIndexClassification.load'
,
title
:
"修改指标分类"
,
width
:
400
,
param
:
{
id
:
id
},
ok
:
update
,
close
:
dialogClose
});
}
//删除按钮
function
deleteHandler
(){
DataUtil
.
del
({
action
:
'indexClassification/deleteIndexClassifications.ajax'
,
gridManager
:
gridManager
,
idFieldName
:
'id'
,
onCheck
:
function
(
data
){
},
onSuccess
:
function
(){
reloadGrid
();
}
});
}
//新增保存
function
insert
()
{
var
_self
=
this
;
$
(
'#submitForm'
).
ajaxSubmit
({
url
:
web_app
.
name
+
'/indexClassification/insertIndexClassification.ajax'
,
success
:
function
(
data
)
{
refreshFlag
=
true
;
_self
.
close
();
}
});
}
//编辑保存
function
update
(){
var
_self
=
this
;
$
(
'#submitForm'
).
ajaxSubmit
({
url
:
web_app
.
name
+
'/indexClassification/updateIndexClassification.ajax'
,
success
:
function
()
{
refreshFlag
=
true
;
_self
.
close
();
}
});
}
//关闭对话框
function
dialogClose
(){
if
(
refreshFlag
){
reloadGrid
();
refreshFlag
=
false
;
}
}
//保存扩展字段排序号
function
saveSortIDHandler
(){
var
action
=
"indexClassification/updateIndexClassificationsSequence.ajax"
;
DataUtil
.
updateSequence
({
action
:
action
,
gridManager
:
gridManager
,
idFieldName
:
'id'
,
onSuccess
:
function
(){
reloadGrid
();
}});
}
//启用
function
enableHandler
(){
DataUtil
.
updateById
({
action
:
'indexClassification/updateIndexClassificationsStatus.ajax'
,
gridManager
:
gridManager
,
idFieldName
:
'id'
,
param
:{
status
:
1
},
message
:
'确实要启用选中数据吗?'
,
onSuccess
:
function
(){
reloadGrid
();
}
});
}
//禁用
function
disableHandler
(){
DataUtil
.
updateById
({
action
:
'indexClassification/updateIndexClassificationsStatus.ajax'
,
gridManager
:
gridManager
,
idFieldName
:
'id'
,
param
:{
status
:
0
},
message
:
'确实要禁用选中数据吗?'
,
onSuccess
:
function
(){
reloadGrid
();
}
});
}
huigou-xt/src/main/webapp/system/index/indexClassification.jsp
0 → 100644
View file @
aedec281
<%@ page
contentType=
"text/html; charset=utf-8"
language=
"java"
%>
<%@ taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<html>
<head>
<x:base
include=
"layout,dialog,grid,tree,combox,commonTree"
/>
<script
src=
'
<c:url
value=
"/biz/mcs/baseinfo/index/indexClassification.js"
/>
'
type=
"text/javascript"
></script>
</head>
<body>
<div
class=
"container-fluid"
>
<div
id=
"layout"
>
<div
position=
"left"
title=
"指标分类树"
>
<ul
id=
"indexClassificationTree"
>
</ul>
</div>
<div
position=
"center"
title=
"列表"
>
<x:title
title=
"搜索"
hideTable=
"queryMainForm"
isHide=
"true"
/>
<form
class=
"hg-form ui-hide"
method=
"post"
action=
""
id=
"queryMainForm"
>
<x:inputC
name=
"code"
label=
"编码"
labelCol=
"1"
/>
<x:inputC
name=
"name"
label=
"名称"
labelCol=
"1"
/>
<x:searchButtons />
</form>
<div
class=
"blank_div clearfix"
></div>
<div
id=
"maingrid"
style=
"margin: 2px;"
></div>
</div>
</div>
</div>
</body>
</html>
huigou-xt/src/main/webapp/system/index/indexClassificationDetail.jsp
0 → 100644
View file @
aedec281
<%@ page
contentType=
"text/html; charset=utf-8"
language=
"java"
%>
<%@ taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"submitForm"
>
<x:hidden
name=
"id"
/>
<x:hidden
name=
"parentId"
/>
<x:hidden
name=
"dimId"
/>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"code"
required=
"true"
label=
"编码"
match=
"englishCode"
maxLength=
"32"
labelCol=
"2"
fieldCol=
"10"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"name"
required=
"true"
label=
"名称"
maxLength=
"64"
labelCol=
"2"
fieldCol=
"10"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"icon"
label=
"图标"
match=
"englishCode"
maxLength=
"64"
labelCol=
"2"
fieldCol=
"10"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"sequence"
label=
"排序号"
spinner=
"true"
mask=
"nnn"
dataOptions=
"min:1"
labelCol=
"2"
fieldCol=
"10"
/>
</div>
</form>
\ No newline at end of file
huigou-xt/src/main/webapp/system/index/indexClassificationDim.js
0 → 100644
View file @
aedec281
var
gridManager
=
null
,
refreshFlag
=
false
;
$
(
document
).
ready
(
function
()
{
initializeGrid
();
});
//初始化表格
function
initializeGrid
()
{
var
toolbarOptions
=
UICtrl
.
getDefaultToolbarOptions
({
addHandler
:
addHandler
,
updateHandler
:
function
(){
updateHandler
();
},
deleteHandler
:
deleteHandler
,
enableHandler
:
enableHandler
,
disableHandler
:
disableHandler
,
saveSortIDHandler
:
saveSortIDHandler
});
gridManager
=
UICtrl
.
grid
(
'#maingrid'
,
{
columns
:
[
{
display
:
"编码"
,
name
:
"code"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"名称"
,
name
:
"name"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"状态"
,
name
:
"status"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
render
:
UICtrl
.
getStatusInfo
},
{
display
:
"默认"
,
name
:
"isDefault"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
render
:
function
(
item
){
switch
(
parseInt
(
item
.
isDefault
))
{
case
0
:
return
"<div class='status-disable' title='否'/>"
;
break
;
case
1
:
return
"<div class='status-enable' title='是'/>"
;
break
;
}
}
},
{
display
:
"排序号"
,
name
:
"sequence"
,
width
:
100
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
render
:
function
(
item
)
{
return
UICtrl
.
sequenceRender
(
item
);
}
}
],
dataAction
:
'server'
,
checkbox
:
true
,
url
:
web_app
.
name
+
'/indexClassificationDim/slicedQueryIndexClassificationDims.ajax'
,
width
:
'100%'
,
height
:
'100%'
,
heightDiff
:
-
5
,
sortName
:
'sequence'
,
sortOrder
:
'asc'
,
toolbar
:
toolbarOptions
,
selectRowButtonOnly
:
true
,
onDblClickRow
:
function
(
data
,
rowindex
,
rowobj
)
{
updateHandler
(
data
.
id
);
}
});
UICtrl
.
setSearchAreaToggle
(
gridManager
);
}
// 查询
function
query
(
obj
)
{
var
param
=
$
(
obj
).
formToJSON
();
UICtrl
.
gridSearch
(
gridManager
,
param
);
}
//刷新表格
function
reloadGrid
()
{
gridManager
.
loadData
();
}
//重置表单
function
resetForm
(
obj
)
{
$
(
obj
).
formClean
();
}
//添加按钮
function
addHandler
()
{
UICtrl
.
showAjaxDialog
({
url
:
web_app
.
name
+
'/indexClassificationDim/showInsertIndexClassificationDim.load'
,
title
:
"添加指标分类维度"
,
width
:
400
,
ok
:
insert
,
close
:
dialogClose
});
}
//编辑按钮
function
updateHandler
(
id
){
if
(
!
id
){
id
=
DataUtil
.
getUpdateRowId
(
gridManager
);
if
(
!
id
){
return
;
}
}
//所需参数需要自己提取 {id:row.id}
UICtrl
.
showAjaxDialog
({
url
:
web_app
.
name
+
'/indexClassificationDim/showUpdateIndexClassificationDim.load'
,
param
:
{
id
:
id
},
title
:
"修改指标分类维度"
,
width
:
400
,
ok
:
update
,
close
:
dialogClose
});
}
//删除按钮
function
deleteHandler
(){
DataUtil
.
del
({
action
:
'indexClassificationDim/deleteIndexClassificationDims.ajax'
,
gridManager
:
gridManager
,
idFieldName
:
'id'
,
onCheck
:
function
(
data
){
},
onSuccess
:
function
(){
reloadGrid
();
}
});
}
//新增保存
function
insert
()
{
var
_self
=
this
;
$
(
'#submitForm'
).
ajaxSubmit
({
url
:
web_app
.
name
+
'/indexClassificationDim/insertIndexClassificationDim.ajax'
,
success
:
function
(
data
)
{
refreshFlag
=
true
;
_self
.
close
();
}
});
}
//编辑保存
function
update
(){
var
_self
=
this
;
$
(
'#submitForm'
).
ajaxSubmit
({
url
:
web_app
.
name
+
'/indexClassificationDim/updateIndexClassificationDim.ajax'
,
success
:
function
()
{
refreshFlag
=
true
;
_self
.
close
();
}
});
}
//关闭对话框
function
dialogClose
(){
if
(
refreshFlag
){
reloadGrid
();
refreshFlag
=
false
;
}
}
//保存扩展字段排序号
function
saveSortIDHandler
(){
var
action
=
"indexClassificationDim/updateIndexClassificationDimsSequence.ajax"
;
DataUtil
.
updateSequence
({
action
:
action
,
gridManager
:
gridManager
,
idFieldName
:
'id'
,
onSuccess
:
function
(){
reloadGrid
();
}});
}
//启用
function
enableHandler
(){
DataUtil
.
updateById
({
action
:
'indexClassificationDim/updateIndexClassificationDimsStatus.ajax'
,
gridManager
:
gridManager
,
idFieldName
:
'id'
,
param
:{
status
:
1
},
message
:
'确实要启用选中数据吗?'
,
onSuccess
:
function
(){
reloadGrid
();
}
});
}
//禁用
function
disableHandler
(){
DataUtil
.
updateById
({
action
:
'indexClassificationDim/updateIndexClassificationDimsStatus.ajax'
,
gridManager
:
gridManager
,
idFieldName
:
'id'
,
param
:
{
status
:
0
},
message
:
'确实要禁用选中数据吗?'
,
onSuccess
:
function
(){
reloadGrid
();
}
});
}
huigou-xt/src/main/webapp/system/index/indexClassificationDim.jsp
0 → 100644
View file @
aedec281
<%@ page
contentType=
"text/html; charset=utf-8"
language=
"java"
%>
<%@ taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<html>
<head>
<x:base
include=
"dialog,grid,combox"
/>
<script
src=
'
<c:url
value=
"/biz/mcs/baseinfo/index/indexClassificationDim.js"
/>
'
type=
"text/javascript"
></script>
</head>
<body>
<div
class=
"container-fluid"
>
<x:title
title=
"搜索"
hideTable=
"queryMainForm"
isHide=
"true"
/>
<form
class=
"hg-form ui-hide"
method=
"post"
action=
""
id=
"queryMainForm"
>
<x:inputC
name=
"code"
label=
"编码"
labelCol=
"1"
/>
<x:inputC
name=
"name"
label=
"名称"
labelCol=
"1"
/>
<x:searchButtons />
</form>
<div
class=
"blank_div"
></div>
<div
id=
"maingrid"
style=
"margin: 2px;"
></div>
</div>
</body>
</html>
huigou-xt/src/main/webapp/system/index/indexClassificationDimDetail.jsp
0 → 100644
View file @
aedec281
<%@ page
contentType=
"text/html; charset=utf-8"
language=
"java"
%>
<%@ taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"submitForm"
>
<x:hidden
name=
"id"
/>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"code"
required=
"true"
label=
"编码"
match=
"englishCode"
maxLength=
"64"
fieldCol=
"10"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"name"
required=
"true"
label=
"名称"
maxLength=
"32"
fieldCol=
"10"
/>
</div>
<div
class=
"hg-form-row"
>
<x:radioC
name=
"isDefault"
label=
"默认"
dictionary=
"yesorno"
fieldCol=
"10"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"sequence"
label=
"排序号"
spinner=
"true"
mask=
"nnn"
dataOptions=
"min:1"
fieldCol=
"10"
/>
</div>
</form>
huigou-xt/src/main/webapp/system/index/indexDemo.jsp
0 → 100644
View file @
aedec281
<%@ page
contentType=
"text/html; charset=UTF-8"
%>
<%@ taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,Chrome=1"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1, shrink-to-fit=no"
/>
<title>
预警指标明细展示
</title>
<x:base
include=
"datepicker,date,tree,combox"
/>
<link
rel=
"stylesheet"
href=
'
<c:url
value=
"/themes/lhgdialog/idialog.css"
/>
'
type=
"text/css"
/>
<link
rel=
"stylesheet"
href=
'
<c:url
value=
"/lib/bootstrap-table/bootstrap-table.css"
/>
'
type=
"text/css"
/>
<script
src=
'
<c:url
value=
"/lib/bootstrap-table/bootstrap-table.js"
/>
'
type=
"text/javascript"
></script>
<script
src=
'
<c:url
value=
"/lib/bootstrap-table/locale/bootstrap-table-zh-CN.js"
/>
'
type=
"text/javascript"
></script>
<script
src=
'
<c:url
value=
"/lib/jquery/jquery.base64.js"
/>
'
type=
"text/javascript"
></script>
<script
src=
'
<c:url
value=
"/lib/bootstrap-table/extensions/export/bootstrap-table-export.js"
/>
'
type=
"text/javascript"
></script>
<script
src=
'
<c:url
value=
"/lib/bootstrap-table/extensions/tableExport/tableExport.js"
/>
'
type=
"text/javascript"
></script>
<script
src=
'
<c:url
value=
"/lib/jquery/lhgdialog.js?self=true"
/>
'
type=
"text/javascript"
id=
'lhgdialoglink'
></script>
<!-- <script src='
<c:url
value=
"/biz/mcs/hana/common/dialog/commonDialog.js"
/>
' type="text/javascript"></script> -->
<script
src=
'
<c:url
value=
"/system/index/indexAlertAllDetail.js"
/>
'
type=
"text/javascript"
></script>
</head>
<body>
<div
class=
"container-fluid"
>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"queryMainForm"
>
<x:hidden
name=
"bizOrgId"
/>
<x:hidden
name=
"indexEntryId"
/>
<x:hidden
name=
"indexEntryTableId"
/>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"startDate"
required=
"true"
wrapper=
"date"
label=
"开始日期"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"endDate"
required=
"true"
wrapper=
"date"
label=
"结束日期"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bizOrgName"
required=
"false"
label=
"单位"
labelCol=
"1"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"indexEntryName"
required=
"true"
label=
"预警指标"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"indexEntryTableName"
required=
"true"
label=
"统计表"
labelCol=
"1"
fieldCol=
"2"
/>
<x:searchButtons />
</div>
</form>
<div
class=
"clearfix"
></div>
<div
id=
"maingrid"
style=
"width: 100%"
></div>
</div>
</body>
</html>
huigou-xt/src/main/webapp/system/index/indexDetail.js
0 → 100644
View file @
aedec281
This diff is collapsed.
Click to expand it.
huigou-xt/src/main/webapp/system/index/indexDetail.jsp
0 → 100644
View file @
aedec281
<%@ page
contentType=
"text/html; charset=utf-8"
language=
"java"
%>
<%@ taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<html>
<head>
<x:base
include=
"dialog,grid,tree,dateTime,combox,comboDialog,formButton"
/>
<script
src=
'
<c:url
value=
"/biz/mcs/baseinfo/index/indexDetail.js"
/>
'
type=
"text/javascript"
></script>
</head>
<body>
<div
class=
"container-fluid"
>
<div
class=
"subject"
style=
"margin: 10px auto 10px; font-size: 24px; font-weight: bold; text-align: center;"
>
指标信息
</div>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"submitForm"
>
<x:hidden
name=
"id"
/>
<x:hidden
name=
"classificationId"
/>
<x:hidden
name=
"status"
value=
"1"
/>
<x:hidden
name=
"sequence"
/>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"code"
required=
"true"
label=
"编码"
maxLength=
"32"
match=
"englishCode"
labelCol=
"1"
fieldCol=
"3"
/>
<x:inputC
name=
"name"
required=
"true"
label=
"名称"
maxLength=
"128"
labelCol=
"1"
fieldCol=
"3"
/>
<x:inputC
name=
"displaySequence"
required=
"true"
label=
"显示顺序"
spinner=
"true"
mask=
"nnn"
dataOptions=
"min:1"
labelCol=
"1"
fieldCol=
"3"
/>
</div>
<div
class=
"hg-form-row"
>
<x:selectC
name=
"indexPeriodKind"
required=
"false"
label=
"周期类型"
dictionary=
"indexPeriodKind"
labelCol=
"1"
fieldCol=
"3"
/>
<x:selectC
name=
"indexBizKind"
required=
"false"
label=
"业务类型"
dictionary=
"indexBizKind"
labelCol=
"1"
fieldCol=
"3"
/>
<x:selectC
name=
"startProcess"
required=
"false"
label=
"启动流程"
dictionary=
"yesorno"
labelCol=
"1"
fieldCol=
"3"
/>
</div>
<div
class=
"hg-form-row"
>
<x:selectC
name=
"countyHandle"
required=
"true"
label=
"县级处理"
dictionary=
"yesorno"
labelCol=
"1"
fieldCol=
"3"
/>
<x:selectC
name=
"cityHandle"
required=
"true"
label=
"市级处理"
dictionary=
"yesorno"
labelCol=
"1"
fieldCol=
"3"
/>
<x:selectC
name=
"provinceHandle"
required=
"true"
label=
"省局处理"
dictionary=
"yesorno"
labelCol=
"1"
fieldCol=
"3"
/>
</div>
<div
class=
"hg-form-row"
>
<x:textareaC
name=
"description"
required=
"false"
label=
"描述"
rows=
"2"
maxLength=
"256"
labelCol=
"1"
fieldCol=
"11"
/>
</div>
<div
class=
"hg-form-row"
>
<x:textareaC
name=
"detailDescription"
label=
"详细信息"
maxLength=
"2014"
rows=
"4"
labelCol=
"1"
fieldCol=
"11"
/>
</div>
</div>
</form>
<div
class=
"clearfix"
></div>
<div
class=
"hg-form"
style=
"margin: 1px;"
>
<div
id=
"entryGrid"
></div>
</div>
</div>
</body>
</html>
huigou-xt/src/main/webapp/system/index/indexEntryDetail.jsp
0 → 100644
View file @
aedec281
<%@ page
contentType=
"text/html; charset=utf-8"
language=
"java"
%>
<%@ taglib
uri=
"/WEB-INF/taglib.tld"
prefix=
"x"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<form
class=
"hg-form"
method=
"post"
action=
""
id=
"entrySubmitForm"
>
<x:hidden
name=
"id"
id=
"entryId"
/>
<x:hidden
name=
"indexId"
/>
<x:hidden
name=
"sequence"
/>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:selectC
name=
"timeDim"
required=
"true"
label=
"时间维度"
dictionary=
"timeDim"
labelCol=
"2"
fieldCol=
"4"
/>
<x:selectC
name=
"organDim"
required=
"true"
label=
"组织维度"
dictionary=
"organDim"
labelCol=
"2"
fieldCol=
"4"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"upperLimit"
required=
"false"
label=
"正常上限"
mask=
"nnnnn.nn"
spinner=
"true"
labelCol=
"2"
fieldCol=
"4"
/>
<x:inputC
name=
"lowerLimit"
required=
"false"
label=
"正常下限"
mask=
"nnnnn.nn"
spinner=
"true"
labelCol=
"2"
fieldCol=
"4"
/>
</div>
<div
class=
"hg-form-row"
>
<x:textareaC
name=
"formula"
required=
"false"
label=
"公式"
rows=
"2"
maxLength=
"64"
labelCol=
"2"
fieldCol=
"10"
/>
</div>
<div
class=
"hg-form-row"
>
<x:selectC
name=
"viewKind"
required=
"false"
label=
"显示类型"
dictionary=
"viewKind"
labelCol=
"2"
fieldCol=
"4"
/>
<x:inputC
name=
"url"
required=
"false"
label=
"Url"
maxLength=
"64"
labelCol=
"2"
fieldCol=
"4"
/>
</div>
</div>
</form>
<div
id=
"indexDetailViewDiv"
>
<div
class=
"blank_div clearfix"
></div>
<ul
id=
"tabHeader"
class=
"nav nav-tabs"
>
<li
class=
"active"
><a
href=
"#formulaGridWrapper"
data-toggle=
"tab"
>
公式参数
</a></li>
<li><a
href=
"#uiGridWrapper"
data-toggle=
"tab"
>
界面参数
</a></li>
<li><a
href=
"#tabGridWrapper"
data-toggle=
"tab"
>
表格列表
</a></li>
</ul>
<div
id=
"tabContent"
class=
"tab-content"
style=
"padding-top: 5px;"
>
<div
class=
"tab-pane fade in active"
id=
"formulaGridWrapper"
>
<div
id=
"formulaParamGrid"
style=
"margin: 2px;"
></div>
</div>
<div
class=
"tab-pane fade"
id=
"uiGridWrapper"
>
<div
id=
"uiParamGrid"
style=
"margin: 2px;"
></div>
</div>
<div
class=
"tab-pane fade"
id=
"tabGridWrapper"
>
<div
id=
"tabGrid"
style=
"margin: 2px;"
></div>
</div>
</div>
</div>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment