数据结构
{
"schemaType": "superform",
"schemaVersion": "5.0",
"pages": [
{
"utils": [
{
"name": "legaoBuiltin",
"type": "npm",
"content": {
"package": "@ali/vu-legao-builtin",
"version": "3.0.0",
"exportName": "legaoBuiltin"
}
},
{
"name": "yidaPlugin",
"type": "npm",
"content": {
"package": "@ali/vu-yida-plugin",
"version": "1.1.0",
"exportName": "yidaPlugin"
}
}
],
"componentsMap": [
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "RootHeader"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "SelectField"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "TextField"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "DateField"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "EmployeeField"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "RadioField"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "TextareaField"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "DigitalSignatureField"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "AttachmentField"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "TableField"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "FormContainer"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "RootContent"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "RootFooter"
},
{
"package": "@ali/vc-deep-yida",
"version": "1.5.169",
"componentName": "Page"
}
],
"componentsTree": [
{
"componentName": "Page",
"id": "node_oclm8tgs2r1",
"props": {
"titleDesc": {
"en_US": "title",
"use": "zh_CN",
"zh_CN": "登记巡检设备重要信息,确保设备的正常运行",
"type": "i18n"
},
"pageStyle": {
"backgroundColor": "#f2f3f5"
},
"contentMargin": "16",
"contentPadding": "24",
"contentPaddingMobile": "0",
"titleBg": "[https://img.alicdn.com/imgextra/i1/O1CN01ZHYTls1vsvyQRaUYZ_!!6000000006229-2-tps-3360-400.png_.webp](https://img.alicdn.com/imgextra/i1/O1CN01ZHYTls1vsvyQRaUYZ_!!6000000006229-2-tps-3360-400.png_.webp)",
"sizePc": "medium",
"labelAlignPc": "top",
"contentMarginMobile": "12",
"className": "page_lm8th7c7",
"labelWidthPc": "130px",
"contentBgColor": "white",
"titleName": {
"en_US": "title",
"use": "zh_CN",
"zh_CN": "设备巡检表",
"type": "i18n"
},
"showTitle": true,
"templateVersion": "1.0.0",
"titleStyle": {
"img": "[https://gw.alicdn.com/imgextra/i1/O1CN01U3CGQX1ZXw99EJ7H4_!!6000000003205-2-tps-636-256.png](https://gw.alicdn.com/imgextra/i1/O1CN01U3CGQX1ZXw99EJ7H4_!!6000000003205-2-tps-636-256.png)",
"text": "高级氛围",
"value": "atmosphereA"
},
"contentBgColorMobile": "white",
"labelWeightMobile": "normal",
"labelWidthMobile": "80px",
"labelWeightPc": "normal",
"labelAlignMobile": "top"
},
"condition": true,
"css": "body{background-color:#f2f3f5}",
"methods": {
"__initMethods__": {
"type": "js",
"source": "function+(exports,+module)+{+/*set+actions+code+here*/+}",
"compiled": "function+(exports,+module)+{+/*set+actions+code+here*/+}"
}
},
"dataSource": {
"offline": [
],
"globalConfig": {
"fit": {
"compiled": "'use+strict';\n\nvar+__preParser__+=+function+fit(response)+{\n++var+content+=+response.content+!==+undefined+?+response.content+:+response;\n++var+error+=+{\n++++message:+response.errorMsg+||+response.errors+&&+response.errors[0]+&&+response.errors[0].msg+||+response.content+||+'远程数据源请求出错,success+is+false'\n++};\n++var+success+=+true;\n++if+(response.success+!==+undefined)+{\n++++success+=+response.success;\n++}+else+if+(response.hasError+!==+undefined)+{\n++++success+=+!response.hasError;\n++}\n++return+{\n++++content:+content,\n++++success:+success,\n++++error:+error\n++};\n};",
"source": "function+fit(response)+{\r\n++const+content+=+(response.content+!==+undefined)+?+response.content+:+response;\r\n++const+error+=+{\r\n++++message:+response.errorMsg+||\r\n++++++(response.errors+&&+response.errors[0]+&&+response.errors[0].msg)+||\r\n++++++response.content+||+'远程数据源请求出错,success+is+false',\r\n++};\r\n++let+success+=+true;\r\n++if+(response.success+!==+undefined)+{\r\n++++success+=+response.success;\r\n++}+else+if+(response.hasError+!==+undefined)+{\r\n++++success+=+!response.hasError;\r\n++}\r\n++return+{\r\n++++content,\r\n++++success,\r\n++++error,\r\n++};\r\n}",
"type": "js",
"error": {
}
}
},
"online": [
],
"list": [
],
"sync": true
},
"lifeCycles": {
"constructor": {
"type": "js",
"compiled": "function+constructor()+{\nvar+module+=+{+exports:+{}+};\nvar+_this+=+this;\nthis.__initMethods__(module.exports,+module);\nObject.keys(module.exports).forEach(function(item)+{\n++if(typeof+module.exports[item]+===+'function'){\n++++_this[item]+=+module.exports[item];\n++}\n});\n\n}",
"source": "function+constructor()+{\nvar+module+=+{+exports:+{}+};\nvar+_this+=+this;\nthis.__initMethods__(module.exports,+module);\nObject.keys(module.exports).forEach(function(item)+{\n++if(typeof+module.exports[item]+===+'function'){\n++++_this[item]+=+module.exports[item];\n++}\n});\n\n}"
},
"componentWillUnmount": "",
"componentDidMount": {
"name": "didMount",
"id": "didMount",
"params": {
},
"type": "actionRef"
}
},
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": "",
"children": [
{
"componentName": "RootHeader",
"id": "node_oclm8tgs2r2",
"props": {
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
},
{
"componentName": "RootContent",
"id": "node_oclm8tgs2r3",
"props": {
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": "",
"children": [
{
"componentName": "FormContainer",
"id": "node_oclm8tgs2r4",
"props": {
"beforeSubmit": false,
"submitText": {
"en_US": "Submit",
"zh_CN": "提交",
"type": "i18n"
},
"labelAlign": "top",
"columns": 2,
"fieldId": "formContainer_lm8tgtwm",
"afterSubmit": false
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": "",
"children": [
{
"componentName": "SelectField",
"id": "node_oclmoa65g91",
"props": {
"__useMediator": "value",
"hasClear": true,
"dataSourceLinkage": "",
"isUseDataSourceColor": false,
"__gridSpan": 1,
"linkage": "",
"tips": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
},
"mode": "single",
"defaultCheckOther": false,
"reusePrivilege": false,
"valueType": "custom",
"showSearch": true,
"autoWidth": true,
"labelTextAlign": "left",
"placeholder": {
"en_US": "please+select",
"use": "zh_CN",
"zh_CN": "请选择",
"type": "i18n"
},
"behavior": "NORMAL",
"value": "",
"validation": [
{
"type": "required"
}
],
"searchConfig": {
"dataType": "jsonp",
"url": "",
"beforeFetch": "function+willFetch(params)+{\n++return+params;\n}",
"afterFetch": "function+didFetch(content)+{\n++return+content;\n}"
},
"fieldId": "selectField_lmoac3lt",
"notFoundContent": {
"en_US": "Not+Found",
"use": "zh_CN",
"zh_CN": "无数据",
"type": "i18n"
},
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"submittable": "DEFAULT",
"label": {
"en_US": "SelectField",
"use": "zh_CN",
"zh_CN": "设备名称",
"type": "i18n"
},
"__category__": "form",
"labelColSpan": 4,
"complexValue": {
"complexType": "custom",
"formula": "",
"value": ""
},
"size": "medium",
"labelAlign": "top",
"filterLocal": true,
"variable": "",
"formula": "",
"defaultDataSource": {
"customStashOptions": [
],
"complexType": "custom",
"options": [
{
"defaultChecked": false,
"__sid": "item_lmoac40m",
"text": {
"en_US": "电脑",
"zh_CN": "电脑",
"type": "i18n",
"__sid__": "param_lmoac42i"
},
"__sid__": "serial_lmoac40m",
"value": "电脑",
"sid": "serial_lmoac40m"
},
{
"defaultChecked": false,
"__sid": "item_lmoac40n",
"text": {
"en_US": "打印机",
"zh_CN": "打印机",
"type": "i18n",
"__sid__": "param_lmoac42o"
},
"__sid__": "serial_lmoac40n",
"value": "打印机",
"sid": "serial_lmoac40n"
}
],
"formula": {
"data": [
],
"event": {
"onPageReady,onChange": [
]
}
},
"url": "",
"searchConfig": {
"afterFetch": "",
"type": "JSONP",
"beforeFetch": "",
"url": ""
}
},
"dataSource": [
{
"defaultChecked": false,
"__sid": "item_lmoac40m",
"text": {
"en_US": "电脑",
"zh_CN": "电脑",
"type": "i18n",
"__sid__": "param_lmoac42i"
},
"__sid__": "serial_lmoac40m",
"value": "电脑",
"sid": "serial_lmoac40m"
},
{
"defaultChecked": false,
"__sid": "item_lmoac40n",
"text": {
"en_US": "打印机",
"zh_CN": "打印机",
"type": "i18n",
"__sid__": "param_lmoac42o"
},
"__sid__": "serial_lmoac40n",
"value": "打印机",
"sid": "serial_lmoac40n"
}
],
"dataSourceType": "custom",
"isCustomStore": false
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
},
{
"componentName": "TextField",
"id": "node_oclmoa65g9a",
"props": {
"__useMediator": "value",
"hasClear": true,
"validationType": "text",
"__gridSpan": 1,
"linkage": "",
"tips": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
},
"valueType": "custom",
"labelTextAlign": "left",
"placeholder": {
"en_US": "Please+enter",
"use": "zh_CN",
"zh_CN": "请输入",
"type": "i18n"
},
"behavior": "NORMAL",
"value": {
"en_US": "",
"use": "zh_CN",
"zh_CN": "",
"type": "i18n"
},
"validation": [
],
"hasLimitHint": false,
"fieldId": "textField_lmoac3lu",
"autoHeight": false,
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"submittable": "DEFAULT",
"label": {
"en_US": "TextField",
"use": "zh_CN",
"zh_CN": "设备编号",
"type": "i18n"
},
"__category__": "form",
"rows": 4,
"labelColSpan": 4,
"scanCode": {
"enabled": false,
"type": "all",
"editable": true
},
"complexValue": {
"complexType": "custom",
"formula": "",
"value": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
}
},
"size": "medium",
"labelAlign": "top",
"variable": "",
"formula": "",
"maxLength": 200,
"isCustomStore": false
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
},
{
"componentName": "TextField",
"id": "node_oclmoa65g99",
"props": {
"__useMediator": "value",
"hasClear": true,
"validationType": "text",
"__gridSpan": 1,
"linkage": "",
"tips": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
},
"valueType": "custom",
"labelTextAlign": "left",
"placeholder": {
"en_US": "Please+enter",
"use": "zh_CN",
"zh_CN": "请输入",
"type": "i18n"
},
"behavior": "NORMAL",
"value": {
"en_US": "",
"use": "zh_CN",
"zh_CN": "",
"type": "i18n"
},
"validation": [
],
"hasLimitHint": false,
"fieldId": "textField_lmoac3lv",
"autoHeight": false,
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"submittable": "DEFAULT",
"label": {
"en_US": "TextField",
"use": "zh_CN",
"zh_CN": "设备型号",
"type": "i18n"
},
"__category__": "form",
"rows": 4,
"labelColSpan": 4,
"scanCode": {
"enabled": false,
"type": "all",
"editable": true
},
"complexValue": {
"complexType": "custom",
"formula": "",
"value": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
}
},
"size": "medium",
"labelAlign": "top",
"variable": "",
"formula": "",
"maxLength": 200,
"isCustomStore": false
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
},
{
"componentName": "DateField",
"id": "node_oclmoa65g94",
"props": {
"__useMediator": "value",
"hasClear": true,
"__gridSpan": 1,
"linkage": "",
"tips": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
},
"valueType": "variable",
"labelTextAlign": "left",
"placeholder": {
"en_US": "please+select",
"use": "zh_CN",
"zh_CN": "请选择",
"type": "i18n"
},
"behavior": "READONLY",
"resetTime": false,
"value": "",
"validation": [
],
"fieldId": "dateField_lmoac3lw",
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"submittable": "DEFAULT",
"disabledDate": {
"type": "none"
},
"format": "YYYY-MM-DD+HH:mm",
"label": {
"en_US": "DateField",
"use": "zh_CN",
"zh_CN": "巡检日期",
"type": "i18n"
},
"__category__": "form",
"labelColSpan": 4,
"complexValue": {
"complexType": "formula",
"formula": "TIMESTAMP(TODAY())",
"value": ""
},
"size": "medium",
"labelAlign": "top",
"variable": {
"type": "today"
},
"formula": ""
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
},
{
"componentName": "EmployeeField",
"id": "node_oclmoa65g95",
"props": {
"closeOnSelect": false,
"__useMediator": "value",
"hasClear": true,
"__gridSpan": 1,
"linkage": "",
"tips": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
},
"useAliworkUrl": false,
"valueType": "variable",
"labelTextAlign": "left",
"showEmplId": false,
"placeholder": {
"en_US": "Please+Select",
"use": "zh_CN",
"zh_CN": "请选择",
"type": "i18n"
},
"behavior": "READONLY",
"value": [
],
"validation": [
],
"startWithDepartmentId": "SELF",
"fieldId": "employeeField_lmoac3lx",
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"submittable": "DEFAULT",
"multiple": false,
"label": {
"en_US": "Employee+Field",
"use": "zh_CN",
"zh_CN": "巡检人员",
"type": "i18n"
},
"__category__": "form",
"labelColSpan": 4,
"complexValue": {
"complexType": "formula",
"formula": "USER()",
"value": [
]
},
"size": "medium",
"labelAlign": "top",
"variable": {
"type": "user"
},
"formula": "",
"renderLinkForView": true
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
},
{
"componentName": "TableField",
"id": "node_oclmoa65g96",
"props": {
"showIndex": true,
"copyButtonText": {
"en_US": "Copy",
"zh_CN": "复制",
"type": "i18n"
},
"__useMediator": "value",
"addButtonBehavior": "NORMAL",
"pageSize": 20,
"mobileFreezeColumnStartCounts": "0",
"__gridSpan": 1,
"linkage": "",
"addButtonText": {
"en_US": "Add+item",
"zh_CN": "新增一项",
"type": "i18n"
},
"enableExport": true,
"addButtonPosition": "bottom",
"actionsColumnWidth": 70,
"valueType": "custom",
"labelTextAlign": "left",
"theme": "split",
"delButtonText": {
"en_US": "Remove",
"zh_CN": "删除",
"type": "i18n"
},
"behavior": "NORMAL",
"useCustomColumnsWidth": false,
"showSortable": false,
"moveUp": {
"en_US": "Up",
"zh_CN": "上移",
"type": "i18n"
},
"fieldId": "tableField_lmoac3ly",
"__designerDevice": "pc",
"maxItems": 50,
"tableLayout": "fixed",
"mobileLayout": "TILED",
"showActions": true,
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"indexName": {
"en_US": "Line",
"use": "zh_CN",
"zh_CN": "项目",
"type": "i18n"
},
"submittable": "DEFAULT",
"showCopyAction": false,
"showDelAction": true,
"filterEmptyRowData": true,
"label": {
"en_US": "Table+Field",
"use": "zh_CN",
"zh_CN": "巡检明细",
"type": "i18n"
},
"showTableHead": true,
"__category__": "form",
"moveDown": {
"en_US": "Down",
"zh_CN": "下移",
"type": "i18n"
},
"labelColSpan": 4,
"pcFreezeColumnStartCounts": "0",
"layout": "TABLE",
"showDeleteConfirm": true,
"minItems": 1,
"enableImport": true,
"complexValue": {
"complexType": "custom",
"formula": ""
},
"labelAlign": "top",
"defaultCollapseStatus": true,
"isFreezeOperateColumn": true,
"actions": [
]
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": "",
"children": [
{
"componentName": "SelectField",
"id": "node_oclmoa65g9i",
"props": {
"__useMediator": "value",
"hasClear": true,
"dataSourceLinkage": "",
"isUseDataSourceColor": false,
"__gridSpan": 1,
"linkage": "",
"tips": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
},
"mode": "single",
"reusePrivilege": false,
"valueType": "custom",
"showSearch": true,
"autoWidth": true,
"labelTextAlign": "left",
"placeholder": {
"en_US": "please+select",
"use": "zh_CN",
"zh_CN": "请选择",
"type": "i18n"
},
"behavior": "NORMAL",
"value": "",
"validation": [
{
"type": "required"
}
],
"searchConfig": {
"dataType": "jsonp",
"url": "",
"beforeFetch": "function+willFetch(params)+{\n++return+params;\n}",
"afterFetch": "function+didFetch(content)+{\n++return+content;\n}"
},
"fieldId": "selectField_lmoac3m6",
"notFoundContent": {
"en_US": "Not+Found",
"use": "zh_CN",
"zh_CN": "无数据",
"type": "i18n"
},
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"submittable": "DEFAULT",
"label": {
"en_US": "SelectField",
"use": "zh_CN",
"zh_CN": "巡检项",
"type": "i18n"
},
"__category__": "form",
"labelColSpan": 4,
"complexValue": {
"complexType": "custom",
"formula": "",
"value": ""
},
"size": "medium",
"labelAlign": "top",
"filterLocal": true,
"variable": "",
"formula": "",
"defaultDataSource": {
"customStashOptions": [
],
"complexType": "custom",
"options": [
{
"defaultChecked": false,
"__sid": "item_lmoac41g",
"text": {
"en_US": "设备外观",
"zh_CN": "设备外观",
"type": "i18n",
"__sid__": "param_lmoac4ei"
},
"__sid__": "serial_lmoac41g",
"value": "设备外观",
"sid": "serial_lmoac41g"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41h",
"text": {
"en_US": "电源是否正常供电",
"zh_CN": "电源是否正常供电",
"type": "i18n",
"__sid__": "param_lmoac4eo"
},
"__sid__": "serial_lmoac41h",
"value": "电源是否正常供电",
"sid": "serial_lmoac41h"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41i",
"text": {
"en_US": "电线和插头是否损坏或老化",
"zh_CN": "电线和插头是否损坏或老化",
"type": "i18n",
"__sid__": "param_lmoac4eu"
},
"__sid__": "serial_lmoac41i",
"value": "电线和插头是否损坏或老化",
"sid": "serial_lmoac41i"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41j",
"text": {
"en_US": "开关、按钮和指示灯功能是否正常",
"zh_CN": "开关、按钮和指示灯功能是否正常",
"type": "i18n",
"__sid__": "param_lmoac4f0"
},
"__sid__": "serial_lmoac41j",
"value": "开关、按钮和指示灯功能是否正常",
"sid": "serial_lmoac41j"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41k",
"text": {
"en_US": "控制面板是否正常工作",
"zh_CN": "控制面板是否正常工作",
"type": "i18n",
"__sid__": "param_lmoac4f6"
},
"__sid__": "serial_lmoac41k",
"value": "控制面板是否正常工作",
"sid": "serial_lmoac41k"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41l",
"text": {
"en_US": "控制参数是否符合设定要求",
"zh_CN": "控制参数是否符合设定要求",
"type": "i18n",
"__sid__": "param_lmoac4fc"
},
"__sid__": "serial_lmoac41l",
"value": "控制参数是否符合设定要求",
"sid": "serial_lmoac41l"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41m",
"text": {
"en_US": "设备是否需要清洁",
"zh_CN": "设备是否需要清洁",
"type": "i18n",
"__sid__": "param_lmoac4fi"
},
"__sid__": "serial_lmoac41m",
"value": "设备是否需要清洁",
"sid": "serial_lmoac41m"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41n",
"text": {
"en_US": "设备是否需要定期维护或保养",
"zh_CN": "设备是否需要定期维护或保养",
"type": "i18n",
"__sid__": "param_lmoac4fo"
},
"__sid__": "serial_lmoac41n",
"value": "设备是否需要定期维护或保养",
"sid": "serial_lmoac41n"
}
],
"formula": {
"data": [
],
"event": {
"onPageReady,onChange": [
]
}
},
"url": "",
"searchConfig": {
"afterFetch": "",
"type": "JSONP",
"beforeFetch": "",
"url": ""
}
},
"dataSource": [
{
"defaultChecked": false,
"__sid": "item_lmoac41g",
"text": {
"en_US": "设备外观",
"zh_CN": "设备外观",
"type": "i18n",
"__sid__": "param_lmoac4ei"
},
"__sid__": "serial_lmoac41g",
"value": "设备外观",
"sid": "serial_lmoac41g"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41h",
"text": {
"en_US": "电源是否正常供电",
"zh_CN": "电源是否正常供电",
"type": "i18n",
"__sid__": "param_lmoac4eo"
},
"__sid__": "serial_lmoac41h",
"value": "电源是否正常供电",
"sid": "serial_lmoac41h"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41i",
"text": {
"en_US": "电线和插头是否损坏或老化",
"zh_CN": "电线和插头是否损坏或老化",
"type": "i18n",
"__sid__": "param_lmoac4eu"
},
"__sid__": "serial_lmoac41i",
"value": "电线和插头是否损坏或老化",
"sid": "serial_lmoac41i"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41j",
"text": {
"en_US": "开关、按钮和指示灯功能是否正常",
"zh_CN": "开关、按钮和指示灯功能是否正常",
"type": "i18n",
"__sid__": "param_lmoac4f0"
},
"__sid__": "serial_lmoac41j",
"value": "开关、按钮和指示灯功能是否正常",
"sid": "serial_lmoac41j"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41k",
"text": {
"en_US": "控制面板是否正常工作",
"zh_CN": "控制面板是否正常工作",
"type": "i18n",
"__sid__": "param_lmoac4f6"
},
"__sid__": "serial_lmoac41k",
"value": "控制面板是否正常工作",
"sid": "serial_lmoac41k"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41l",
"text": {
"en_US": "控制参数是否符合设定要求",
"zh_CN": "控制参数是否符合设定要求",
"type": "i18n",
"__sid__": "param_lmoac4fc"
},
"__sid__": "serial_lmoac41l",
"value": "控制参数是否符合设定要求",
"sid": "serial_lmoac41l"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41m",
"text": {
"en_US": "设备是否需要清洁",
"zh_CN": "设备是否需要清洁",
"type": "i18n",
"__sid__": "param_lmoac4fi"
},
"__sid__": "serial_lmoac41m",
"value": "设备是否需要清洁",
"sid": "serial_lmoac41m"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41n",
"text": {
"en_US": "设备是否需要定期维护或保养",
"zh_CN": "设备是否需要定期维护或保养",
"type": "i18n",
"__sid__": "param_lmoac4fo"
},
"__sid__": "serial_lmoac41n",
"value": "设备是否需要定期维护或保养",
"sid": "serial_lmoac41n"
}
],
"dataSourceType": "custom",
"isCustomStore": true
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
},
{
"componentName": "RadioField",
"id": "node_oclmoa65g9k",
"props": {
"__useMediator": "value",
"dataSourceLinkage": "",
"isUseDataSourceColor": false,
"__gridSpan": 1,
"linkage": "",
"tips": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
},
"supportInverse": false,
"reusePrivilege": false,
"valueType": "custom",
"labelTextAlign": "left",
"behavior": "NORMAL",
"value": "",
"validation": [
{
"type": "required"
}
],
"searchConfig": {
"dataType": "jsonp",
"url": "",
"beforeFetch": "function+willFetch(params)+{\n++return+params;\n}",
"afterFetch": "function+didFetch(content)+{\n++return+content;\n}"
},
"fieldId": "radioField_lmoac3m8",
"itemDirection": "hoz",
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"submittable": "DEFAULT",
"label": {
"en_US": "RadioField",
"use": "zh_CN",
"zh_CN": "巡检结果",
"type": "i18n"
},
"__category__": "form",
"labelColSpan": 4,
"complexValue": {
"complexType": "custom",
"formula": "",
"value": ""
},
"size": "medium",
"labelAlign": "top",
"variable": "",
"formula": "",
"defaultDataSource": {
"customStashOptions": [
],
"complexType": "custom",
"options": [
{
"defaultChecked": false,
"__sid": "item_lmoac41x",
"text": {
"en_US": "正常",
"zh_CN": "正常",
"type": "i18n",
"__sid__": "param_lmoac4oi"
},
"__sid__": "serial_lmoac41x",
"value": "正常",
"sid": "serial_lmoac41w"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41y",
"text": {
"en_US": "异常",
"zh_CN": "异常",
"type": "i18n",
"__sid__": "param_lmoac4oo"
},
"__sid__": "serial_lmoac41y",
"value": "异常",
"sid": "serial_lmoac41y"
}
],
"formula": {
"data": [
],
"event": {
"onPageReady,onChange": [
]
}
},
"url": "",
"searchConfig": {
"afterFetch": "",
"type": "JSONP",
"beforeFetch": "",
"url": ""
}
},
"dataSource": [
{
"defaultChecked": false,
"__sid": "item_lmoac41x",
"text": {
"en_US": "正常",
"zh_CN": "正常",
"type": "i18n",
"__sid__": "param_lmoac4oi"
},
"__sid__": "serial_lmoac41x",
"value": "正常",
"sid": "serial_lmoac41w"
},
{
"defaultChecked": false,
"__sid": "item_lmoac41y",
"text": {
"en_US": "异常",
"zh_CN": "异常",
"type": "i18n",
"__sid__": "param_lmoac4oo"
},
"__sid__": "serial_lmoac41y",
"value": "异常",
"sid": "serial_lmoac41y"
}
],
"dataSourceType": "custom",
"isCustomStore": true
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
},
{
"componentName": "TextareaField",
"id": "node_oclmoa65g9f",
"props": {
"__useMediator": "value",
"hasClear": true,
"__gridSpan": 1,
"linkage": "",
"tips": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
},
"valueType": "custom",
"labelTextAlign": "left",
"placeholder": {
"en_US": "Please+enter",
"use": "zh_CN",
"zh_CN": "请输入",
"type": "i18n"
},
"behavior": "NORMAL",
"value": {
"en_US": "",
"use": "zh_CN",
"zh_CN": "",
"type": "i18n"
},
"validation": [
{
"type": "required"
}
],
"hasLimitHint": false,
"fieldId": "textareaField_lmoac3m3",
"htmlType": "textarea",
"autoHeight": false,
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"submittable": "DEFAULT",
"label": {
"en_US": "TextareaField",
"use": "zh_CN",
"zh_CN": "设备巡检说明",
"type": "i18n"
},
"__category__": "form",
"rows": 4,
"labelColSpan": 4,
"complexValue": {
"complexType": "custom",
"formula": "",
"value": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
}
},
"size": "medium",
"labelAlign": "top",
"variable": "",
"formula": "",
"maxLength": "",
"isCustomStore": true,
"showEmptyRows": false
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
},
{
"componentName": "DigitalSignatureField",
"id": "node_oclmoa65g9g",
"props": {
"__useMediator": "value",
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"submittable": "DEFAULT",
"label": {
"en_US": "digital+signature",
"use": "zh_CN",
"zh_CN": "巡检人员签名",
"type": "i18n"
},
"__gridSpan": 1,
"__category__": "form",
"labelColSpan": 4,
"tips": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
},
"buttonType": "normal",
"labelAlign": "top",
"labelTextAlign": "left",
"behavior": "NORMAL",
"validation": [
{
"type": "required"
}
],
"isCustomStore": true,
"useLastSignature": true,
"fieldId": "digitalSignatureField_lmoac3m4"
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
},
{
"componentName": "AttachmentField",
"id": "node_oclmoa65g9h",
"props": {
"__useMediator": "value",
"__gridSpan": 1,
"linkage": "",
"type": "normal",
"listType": "text",
"buttonSize": "medium",
"tips": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
},
"autoUpload": true,
"buttonType": "normal",
"valueType": "custom",
"limit": 9,
"labelTextAlign": "left",
"behavior": "NORMAL",
"value": {
"en_US": "",
"use": "zh_CN",
"zh_CN": "",
"type": "i18n"
},
"validation": [
],
"fieldId": "attachmentField_lmoac3m5",
"buttonText": {
"en_US": "Upload",
"use": "zh_CN",
"zh_CN": "上传文件",
"type": "i18n"
},
"method": "post",
"visibility": [
"PC",
"MOBILE"
],
"dataEntryMode": false,
"submittable": "DEFAULT",
"multiple": true,
"label": {
"en_US": "Upload+attachment",
"use": "zh_CN",
"zh_CN": "附件",
"type": "i18n"
},
"maxFileSize": 100,
"__category__": "form",
"labelColSpan": 4,
"onlineEdit": false,
"accept": "",
"complexValue": {
"complexType": "custom",
"formula": "",
"value": {
"en_US": "",
"zh_CN": "",
"type": "i18n"
}
},
"size": "medium",
"labelAlign": "top",
"withCredentials": false,
"variable": "",
"formula": "",
"isCustomStore": true
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
}
]
}
]
}
]
},
{
"componentName": "RootFooter",
"id": "node_oclm8tgs2r5",
"props": {
},
"condition": true,
"hidden": false,
"title": "",
"isLocked": false,
"conditionGroup": ""
}
]
}
],
"componentAlias": {
"items": [
]
},
"id": "FORM-4114D971041147538B0883F88276B58DF1WC",
"connectComponent": [
]
}
],
"actions": {
"module": {
"compiled": "\"use+strict\";\n\nexports.__esModule+=+true;\nexports.didMount+=+didMount;\n/**\n*+尊敬的用户,你好:页面+JS+面板是高阶用法,一般不建议普通用户使用,如需使用,请确定你具备研发背景,能够自我排查问题。当然,你也可以咨询身边的技术顾问或者联系宜搭平台的技术支持获得服务(可能收费)。\n*+我们可以用+JS+面板来开发一些定制度高功能,比如:调用阿里云接口用来做图像识别、上报用户使用数据(如加载完成打点)等等。\n*+你可以点击面板上方的+「使用帮助」了解。\n*/\n\n//+当页面渲染完毕后马上调用下面的函数,这个函数是在当前页面+-+设置+-+生命周期+-+页面加载完成时中被关联的。\nfunction+didMount()+{\n++console.log(\"\\u300C\\u9875\\u9762+JS\\u300D\\uFF1A\\u5F53\\u524D\\u9875\\u9762\\u5730\\u5740+\"+++location.href);\n++//+console.log(`「页面+JS」:当前页面+id+参数为+${this.state.urlParams.id}`);\n++//+更多+this+相关+API+请参考:https://www.yuque.com/yida/support/ocmxyv#OCEXd\n++//+document.title+=+window.loginUser.userName+++'+|+宜搭';\n}\n",
"source": "/**\n*+尊敬的用户,你好:页面+JS+面板是高阶用法,一般不建议普通用户使用,如需使用,请确定你具备研发背景,能够自我排查问题。当然,你也可以咨询身边的技术顾问或者联系宜搭平台的技术支持获得服务(可能收费)。\n*+我们可以用+JS+面板来开发一些定制度高功能,比如:调用阿里云接口用来做图像识别、上报用户使用数据(如加载完成打点)等等。\n*+你可以点击面板上方的+「使用帮助」了解。\n*/\n\n//+当页面渲染完毕后马上调用下面的函数,这个函数是在当前页面+-+设置+-+生命周期+-+页面加载完成时中被关联的。\nexport+function+didMount()+{\n++console.log(`「页面+JS」:当前页面地址+${location.href}`);\n++//+console.log(`「页面+JS」:当前页面+id+参数为+${this.state.urlParams.id}`);\n++//+更多+this+相关+API+请参考:https://www.yuque.com/yida/support/ocmxyv#OCEXd\n++//+document.title+=+window.loginUser.userName+++'+|+宜搭';\n}"
},
"type": "FUNCTION",
"list": [
{
"id": "didMount",
"title": "didMount"
}
]
},
"config": {
"connectComponent": [
]
}
}