syssocialdetails.js 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. * Copyright (c) 2018-2025, lengleng All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * Redistributions of source code must retain the above copyright notice,
  8. * this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * Neither the name of the pig4cloud.com developer nor the names of its
  13. * contributors may be used to endorse or promote products derived from
  14. * this software without specific prior written permission.
  15. * Author: lengleng (wangiegie@gmail.com)
  16. */
  17. export const tableOption = {
  18. "border": true,
  19. "index": true,
  20. "stripe": true,
  21. "menuAlign": "center",
  22. "align": "center",
  23. "editBtn": false,
  24. "delBtn": false,
  25. "addBtn": false,
  26. 'dicUrl': '/admin/dict/type/social_type',
  27. "column": [{
  28. label: 'ID',
  29. prop: 'id',
  30. hide: true,
  31. addVisdiplay: false,
  32. editDisabled: true
  33. },
  34. {
  35. label: '类型',
  36. prop: 'type',
  37. type: 'select',
  38. dicData: 'social_type',
  39. search: true,
  40. rules: [{
  41. required: true,
  42. message: '请选择类型',
  43. trigger: 'blur'
  44. }]
  45. },
  46. {
  47. label: '描述',
  48. prop: 'remark'
  49. },
  50. {
  51. label: 'appId',
  52. prop: 'appId',
  53. rules: [{
  54. required: true,
  55. message: '请输入appId',
  56. trigger: 'blur'
  57. }]
  58. },
  59. {
  60. label: 'appSecret',
  61. prop: 'appSecret',
  62. rules: [{
  63. required: true,
  64. message: '请输入appSecret',
  65. trigger: 'blur'
  66. }]
  67. },
  68. {
  69. label: '回调地址',
  70. prop: 'redirectUrl',
  71. rules: [{
  72. required: true,
  73. message: '请输入回调地址',
  74. trigger: 'blur'
  75. }]
  76. },
  77. {
  78. valueFormat: 'timestamp',
  79. format: 'yyyy-MM-dd hh:mm:ss',
  80. label: '创建时间',
  81. prop: 'createTime',
  82. align: 'center',
  83. addVisdiplay: false,
  84. editDisabled: true
  85. }
  86. ]
  87. }