modulesTemplate.json 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150
  1. {
  2. "data": {
  3. "json": {
  4. "moduleList": {
  5. "div_dt_1": {
  6. "id": "div_dt_1",
  7. "name": "",
  8. "type": "Div",
  9. "description": "",
  10. "defaultValue": {
  11. "code": "",
  12. "html": ""
  13. },
  14. "properties": {},
  15. "class": "",
  16. "styles": {
  17. "overflow": "hidden"
  18. },
  19. "container": "",
  20. "recoveryStyles": null,
  21. "isSaved": true,
  22. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div_dt_1",
  23. "moduleName": "div"
  24. },
  25. "div_1": {
  26. "id": "div_1",
  27. "name": "",
  28. "type": "Div",
  29. "description": "",
  30. "defaultValue": {
  31. "code": "",
  32. "html": ""
  33. },
  34. "properties": {},
  35. "class": "",
  36. "styles": {
  37. "float": "right"
  38. },
  39. "container": "",
  40. "recoveryStyles": null,
  41. "isSaved": true,
  42. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div_1",
  43. "moduleName": "div"
  44. },
  45. "checkbox_selectAll": {
  46. "id": "checkbox_selectAll",
  47. "name": "",
  48. "type": "Checkbox",
  49. "description": "",
  50. "itemType": "values",
  51. "itemValues": [
  52. "全选|yes"
  53. ],
  54. "compute": "create",
  55. "section": "no",
  56. "sectionBy": "person",
  57. "sectionByScript": {
  58. "code": "",
  59. "html": ""
  60. },
  61. "itemScript": {
  62. "code": "",
  63. "html": ""
  64. },
  65. "defaultValue": {
  66. "code": "",
  67. "html": ""
  68. },
  69. "properties": {},
  70. "class": "",
  71. "styles": {},
  72. "container": "",
  73. "recoveryStyles": null,
  74. "recoveryInputStyles": null,
  75. "isSaved": true,
  76. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2checkbox_selectAll",
  77. "isReadonly": false,
  78. "validation": {
  79. "code": "",
  80. "html": ""
  81. },
  82. "moduleName": "checkbox"
  83. },
  84. "datatemplate": {
  85. "id": "datatemplate",
  86. "name": "",
  87. "type": "Datatemplate",
  88. "description": "",
  89. "sequence": "yes",
  90. "section": "no",
  91. "sectionBy": "person",
  92. "defaultCount": "1",
  93. "outerSelectAllSelectedValue": "yes",
  94. "selectorSelectedValue": "yes",
  95. "sectionByScript": {
  96. "code": "",
  97. "html": ""
  98. },
  99. "defaultValue": {
  100. "code": "",
  101. "html": ""
  102. },
  103. "properties": {},
  104. "class": "",
  105. "styles": {},
  106. "tableStyles": {},
  107. "editableScript": {
  108. "code": "return true;",
  109. "html": ""
  110. },
  111. "defaultData": {
  112. "code": "",
  113. "html": ""
  114. },
  115. "container": "",
  116. "initialized": "yes",
  117. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2datatemplate",
  118. "impexpType": "none",
  119. "validation": {
  120. "code": "",
  121. "html": ""
  122. },
  123. "excelName": {
  124. "code": "",
  125. "html": ""
  126. },
  127. "excelFieldConfig": [],
  128. "recoveryStyles": null,
  129. "outerAddActionId": "./button_add_total",
  130. "outerDeleteActionId": "./button_delete_total",
  131. "addActionId": "button_add",
  132. "deleteActionId": "button_delete",
  133. "moduleName": "datatemplate",
  134. "outerSelectAllId": "./checkbox_selectAll",
  135. "sequenceId": "label_sequence",
  136. "selectorId": "checkbox_selected",
  137. "maxCount": "5",
  138. "minCount": "1"
  139. },
  140. "button_add": {
  141. "id": "button_add",
  142. "name": "添加",
  143. "type": "Button",
  144. "description": "",
  145. "properties": {},
  146. "class": "",
  147. "styles": {},
  148. "container": "",
  149. "recoveryStyles": null,
  150. "isSaved": true,
  151. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2button_add",
  152. "moduleName": "button"
  153. },
  154. "button_delete": {
  155. "id": "button_delete",
  156. "name": "删除",
  157. "type": "Button",
  158. "description": "",
  159. "properties": {},
  160. "class": "",
  161. "styles": {},
  162. "container": "",
  163. "recoveryStyles": null,
  164. "isSaved": true,
  165. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2button_delete",
  166. "moduleName": "button"
  167. },
  168. "button_add_total": {
  169. "id": "button_add_total",
  170. "name": "添加项目",
  171. "type": "Button",
  172. "description": "",
  173. "properties": {},
  174. "class": "",
  175. "styles": {},
  176. "container": "",
  177. "recoveryStyles": null,
  178. "isSaved": true,
  179. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2button_add_total",
  180. "moduleName": "button"
  181. },
  182. "button_delete_total": {
  183. "id": "button_delete_total",
  184. "name": "删除选中项",
  185. "type": "Button",
  186. "description": "",
  187. "properties": {},
  188. "class": "",
  189. "styles": {},
  190. "container": "",
  191. "recoveryStyles": null,
  192. "isSaved": true,
  193. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2button_delete_total",
  194. "moduleName": "button"
  195. },
  196. "label_sequence": {
  197. "id": "label_sequence",
  198. "name": "",
  199. "type": "Label",
  200. "description": "",
  201. "valueType": "text",
  202. "text": "",
  203. "script": {
  204. "code": "",
  205. "html": ""
  206. },
  207. "properties": {},
  208. "class": "",
  209. "styles": {
  210. "float": "left",
  211. "font-weight": "bold",
  212. "font-size": "16px"
  213. },
  214. "container": "",
  215. "recoveryStyles": null,
  216. "isSaved": true,
  217. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2label_sequence",
  218. "moduleName": "label"
  219. },
  220. "div_2": {
  221. "id": "div_2",
  222. "name": "",
  223. "type": "Div",
  224. "description": "",
  225. "defaultValue": {
  226. "code": "",
  227. "html": ""
  228. },
  229. "properties": {},
  230. "class": "",
  231. "styles": {
  232. "overflow": "hidden"
  233. },
  234. "container": "",
  235. "recoveryStyles": null,
  236. "isSaved": true,
  237. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div_2",
  238. "moduleName": "div"
  239. },
  240. "div_3": {
  241. "id": "div_3",
  242. "name": "",
  243. "type": "Div",
  244. "description": "",
  245. "defaultValue": {
  246. "code": "",
  247. "html": ""
  248. },
  249. "properties": {},
  250. "class": "",
  251. "styles": {
  252. "float": "left"
  253. },
  254. "container": "",
  255. "recoveryStyles": null,
  256. "isSaved": true,
  257. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div_3",
  258. "moduleName": "div"
  259. },
  260. "label": {
  261. "id": "label",
  262. "name": "",
  263. "type": "Label",
  264. "description": "",
  265. "valueType": "text",
  266. "text": "项目:\n",
  267. "script": {
  268. "code": "",
  269. "html": ""
  270. },
  271. "properties": {},
  272. "class": "",
  273. "styles": {
  274. "float": "left",
  275. "font-weight": "bold",
  276. "font-size": "16px",
  277. "border-left": "5px solid #aaa",
  278. "padding-left": "5px"
  279. },
  280. "container": "",
  281. "recoveryStyles": null,
  282. "isSaved": true,
  283. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2label",
  284. "moduleName": "label"
  285. },
  286. "div_4": {
  287. "id": "div_4",
  288. "name": "",
  289. "type": "Div",
  290. "description": "",
  291. "defaultValue": {
  292. "code": "",
  293. "html": ""
  294. },
  295. "properties": {},
  296. "class": "",
  297. "styles": {
  298. "float": "right"
  299. },
  300. "container": "",
  301. "recoveryStyles": null,
  302. "isSaved": true,
  303. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div_4",
  304. "moduleName": "div"
  305. },
  306. "checkbox_selected": {
  307. "id": "checkbox_selected",
  308. "name": "",
  309. "type": "Checkbox",
  310. "description": "",
  311. "itemType": "values",
  312. "itemValues": [
  313. "选中|yes"
  314. ],
  315. "compute": "create",
  316. "section": "no",
  317. "sectionBy": "person",
  318. "sectionByScript": {
  319. "code": "",
  320. "html": ""
  321. },
  322. "itemScript": {
  323. "code": "",
  324. "html": ""
  325. },
  326. "defaultValue": {
  327. "code": "",
  328. "html": ""
  329. },
  330. "properties": {},
  331. "class": "",
  332. "styles": {},
  333. "container": "",
  334. "recoveryStyles": null,
  335. "recoveryInputStyles": null,
  336. "isSaved": true,
  337. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2checkbox_selected",
  338. "isReadonly": false,
  339. "validation": {
  340. "code": "",
  341. "html": ""
  342. },
  343. "moduleName": "checkbox"
  344. },
  345. "div": {
  346. "id": "div",
  347. "name": "",
  348. "type": "Div",
  349. "description": "",
  350. "defaultValue": {
  351. "code": "",
  352. "html": ""
  353. },
  354. "properties": {},
  355. "class": "",
  356. "styles": {
  357. "margin": "20px 10px 10px 10px"
  358. },
  359. "container": "",
  360. "recoveryStyles": null,
  361. "isSaved": true,
  362. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div",
  363. "moduleName": "div"
  364. },
  365. "table": {
  366. "id": "table",
  367. "name": "",
  368. "type": "Table",
  369. "description": "",
  370. "defaultValue": {
  371. "code": "",
  372. "html": ""
  373. },
  374. "properties": {
  375. "width": "90%",
  376. "border": "0",
  377. "cellpadding": "3",
  378. "cellspacing": "5",
  379. "align": "center"
  380. },
  381. "class": "",
  382. "styles": {
  383. "background-color": "#FFF",
  384. "margin": "5px 0px"
  385. },
  386. "titleTdStyles": {},
  387. "contentTdStyles": {},
  388. "layoutTdStyles": {},
  389. "container": "",
  390. "recoveryStyles": null,
  391. "initialized": "yes",
  392. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2table",
  393. "moduleName": "table"
  394. },
  395. "table_table$Td": {
  396. "id": "table_table$Td",
  397. "name": "",
  398. "type": "Table$Td",
  399. "description": "",
  400. "properties": {},
  401. "class": "",
  402. "styles": {},
  403. "container": "",
  404. "recoveryStyles": null,
  405. "isSaved": true,
  406. "moduleName": "table$Td",
  407. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2table_table$Td",
  408. "cellType": "other"
  409. },
  410. "table_table$Td_1": {
  411. "id": "table_table$Td_1",
  412. "name": "",
  413. "type": "Table$Td",
  414. "description": "",
  415. "properties": {},
  416. "class": "",
  417. "styles": {},
  418. "container": "",
  419. "recoveryStyles": null,
  420. "isSaved": true,
  421. "moduleName": "table$Td",
  422. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2table_table$Td_1",
  423. "cellType": "other"
  424. },
  425. "table_table$Td_2": {
  426. "id": "table_table$Td_2",
  427. "name": "",
  428. "type": "Table$Td",
  429. "description": "",
  430. "properties": {},
  431. "class": "",
  432. "styles": {},
  433. "container": "",
  434. "recoveryStyles": null,
  435. "isSaved": true,
  436. "moduleName": "table$Td",
  437. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2table_table$Td_2",
  438. "cellType": "other"
  439. },
  440. "table_table$Td_3": {
  441. "id": "table_table$Td_3",
  442. "name": "",
  443. "type": "Table$Td",
  444. "description": "",
  445. "properties": {},
  446. "class": "",
  447. "styles": {},
  448. "container": "",
  449. "recoveryStyles": null,
  450. "isSaved": true,
  451. "moduleName": "table$Td",
  452. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2table_table$Td_3",
  453. "cellType": "other"
  454. },
  455. "label_1": {
  456. "id": "label_1",
  457. "name": "",
  458. "type": "Label",
  459. "description": "",
  460. "valueType": "text",
  461. "text": "标题",
  462. "script": {
  463. "code": "",
  464. "html": ""
  465. },
  466. "properties": {},
  467. "class": "",
  468. "styles": {},
  469. "container": "",
  470. "recoveryStyles": null,
  471. "isSaved": true,
  472. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2label_1",
  473. "moduleName": "label"
  474. },
  475. "label_2": {
  476. "id": "label_2",
  477. "name": "",
  478. "type": "Label",
  479. "description": "",
  480. "valueType": "text",
  481. "text": "内容",
  482. "script": {
  483. "code": "",
  484. "html": ""
  485. },
  486. "properties": {},
  487. "class": "",
  488. "styles": {},
  489. "container": "",
  490. "recoveryStyles": null,
  491. "isSaved": true,
  492. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2label_2",
  493. "moduleName": "label"
  494. },
  495. "textfield": {
  496. "id": "textfield",
  497. "name": "",
  498. "type": "Textfield",
  499. "description": "",
  500. "dataType": "text",
  501. "defaultValue": {
  502. "code": "",
  503. "html": ""
  504. },
  505. "compute": "create",
  506. "section": "no",
  507. "sectionBy": "person",
  508. "sectionByScript": {
  509. "code": "",
  510. "html": ""
  511. },
  512. "inputType": "text",
  513. "properties": {},
  514. "class": "",
  515. "styles": {},
  516. "container": "",
  517. "recoveryStyles": null,
  518. "recoveryInputStyles": null,
  519. "isSaved": true,
  520. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2textfield",
  521. "showIcon": "yes",
  522. "isReadonly": false,
  523. "validation": {
  524. "code": "",
  525. "html": ""
  526. },
  527. "moduleName": "textfield",
  528. "inputStyles": {
  529. "height": "30px",
  530. "color": "#666",
  531. "border-bottom": "1px solid #ccc",
  532. "font-size": "100%"
  533. }
  534. },
  535. "textarea": {
  536. "id": "textarea",
  537. "name": "",
  538. "type": "Textarea",
  539. "description": "",
  540. "defaultValue": {
  541. "code": "",
  542. "html": ""
  543. },
  544. "compute": "create",
  545. "section": "no",
  546. "sectionBy": "person",
  547. "sectionByScript": {
  548. "code": "",
  549. "html": ""
  550. },
  551. "properties": {},
  552. "class": "",
  553. "styles": {},
  554. "container": "",
  555. "recoveryStyles": null,
  556. "recoveryInputStyles": null,
  557. "isSaved": true,
  558. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2textarea",
  559. "isReadonly": false,
  560. "validation": {
  561. "code": "",
  562. "html": ""
  563. },
  564. "moduleName": "textarea",
  565. "inputStyles": {
  566. "font-size": "100%",
  567. "border": "1px solid transparent",
  568. "border-bottom": "1px solid #ccc",
  569. "color": "#666"
  570. }
  571. }
  572. }
  573. },
  574. "html": "<div mwftype=\"div\" id=\"div_dt_1\" style=\"\"><div mwftype=\"div\" id=\"div_1\" style=\"\"><div mwftype=\"textfield\" id=\"checkbox_selectAll\" style=\"\"><div style=\"\"></div><div style=\"\">checkbox_selectAll</div></div><div mwftype=\"button\" id=\"button_delete_total\" style=\"\"><button style=\"\">删除选中项</button></div><div mwftype=\"button\" id=\"button_add_total\" style=\"\"><button style=\"\">添加项目</button></div></div></div><div mwftype=\"datatemplate\" id=\"datatemplate\" style=\"\"><div mwftype=\"div\" id=\"div\" style=\"\"><div mwftype=\"div\" id=\"div_2\" style=\"\"><div mwftype=\"div\" id=\"div_3\" style=\"\"><div mwftype=\"label\" id=\"label\" style=\"\">项目:\n</div><div mwftype=\"label\" id=\"label_sequence\" style=\"\">(T)Text</div></div><div mwftype=\"div\" id=\"div_4\" style=\"\"><div mwftype=\"textfield\" id=\"checkbox_selected\" style=\"\"><div style=\"\"></div><div style=\"\">checkbox_selected</div></div><div mwftype=\"button\" id=\"button_delete\" style=\"\"><button style=\"\">删除</button></div><div mwftype=\"button\" id=\"button_add\" style=\"\"><button style=\"\">添加</button></div></div></div><div id=\"table\" mwftype=\"table\" style=\"\"><table border=\"0\" cellpadding=\"3\" cellspacing=\"5\" width=\"90%\" align=\"center\" style=\"\"><tbody style=\"\"><tr style=\"\"><td mwftype=\"table$Td\" id=\"table_table$Td\" style=\"\"><div mwftype=\"label\" id=\"label_1\" style=\"\">标题</div></td><td mwftype=\"table$Td\" id=\"table_table$Td_1\" style=\"\"><div mwftype=\"textfield\" id=\"textfield\" style=\"\"><div style=\"\"></div><div style=\"\">textfield</div></div></td></tr><tr style=\"\"><td mwftype=\"table$Td\" id=\"table_table$Td_2\" style=\"\"><div mwftype=\"label\" id=\"label_2\" style=\"\">内容</div></td><td mwftype=\"table$Td\" id=\"table_table$Td_3\" style=\"\"><div mwftype=\"textfield\" id=\"textarea\" style=\"\"><div style=\"\"></div><div style=\"\">textarea</div></div></td></tr></tbody></table></div></div></div>"
  575. },
  576. "mobileData": {
  577. "json": {
  578. "moduleList": {
  579. "div_dt_1": {
  580. "id": "div_dt_1",
  581. "name": "",
  582. "type": "Div",
  583. "description": "",
  584. "defaultValue": {
  585. "code": "",
  586. "html": ""
  587. },
  588. "properties": {},
  589. "class": "",
  590. "styles": {
  591. "overflow": "hidden"
  592. },
  593. "container": "",
  594. "recoveryStyles": null,
  595. "isSaved": true,
  596. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div_dt_1",
  597. "moduleName": "div"
  598. },
  599. "div_1": {
  600. "id": "div_1",
  601. "name": "",
  602. "type": "Div",
  603. "description": "",
  604. "defaultValue": {
  605. "code": "",
  606. "html": ""
  607. },
  608. "properties": {},
  609. "class": "",
  610. "styles": {
  611. "float": "right"
  612. },
  613. "container": "",
  614. "recoveryStyles": null,
  615. "isSaved": true,
  616. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div_1",
  617. "moduleName": "div"
  618. },
  619. "checkbox_selectAll": {
  620. "id": "checkbox_selectAll",
  621. "name": "",
  622. "type": "Checkbox",
  623. "description": "",
  624. "itemType": "values",
  625. "itemValues": [
  626. "全选|yes"
  627. ],
  628. "compute": "create",
  629. "section": "no",
  630. "sectionBy": "person",
  631. "sectionByScript": {
  632. "code": "",
  633. "html": ""
  634. },
  635. "itemScript": {
  636. "code": "",
  637. "html": ""
  638. },
  639. "defaultValue": {
  640. "code": "",
  641. "html": ""
  642. },
  643. "properties": {},
  644. "class": "",
  645. "styles": {},
  646. "container": "",
  647. "recoveryStyles": null,
  648. "recoveryInputStyles": null,
  649. "isSaved": true,
  650. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2checkbox_selectAll",
  651. "isReadonly": false,
  652. "validation": {
  653. "code": "",
  654. "html": ""
  655. },
  656. "moduleName": "checkbox"
  657. },
  658. "datatemplate": {
  659. "id": "datatemplate",
  660. "name": "",
  661. "type": "Datatemplate",
  662. "description": "",
  663. "sequence": "yes",
  664. "section": "no",
  665. "sectionBy": "person",
  666. "defaultCount": "1",
  667. "outerSelectAllSelectedValue": "yes",
  668. "selectorSelectedValue": "yes",
  669. "sectionByScript": {
  670. "code": "",
  671. "html": ""
  672. },
  673. "defaultValue": {
  674. "code": "",
  675. "html": ""
  676. },
  677. "properties": {},
  678. "class": "",
  679. "styles": {},
  680. "tableStyles": {},
  681. "editableScript": {
  682. "code": "return true;",
  683. "html": ""
  684. },
  685. "defaultData": {
  686. "code": "",
  687. "html": ""
  688. },
  689. "container": "",
  690. "initialized": "yes",
  691. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2datatemplate",
  692. "impexpType": "none",
  693. "validation": {
  694. "code": "",
  695. "html": ""
  696. },
  697. "excelName": {
  698. "code": "",
  699. "html": ""
  700. },
  701. "excelFieldConfig": [],
  702. "recoveryStyles": null,
  703. "outerAddActionId": "./button_add_total",
  704. "outerDeleteActionId": "./button_delete_total",
  705. "addActionId": "button_add",
  706. "deleteActionId": "button_delete",
  707. "moduleName": "datatemplate",
  708. "outerSelectAllId": "./checkbox_selectAll",
  709. "sequenceId": "label_sequence",
  710. "selectorId": "checkbox_selected",
  711. "maxCount": "5",
  712. "minCount": "1"
  713. },
  714. "button_add": {
  715. "id": "button_add",
  716. "name": "添加",
  717. "type": "Button",
  718. "description": "",
  719. "properties": {},
  720. "class": "",
  721. "styles": {},
  722. "container": "",
  723. "recoveryStyles": null,
  724. "isSaved": true,
  725. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2button_add",
  726. "moduleName": "button"
  727. },
  728. "button_delete": {
  729. "id": "button_delete",
  730. "name": "删除",
  731. "type": "Button",
  732. "description": "",
  733. "properties": {},
  734. "class": "",
  735. "styles": {},
  736. "container": "",
  737. "recoveryStyles": null,
  738. "isSaved": true,
  739. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2button_delete",
  740. "moduleName": "button"
  741. },
  742. "button_add_total": {
  743. "id": "button_add_total",
  744. "name": "添加项目",
  745. "type": "Button",
  746. "description": "",
  747. "properties": {},
  748. "class": "",
  749. "styles": {},
  750. "container": "",
  751. "recoveryStyles": null,
  752. "isSaved": true,
  753. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2button_add_total",
  754. "moduleName": "button"
  755. },
  756. "button_delete_total": {
  757. "id": "button_delete_total",
  758. "name": "删除选中项",
  759. "type": "Button",
  760. "description": "",
  761. "properties": {},
  762. "class": "",
  763. "styles": {},
  764. "container": "",
  765. "recoveryStyles": null,
  766. "isSaved": true,
  767. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2button_delete_total",
  768. "moduleName": "button"
  769. },
  770. "label_sequence": {
  771. "id": "label_sequence",
  772. "name": "",
  773. "type": "Label",
  774. "description": "",
  775. "valueType": "text",
  776. "text": "",
  777. "script": {
  778. "code": "",
  779. "html": ""
  780. },
  781. "properties": {},
  782. "class": "",
  783. "styles": {
  784. "float": "left",
  785. "font-weight": "bold",
  786. "font-size": "16px"
  787. },
  788. "container": "",
  789. "recoveryStyles": null,
  790. "isSaved": true,
  791. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2label_sequence",
  792. "moduleName": "label"
  793. },
  794. "div_2": {
  795. "id": "div_2",
  796. "name": "",
  797. "type": "Div",
  798. "description": "",
  799. "defaultValue": {
  800. "code": "",
  801. "html": ""
  802. },
  803. "properties": {},
  804. "class": "",
  805. "styles": {
  806. "overflow": "hidden"
  807. },
  808. "container": "",
  809. "recoveryStyles": null,
  810. "isSaved": true,
  811. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div_2",
  812. "moduleName": "div"
  813. },
  814. "div_3": {
  815. "id": "div_3",
  816. "name": "",
  817. "type": "Div",
  818. "description": "",
  819. "defaultValue": {
  820. "code": "",
  821. "html": ""
  822. },
  823. "properties": {},
  824. "class": "",
  825. "styles": {
  826. "float": "left"
  827. },
  828. "container": "",
  829. "recoveryStyles": null,
  830. "isSaved": true,
  831. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div_3",
  832. "moduleName": "div"
  833. },
  834. "label": {
  835. "id": "label",
  836. "name": "",
  837. "type": "Label",
  838. "description": "",
  839. "valueType": "text",
  840. "text": "项目:\n",
  841. "script": {
  842. "code": "",
  843. "html": ""
  844. },
  845. "properties": {},
  846. "class": "",
  847. "styles": {
  848. "float": "left",
  849. "font-weight": "bold",
  850. "font-size": "16px",
  851. "border-left": "5px solid #aaa",
  852. "padding-left": "5px"
  853. },
  854. "container": "",
  855. "recoveryStyles": null,
  856. "isSaved": true,
  857. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2label",
  858. "moduleName": "label"
  859. },
  860. "div_4": {
  861. "id": "div_4",
  862. "name": "",
  863. "type": "Div",
  864. "description": "",
  865. "defaultValue": {
  866. "code": "",
  867. "html": ""
  868. },
  869. "properties": {},
  870. "class": "",
  871. "styles": {
  872. "float": "right"
  873. },
  874. "container": "",
  875. "recoveryStyles": null,
  876. "isSaved": true,
  877. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div_4",
  878. "moduleName": "div"
  879. },
  880. "checkbox_selected": {
  881. "id": "checkbox_selected",
  882. "name": "",
  883. "type": "Checkbox",
  884. "description": "",
  885. "itemType": "values",
  886. "itemValues": [
  887. "选中|yes"
  888. ],
  889. "compute": "create",
  890. "section": "no",
  891. "sectionBy": "person",
  892. "sectionByScript": {
  893. "code": "",
  894. "html": ""
  895. },
  896. "itemScript": {
  897. "code": "",
  898. "html": ""
  899. },
  900. "defaultValue": {
  901. "code": "",
  902. "html": ""
  903. },
  904. "properties": {},
  905. "class": "",
  906. "styles": {},
  907. "container": "",
  908. "recoveryStyles": null,
  909. "recoveryInputStyles": null,
  910. "isSaved": true,
  911. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2checkbox_selected",
  912. "isReadonly": false,
  913. "validation": {
  914. "code": "",
  915. "html": ""
  916. },
  917. "moduleName": "checkbox"
  918. },
  919. "div": {
  920. "id": "div",
  921. "name": "",
  922. "type": "Div",
  923. "description": "",
  924. "defaultValue": {
  925. "code": "",
  926. "html": ""
  927. },
  928. "properties": {},
  929. "class": "",
  930. "styles": {
  931. "margin": "20px 10px 10px 10px"
  932. },
  933. "container": "",
  934. "recoveryStyles": null,
  935. "isSaved": true,
  936. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2div",
  937. "moduleName": "div"
  938. },
  939. "table": {
  940. "id": "table",
  941. "name": "",
  942. "type": "Table",
  943. "description": "",
  944. "defaultValue": {
  945. "code": "",
  946. "html": ""
  947. },
  948. "properties": {
  949. "width": "90%",
  950. "border": "0",
  951. "cellpadding": "3",
  952. "cellspacing": "5",
  953. "align": "center"
  954. },
  955. "class": "",
  956. "styles": {
  957. "background-color": "#FFF",
  958. "margin": "5px 0px"
  959. },
  960. "titleTdStyles": {},
  961. "contentTdStyles": {},
  962. "layoutTdStyles": {},
  963. "container": "",
  964. "recoveryStyles": null,
  965. "initialized": "yes",
  966. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2table",
  967. "moduleName": "table"
  968. },
  969. "table_table$Td": {
  970. "id": "table_table$Td",
  971. "name": "",
  972. "type": "Table$Td",
  973. "description": "",
  974. "properties": {},
  975. "class": "",
  976. "styles": {},
  977. "container": "",
  978. "recoveryStyles": null,
  979. "isSaved": true,
  980. "moduleName": "table$Td",
  981. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2table_table$Td",
  982. "cellType": "other"
  983. },
  984. "table_table$Td_1": {
  985. "id": "table_table$Td_1",
  986. "name": "",
  987. "type": "Table$Td",
  988. "description": "",
  989. "properties": {},
  990. "class": "",
  991. "styles": {},
  992. "container": "",
  993. "recoveryStyles": null,
  994. "isSaved": true,
  995. "moduleName": "table$Td",
  996. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2table_table$Td_1",
  997. "cellType": "other"
  998. },
  999. "table_table$Td_2": {
  1000. "id": "table_table$Td_2",
  1001. "name": "",
  1002. "type": "Table$Td",
  1003. "description": "",
  1004. "properties": {},
  1005. "class": "",
  1006. "styles": {},
  1007. "container": "",
  1008. "recoveryStyles": null,
  1009. "isSaved": true,
  1010. "moduleName": "table$Td",
  1011. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2table_table$Td_2",
  1012. "cellType": "other"
  1013. },
  1014. "table_table$Td_3": {
  1015. "id": "table_table$Td_3",
  1016. "name": "",
  1017. "type": "Table$Td",
  1018. "description": "",
  1019. "properties": {},
  1020. "class": "",
  1021. "styles": {},
  1022. "container": "",
  1023. "recoveryStyles": null,
  1024. "isSaved": true,
  1025. "moduleName": "table$Td",
  1026. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2table_table$Td_3",
  1027. "cellType": "other"
  1028. },
  1029. "label_1": {
  1030. "id": "label_1",
  1031. "name": "",
  1032. "type": "Label",
  1033. "description": "",
  1034. "valueType": "text",
  1035. "text": "标题",
  1036. "script": {
  1037. "code": "",
  1038. "html": ""
  1039. },
  1040. "properties": {},
  1041. "class": "",
  1042. "styles": {},
  1043. "container": "",
  1044. "recoveryStyles": null,
  1045. "isSaved": true,
  1046. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2label_1",
  1047. "moduleName": "label"
  1048. },
  1049. "label_2": {
  1050. "id": "label_2",
  1051. "name": "",
  1052. "type": "Label",
  1053. "description": "",
  1054. "valueType": "text",
  1055. "text": "内容",
  1056. "script": {
  1057. "code": "",
  1058. "html": ""
  1059. },
  1060. "properties": {},
  1061. "class": "",
  1062. "styles": {},
  1063. "container": "",
  1064. "recoveryStyles": null,
  1065. "isSaved": true,
  1066. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2label_2",
  1067. "moduleName": "label"
  1068. },
  1069. "textfield": {
  1070. "id": "textfield",
  1071. "name": "",
  1072. "type": "Textfield",
  1073. "description": "",
  1074. "dataType": "text",
  1075. "defaultValue": {
  1076. "code": "",
  1077. "html": ""
  1078. },
  1079. "compute": "create",
  1080. "section": "no",
  1081. "sectionBy": "person",
  1082. "sectionByScript": {
  1083. "code": "",
  1084. "html": ""
  1085. },
  1086. "inputType": "text",
  1087. "properties": {},
  1088. "class": "",
  1089. "styles": {},
  1090. "container": "",
  1091. "recoveryStyles": null,
  1092. "recoveryInputStyles": null,
  1093. "isSaved": true,
  1094. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2textfield",
  1095. "showIcon": "yes",
  1096. "isReadonly": false,
  1097. "validation": {
  1098. "code": "",
  1099. "html": ""
  1100. },
  1101. "moduleName": "textfield",
  1102. "inputStyles": {
  1103. "height": "30px",
  1104. "color": "#666",
  1105. "border-bottom": "1px solid #ccc",
  1106. "font-size": "100%"
  1107. }
  1108. },
  1109. "textarea": {
  1110. "id": "textarea",
  1111. "name": "",
  1112. "type": "Textarea",
  1113. "description": "",
  1114. "defaultValue": {
  1115. "code": "",
  1116. "html": ""
  1117. },
  1118. "compute": "create",
  1119. "section": "no",
  1120. "sectionBy": "person",
  1121. "sectionByScript": {
  1122. "code": "",
  1123. "html": ""
  1124. },
  1125. "properties": {},
  1126. "class": "",
  1127. "styles": {},
  1128. "container": "",
  1129. "recoveryStyles": null,
  1130. "recoveryInputStyles": null,
  1131. "isSaved": true,
  1132. "pid": "PCc18b38fc-150a-4343-b001-08c39841e3d2textarea",
  1133. "isReadonly": false,
  1134. "validation": {
  1135. "code": "",
  1136. "html": ""
  1137. },
  1138. "moduleName": "textarea",
  1139. "inputStyles": {
  1140. "font-size": "100%",
  1141. "border": "1px solid transparent",
  1142. "border-bottom": "1px solid #ccc",
  1143. "color": "#666"
  1144. }
  1145. }
  1146. }
  1147. },
  1148. "html": "<div mwftype=\"div\" id=\"div_dt_1\" style=\"\"><div mwftype=\"div\" id=\"div_1\" style=\"\"><div mwftype=\"textfield\" id=\"checkbox_selectAll\" style=\"\"><div style=\"\"></div><div style=\"\">checkbox_selectAll</div></div><div mwftype=\"button\" id=\"button_delete_total\" style=\"\"><button style=\"\">删除选中项</button></div><div mwftype=\"button\" id=\"button_add_total\" style=\"\"><button style=\"\">添加项目</button></div></div></div><div mwftype=\"datatemplate\" id=\"datatemplate\" style=\"\"><div mwftype=\"div\" id=\"div\" style=\"\"><div mwftype=\"div\" id=\"div_2\" style=\"\"><div mwftype=\"div\" id=\"div_3\" style=\"\"><div mwftype=\"label\" id=\"label\" style=\"\">项目:\n</div><div mwftype=\"label\" id=\"label_sequence\" style=\"\">(T)Text</div></div><div mwftype=\"div\" id=\"div_4\" style=\"\"><div mwftype=\"textfield\" id=\"checkbox_selected\" style=\"\"><div style=\"\"></div><div style=\"\">checkbox_selected</div></div><div mwftype=\"button\" id=\"button_delete\" style=\"\"><button style=\"\">删除</button></div><div mwftype=\"button\" id=\"button_add\" style=\"\"><button style=\"\">添加</button></div></div></div><div id=\"table\" mwftype=\"table\" style=\"\"><table border=\"0\" cellpadding=\"3\" cellspacing=\"5\" width=\"90%\" align=\"center\" style=\"\"><tbody style=\"\"><tr style=\"\"><td mwftype=\"table$Td\" id=\"table_table$Td\" style=\"\"><div mwftype=\"label\" id=\"label_1\" style=\"\">标题</div></td><td mwftype=\"table$Td\" id=\"table_table$Td_1\" style=\"\"><div mwftype=\"textfield\" id=\"textfield\" style=\"\"><div style=\"\"></div><div style=\"\">textfield</div></div></td></tr><tr style=\"\"><td mwftype=\"table$Td\" id=\"table_table$Td_2\" style=\"\"><div mwftype=\"label\" id=\"label_2\" style=\"\">内容</div></td><td mwftype=\"table$Td\" id=\"table_table$Td_3\" style=\"\"><div mwftype=\"textfield\" id=\"textarea\" style=\"\"><div style=\"\"></div><div style=\"\">textarea</div></div></td></tr></tbody></table></div></div></div>"
  1149. }
  1150. }