Commit 859334fa by yukang

项目名称模糊查询

parent 6d0d0eaa
...@@ -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#
......
...@@ -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#
......
...@@ -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#
......
...@@ -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#
......
...@@ -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导出按钮
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment