Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
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
platform
hp-smart
Commits
859334fa
Commit
859334fa
authored
Jan 25, 2024
by
yukang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目名称模糊查询
parent
6d0d0eaa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
12 deletions
+18
-12
HPSC001.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC001.xml
+1
-1
HPSC002.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC002.xml
+1
-1
HPSC003.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC003.xml
+1
-1
HPSC011.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC011.xml
+1
-1
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+14
-8
No files found.
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC001.xml
View file @
859334fa
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
PROJ_TYPE = #projType#
PROJ_TYPE = #projType#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
PROJ_NAME LIKE ('%$
#projName#
$%')
PROJ_NAME LIKE ('%$
projName
$%')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
STATUS = #status#
STATUS = #status#
...
...
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC002.xml
View file @
859334fa
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
PRDT_NAME LIKE ('%$#prdtName#$%')
PRDT_NAME LIKE ('%$#prdtName#$%')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
PROJ_NAME LIKE ('%$
#projName#
$%')
PROJ_NAME LIKE ('%$
projName
$%')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
STATUS = #status#
STATUS = #status#
...
...
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC003.xml
View file @
859334fa
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
PROJ_CODE = #projCode#
PROJ_CODE = #projCode#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
PROJ_NAME LIKE ('%$
#projName#
$%')
PROJ_NAME LIKE ('%$
projName
$%')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"planInfoNo"
>
<isNotEmpty
prepend=
" AND "
property=
"planInfoNo"
>
PLAN_INFO_NO = #planInfoNo#
PLAN_INFO_NO = #planInfoNo#
...
...
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC011.xml
View file @
859334fa
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
PROJ_TYPE = #projType#
PROJ_TYPE = #projType#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
PROJ_NAME LIKE ('%$
#projName#
$%')
PROJ_NAME LIKE ('%$
projName
$%')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
STATUS = #status#
STATUS = #status#
...
...
src/main/webapp/HP/SC/HPSC002.js
View file @
859334fa
...
@@ -144,7 +144,13 @@ $(function () {
...
@@ -144,7 +144,13 @@ $(function () {
*/
*/
onSave
:
function
(
e
)
{
onSave
:
function
(
e
)
{
// 不向后台保存
// 不向后台保存
var
tree
=
$
(
"#materialTree"
).
data
(
"kendoTreeView"
);
var
inInfo
=
new
EiInfo
();
EiCommunicator
.
send
(
"HPSC002"
,
"queryTreeNode"
,
inInfo
,
{
//传入参数
onSuccess
:
function
(
inInfo
)
{
tree
.
reload
(
"root"
);
//更新树
}
});
},
},
/**
/**
* 点击Grid删除按钮时触发的事件
* 点击Grid删除按钮时触发的事件
...
@@ -154,13 +160,13 @@ $(function () {
...
@@ -154,13 +160,13 @@ $(function () {
onDelete
:
function
(
e
)
{
onDelete
:
function
(
e
)
{
// 不向后台保存
// 不向后台保存
console
.
log
(
e
)
console
.
log
(
e
)
//
var tree = $("#materialTree").data("kendoTreeView");
var
tree
=
$
(
"#materialTree"
).
data
(
"kendoTreeView"
);
//
var inInfo = new EiInfo();
var
inInfo
=
new
EiInfo
();
//
EiCommunicator.send("HPSC002", "queryTreeNode", inInfo, {//传入参数
EiCommunicator
.
send
(
"HPSC002"
,
"queryTreeNode"
,
inInfo
,
{
//传入参数
//
onSuccess: function (inInfo) {
onSuccess
:
function
(
inInfo
)
{
//
tree.reload("root");//更新树
tree
.
reload
(
"root"
);
//更新树
//
}
}
//
});
});
},
},
toolbarConfig
:
{
toolbarConfig
:
{
hidden
:
false
,
// true时,不显示功能按钮,但保留setting导出按钮
hidden
:
false
,
// true时,不显示功能按钮,但保留setting导出按钮
...
...
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