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

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

上级 7937f26d
...@@ -1482,16 +1482,16 @@ ...@@ -1482,16 +1482,16 @@
"codeName" : "VMGroup2", "codeName" : "VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
}, { }, {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
} ], } ],
"uniqueTag" : "VMGroup2" "uniqueTag" : "VMGroup2"
......
...@@ -216,6 +216,14 @@ ...@@ -216,6 +216,14 @@
"labelWidth" : 130, "labelWidth" : 130,
"name" : "time1", "name" : "time1",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSControlLogics" : [ {
"itemName" : "time1",
"logicTag" : "form",
"logicType" : "SCRIPT",
"name" : "time1_disabledDate",
"scriptCode" : "(time) => {\r\n console.log('注入属性');\r\n if (!data.time2) {\r\n return false;\r\n }\r\n const time2 = new Date(data.time2).getTime();\r\n return time.getTime() > time2;\r\n}",
"triggerType" : "ITEMVISIBLE"
} ],
"getPSEditor" : { "getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss", "dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : { "editorParams" : {
...@@ -246,8 +254,9 @@ ...@@ -246,8 +254,9 @@
"name" : "time2", "name" : "time2",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSControlAttributes" : [ { "getPSControlAttributes" : [ {
"attrName" : "disabledDate",
"attrValue" : "(time) => {\r\n console.log('注入属性');\r\n if (!data.time1) {\r\n return false;\r\n }\r\n const time1 = new Date(data.time1).getTime();\r\n return time.getTime() < time1;\r\n}", "attrValue" : "(time) => {\r\n console.log('注入属性');\r\n if (!data.time1) {\r\n return false;\r\n }\r\n const time1 = new Date(data.time1).getTime();\r\n return time.getTime() < time1;\r\n}",
"name" : "disabledDate" "name" : "time2_disabledDate"
} ], } ],
"getPSEditor" : { "getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss", "dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
......
...@@ -799,6 +799,14 @@ ...@@ -799,6 +799,14 @@
"labelWidth" : 130, "labelWidth" : 130,
"name" : "time1", "name" : "time1",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSControlLogics" : [ {
"itemName" : "time1",
"logicTag" : "form",
"logicType" : "SCRIPT",
"name" : "time1_disabledDate",
"scriptCode" : "(time) => {\r\n console.log('注入属性');\r\n if (!data.time2) {\r\n return false;\r\n }\r\n const time2 = new Date(data.time2).getTime();\r\n return time.getTime() > time2;\r\n}",
"triggerType" : "ITEMVISIBLE"
} ],
"getPSEditor" : { "getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss", "dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
"editorParams" : { "editorParams" : {
...@@ -829,8 +837,9 @@ ...@@ -829,8 +837,9 @@
"name" : "time2", "name" : "time2",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSControlAttributes" : [ { "getPSControlAttributes" : [ {
"attrName" : "disabledDate",
"attrValue" : "(time) => {\r\n console.log('注入属性');\r\n if (!data.time1) {\r\n return false;\r\n }\r\n const time1 = new Date(data.time1).getTime();\r\n return time.getTime() < time1;\r\n}", "attrValue" : "(time) => {\r\n console.log('注入属性');\r\n if (!data.time1) {\r\n return false;\r\n }\r\n const time1 = new Date(data.time1).getTime();\r\n return time.getTime() < time1;\r\n}",
"name" : "disabledDate" "name" : "time2_disabledDate"
} ], } ],
"getPSEditor" : { "getPSEditor" : {
"dateTimeFormat" : "YYYY-MM-DD HH:mm:ss", "dateTimeFormat" : "YYYY-MM-DD HH:mm:ss",
......
...@@ -13449,16 +13449,16 @@ ...@@ -13449,16 +13449,16 @@
"codeName" : "VMGroup2", "codeName" : "VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
}, { }, {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
} ], } ],
"uniqueTag" : "VMGroup2" "uniqueTag" : "VMGroup2"
...@@ -13490,22 +13490,22 @@ ...@@ -13490,22 +13490,22 @@
"codeName" : "VMGroup3", "codeName" : "VMGroup3",
"name" : "视图消息类型测试", "name" : "视图消息类型测试",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-错误信息", "name" : "消息类型-常规信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg6" "id" : "ViewMsg4"
} }
}, { }, {
"name" : "消息类型-警告信息", "name" : "消息类型-错误信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg5" "id" : "ViewMsg6"
} }
}, { }, {
"name" : "消息类型-常规信息", "name" : "消息类型-警告信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg4" "id" : "ViewMsg5"
} }
} ], } ],
"uniqueTag" : "VMGroup3" "uniqueTag" : "VMGroup3"
...@@ -13536,16 +13536,16 @@ ...@@ -13536,16 +13536,16 @@
"id" : "ViewMsg10" "id" : "ViewMsg10"
} }
}, { }, {
"name" : "消息位置-视图内容区", "name" : "消息位置-视图上方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg9" "id" : "ViewMsg7"
} }
}, { }, {
"name" : "消息位置-视图上方", "name" : "消息位置-视图内容区",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg7" "id" : "ViewMsg9"
} }
} ], } ],
"uniqueTag" : "VMGroup4" "uniqueTag" : "VMGroup4"
...@@ -13570,6 +13570,12 @@ ...@@ -13570,6 +13570,12 @@
"modelref" : true, "modelref" : true,
"id" : "ViewMsg13" "id" : "ViewMsg13"
} }
}, {
"name" : "消息位置-视图下方",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg8"
}
}, { }, {
"name" : "消息类型-错误信息", "name" : "消息类型-错误信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
...@@ -13578,11 +13584,12 @@ ...@@ -13578,11 +13584,12 @@
}, },
"position" : "POPUP" "position" : "POPUP"
}, { }, {
"name" : "消息位置-视图下方", "name" : "消息类型-警告信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg8" "id" : "ViewMsg5"
} },
"position" : "POPUP"
}, { }, {
"name" : "关闭模式-无删除-上方-常规", "name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
...@@ -13596,13 +13603,6 @@ ...@@ -13596,13 +13603,6 @@
"id" : "ViewMsg4" "id" : "ViewMsg4"
}, },
"position" : "POPUP" "position" : "POPUP"
}, {
"name" : "消息类型-警告信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg5"
},
"position" : "POPUP"
} ], } ],
"uniqueTag" : "VMGroup8" "uniqueTag" : "VMGroup8"
}, { }, {
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册