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

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

上级 a8b74062
......@@ -194,7 +194,7 @@
"codeName" : "UpdateMan"
},
"getPSControlRenders" : [ {
"layoutPanelModel" : "(async () => {\r\n console.log('测试内容');\r\n const test = await new Promise((resolve, reject) => {\r\n setTimeout(() => {\r\n const result = \"pmse\"; // 这里假设返回的就是\"pmse\"这个字符串\r\n resolve(result);\r\n }, 1000); // 模拟1秒后完成异步操作,可以根据实际需求调整这个时间\r\n });\r\n return test\r\n})",
"layoutPanelModel" : "const app2 = await ibiz.hub.getApp(context.srfappid);\r\nconst dataItems = await app2.codeList.get(\r\n 'SysOperator',\r\n this.context,\r\n this.params,\r\n);\r\nconst item = dataItems.find(x => x.text === item.assignee_name);\r\nreturn item.text;",
"name" : "logic",
"renderType" : "LAYOUTPANEL_MODEL"
} ],
......
......@@ -356,7 +356,7 @@
"codeName" : "UpdateMan"
},
"getPSControlRenders" : [ {
"layoutPanelModel" : "(async () => {\r\n console.log('测试内容');\r\n const test = await new Promise((resolve, reject) => {\r\n setTimeout(() => {\r\n const result = \"pmse\"; // 这里假设返回的就是\"pmse\"这个字符串\r\n resolve(result);\r\n }, 1000); // 模拟1秒后完成异步操作,可以根据实际需求调整这个时间\r\n });\r\n return test\r\n})",
"layoutPanelModel" : "const app2 = await ibiz.hub.getApp(context.srfappid);\r\nconst dataItems = await app2.codeList.get(\r\n 'SysOperator',\r\n this.context,\r\n this.params,\r\n);\r\nconst item = dataItems.find(x => x.text === item.assignee_name);\r\nreturn item.text;",
"name" : "logic",
"renderType" : "LAYOUTPANEL_MODEL"
} ],
......
......@@ -804,7 +804,7 @@
"codeName" : "UpdateMan"
},
"getPSControlRenders" : [ {
"layoutPanelModel" : "(async () => {\r\n console.log('测试内容');\r\n const test = await new Promise((resolve, reject) => {\r\n setTimeout(() => {\r\n const result = \"pmse\"; // 这里假设返回的就是\"pmse\"这个字符串\r\n resolve(result);\r\n }, 1000); // 模拟1秒后完成异步操作,可以根据实际需求调整这个时间\r\n });\r\n return test\r\n})",
"layoutPanelModel" : "const app2 = await ibiz.hub.getApp(context.srfappid);\r\nconst dataItems = await app2.codeList.get(\r\n 'SysOperator',\r\n this.context,\r\n this.params,\r\n);\r\nconst item = dataItems.find(x => x.text === item.assignee_name);\r\nreturn item.text;",
"name" : "logic",
"renderType" : "LAYOUTPANEL_MODEL"
} ],
......
......@@ -572,7 +572,7 @@
"codeName" : "UpdateMan"
},
"getPSControlRenders" : [ {
"layoutPanelModel" : "(async () => {\r\n console.log('测试内容');\r\n const test = await new Promise((resolve, reject) => {\r\n setTimeout(() => {\r\n const result = \"pmse\"; // 这里假设返回的就是\"pmse\"这个字符串\r\n resolve(result);\r\n }, 1000); // 模拟1秒后完成异步操作,可以根据实际需求调整这个时间\r\n });\r\n return test\r\n})",
"layoutPanelModel" : "const app2 = await ibiz.hub.getApp(context.srfappid);\r\nconst dataItems = await app2.codeList.get(\r\n 'SysOperator',\r\n this.context,\r\n this.params,\r\n);\r\nconst item = dataItems.find(x => x.text === item.assignee_name);\r\nreturn item.text;",
"name" : "logic",
"renderType" : "LAYOUTPANEL_MODEL"
} ],
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册