json7.js 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  1. export default {
  2. "list": [
  3. {
  4. "type": "grid",
  5. "icon": "icon-RectangleCopy",
  6. "columns": [
  7. {
  8. "type": "col",
  9. "options": {
  10. "span": 12,
  11. "offset": 0,
  12. "push": 0,
  13. "pull": 0,
  14. "xs": 24,
  15. "sm": 12,
  16. "md": 8,
  17. "lg": 12,
  18. "xl": 12,
  19. "customClass": ""
  20. },
  21. "list": [
  22. {
  23. "type": "input",
  24. "icon": "icon-input",
  25. "options": {
  26. "width": "",
  27. "defaultValue": "",
  28. "required": false,
  29. "requiredMessage": "",
  30. "dataType": "",
  31. "dataTypeCheck": false,
  32. "dataTypeMessage": "",
  33. "pattern": "",
  34. "patternCheck": false,
  35. "patternMessage": "",
  36. "validatorCheck": false,
  37. "validator": "",
  38. "placeholder": "",
  39. "customClass": "",
  40. "disabled": false,
  41. "labelWidth": 100,
  42. "isLabelWidth": false,
  43. "hidden": false,
  44. "dataBind": true,
  45. "showPassword": false,
  46. "clearable": false,
  47. "remoteFunc": "func_hv88syjm",
  48. "remoteOption": "option_hv88syjm",
  49. "tableColumn": false
  50. },
  51. "events": {
  52. "onChange": "",
  53. "onFocus": "",
  54. "onBlur": ""
  55. },
  56. "name": "Input",
  57. "novalid": {},
  58. "key": "hv88syjm",
  59. "model": "input_hv88syjm",
  60. "rules": []
  61. }
  62. ],
  63. "key": "nefao3il",
  64. "rules": []
  65. },
  66. {
  67. "type": "col",
  68. "options": {
  69. "span": 12,
  70. "offset": 0,
  71. "push": 0,
  72. "pull": 0,
  73. "xs": 24,
  74. "sm": 12,
  75. "md": 8,
  76. "lg": 12,
  77. "xl": 12,
  78. "customClass": ""
  79. },
  80. "list": [
  81. {
  82. "type": "input",
  83. "icon": "icon-input",
  84. "options": {
  85. "width": "",
  86. "defaultValue": "",
  87. "required": false,
  88. "requiredMessage": "",
  89. "dataType": "",
  90. "dataTypeCheck": false,
  91. "dataTypeMessage": "",
  92. "pattern": "",
  93. "patternCheck": false,
  94. "patternMessage": "",
  95. "validatorCheck": false,
  96. "validator": "",
  97. "placeholder": "",
  98. "customClass": "",
  99. "disabled": false,
  100. "labelWidth": 100,
  101. "isLabelWidth": false,
  102. "hidden": false,
  103. "dataBind": true,
  104. "showPassword": false,
  105. "clearable": false,
  106. "remoteFunc": "func_lqe5n9d5",
  107. "remoteOption": "option_lqe5n9d5",
  108. "tableColumn": false
  109. },
  110. "events": {
  111. "onChange": "",
  112. "onFocus": "",
  113. "onBlur": ""
  114. },
  115. "name": "Input",
  116. "novalid": {},
  117. "key": "lqe5n9d5",
  118. "model": "input_lqe5n9d5",
  119. "rules": []
  120. }
  121. ],
  122. "key": "7k2ailut",
  123. "rules": []
  124. },
  125. {
  126. "type": "col",
  127. "options": {
  128. "span": 12,
  129. "offset": 0,
  130. "push": 0,
  131. "pull": 0,
  132. "xs": 24,
  133. "sm": 12,
  134. "md": 8,
  135. "lg": 12,
  136. "xl": 12,
  137. "customClass": ""
  138. },
  139. "list": [
  140. {
  141. "type": "number",
  142. "icon": "icon-number",
  143. "options": {
  144. "width": "",
  145. "required": false,
  146. "requiredMessage": "",
  147. "validatorCheck": false,
  148. "validator": "",
  149. "defaultValue": 0,
  150. "min": 0,
  151. "max": 9,
  152. "step": 1,
  153. "disabled": false,
  154. "controls": true,
  155. "controlsPosition": "",
  156. "customClass": "",
  157. "labelWidth": 100,
  158. "isLabelWidth": false,
  159. "hidden": false,
  160. "dataBind": true,
  161. "precision": 0,
  162. "remoteFunc": "func_r745eivu",
  163. "remoteOption": "option_r745eivu",
  164. "tableColumn": false
  165. },
  166. "events": {
  167. "onChange": "",
  168. "onFocus": "",
  169. "onBlur": ""
  170. },
  171. "name": "Number",
  172. "novalid": {},
  173. "key": "r745eivu",
  174. "model": "number_r745eivu",
  175. "rules": []
  176. }
  177. ],
  178. "key": "mcf53a4e",
  179. "rules": []
  180. },
  181. {
  182. "type": "col",
  183. "options": {
  184. "span": 12,
  185. "offset": 0,
  186. "push": 0,
  187. "pull": 0,
  188. "xs": 24,
  189. "sm": 12,
  190. "md": 8,
  191. "lg": 12,
  192. "xl": 12,
  193. "customClass": ""
  194. },
  195. "list": [
  196. {
  197. "type": "select",
  198. "icon": "icon-select",
  199. "options": {
  200. "defaultValue": "",
  201. "multiple": false,
  202. "disabled": false,
  203. "clearable": false,
  204. "placeholder": "",
  205. "required": false,
  206. "requiredMessage": "",
  207. "validatorCheck": false,
  208. "validator": "",
  209. "showLabel": false,
  210. "width": "",
  211. "options": [
  212. {
  213. "value": "1111"
  214. },
  215. {
  216. "value": "2222"
  217. },
  218. {
  219. "value": "3333"
  220. }
  221. ],
  222. "remote": false,
  223. "remoteType": "datasource",
  224. "remoteOption": "option_fx2xg5kf",
  225. "filterable": false,
  226. "remoteOptions": [],
  227. "props": {
  228. "value": "value",
  229. "label": "label"
  230. },
  231. "remoteFunc": "func_fx2xg5kf",
  232. "customClass": "",
  233. "labelWidth": 100,
  234. "isLabelWidth": false,
  235. "hidden": false,
  236. "dataBind": true,
  237. "tableColumn": false
  238. },
  239. "events": {
  240. "onChange": "",
  241. "onFocus": "",
  242. "onBlur": ""
  243. },
  244. "name": "Select",
  245. "novalid": {},
  246. "key": "fx2xg5kf",
  247. "model": "select_fx2xg5kf",
  248. "rules": []
  249. }
  250. ],
  251. "key": "zy891inj",
  252. "rules": []
  253. },
  254. {
  255. "type": "col",
  256. "options": {
  257. "span": 12,
  258. "offset": 0,
  259. "push": 0,
  260. "pull": 0,
  261. "xs": 24,
  262. "sm": 12,
  263. "md": 8,
  264. "lg": 12,
  265. "xl": 12,
  266. "customClass": ""
  267. },
  268. "list": [
  269. {
  270. "type": "time",
  271. "icon": "icon-time",
  272. "options": {
  273. "defaultValue": "",
  274. "readonly": false,
  275. "disabled": false,
  276. "editable": true,
  277. "clearable": true,
  278. "placeholder": "",
  279. "startPlaceholder": "",
  280. "endPlaceholder": "",
  281. "isRange": false,
  282. "arrowControl": false,
  283. "format": "HH:mm:ss",
  284. "required": false,
  285. "requiredMessage": "",
  286. "validatorCheck": false,
  287. "validator": "",
  288. "width": "",
  289. "customClass": "",
  290. "labelWidth": 100,
  291. "isLabelWidth": false,
  292. "hidden": false,
  293. "dataBind": true,
  294. "remoteFunc": "func_b4zo7f2b",
  295. "remoteOption": "option_b4zo7f2b",
  296. "tableColumn": false
  297. },
  298. "events": {
  299. "onChange": "",
  300. "onFocus": "",
  301. "onBlur": ""
  302. },
  303. "name": "Time",
  304. "novalid": {},
  305. "key": "b4zo7f2b",
  306. "model": "time_b4zo7f2b",
  307. "rules": []
  308. }
  309. ],
  310. "key": "4vs1hzu6",
  311. "rules": []
  312. },
  313. {
  314. "type": "col",
  315. "options": {
  316. "span": 12,
  317. "offset": 0,
  318. "push": 0,
  319. "pull": 0,
  320. "xs": 24,
  321. "sm": 12,
  322. "md": 8,
  323. "lg": 12,
  324. "xl": 12,
  325. "customClass": ""
  326. },
  327. "list": [
  328. {
  329. "type": "date",
  330. "icon": "icon-date",
  331. "options": {
  332. "defaultValue": "",
  333. "readonly": false,
  334. "disabled": false,
  335. "editable": true,
  336. "clearable": true,
  337. "placeholder": "",
  338. "startPlaceholder": "",
  339. "endPlaceholder": "",
  340. "type": "date",
  341. "format": "YYYY-MM-DD",
  342. "timestamp": false,
  343. "required": false,
  344. "requiredMessage": "",
  345. "validatorCheck": false,
  346. "validator": "",
  347. "width": "",
  348. "customClass": "",
  349. "labelWidth": 100,
  350. "isLabelWidth": false,
  351. "hidden": false,
  352. "dataBind": true,
  353. "remoteFunc": "func_uuyt7npx",
  354. "remoteOption": "option_uuyt7npx",
  355. "tableColumn": false
  356. },
  357. "events": {
  358. "onChange": "",
  359. "onFocus": "",
  360. "onBlur": ""
  361. },
  362. "name": "Date",
  363. "novalid": {},
  364. "key": "uuyt7npx",
  365. "model": "date_uuyt7npx",
  366. "rules": []
  367. }
  368. ],
  369. "key": "4oyw8ued",
  370. "rules": []
  371. }
  372. ],
  373. "options": {
  374. "gutter": 20,
  375. "justify": "start",
  376. "align": "top",
  377. "customClass": "",
  378. "hidden": false,
  379. "flex": false,
  380. "responsive": true,
  381. "remoteFunc": "func_jvv89nx5",
  382. "remoteOption": "option_jvv89nx5",
  383. "tableColumn": false
  384. },
  385. "name": "Grid",
  386. "key": "jvv89nx5",
  387. "model": "grid_jvv89nx5",
  388. "rules": []
  389. },
  390. {
  391. "type": "grid",
  392. "icon": "icon-RectangleCopy",
  393. "columns": [
  394. {
  395. "type": "col",
  396. "options": {
  397. "span": 12,
  398. "offset": 0,
  399. "push": 0,
  400. "pull": 0,
  401. "xs": 24,
  402. "sm": 24,
  403. "md": 20,
  404. "lg": 12,
  405. "xl": 12,
  406. "customClass": ""
  407. },
  408. "list": [
  409. {
  410. "type": "table",
  411. "icon": "icon-table",
  412. "options": {
  413. "defaultValue": [],
  414. "customClass": "",
  415. "labelWidth": 100,
  416. "isLabelWidth": false,
  417. "hidden": false,
  418. "dataBind": true,
  419. "disabled": false,
  420. "required": false,
  421. "validatorCheck": false,
  422. "validator": "",
  423. "paging": false,
  424. "pageSize": 5,
  425. "remoteFunc": "func_kx45666i",
  426. "remoteOption": "option_kx45666i",
  427. "tableColumn": false
  428. },
  429. "events": {
  430. "onChange": "",
  431. "onRowAdd": "",
  432. "onRowRemove": "",
  433. "onRowChange": ""
  434. },
  435. "tableColumns": [
  436. {
  437. "type": "input",
  438. "icon": "icon-input",
  439. "options": {
  440. "width": "",
  441. "defaultValue": "",
  442. "required": false,
  443. "requiredMessage": "",
  444. "dataType": "",
  445. "dataTypeCheck": false,
  446. "dataTypeMessage": "",
  447. "pattern": "",
  448. "patternCheck": false,
  449. "patternMessage": "",
  450. "validatorCheck": false,
  451. "validator": "",
  452. "placeholder": "",
  453. "customClass": "",
  454. "disabled": false,
  455. "labelWidth": 100,
  456. "isLabelWidth": false,
  457. "hidden": false,
  458. "dataBind": true,
  459. "showPassword": false,
  460. "clearable": false,
  461. "remoteFunc": "func_63380qjc",
  462. "remoteOption": "option_63380qjc",
  463. "tableColumn": true
  464. },
  465. "events": {
  466. "onChange": "",
  467. "onFocus": "",
  468. "onBlur": ""
  469. },
  470. "name": "Input",
  471. "novalid": {},
  472. "key": "63380qjc",
  473. "model": "input_63380qjc",
  474. "rules": []
  475. },
  476. {
  477. "type": "input",
  478. "icon": "icon-input",
  479. "options": {
  480. "width": "",
  481. "defaultValue": "",
  482. "required": false,
  483. "requiredMessage": "",
  484. "dataType": "",
  485. "dataTypeCheck": false,
  486. "dataTypeMessage": "",
  487. "pattern": "",
  488. "patternCheck": false,
  489. "patternMessage": "",
  490. "validatorCheck": false,
  491. "validator": "",
  492. "placeholder": "",
  493. "customClass": "",
  494. "disabled": false,
  495. "labelWidth": 100,
  496. "isLabelWidth": false,
  497. "hidden": false,
  498. "dataBind": true,
  499. "showPassword": false,
  500. "clearable": false,
  501. "remoteFunc": "func_63380qjc",
  502. "remoteOption": "option_63380qjc",
  503. "tableColumn": true
  504. },
  505. "events": {
  506. "onChange": "",
  507. "onFocus": "",
  508. "onBlur": ""
  509. },
  510. "name": "Input",
  511. "novalid": {},
  512. "key": "ysmc5f4n",
  513. "model": "input_ysmc5f4n",
  514. "rules": []
  515. }
  516. ],
  517. "name": "Sub-Form",
  518. "novalid": {},
  519. "key": "kx45666i",
  520. "model": "table_kx45666i",
  521. "rules": []
  522. }
  523. ],
  524. "key": "wjuv0tu8",
  525. "rules": []
  526. }
  527. ],
  528. "options": {
  529. "gutter": 0,
  530. "justify": "start",
  531. "align": "top",
  532. "customClass": "",
  533. "hidden": false,
  534. "flex": true,
  535. "responsive": true,
  536. "remoteFunc": "func_9u3ehokl",
  537. "remoteOption": "option_9u3ehokl",
  538. "tableColumn": false
  539. },
  540. "name": "Grid",
  541. "key": "9u3ehokl",
  542. "model": "grid_9u3ehokl",
  543. "rules": []
  544. }
  545. ],
  546. "config": {
  547. "labelWidth": 120,
  548. "labelPosition": "top",
  549. "size": "default",
  550. "customClass": "",
  551. "ui": "antd",
  552. "layout": "horizontal",
  553. "labelCol": 3,
  554. "width": "100%",
  555. "hideLabel": false,
  556. "hideErrorMessage": false,
  557. "eventScript": [
  558. {
  559. "key": "mounted",
  560. "name": "mounted",
  561. "func": ""
  562. }
  563. ],
  564. "dataSource": [
  565. {
  566. "key": "upload",
  567. "name": "Get Upload Token",
  568. "url": "https://tools-server.making.link/api/uptoken",
  569. "method": "GET",
  570. "auto": true,
  571. "responseFunc": "return res.uptoken;"
  572. },
  573. {
  574. "key": "getoptions",
  575. "name": "Get Options",
  576. "url": "https://tools-server.making.link/api/new/options",
  577. "method": "GET",
  578. "auto": true,
  579. "responseFunc": "return res.data;"
  580. }
  581. ],
  582. "platform": "mobile"
  583. }
  584. }