提交 9aaf2cb4 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [TrainSys,网页端]

上级 e8b231e1
...@@ -5038,6 +5038,22 @@ ...@@ -5038,6 +5038,22 @@
"uIActionTag" : "OpenHtml", "uIActionTag" : "OpenHtml",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
"id" : "OpenHtml@Book" "id" : "OpenHtml@Book"
}, {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
}, { }, {
"actionTarget" : "NONE", "actionTarget" : "NONE",
"caption" : "高亮指定行", "caption" : "高亮指定行",
...@@ -5049,7 +5065,7 @@ ...@@ -5049,7 +5065,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
......
...@@ -829,7 +829,7 @@ ...@@ -829,7 +829,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -839,6 +839,37 @@ ...@@ -839,6 +839,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -3873,7 +3873,7 @@ ...@@ -3873,7 +3873,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -3883,6 +3883,37 @@ ...@@ -3883,6 +3883,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -5157,6 +5157,22 @@ ...@@ -5157,6 +5157,22 @@
"uIActionTag" : "anchor_dataview_click", "uIActionTag" : "anchor_dataview_click",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
"id" : "anchor_dataview_click@Book" "id" : "anchor_dataview_click@Book"
}, {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
}, { }, {
"actionTarget" : "NONE", "actionTarget" : "NONE",
"caption" : "界面行为直接脚本", "caption" : "界面行为直接脚本",
...@@ -5247,7 +5263,7 @@ ...@@ -5247,7 +5263,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
......
...@@ -900,7 +900,7 @@ ...@@ -900,7 +900,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -910,6 +910,37 @@ ...@@ -910,6 +910,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -1064,7 +1064,7 @@ ...@@ -1064,7 +1064,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -1074,6 +1074,37 @@ ...@@ -1074,6 +1074,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -2506,7 +2506,7 @@ ...@@ -2506,7 +2506,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -2516,6 +2516,37 @@ ...@@ -2516,6 +2516,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -2649,7 +2649,7 @@ ...@@ -2649,7 +2649,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -2659,6 +2659,37 @@ ...@@ -2659,6 +2659,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -3904,7 +3904,7 @@ ...@@ -3904,7 +3904,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -3914,6 +3914,37 @@ ...@@ -3914,6 +3914,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -1095,7 +1095,7 @@ ...@@ -1095,7 +1095,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -1105,6 +1105,37 @@ ...@@ -1105,6 +1105,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -1096,7 +1096,7 @@ ...@@ -1096,7 +1096,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -1106,6 +1106,37 @@ ...@@ -1106,6 +1106,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -2627,7 +2627,7 @@ ...@@ -2627,7 +2627,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -2637,6 +2637,37 @@ ...@@ -2637,6 +2637,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -2770,7 +2770,7 @@ ...@@ -2770,7 +2770,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -2780,6 +2780,37 @@ ...@@ -2780,6 +2780,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -828,7 +828,7 @@ ...@@ -828,7 +828,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -838,6 +838,37 @@ ...@@ -838,6 +838,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -891,7 +891,7 @@ ...@@ -891,7 +891,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -901,6 +901,37 @@ ...@@ -901,6 +901,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -882,7 +882,7 @@ ...@@ -882,7 +882,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -892,6 +892,37 @@ ...@@ -892,6 +892,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -931,7 +931,7 @@ ...@@ -931,7 +931,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -941,6 +941,37 @@ ...@@ -941,6 +941,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
...@@ -926,7 +926,7 @@ ...@@ -926,7 +926,7 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRow(lightItems);", "scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.highLightRows(lightItems);",
"uIActionMode" : "FRONT", "uIActionMode" : "FRONT",
"uIActionTag" : "highLightRow", "uIActionTag" : "highLightRow",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
...@@ -936,6 +936,37 @@ ...@@ -936,6 +936,37 @@
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "清除高亮",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction12",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction12"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "清除高亮行",
"codeName" : "clearLight",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_clearLight",
"name" : "清除高亮行",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('高亮指定行');\r\nconst gridC = view.getController('grid');\r\nconst items = gridC.state.items;\r\nconst index = view.getController('searchbar').state.query || [];\r\nconst keys = index.split(',');\r\nconst lightItems = keys.map(key => {\r\n return items[key].srfkey;\r\n})\r\ngridC.clearHighLightRows(lightItems);",
"uIActionMode" : "FRONT",
"uIActionTag" : "clearLight",
"uIActionType" : "DEUIACTION",
"id" : "clearLight@Book"
},
"tooltip" : "清除高亮",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "seperator1" "name" : "seperator1"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册