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

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

上级 d3133f5e
{
"codeListTag" : "Position_select_grid_text",
"codeListType" : "STATIC",
"codeName" : "Position_select_grid_text",
"dynaInstMode" : 0,
"dynaModelFilePath" : "PSCODELISTS/Position_select_grid_text.json",
"emptyText" : "未定义",
"name" : "定位选择(表格文本)",
"getPSCodeItems" : [ {
"codeName" : "Left",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"aameditor/align-left\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M0 1h8v1.2H0V1zm0 6.4h16v1.2H0V7.4zm0 6.4h13V15H0v-1.2z\" id=\"aam合并形状\"></path></g></svg>"
},
"text" : "靠左",
"tooltip" : "靠左",
"value" : "left"
}, {
"codeName" : "Center",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"aakeditor/align-center\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M3 1h10v1.2H3V1zM0 7.4h16v1.2H0V7.4zm1 6.4h14V15H1v-1.2z\" id=\"aak合并形状\"></path></g></svg>"
},
"text" : "居中",
"tooltip" : "居中",
"value" : "center"
}, {
"codeName" : "Right",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"aaoeditor/align-right\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M16 2.2H8V1h8v1.2zm0 6.4H0V7.4h16v1.2zm0 6.4H3v-1.2h13V15z\" id=\"aao合并形状\"></path></g></svg>"
},
"text" : "靠右",
"tooltip" : "靠右",
"value" : "right"
} ],
"refFlag" : false,
"systemTag" : "TrainSys",
"codeItemValueNumber" : false,
"enableCache" : true,
"subSysAsCloud" : false,
"subSysCodeList" : false,
"userScope" : false
}
\ No newline at end of file
{
"codeListTag" : "Position_select_no_leftorright",
"codeListType" : "STATIC",
"codeName" : "Position_select_no_leftorright",
"dynaInstMode" : 0,
"dynaModelFilePath" : "PSCODELISTS/Position_select_no_leftorright.json",
"emptyText" : "未定义",
"name" : "定位选择无左右配置(数据位置)",
"getPSCodeItems" : [ {
"codeName" : "Left_SUB_top",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"p1.Base基础/1.icon图标/2.normal/top-left\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.977235,4.25342758 C14.5301173,4.25342758 14.978317,4.70114283 14.978317,5.25342758 L14.978317,14.0037895 C14.978317,14.5560742 14.5301173,15.0037895 13.977235,15.0037895 L2.07107951,15.0037895 C1.51819714,15.0037895 1.06999742,14.5560742 1.06999742,14.0037895 L1.06999742,5.25342758 C1.06999742,4.70114283 1.51819714,4.25342758 2.07107951,4.25342758 L13.977235,4.25342758 Z M13.7770185,5.45342758 L2.27129593,5.45342758 L2.27129593,13.8037895 L13.7770185,13.8037895 L13.7770185,5.45342758 Z M10.9897465,7.1 L11.9369524,7.83675029 L10.0780935,10.2265995 L7.045,10.2263751 L5.43000734,11.8868171 L4.56999266,11.0499332 L6.53890733,9.02659948 L9.491,9.02637515 L10.9897465,7.1 Z M6.39170146,1.03175939 L6.39170146,2.23175939 L1.4,2.23175939 L1.4,1.03175939 L6.39170146,1.03175939 Z\" id=\"p形状结合\"></path></g></svg>"
},
"text" : "左上",
"tooltip" : "左上",
"value" : "left-top"
}, {
"codeName" : "Top",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"m1.Base基础/1.icon图标/2.normal/top--middle\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.977235,4.25342758 C14.5301173,4.25342758 14.978317,4.70114283 14.978317,5.25342758 L14.978317,14.0037895 C14.978317,14.5560742 14.5301173,15.0037895 13.977235,15.0037895 L2.07107951,15.0037895 C1.51819714,15.0037895 1.06999742,14.5560742 1.06999742,14.0037895 L1.06999742,5.25342758 C1.06999742,4.70114283 1.51819714,4.25342758 2.07107951,4.25342758 L13.977235,4.25342758 Z M13.7770185,5.45342758 L2.27129593,5.45342758 L2.27129593,13.8037895 L13.7770185,13.8037895 L13.7770185,5.45342758 Z M10.9897465,7.1 L11.9369524,7.83675029 L10.0780935,10.2265995 L7.045,10.2263751 L5.43000734,11.8868171 L4.56999266,11.0499332 L6.53890733,9.02659948 L9.491,9.02637515 L10.9897465,7.1 Z M10.3917015,1.03175939 L10.3917015,2.23175939 L5.4,2.23175939 L5.4,1.03175939 L10.3917015,1.03175939 Z\" id=\"m形状结合\"></path></g></svg>"
},
"text" : "正上",
"tooltip" : "正上",
"value" : "top"
}, {
"codeName" : "Right_SUB_top",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"s1.Base基础/1.icon图标/2.normal/top-right\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.977235,4.25342758 C14.5301173,4.25342758 14.978317,4.70114283 14.978317,5.25342758 L14.978317,14.0037895 C14.978317,14.5560742 14.5301173,15.0037895 13.977235,15.0037895 L2.07107951,15.0037895 C1.51819714,15.0037895 1.06999742,14.5560742 1.06999742,14.0037895 L1.06999742,5.25342758 C1.06999742,4.70114283 1.51819714,4.25342758 2.07107951,4.25342758 L13.977235,4.25342758 Z M13.7770185,5.45342758 L2.27129593,5.45342758 L2.27129593,13.8037895 L13.7770185,13.8037895 L13.7770185,5.45342758 Z M10.9897465,7.1 L11.9369524,7.83675029 L10.0780935,10.2265995 L7.045,10.2263751 L5.43000734,11.8868171 L4.56999266,11.0499332 L6.53890733,9.02659948 L9.491,9.02637515 L10.9897465,7.1 Z M15.0030547,1.03175939 L15.0030547,2.23175939 L10.0113532,2.23175939 L10.0113532,1.03175939 L15.0030547,1.03175939 Z\" id=\"s形状结合\"></path></g></svg>"
},
"text" : "右上",
"tooltip" : "右上",
"value" : "right-top"
}, {
"codeName" : "Left_SUB_bottom",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"n1.Base基础/1.icon图标/2.normal/down-left\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.9621493,1.03175939 C14.5150317,1.03175939 14.9632314,1.47947464 14.9632314,2.03175939 L14.9632314,10.7821213 C14.9632314,11.334406 14.5150317,11.7821213 13.9621493,11.7821213 L2.05599385,11.7821213 C1.50311148,11.7821213 1.05491176,11.334406 1.05491176,10.7821213 L1.05491176,2.03175939 C1.05491176,1.47947464 1.50311148,1.03175939 2.05599385,1.03175939 L13.9621493,1.03175939 Z M13.7619329,2.23175939 L2.25621027,2.23175939 L2.25621027,10.5821213 L13.7619329,10.5821213 L13.7619329,2.23175939 Z M10.9746608,3.87833181 L11.9218667,4.6150821 L10.0630078,7.00493129 L7.02991434,7.00470696 L5.41492168,8.66514894 L4.55490701,7.82826498 L6.52382168,5.80493129 L9.47591434,5.80470696 L10.9746608,3.87833181 Z M6,13.8037895 L6,15.0037895 L1,15.0037895 L1,13.8037895 L6,13.8037895 Z\" id=\"n形状结合\"></path></g></svg>"
},
"text" : "左下",
"tooltip" : "左下",
"value" : "left-bottom"
}, {
"codeName" : "Bottom",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"l1.Base基础/1.icon图标/2.normal/down-middle\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.9621493,1.03175939 C14.5150317,1.03175939 14.9632314,1.47947464 14.9632314,2.03175939 L14.9632314,10.7821213 C14.9632314,11.334406 14.5150317,11.7821213 13.9621493,11.7821213 L2.05599385,11.7821213 C1.50311148,11.7821213 1.05491176,11.334406 1.05491176,10.7821213 L1.05491176,2.03175939 C1.05491176,1.47947464 1.50311148,1.03175939 2.05599385,1.03175939 L13.9621493,1.03175939 Z M13.7619329,2.23175939 L2.25621027,2.23175939 L2.25621027,10.5821213 L13.7619329,10.5821213 L13.7619329,2.23175939 Z M10.9746608,3.87833181 L11.9218667,4.6150821 L10.0630078,7.00493129 L7.02991434,7.00470696 L5.41492168,8.66514894 L4.55490701,7.82826498 L6.52382168,5.80493129 L9.47591434,5.80470696 L10.9746608,3.87833181 Z M10.3619415,13.8037895 L10.3619415,15.0037895 L5.37024,15.0037895 L5.37024,13.8037895 L10.3619415,13.8037895 Z\" id=\"l形状结合\"></path></g></svg>"
},
"text" : "正下",
"tooltip" : "正下",
"value" : "bottom"
}, {
"codeName" : "Right_SUB_bottom",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"q1.Base基础/1.icon图标/2.normal/down-right\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.9621493,1.03175939 C14.5150317,1.03175939 14.9632314,1.47947464 14.9632314,2.03175939 L14.9632314,10.7821213 C14.9632314,11.334406 14.5150317,11.7821213 13.9621493,11.7821213 L2.05599385,11.7821213 C1.50311148,11.7821213 1.05491176,11.334406 1.05491176,10.7821213 L1.05491176,2.03175939 C1.05491176,1.47947464 1.50311148,1.03175939 2.05599385,1.03175939 L13.9621493,1.03175939 Z M13.7619329,2.23175939 L2.25621027,2.23175939 L2.25621027,10.5821213 L13.7619329,10.5821213 L13.7619329,2.23175939 Z M10.9746608,3.87833181 L11.9218667,4.6150821 L10.0630078,7.00493129 L7.02991434,7.00470696 L5.41492168,8.66514894 L4.55490701,7.82826498 L6.52382168,5.80493129 L9.47591434,5.80470696 L10.9746608,3.87833181 Z M15,13.8037895 L15,15.0037895 L10,15.0037895 L10,13.8037895 L15,13.8037895 Z\" id=\"q形状结合\"></path></g></svg>"
},
"text" : "右下",
"tooltip" : "右下",
"value" : "right-bottom"
} ],
"refFlag" : true,
"systemTag" : "TrainSys",
"codeItemValueNumber" : false,
"enableCache" : true,
"subSysAsCloud" : false,
"subSysCodeList" : false,
"userScope" : false
}
\ No newline at end of file
...@@ -35,9 +35,6 @@ ...@@ -35,9 +35,6 @@
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Test/PSCODELISTS/TestType.json" "path" : "PSMODULES/Test/PSCODELISTS/TestType.json"
}, {
"modelref" : true,
"path" : "PSMODULES/Test/PSCODELISTS/UsrCodeList1206079320.json"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Test/PSCODELISTS/UsrCodeList1225197182.json" "path" : "PSMODULES/Test/PSCODELISTS/UsrCodeList1225197182.json"
......
{
"codeListTag" : "Position_select_no_leftorright",
"codeListType" : "STATIC",
"codeName" : "Position_select_no_leftorright",
"dynaInstMode" : 0,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json",
"emptyText" : "未定义",
"name" : "定位选择无左右配置(数据位置)",
"getPSCodeItems" : [ {
"codeName" : "Left_SUB_top",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"p1.Base基础/1.icon图标/2.normal/top-left\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.977235,4.25342758 C14.5301173,4.25342758 14.978317,4.70114283 14.978317,5.25342758 L14.978317,14.0037895 C14.978317,14.5560742 14.5301173,15.0037895 13.977235,15.0037895 L2.07107951,15.0037895 C1.51819714,15.0037895 1.06999742,14.5560742 1.06999742,14.0037895 L1.06999742,5.25342758 C1.06999742,4.70114283 1.51819714,4.25342758 2.07107951,4.25342758 L13.977235,4.25342758 Z M13.7770185,5.45342758 L2.27129593,5.45342758 L2.27129593,13.8037895 L13.7770185,13.8037895 L13.7770185,5.45342758 Z M10.9897465,7.1 L11.9369524,7.83675029 L10.0780935,10.2265995 L7.045,10.2263751 L5.43000734,11.8868171 L4.56999266,11.0499332 L6.53890733,9.02659948 L9.491,9.02637515 L10.9897465,7.1 Z M6.39170146,1.03175939 L6.39170146,2.23175939 L1.4,2.23175939 L1.4,1.03175939 L6.39170146,1.03175939 Z\" id=\"p形状结合\"></path></g></svg>"
},
"text" : "左上",
"tooltip" : "左上",
"value" : "left-top"
}, {
"codeName" : "Top",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"m1.Base基础/1.icon图标/2.normal/top--middle\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.977235,4.25342758 C14.5301173,4.25342758 14.978317,4.70114283 14.978317,5.25342758 L14.978317,14.0037895 C14.978317,14.5560742 14.5301173,15.0037895 13.977235,15.0037895 L2.07107951,15.0037895 C1.51819714,15.0037895 1.06999742,14.5560742 1.06999742,14.0037895 L1.06999742,5.25342758 C1.06999742,4.70114283 1.51819714,4.25342758 2.07107951,4.25342758 L13.977235,4.25342758 Z M13.7770185,5.45342758 L2.27129593,5.45342758 L2.27129593,13.8037895 L13.7770185,13.8037895 L13.7770185,5.45342758 Z M10.9897465,7.1 L11.9369524,7.83675029 L10.0780935,10.2265995 L7.045,10.2263751 L5.43000734,11.8868171 L4.56999266,11.0499332 L6.53890733,9.02659948 L9.491,9.02637515 L10.9897465,7.1 Z M10.3917015,1.03175939 L10.3917015,2.23175939 L5.4,2.23175939 L5.4,1.03175939 L10.3917015,1.03175939 Z\" id=\"m形状结合\"></path></g></svg>"
},
"text" : "正上",
"tooltip" : "正上",
"value" : "top"
}, {
"codeName" : "Right_SUB_top",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"s1.Base基础/1.icon图标/2.normal/top-right\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.977235,4.25342758 C14.5301173,4.25342758 14.978317,4.70114283 14.978317,5.25342758 L14.978317,14.0037895 C14.978317,14.5560742 14.5301173,15.0037895 13.977235,15.0037895 L2.07107951,15.0037895 C1.51819714,15.0037895 1.06999742,14.5560742 1.06999742,14.0037895 L1.06999742,5.25342758 C1.06999742,4.70114283 1.51819714,4.25342758 2.07107951,4.25342758 L13.977235,4.25342758 Z M13.7770185,5.45342758 L2.27129593,5.45342758 L2.27129593,13.8037895 L13.7770185,13.8037895 L13.7770185,5.45342758 Z M10.9897465,7.1 L11.9369524,7.83675029 L10.0780935,10.2265995 L7.045,10.2263751 L5.43000734,11.8868171 L4.56999266,11.0499332 L6.53890733,9.02659948 L9.491,9.02637515 L10.9897465,7.1 Z M15.0030547,1.03175939 L15.0030547,2.23175939 L10.0113532,2.23175939 L10.0113532,1.03175939 L15.0030547,1.03175939 Z\" id=\"s形状结合\"></path></g></svg>"
},
"text" : "右上",
"tooltip" : "右上",
"value" : "right-top"
}, {
"codeName" : "Left_SUB_bottom",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"n1.Base基础/1.icon图标/2.normal/down-left\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.9621493,1.03175939 C14.5150317,1.03175939 14.9632314,1.47947464 14.9632314,2.03175939 L14.9632314,10.7821213 C14.9632314,11.334406 14.5150317,11.7821213 13.9621493,11.7821213 L2.05599385,11.7821213 C1.50311148,11.7821213 1.05491176,11.334406 1.05491176,10.7821213 L1.05491176,2.03175939 C1.05491176,1.47947464 1.50311148,1.03175939 2.05599385,1.03175939 L13.9621493,1.03175939 Z M13.7619329,2.23175939 L2.25621027,2.23175939 L2.25621027,10.5821213 L13.7619329,10.5821213 L13.7619329,2.23175939 Z M10.9746608,3.87833181 L11.9218667,4.6150821 L10.0630078,7.00493129 L7.02991434,7.00470696 L5.41492168,8.66514894 L4.55490701,7.82826498 L6.52382168,5.80493129 L9.47591434,5.80470696 L10.9746608,3.87833181 Z M6,13.8037895 L6,15.0037895 L1,15.0037895 L1,13.8037895 L6,13.8037895 Z\" id=\"n形状结合\"></path></g></svg>"
},
"text" : "左下",
"tooltip" : "左下",
"value" : "left-bottom"
}, {
"codeName" : "Bottom",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"l1.Base基础/1.icon图标/2.normal/down-middle\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.9621493,1.03175939 C14.5150317,1.03175939 14.9632314,1.47947464 14.9632314,2.03175939 L14.9632314,10.7821213 C14.9632314,11.334406 14.5150317,11.7821213 13.9621493,11.7821213 L2.05599385,11.7821213 C1.50311148,11.7821213 1.05491176,11.334406 1.05491176,10.7821213 L1.05491176,2.03175939 C1.05491176,1.47947464 1.50311148,1.03175939 2.05599385,1.03175939 L13.9621493,1.03175939 Z M13.7619329,2.23175939 L2.25621027,2.23175939 L2.25621027,10.5821213 L13.7619329,10.5821213 L13.7619329,2.23175939 Z M10.9746608,3.87833181 L11.9218667,4.6150821 L10.0630078,7.00493129 L7.02991434,7.00470696 L5.41492168,8.66514894 L4.55490701,7.82826498 L6.52382168,5.80493129 L9.47591434,5.80470696 L10.9746608,3.87833181 Z M10.3619415,13.8037895 L10.3619415,15.0037895 L5.37024,15.0037895 L5.37024,13.8037895 L10.3619415,13.8037895 Z\" id=\"l形状结合\"></path></g></svg>"
},
"text" : "正下",
"tooltip" : "正下",
"value" : "bottom"
}, {
"codeName" : "Right_SUB_bottom",
"getPSSysImage" : {
"rawContent" : "<svg viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" width=\"1em\" focusable=\"false\"><g id=\"q1.Base基础/1.icon图标/2.normal/down-right\" stroke-width=\"1\" fill-rule=\"evenodd\"><path d=\"M13.9621493,1.03175939 C14.5150317,1.03175939 14.9632314,1.47947464 14.9632314,2.03175939 L14.9632314,10.7821213 C14.9632314,11.334406 14.5150317,11.7821213 13.9621493,11.7821213 L2.05599385,11.7821213 C1.50311148,11.7821213 1.05491176,11.334406 1.05491176,10.7821213 L1.05491176,2.03175939 C1.05491176,1.47947464 1.50311148,1.03175939 2.05599385,1.03175939 L13.9621493,1.03175939 Z M13.7619329,2.23175939 L2.25621027,2.23175939 L2.25621027,10.5821213 L13.7619329,10.5821213 L13.7619329,2.23175939 Z M10.9746608,3.87833181 L11.9218667,4.6150821 L10.0630078,7.00493129 L7.02991434,7.00470696 L5.41492168,8.66514894 L4.55490701,7.82826498 L6.52382168,5.80493129 L9.47591434,5.80470696 L10.9746608,3.87833181 Z M15,13.8037895 L15,15.0037895 L10,15.0037895 L10,13.8037895 L15,13.8037895 Z\" id=\"q形状结合\"></path></g></svg>"
},
"text" : "右下",
"tooltip" : "右下",
"value" : "right-bottom"
} ],
"enableCache" : true
}
\ No newline at end of file
...@@ -193,6 +193,11 @@ ...@@ -193,6 +193,11 @@
"name" : "UPDATEMAN", "name" : "UPDATEMAN",
"codeName" : "UpdateMan" "codeName" : "UpdateMan"
}, },
"getPSControlRenders" : [ {
"layoutPanelModel" : "const userid = '';\r\nconst usertext = data[controller.fieldName] || '';\r\nconst app = await ibiz.hub.getApp(context.srfappid);\r\nconst dataItems = await app.codeList.get(\r\n 'SysOperator',\r\n context,\r\n params,\r\n)\r\nif (!dataItems || dataItems.length === 0) {\r\n return '';\r\n}\r\nlet operator = {};\r\nlet avatarContent = '';\r\nlet avatarBg = ibiz.util.text.stringToHexColor(usertext);\r\ndataItems.find((items) => {\r\n const item = items[1] || {};\r\n if ((item.value && userid && item.value === userid) || (item.text && usertext && item.text === usertext)) {\r\n operator = item;\r\n return true;\r\n }\r\n return false;\r\n});\r\nif (operator.data && operator.data.iconurl) {\r\n // return operator.data.iconurl;\r\n // 如果存在\r\n avatarContent = `<img class=\"ibiz-picker-dropdown-select-modal__personel-list--avatar\" style=\"width:100%; height:100%; object-fit:cover; border-radius:50%;\"\r\n src=\"${operator.data.iconurl}\" alt=\"\">`;\r\n} else {\r\n avatarContent = ibiz.util.text.abbreviation(usertext) || '';\r\n}\r\nreturn `\r\n<div\r\n class=\"ibiz-picker-dropdown-select-value is-readonly\"\r\n style=\"overflow:hidden; width:max-content; display:flex; gap: 8px; align-items:center; height:var(--ibiz-height-control-default);\"\r\n title=\"\"\r\n>\r\n <div \r\n class=\"ibiz-picker-dropdown-select-value__textimg\"\r\n style=\"width:var(--ibiz-height-control-default); min-width:var(--ibiz-height-control-default); height:var(--ibiz-height-control-default); overflow:hidden; font-size:12px; line-height:var(--ibiz-height-control-default); color:var(--ibiz-color-primary-active-text); text-align:center; border-radius:50%;background-color: ${avatarBg};\"\r\n >\r\n ${avatarContent}\r\n </div>\r\n <div\r\n class=\"ibiz-picker-dropdown-select-value__text\"\r\n style=\"display:flex; align-items:center; justify-content:left; height:var(--ibiz-height-control-default); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;\"\r\n >\r\n ${usertext}\r\n </div>\r\n</div>\r\n`;",
"name" : "logic",
"renderType" : "LAYOUTPANEL_MODEL"
} ],
"width" : 100, "width" : 100,
"widthUnit" : "PX", "widthUnit" : "PX",
"enableSort" : true "enableSort" : true
...@@ -267,7 +272,8 @@ ...@@ -267,7 +272,8 @@
"getPSAppDEField" : { "getPSAppDEField" : {
"name" : "UPDATEMAN", "name" : "UPDATEMAN",
"codeName" : "UpdateMan" "codeName" : "UpdateMan"
} },
"customCode" : true
}, { }, {
"format" : "YYYY-MM-DD HH:mm:ss", "format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5, "dataType" : 5,
......
...@@ -861,7 +861,7 @@ ...@@ -861,7 +861,7 @@
"name" : "formitem", "name" : "formitem",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
} }
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
...@@ -891,7 +891,7 @@ ...@@ -891,7 +891,7 @@
"name" : "formitem5", "name" : "formitem5",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
}, },
"readOnly" : true "readOnly" : true
}, },
...@@ -922,7 +922,7 @@ ...@@ -922,7 +922,7 @@
"name" : "formitem6", "name" : "formitem6",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
}, },
"disabled" : true "disabled" : true
}, },
......
...@@ -304,7 +304,7 @@ ...@@ -304,7 +304,7 @@
"name" : "formitem", "name" : "formitem",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
} }
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
...@@ -334,7 +334,7 @@ ...@@ -334,7 +334,7 @@
"name" : "formitem5", "name" : "formitem5",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
}, },
"readOnly" : true "readOnly" : true
}, },
...@@ -365,7 +365,7 @@ ...@@ -365,7 +365,7 @@
"name" : "formitem6", "name" : "formitem6",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
}, },
"disabled" : true "disabled" : true
}, },
......
...@@ -355,6 +355,11 @@ ...@@ -355,6 +355,11 @@
"name" : "UPDATEMAN", "name" : "UPDATEMAN",
"codeName" : "UpdateMan" "codeName" : "UpdateMan"
}, },
"getPSControlRenders" : [ {
"layoutPanelModel" : "const userid = '';\r\nconst usertext = data[controller.fieldName] || '';\r\nconst app = await ibiz.hub.getApp(context.srfappid);\r\nconst dataItems = await app.codeList.get(\r\n 'SysOperator',\r\n context,\r\n params,\r\n)\r\nif (!dataItems || dataItems.length === 0) {\r\n return '';\r\n}\r\nlet operator = {};\r\nlet avatarContent = '';\r\nlet avatarBg = ibiz.util.text.stringToHexColor(usertext);\r\ndataItems.find((items) => {\r\n const item = items[1] || {};\r\n if ((item.value && userid && item.value === userid) || (item.text && usertext && item.text === usertext)) {\r\n operator = item;\r\n return true;\r\n }\r\n return false;\r\n});\r\nif (operator.data && operator.data.iconurl) {\r\n // return operator.data.iconurl;\r\n // 如果存在\r\n avatarContent = `<img class=\"ibiz-picker-dropdown-select-modal__personel-list--avatar\" style=\"width:100%; height:100%; object-fit:cover; border-radius:50%;\"\r\n src=\"${operator.data.iconurl}\" alt=\"\">`;\r\n} else {\r\n avatarContent = ibiz.util.text.abbreviation(usertext) || '';\r\n}\r\nreturn `\r\n<div\r\n class=\"ibiz-picker-dropdown-select-value is-readonly\"\r\n style=\"overflow:hidden; width:max-content; display:flex; gap: 8px; align-items:center; height:var(--ibiz-height-control-default);\"\r\n title=\"\"\r\n>\r\n <div \r\n class=\"ibiz-picker-dropdown-select-value__textimg\"\r\n style=\"width:var(--ibiz-height-control-default); min-width:var(--ibiz-height-control-default); height:var(--ibiz-height-control-default); overflow:hidden; font-size:12px; line-height:var(--ibiz-height-control-default); color:var(--ibiz-color-primary-active-text); text-align:center; border-radius:50%;background-color: ${avatarBg};\"\r\n >\r\n ${avatarContent}\r\n </div>\r\n <div\r\n class=\"ibiz-picker-dropdown-select-value__text\"\r\n style=\"display:flex; align-items:center; justify-content:left; height:var(--ibiz-height-control-default); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;\"\r\n >\r\n ${usertext}\r\n </div>\r\n</div>\r\n`;",
"name" : "logic",
"renderType" : "LAYOUTPANEL_MODEL"
} ],
"width" : 100, "width" : 100,
"widthUnit" : "PX", "widthUnit" : "PX",
"enableSort" : true "enableSort" : true
...@@ -429,7 +434,8 @@ ...@@ -429,7 +434,8 @@
"getPSAppDEField" : { "getPSAppDEField" : {
"name" : "UPDATEMAN", "name" : "UPDATEMAN",
"codeName" : "UpdateMan" "codeName" : "UpdateMan"
} },
"customCode" : true
}, { }, {
"format" : "YYYY-MM-DD HH:mm:ss", "format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5, "dataType" : 5,
......
...@@ -803,6 +803,11 @@ ...@@ -803,6 +803,11 @@
"name" : "UPDATEMAN", "name" : "UPDATEMAN",
"codeName" : "UpdateMan" "codeName" : "UpdateMan"
}, },
"getPSControlRenders" : [ {
"layoutPanelModel" : "const userid = '';\r\nconst usertext = data[controller.fieldName] || '';\r\nconst app = await ibiz.hub.getApp(context.srfappid);\r\nconst dataItems = await app.codeList.get(\r\n 'SysOperator',\r\n context,\r\n params,\r\n)\r\nif (!dataItems || dataItems.length === 0) {\r\n return '';\r\n}\r\nlet operator = {};\r\nlet avatarContent = '';\r\nlet avatarBg = ibiz.util.text.stringToHexColor(usertext);\r\ndataItems.find((items) => {\r\n const item = items[1] || {};\r\n if ((item.value && userid && item.value === userid) || (item.text && usertext && item.text === usertext)) {\r\n operator = item;\r\n return true;\r\n }\r\n return false;\r\n});\r\nif (operator.data && operator.data.iconurl) {\r\n // return operator.data.iconurl;\r\n // 如果存在\r\n avatarContent = `<img class=\"ibiz-picker-dropdown-select-modal__personel-list--avatar\" style=\"width:100%; height:100%; object-fit:cover; border-radius:50%;\"\r\n src=\"${operator.data.iconurl}\" alt=\"\">`;\r\n} else {\r\n avatarContent = ibiz.util.text.abbreviation(usertext) || '';\r\n}\r\nreturn `\r\n<div\r\n class=\"ibiz-picker-dropdown-select-value is-readonly\"\r\n style=\"overflow:hidden; width:max-content; display:flex; gap: 8px; align-items:center; height:var(--ibiz-height-control-default);\"\r\n title=\"\"\r\n>\r\n <div \r\n class=\"ibiz-picker-dropdown-select-value__textimg\"\r\n style=\"width:var(--ibiz-height-control-default); min-width:var(--ibiz-height-control-default); height:var(--ibiz-height-control-default); overflow:hidden; font-size:12px; line-height:var(--ibiz-height-control-default); color:var(--ibiz-color-primary-active-text); text-align:center; border-radius:50%;background-color: ${avatarBg};\"\r\n >\r\n ${avatarContent}\r\n </div>\r\n <div\r\n class=\"ibiz-picker-dropdown-select-value__text\"\r\n style=\"display:flex; align-items:center; justify-content:left; height:var(--ibiz-height-control-default); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;\"\r\n >\r\n ${usertext}\r\n </div>\r\n</div>\r\n`;",
"name" : "logic",
"renderType" : "LAYOUTPANEL_MODEL"
} ],
"width" : 100, "width" : 100,
"widthUnit" : "PX", "widthUnit" : "PX",
"enableSort" : true "enableSort" : true
...@@ -877,7 +882,8 @@ ...@@ -877,7 +882,8 @@
"getPSAppDEField" : { "getPSAppDEField" : {
"name" : "UPDATEMAN", "name" : "UPDATEMAN",
"codeName" : "UpdateMan" "codeName" : "UpdateMan"
} },
"customCode" : true
}, { }, {
"format" : "YYYY-MM-DD HH:mm:ss", "format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5, "dataType" : 5,
......
...@@ -571,6 +571,11 @@ ...@@ -571,6 +571,11 @@
"name" : "UPDATEMAN", "name" : "UPDATEMAN",
"codeName" : "UpdateMan" "codeName" : "UpdateMan"
}, },
"getPSControlRenders" : [ {
"layoutPanelModel" : "const userid = '';\r\nconst usertext = data[controller.fieldName] || '';\r\nconst app = await ibiz.hub.getApp(context.srfappid);\r\nconst dataItems = await app.codeList.get(\r\n 'SysOperator',\r\n context,\r\n params,\r\n)\r\nif (!dataItems || dataItems.length === 0) {\r\n return '';\r\n}\r\nlet operator = {};\r\nlet avatarContent = '';\r\nlet avatarBg = ibiz.util.text.stringToHexColor(usertext);\r\ndataItems.find((items) => {\r\n const item = items[1] || {};\r\n if ((item.value && userid && item.value === userid) || (item.text && usertext && item.text === usertext)) {\r\n operator = item;\r\n return true;\r\n }\r\n return false;\r\n});\r\nif (operator.data && operator.data.iconurl) {\r\n // return operator.data.iconurl;\r\n // 如果存在\r\n avatarContent = `<img class=\"ibiz-picker-dropdown-select-modal__personel-list--avatar\" style=\"width:100%; height:100%; object-fit:cover; border-radius:50%;\"\r\n src=\"${operator.data.iconurl}\" alt=\"\">`;\r\n} else {\r\n avatarContent = ibiz.util.text.abbreviation(usertext) || '';\r\n}\r\nreturn `\r\n<div\r\n class=\"ibiz-picker-dropdown-select-value is-readonly\"\r\n style=\"overflow:hidden; width:max-content; display:flex; gap: 8px; align-items:center; height:var(--ibiz-height-control-default);\"\r\n title=\"\"\r\n>\r\n <div \r\n class=\"ibiz-picker-dropdown-select-value__textimg\"\r\n style=\"width:var(--ibiz-height-control-default); min-width:var(--ibiz-height-control-default); height:var(--ibiz-height-control-default); overflow:hidden; font-size:12px; line-height:var(--ibiz-height-control-default); color:var(--ibiz-color-primary-active-text); text-align:center; border-radius:50%;background-color: ${avatarBg};\"\r\n >\r\n ${avatarContent}\r\n </div>\r\n <div\r\n class=\"ibiz-picker-dropdown-select-value__text\"\r\n style=\"display:flex; align-items:center; justify-content:left; height:var(--ibiz-height-control-default); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;\"\r\n >\r\n ${usertext}\r\n </div>\r\n</div>\r\n`;",
"name" : "logic",
"renderType" : "LAYOUTPANEL_MODEL"
} ],
"width" : 100, "width" : 100,
"widthUnit" : "PX", "widthUnit" : "PX",
"enableSort" : true "enableSort" : true
...@@ -645,7 +650,8 @@ ...@@ -645,7 +650,8 @@
"getPSAppDEField" : { "getPSAppDEField" : {
"name" : "UPDATEMAN", "name" : "UPDATEMAN",
"codeName" : "UpdateMan" "codeName" : "UpdateMan"
} },
"customCode" : true
}, { }, {
"format" : "YYYY-MM-DD HH:mm:ss", "format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5, "dataType" : 5,
......
...@@ -426,7 +426,7 @@ ...@@ -426,7 +426,7 @@
"name" : "formitem", "name" : "formitem",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
} }
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
...@@ -456,7 +456,7 @@ ...@@ -456,7 +456,7 @@
"name" : "formitem5", "name" : "formitem5",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
}, },
"readOnly" : true "readOnly" : true
}, },
...@@ -487,7 +487,7 @@ ...@@ -487,7 +487,7 @@
"name" : "formitem6", "name" : "formitem6",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
}, },
"disabled" : true "disabled" : true
}, },
......
...@@ -1489,7 +1489,7 @@ ...@@ -1489,7 +1489,7 @@
"name" : "formitem", "name" : "formitem",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
} }
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
...@@ -1519,7 +1519,7 @@ ...@@ -1519,7 +1519,7 @@
"name" : "formitem5", "name" : "formitem5",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
}, },
"readOnly" : true "readOnly" : true
}, },
...@@ -1550,7 +1550,7 @@ ...@@ -1550,7 +1550,7 @@
"name" : "formitem6", "name" : "formitem6",
"getPSAppCodeList" : { "getPSAppCodeList" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__UsrCodeList1206079320.json" "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Position_select_no_leftorright.json"
}, },
"disabled" : true "disabled" : true
}, },
......
...@@ -264,12 +264,18 @@ ...@@ -264,12 +264,18 @@
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSCODELISTS/Runtime1.json" "path" : "PSCODELISTS/Runtime1.json"
}, {
"modelref" : true,
"path" : "PSCODELISTS/Position_select_common.json"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSCODELISTS/CodeList40.json" "path" : "PSCODELISTS/CodeList40.json"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSCODELISTS/CodeList58.json" "path" : "PSCODELISTS/CodeList58.json"
}, {
"modelref" : true,
"path" : "PSCODELISTS/Position_select_grid_text.json"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSCODELISTS/CodeList10.json" "path" : "PSCODELISTS/CodeList10.json"
...@@ -290,7 +296,7 @@ ...@@ -290,7 +296,7 @@
"path" : "PSCODELISTS/CodeList88.json" "path" : "PSCODELISTS/CodeList88.json"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Test/PSCODELISTS/UsrCodeList1206079320.json" "path" : "PSCODELISTS/Position_select_no_leftorright.json"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Test/PSCODELISTS/UsrCodeList1225197182.json" "path" : "PSMODULES/Test/PSCODELISTS/UsrCodeList1225197182.json"
...@@ -1336,7 +1342,7 @@ ...@@ -1336,7 +1342,7 @@
"editorHeight" : -1.0, "editorHeight" : -1.0,
"editorType" : "RADIOBUTTONLIST", "editorType" : "RADIOBUTTONLIST",
"editorWidth" : -1.0, "editorWidth" : -1.0,
"name" : "定位选择", "name" : "位置选择",
"styleCode" : "POSITION_SELECT", "styleCode" : "POSITION_SELECT",
"replaceDefault" : false "replaceDefault" : false
}, { }, {
...@@ -2002,9 +2008,6 @@ ...@@ -2002,9 +2008,6 @@
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Test/PSCODELISTS/TestType.json" "path" : "PSMODULES/Test/PSCODELISTS/TestType.json"
}, {
"modelref" : true,
"path" : "PSMODULES/Test/PSCODELISTS/UsrCodeList1206079320.json"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSMODULES/Test/PSCODELISTS/UsrCodeList1225197182.json" "path" : "PSMODULES/Test/PSCODELISTS/UsrCodeList1225197182.json"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册