@lingxiteam/assets 4.2.1-alpha.2 → 4.3.2-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/es/IconSvg/index.js +8 -7
  2. package/es/error/errorCatch/index.js +1 -1
  3. package/es/error/errorDisplay/Mobile/Drawer/Drawer.js +99 -77
  4. package/es/error/errorDisplay/Mobile/Drawer/index.js +26 -26
  5. package/es/error/errorDisplay/Mobile/ErrorMsg/index.js +127 -129
  6. package/es/error/errorDisplay/Mobile/Modal/Modal.js +46 -31
  7. package/es/error/errorDisplay/Mobile/Modal/index.js +24 -24
  8. package/es/error/errorDisplay/Mobile/defaultGlobalConfig.js +2 -2
  9. package/es/error/errorDisplay/Web/Drawer/Drawer.js +183 -145
  10. package/es/error/errorDisplay/Web/Drawer/DrawerConnect.js +43 -46
  11. package/es/error/errorDisplay/Web/Drawer/index.js +15 -15
  12. package/es/error/errorDisplay/Web/ErrorMsg/index.js +341 -327
  13. package/es/error/errorDisplay/Web/Notification/Notice.js +78 -65
  14. package/es/error/errorDisplay/Web/Notification/Notification.js +15 -15
  15. package/es/error/errorDisplay/Web/Notification/index.js +36 -38
  16. package/es/error/errorDisplay/Web/defaultGlobalConfig.js +2 -2
  17. package/es/error/errorDisplay/compUtils.js +6 -6
  18. package/es/error/errorDisplay/http.js +7 -7
  19. package/es/error/index.js +6 -6
  20. package/es/index.js +5 -5
  21. package/es/rootConfig/index.d.ts +1 -1
  22. package/es/rootConfig/index.js +5 -5
  23. package/es/rootConfig/locales/enus/config-locales-es.d.ts +2 -0
  24. package/es/rootConfig/locales/enus/config-locales-es.js +13 -0
  25. package/es/rootConfig/locales/enus/config-locales-es.mobile.d.ts +2 -0
  26. package/es/rootConfig/locales/enus/config-locales-es.mobile.js +199 -0
  27. package/es/rootConfig/locales/enus/config-locales-es.pc.d.ts +2 -0
  28. package/es/rootConfig/locales/enus/config-locales-es.pc.js +49 -0
  29. package/es/rootConfig/locales/enus/config-locales-es.todo-actionList.d.ts +2 -0
  30. package/es/rootConfig/locales/enus/config-locales-es.todo-actionList.js +1293 -0
  31. package/es/rootConfig/locales/enus/config-locales-es.todo-callback.d.ts +2 -0
  32. package/es/rootConfig/locales/enus/config-locales-es.todo-callback.js +21 -0
  33. package/es/rootConfig/locales/enus/config-locales-es.todo-optionList.d.ts +2 -0
  34. package/es/rootConfig/locales/enus/config-locales-es.todo-optionList.js +339 -0
  35. package/es/rootConfig/locales/zhcn/config-locales-cn.d.ts +2 -0
  36. package/es/rootConfig/locales/zhcn/config-locales-cn.js +13 -0
  37. package/es/rootConfig/locales/zhcn/config-locales-cn.mobile.d.ts +2 -0
  38. package/es/rootConfig/locales/zhcn/config-locales-cn.mobile.js +199 -0
  39. package/es/rootConfig/locales/zhcn/config-locales-cn.pc.d.ts +2 -0
  40. package/es/rootConfig/locales/zhcn/config-locales-cn.pc.js +385 -0
  41. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.d.ts +2 -0
  42. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.js +1297 -0
  43. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-callback.d.ts +2 -0
  44. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-callback.js +21 -0
  45. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.d.ts +2 -0
  46. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.js +339 -0
  47. package/es/rootConfig/locales/zhhk/config-locales-hk.d.ts +2 -0
  48. package/es/rootConfig/locales/zhhk/config-locales-hk.js +13 -0
  49. package/es/rootConfig/locales/zhhk/config-locales-hk.mobile.d.ts +2 -0
  50. package/es/rootConfig/locales/zhhk/config-locales-hk.mobile.js +199 -0
  51. package/es/rootConfig/locales/zhhk/config-locales-hk.pc.d.ts +2 -0
  52. package/es/rootConfig/locales/zhhk/config-locales-hk.pc.js +385 -0
  53. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.d.ts +2 -0
  54. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.js +1297 -0
  55. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-callback.d.ts +2 -0
  56. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-callback.js +21 -0
  57. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.d.ts +2 -0
  58. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.js +339 -0
  59. package/es/rootConfig/mobile/BusiComp.d.ts +0 -1
  60. package/es/rootConfig/mobile/BusiComp.js +35 -32
  61. package/es/rootConfig/mobile/MobileModal.js +62 -57
  62. package/es/rootConfig/mobile/MobilePopover.d.ts +0 -2
  63. package/es/rootConfig/mobile/MobilePopover.js +37 -34
  64. package/es/rootConfig/mobile/index.js +4 -4
  65. package/es/rootConfig/mobile/page.d.ts +17 -2
  66. package/es/rootConfig/mobile/page.js +85 -78
  67. package/es/rootConfig/pc/BusiComp.js +110 -40
  68. package/es/rootConfig/pc/Drawer.d.ts +8 -9
  69. package/es/rootConfig/pc/Drawer.js +161 -91
  70. package/es/rootConfig/pc/Modal.d.ts +0 -1
  71. package/es/rootConfig/pc/Modal.js +140 -70
  72. package/es/rootConfig/pc/Popover.d.ts +0 -1
  73. package/es/rootConfig/pc/Popover.js +114 -44
  74. package/es/rootConfig/pc/index.js +5 -5
  75. package/es/rootConfig/pc/page.d.ts +0 -2
  76. package/es/rootConfig/pc/page.js +133 -64
  77. package/es/rootConfig/todoActionList.d.ts +1 -0
  78. package/es/rootConfig/todoActionList.js +2363 -1237
  79. package/es/rootConfig/todoCallback.d.ts +12 -1
  80. package/es/rootConfig/todoCallback.js +175 -103
  81. package/es/rootConfig/todoOptionList.d.ts +0 -66
  82. package/es/rootConfig/todoOptionList.js +400 -401
  83. package/es/theme/index.js +18 -20
  84. package/es/theme/src/default/index.js +7 -7
  85. package/es/theme/utils/renderColors.js +1 -1
  86. package/es/utils/url.js +8 -7
  87. package/lib/IconSvg/index.js +10 -9
  88. package/lib/error/errorCatch/index.js +2 -3
  89. package/lib/error/errorDisplay/Mobile/Drawer/Drawer.js +99 -79
  90. package/lib/error/errorDisplay/Mobile/Drawer/index.js +25 -26
  91. package/lib/error/errorDisplay/Mobile/ErrorMsg/index.js +123 -126
  92. package/lib/error/errorDisplay/Mobile/Modal/Modal.js +45 -33
  93. package/lib/error/errorDisplay/Mobile/Modal/index.js +23 -24
  94. package/lib/error/errorDisplay/Mobile/defaultGlobalConfig.js +3 -5
  95. package/lib/error/errorDisplay/SVGstring.js +6 -12
  96. package/lib/error/errorDisplay/Web/Drawer/Drawer.js +181 -146
  97. package/lib/error/errorDisplay/Web/Drawer/DrawerConnect.js +44 -48
  98. package/lib/error/errorDisplay/Web/Drawer/index.js +18 -20
  99. package/lib/error/errorDisplay/Web/ErrorMsg/index.js +336 -324
  100. package/lib/error/errorDisplay/Web/Notification/Notice.js +79 -68
  101. package/lib/error/errorDisplay/Web/Notification/Notification.js +15 -16
  102. package/lib/error/errorDisplay/Web/Notification/index.js +37 -41
  103. package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +3 -5
  104. package/lib/error/errorDisplay/compUtils.js +9 -12
  105. package/lib/error/errorDisplay/const.js +7 -13
  106. package/lib/error/errorDisplay/http.js +8 -9
  107. package/lib/index.js +3 -6
  108. package/lib/rootConfig/index.d.ts +1 -1
  109. package/lib/rootConfig/index.js +9 -3
  110. package/lib/rootConfig/locales/enus/config-locales-es.d.ts +2 -0
  111. package/lib/rootConfig/locales/enus/config-locales-es.js +19 -0
  112. package/lib/rootConfig/locales/enus/config-locales-es.mobile.d.ts +2 -0
  113. package/lib/rootConfig/locales/enus/config-locales-es.mobile.js +205 -0
  114. package/lib/rootConfig/locales/enus/config-locales-es.pc.d.ts +2 -0
  115. package/lib/rootConfig/locales/enus/config-locales-es.pc.js +55 -0
  116. package/lib/rootConfig/locales/enus/config-locales-es.todo-actionList.d.ts +2 -0
  117. package/lib/rootConfig/locales/enus/config-locales-es.todo-actionList.js +1299 -0
  118. package/lib/rootConfig/locales/enus/config-locales-es.todo-callback.d.ts +2 -0
  119. package/lib/rootConfig/locales/enus/config-locales-es.todo-callback.js +27 -0
  120. package/lib/rootConfig/locales/enus/config-locales-es.todo-optionList.d.ts +2 -0
  121. package/lib/rootConfig/locales/enus/config-locales-es.todo-optionList.js +345 -0
  122. package/lib/rootConfig/locales/zhcn/config-locales-cn.d.ts +2 -0
  123. package/lib/rootConfig/locales/zhcn/config-locales-cn.js +19 -0
  124. package/lib/rootConfig/locales/zhcn/config-locales-cn.mobile.d.ts +2 -0
  125. package/lib/rootConfig/locales/zhcn/config-locales-cn.mobile.js +205 -0
  126. package/lib/rootConfig/locales/zhcn/config-locales-cn.pc.d.ts +2 -0
  127. package/lib/rootConfig/locales/zhcn/config-locales-cn.pc.js +391 -0
  128. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.d.ts +2 -0
  129. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.js +1303 -0
  130. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-callback.d.ts +2 -0
  131. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-callback.js +27 -0
  132. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.d.ts +2 -0
  133. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.js +345 -0
  134. package/lib/rootConfig/locales/zhhk/config-locales-hk.d.ts +2 -0
  135. package/lib/rootConfig/locales/zhhk/config-locales-hk.js +19 -0
  136. package/lib/rootConfig/locales/zhhk/config-locales-hk.mobile.d.ts +2 -0
  137. package/lib/rootConfig/locales/zhhk/config-locales-hk.mobile.js +205 -0
  138. package/lib/rootConfig/locales/zhhk/config-locales-hk.pc.d.ts +2 -0
  139. package/lib/rootConfig/locales/zhhk/config-locales-hk.pc.js +391 -0
  140. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.d.ts +2 -0
  141. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.js +1303 -0
  142. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-callback.d.ts +2 -0
  143. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-callback.js +27 -0
  144. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.d.ts +2 -0
  145. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.js +345 -0
  146. package/lib/rootConfig/mobile/BusiComp.d.ts +0 -1
  147. package/lib/rootConfig/mobile/BusiComp.js +36 -34
  148. package/lib/rootConfig/mobile/MobileModal.js +63 -59
  149. package/lib/rootConfig/mobile/MobilePopover.d.ts +0 -2
  150. package/lib/rootConfig/mobile/MobilePopover.js +38 -36
  151. package/lib/rootConfig/mobile/page.d.ts +17 -2
  152. package/lib/rootConfig/mobile/page.js +86 -80
  153. package/lib/rootConfig/pc/BusiComp.js +111 -42
  154. package/lib/rootConfig/pc/Drawer.d.ts +8 -9
  155. package/lib/rootConfig/pc/Drawer.js +162 -93
  156. package/lib/rootConfig/pc/Modal.d.ts +0 -1
  157. package/lib/rootConfig/pc/Modal.js +141 -72
  158. package/lib/rootConfig/pc/Popover.d.ts +0 -1
  159. package/lib/rootConfig/pc/Popover.js +115 -46
  160. package/lib/rootConfig/pc/page.d.ts +0 -2
  161. package/lib/rootConfig/pc/page.js +134 -66
  162. package/lib/rootConfig/todoActionList.d.ts +1 -0
  163. package/lib/rootConfig/todoActionList.js +2364 -1244
  164. package/lib/rootConfig/todoCallback.d.ts +12 -1
  165. package/lib/rootConfig/todoCallback.js +182 -116
  166. package/lib/rootConfig/todoOptionList.d.ts +0 -66
  167. package/lib/rootConfig/todoOptionList.js +401 -403
  168. package/lib/theme/bin/default/modalWidth.js +1 -2
  169. package/lib/theme/index.js +19 -22
  170. package/lib/theme/src/default/index.js +7 -7
  171. package/lib/theme/utils/renderColors.js +1 -1
  172. package/lib/utils/cookieUtil.js +1 -2
  173. package/lib/utils/img.js +2 -3
  174. package/lib/utils/url.js +13 -16
  175. package/package.json +3 -4
@@ -1,3 +1,7 @@
1
+ var TODO_OPTION_LOCALE_PREFIX = 'todo.optionList';
2
+ var localeKey = function localeKey(s) {
3
+ return "".concat(TODO_OPTION_LOCALE_PREFIX, ".").concat(s);
4
+ };
1
5
  var SERVICE_KEY = {
2
6
  QUERY: '11',
3
7
  INNER: '12',
@@ -6,6 +10,7 @@ var SERVICE_KEY = {
6
10
  OBJECT: '2',
7
11
  SUPER: '7'
8
12
  };
13
+
9
14
  /**
10
15
  * @description: 动作的配置项信息
11
16
  * key:配置项的key, 用于dot模板取值
@@ -21,7 +26,7 @@ var SERVICE_KEY = {
21
26
  var todoOptionList = {
22
27
  url: {
23
28
  key: 'url',
24
- label: '请求地址(URL)',
29
+ label: localeKey('url.label'),
25
30
  type: 'SelectServiceUrl',
26
31
  props: {
27
32
  isRequired: true,
@@ -30,22 +35,22 @@ var todoOptionList = {
30
35
  },
31
36
  sqlServiceCode: {
32
37
  key: 'sqlServiceCode',
33
- label: '选择SQL查询服务',
38
+ label: localeKey('sqlServiceCode.label'),
34
39
  type: 'SelectSQLServiceCode'
35
40
  },
36
41
  sqlServiceFields: {
37
42
  key: 'sqlServiceFields',
38
- label: '导出字段',
43
+ label: localeKey('sqlServiceFields.label'),
39
44
  type: 'SelectSQLServiceFields'
40
45
  },
41
46
  target: {
42
47
  key: 'target',
43
- label: '联动来源',
48
+ label: localeKey('target.label'),
44
49
  type: 'SelectObject'
45
50
  },
46
51
  arelStaticData: {
47
52
  key: 'arelStaticData',
48
- label: 'A端静态数据',
53
+ label: localeKey('arelStaticData.label'),
49
54
  type: 'SelectStaticData',
50
55
  props: {
51
56
  options: {
@@ -55,7 +60,7 @@ var todoOptionList = {
55
60
  },
56
61
  zrelStaticData: {
57
62
  key: 'zrelStaticData',
58
- label: 'Z端静态数据',
63
+ label: localeKey('zrelStaticData.label'),
59
64
  type: 'SelectStaticData',
60
65
  props: {
61
66
  options: {
@@ -65,139 +70,139 @@ var todoOptionList = {
65
70
  },
66
71
  staticData: {
67
72
  key: 'staticData',
68
- label: '静态数据',
73
+ label: localeKey('staticData.label'),
69
74
  type: 'SelectStaticData'
70
75
  },
71
76
  custTargetVal: {
72
77
  key: 'custTargetVal',
73
- label: '自定义触发值',
78
+ label: localeKey('custTargetVal.label'),
74
79
  type: 'SetExpression'
75
80
  },
76
81
  visible: {
77
82
  key: 'visible',
78
- label: '显隐设置',
83
+ label: localeKey('visible.label'),
79
84
  type: 'RadioButton',
80
85
  defaultValue: '',
81
86
  props: {
82
87
  options: [{
83
- title: '显示',
88
+ title: localeKey('visible.props.options.0.title'),
84
89
  value: 'true'
85
90
  }, {
86
- title: '隐藏',
91
+ title: localeKey('visible.props.options.1.title'),
87
92
  value: ''
88
93
  }, {
89
- title: '切换',
94
+ title: localeKey('visible.props.options.2.title'),
90
95
  value: 'toggle'
91
96
  }]
92
97
  }
93
98
  },
94
99
  readonly: {
95
100
  key: 'readonly',
96
- label: '编辑状态设置',
101
+ label: localeKey('readonly.label'),
97
102
  type: 'RadioButton',
98
103
  defaultValue: '',
99
104
  props: {
100
105
  options: [{
101
- title: '只读',
106
+ title: localeKey('readonly.props.options.0.title'),
102
107
  value: 'true'
103
108
  }, {
104
- title: '启用',
109
+ title: localeKey('readonly.props.options.1.title'),
105
110
  value: ''
106
111
  }, {
107
- title: '切换',
112
+ title: localeKey('readonly.props.options.2.title'),
108
113
  value: 'toggle'
109
114
  }]
110
115
  }
111
116
  },
112
117
  bsSelectType: {
113
118
  key: 'selectType',
114
- label: '控制类型',
119
+ label: localeKey('bsSelectType.label'),
115
120
  type: 'RadioButton',
116
121
  defaultValue: 'id',
117
122
  props: {
118
123
  options: [{
119
- title: '唯一字段编码',
124
+ title: localeKey('bsSelectType.props.options.0.title'),
120
125
  value: 'id'
121
126
  }, {
122
- title: '循环项索引',
127
+ title: localeKey('bsSelectType.props.options.1.title'),
123
128
  value: 'index'
124
129
  }]
125
130
  }
126
131
  },
127
132
  editor: {
128
133
  key: 'editor',
129
- label: '是否可编辑',
134
+ label: localeKey('editor.label'),
130
135
  type: 'Select',
131
136
  props: {
132
137
  options: [{
133
- title: '',
138
+ title: localeKey('editor.props.options.0.title'),
134
139
  value: false
135
140
  }, {
136
- title: '',
141
+ title: localeKey('editor.props.options.1.title'),
137
142
  value: true
138
143
  }]
139
144
  }
140
145
  },
141
146
  value: {
142
147
  key: 'value',
143
- label: '内容',
148
+ label: localeKey('value.label'),
144
149
  type: 'SetExpression'
145
150
  },
146
151
  valueArray: {
147
152
  key: 'value',
148
- label: '内容',
153
+ label: localeKey('valueArray.label'),
149
154
  type: 'SetValueByArray'
150
155
  },
151
156
  startVal: {
152
157
  key: 'startVal',
153
- label: '开始值',
158
+ label: localeKey('startVal.label'),
154
159
  type: 'SetExpression',
155
160
  props: {
156
- placeholder: '请输入YYYY-MM-DD格式的时间'
161
+ placeholder: localeKey('startVal.props.placeholder')
157
162
  }
158
163
  },
159
164
  endVal: {
160
165
  key: 'endVal',
161
- label: '结束值',
166
+ label: localeKey('endVal.label'),
162
167
  type: 'SetExpression',
163
168
  props: {
164
- placeholder: '请输入YYYY-MM-DD格式的时间'
169
+ placeholder: localeKey('endVal.props.placeholder')
165
170
  }
166
171
  },
167
172
  loading: {
168
173
  key: 'loading',
169
- label: '是否加载中',
174
+ label: localeKey('loading.label'),
170
175
  type: 'Select',
171
176
  props: {
172
177
  options: [{
173
- title: '',
178
+ title: localeKey('loading.props.options.0.title'),
174
179
  value: true
175
180
  }, {
176
- title: '',
181
+ title: localeKey('loading.props.options.1.title'),
177
182
  value: false
178
183
  }]
179
184
  }
180
185
  },
181
186
  msgType: {
182
187
  key: 'type',
183
- label: '类型',
188
+ label: localeKey('msgType.label'),
184
189
  type: 'Select',
185
190
  defaultValue: 'success',
186
191
  props: {
187
192
  options: [{
188
- title: '成功',
193
+ title: localeKey('msgType.props.options.0.title'),
189
194
  value: 'success'
190
195
  }, {
191
- title: '提示',
196
+ title: localeKey('msgType.props.options.1.title'),
192
197
  value: 'info'
193
198
  }, {
194
- title: '警告',
199
+ title: localeKey('msgType.props.options.2.title'),
195
200
  value: 'warn'
196
201
  }, {
197
- title: '错误',
202
+ title: localeKey('msgType.props.options.3.title'),
198
203
  value: 'error'
199
204
  }, {
200
- title: '加载动画',
205
+ title: localeKey('msgType.props.options.4.title'),
201
206
  value: 'loading',
202
207
  terminal: ['mobile']
203
208
  }]
@@ -205,147 +210,147 @@ var todoOptionList = {
205
210
  },
206
211
  duration: {
207
212
  key: 'duration',
208
- label: '加载时长',
213
+ label: localeKey('duration.label'),
209
214
  type: 'InputNumber',
210
215
  props: {
211
- unit: ''
216
+ unit: localeKey('duration.props.unit')
212
217
  }
213
218
  },
214
219
  swiperIndex: {
215
220
  key: 'swiperIndex',
216
- label: '索引',
221
+ label: localeKey('swiperIndex.label'),
217
222
  type: 'SwiperIndex'
218
223
  },
219
224
  validateType: {
220
225
  key: 'validateStatus',
221
- label: '校验类型',
226
+ label: localeKey('validateType.label'),
222
227
  type: 'RadioButton',
223
228
  defaultValue: 'success',
224
229
  props: {
225
230
  options: [{
226
- title: '成功',
231
+ title: localeKey('validateType.props.options.0.title'),
227
232
  value: 'success'
228
233
  }, {
229
- title: '提示',
234
+ title: localeKey('validateType.props.options.1.title'),
230
235
  value: 'validating'
231
236
  }, {
232
- title: '错误',
237
+ title: localeKey('validateType.props.options.2.title'),
233
238
  value: 'error'
234
239
  }, {
235
- title: '警告',
240
+ title: localeKey('validateType.props.options.3.title'),
236
241
  value: 'warning'
237
242
  }, {
238
- title: '正常',
243
+ title: localeKey('validateType.props.options.4.title'),
239
244
  value: ''
240
245
  }]
241
246
  }
242
247
  },
243
248
  validateMsg: {
244
249
  key: 'help',
245
- label: '校验文案',
250
+ label: localeKey('validateMsg.label'),
246
251
  type: 'Input',
247
252
  props: {
248
- placeholder: '请输入'
253
+ placeholder: localeKey('validateMsg.props.placeholder')
249
254
  }
250
255
  },
251
256
  expType: {
252
257
  key: 'type',
253
- label: '类型',
258
+ label: localeKey('expType.label'),
254
259
  type: 'Select',
255
260
  props: {
256
261
  options: [{
257
- title: 'PDF',
262
+ title: localeKey('expType.props.options.0.title'),
258
263
  value: 'pdf'
259
264
  }, {
260
- title: '图片',
265
+ title: localeKey('expType.props.options.1.title'),
261
266
  value: 'png'
262
267
  }]
263
268
  }
264
269
  },
265
270
  expFileName: {
266
271
  key: 'fileName',
267
- label: '文件名',
272
+ label: localeKey('expFileName.label'),
268
273
  type: 'input',
269
274
  props: {
270
- placeholder: '请输入导出的文件名'
275
+ placeholder: localeKey('expFileName.props.placeholder')
271
276
  }
272
277
  },
273
278
  modalType: {
274
279
  key: 'type',
275
- label: '类型',
280
+ label: localeKey('modalType.label'),
276
281
  type: 'Select',
277
282
  props: {
278
283
  options: [{
279
- title: '成功',
284
+ title: localeKey('modalType.props.options.0.title'),
280
285
  value: 'success'
281
286
  }, {
282
- title: '提示',
287
+ title: localeKey('modalType.props.options.1.title'),
283
288
  value: 'info'
284
289
  }, {
285
- title: '警告',
290
+ title: localeKey('modalType.props.options.2.title'),
286
291
  value: 'warning'
287
292
  }, {
288
- title: '错误',
293
+ title: localeKey('modalType.props.options.3.title'),
289
294
  value: 'error'
290
295
  }, {
291
- title: '确认',
296
+ title: localeKey('modalType.props.options.4.title'),
292
297
  value: 'confirm'
293
298
  }]
294
299
  }
295
300
  },
296
301
  okText: {
297
302
  key: 'okText',
298
- label: '确认按钮文本',
303
+ label: localeKey('okText.label'),
299
304
  type: 'Input'
300
305
  },
301
306
  cancelText: {
302
307
  key: 'cancelText',
303
- label: '取消按钮文本',
308
+ label: localeKey('cancelText.label'),
304
309
  type: 'Input',
305
310
  visibleFlag: 'type',
306
311
  visibleFlagValue: ['confirm']
307
312
  },
308
313
  historyType: {
309
314
  key: 'type',
310
- label: '类型',
315
+ label: localeKey('historyType.label'),
311
316
  type: 'Select',
312
317
  props: {
313
318
  options: [{
314
- title: '路由跳转',
319
+ title: localeKey('historyType.props.options.0.title'),
315
320
  value: 'push'
316
321
  }, {
317
- title: '路由替换',
322
+ title: localeKey('historyType.props.options.1.title'),
318
323
  value: 'replace'
319
324
  }]
320
325
  }
321
326
  },
322
327
  timerType: {
323
328
  key: 'type',
324
- label: '定时器类型',
329
+ label: localeKey('timerType.label'),
325
330
  type: 'Select',
326
331
  props: {
327
332
  options: [{
328
- title: '单次定时器',
333
+ title: localeKey('timerType.props.options.0.title'),
329
334
  value: 'timeout'
330
335
  }, {
331
- title: '循环定时器',
336
+ title: localeKey('timerType.props.options.1.title'),
332
337
  value: 'interval'
333
338
  }]
334
339
  }
335
340
  },
336
341
  title: {
337
342
  key: 'title',
338
- label: '标题',
343
+ label: localeKey('title.label'),
339
344
  type: 'Input'
340
345
  },
341
346
  content: {
342
347
  key: 'content',
343
- label: '内容',
348
+ label: localeKey('content.label'),
344
349
  type: 'Input'
345
350
  },
346
351
  params: {
347
352
  key: 'params',
348
- label: '参数赋值',
353
+ label: localeKey('params.label'),
349
354
  // label: '参数',
350
355
  type: 'SelectParams'
351
356
  },
@@ -357,12 +362,12 @@ var todoOptionList = {
357
362
  // },
358
363
  setParams: {
359
364
  key: 'params',
360
- label: '参数',
365
+ label: localeKey('setParams.label'),
361
366
  type: 'SetExpression'
362
367
  },
363
368
  actionType: {
364
369
  key: 'actionType',
365
- label: '表单类型',
370
+ label: localeKey('actionType.label'),
366
371
  // type: 'Select',
367
372
  // options: [
368
373
  // { title: '新增', value: 'add' },
@@ -371,105 +376,105 @@ var todoOptionList = {
371
376
  // ],
372
377
  type: 'SetExpression',
373
378
  props: {
374
- placeholder: '新增-add, 编辑-edit, 详情-detail'
379
+ placeholder: localeKey('actionType.props.placeholder')
375
380
  }
376
381
  },
377
382
  tripleFormId: {
378
383
  key: 'detailId',
379
- label: '详情id',
384
+ label: localeKey('tripleFormId.label'),
380
385
  type: 'SetExpression'
381
386
  },
382
387
  dataSource: {
383
388
  key: 'data',
384
- label: '内容',
389
+ label: localeKey('dataSource.label'),
385
390
  type: 'SetExpression'
386
391
  },
387
392
  parentKey: {
388
393
  key: 'parentKey',
389
- label: '操作节点key',
394
+ label: localeKey('parentKey.label'),
390
395
  type: 'SetExpression'
391
396
  },
392
397
  dataSourceFileId: {
393
398
  key: 'data',
394
- label: '文件ID',
399
+ label: localeKey('dataSourceFileId.label'),
395
400
  type: 'SetExpression',
396
- labelTip: '支持逗号分隔或者数组形式的多文件下载,如:1,2或者$[1,2]$'
401
+ labelTip: localeKey('dataSourceFileId.labelTip')
397
402
  },
398
403
  labelKey: {
399
404
  key: 'labelKey',
400
- label: '节点名称取值字段',
405
+ label: localeKey('labelKey.label'),
401
406
  type: 'SetExpressionKey'
402
407
  },
403
408
  nodeValueKey: {
404
409
  key: 'nodeValueKey',
405
- label: '节点key取值字段',
410
+ label: localeKey('nodeValueKey.label'),
406
411
  type: 'SetExpressionKey'
407
412
  },
408
413
  urlValueKey: {
409
414
  key: 'urlValueKey',
410
- label: '节点url取值字段',
415
+ label: localeKey('urlValueKey.label'),
411
416
  type: 'SetExpressionKey'
412
417
  },
413
418
  selectable: {
414
419
  key: 'selectable',
415
- label: '节点可选字段编码',
420
+ label: localeKey('selectable.label'),
416
421
  type: 'SetExpressionKey',
417
- labelTip: "\u9002\u7528\u573A\u666F\uFF1A\u9700\u8981\u63A7\u5236\u5F53\u524D\u8282\u70B9\u662F\u5426\u80FD\u591F\u9009\u62E9\uFF0C\u4E14\u9700\u540E\u7AEF\u670D\u52A1\u6709\u5B57\u6BB5\u6807\u8BC6\u51FA\u662F\u5426\u53EF\u9009\uFF1B\n \u5904\u7406\u903B\u8F91\uFF1A\u5F53\u8282\u70B9\u7684\u5B57\u6BB5\u7F16\u7801\u503C\u4E3A\u5E03\u5C14\u7C7B\u578B\u7684false\uFF0C\u6216\u8005\u5B57\u7B26\u4E32\u7C7B\u578B\u4E3A'false'\u3001\n \u7A7A\u5B57\u7B26\u4E32\u65F6\uFF0C\u90FD\u8BA4\u4E3A\u4E0D\u53EF\u9009\uFF0C\u5426\u5219\u8BA4\u4E3A\u53EF\u9009\u3002"
422
+ labelTip: localeKey('selectable.labelTip')
418
423
  },
419
424
  childrenKey: {
420
425
  key: 'childrenKey',
421
- label: '下级列表取值字段',
426
+ label: localeKey('childrenKey.label'),
422
427
  type: 'SetExpressionKey',
423
- labelTip: "\u4F7F\u7528\u573A\u666F\uFF1A\u4E00\u6B21\u6027\u67E5\u8BE2\u6240\u6709\u6570\u636E\u65F6\uFF0C\u9700\u8981\u8BBE\u7F6E\u4E0B\u4E00\u7EA7\u5217\u8868\u6570\u636E\u7684\u53D6\u503C\u5B57\u6BB5\uFF1B\n \u793A\u4F8B\u8BF4\u660E\uFF1A\u5982\u4E0B\u53C2\u6570\uFF0C\u5F53\u67E5\u8BE2\u6240\u6709\u6570\u636E\uFF0C\u9700\u8981\u6807\u8BB0\u51FA\u4ECEchildren\u5B57\u6BB5\u83B7\u53D6\u4E0B\u7EA7\u5217\u8868\u7684\u6570\u636E\uFF1B\n {\n \"resultObject\": [{\n \"children\": [{\n \"children\": [],\n \"parent_id\": \"10700\",\n \"name\": \"2-1\",\n \"id\": \"10900\",\n }]\uFF0C\n \"parent_id\": \"-1\",\n \"name\": \"\u7B2C\u4E8C\u68F5\",\n \"id\": \"10700\",\n }]\n }\n "
428
+ labelTip: localeKey('childrenKey.labelTip')
424
429
  },
425
430
  selectValueKey: {
426
431
  key: 'valueKey',
427
- label: '选项值字段',
432
+ label: localeKey('selectValueKey.label'),
428
433
  type: 'SetExpressionKey'
429
434
  },
430
435
  selectLabelKey: {
431
436
  key: 'labelKey',
432
- label: '选项内容字段',
437
+ label: localeKey('selectLabelKey.label'),
433
438
  type: 'SetExpressionKey'
434
439
  },
435
440
  selectValueKeyForRC: {
436
441
  key: 'valueKey',
437
- label: '显示值字段',
442
+ label: localeKey('selectValueKeyForRC.label'),
438
443
  type: 'SetExpressionKey'
439
444
  },
440
445
  selectLabelKeyForRC: {
441
446
  key: 'labelKey',
442
- label: '显示内容字段',
447
+ label: localeKey('selectLabelKeyForRC.label'),
443
448
  type: 'SetExpressionKey'
444
449
  },
445
450
  total: {
446
451
  key: 'total',
447
- label: '总条数',
452
+ label: localeKey('total.label'),
448
453
  type: 'SetExpression'
449
454
  },
450
455
  curPage: {
451
456
  key: 'current',
452
- label: '更新页码',
457
+ label: localeKey('curPage.label'),
453
458
  type: 'SetExpression'
454
459
  },
455
460
  pathname: {
456
461
  key: 'pathname',
457
- label: '页面',
462
+ label: localeKey('pathname.label'),
458
463
  type: 'SelectPage'
459
464
  },
460
465
  dropPathname: {
461
466
  key: 'dropPathname',
462
- label: '页面',
467
+ label: localeKey('dropPathname.label'),
463
468
  type: 'MultiselectPage'
464
469
  },
465
470
  searchParams: {
466
471
  key: 'search',
467
- label: 'url参数',
472
+ label: localeKey('searchParams.label'),
468
473
  type: 'SearchParams'
469
474
  },
470
475
  routerData: {
471
476
  key: 'search',
472
- label: '路由数据',
477
+ label: localeKey('routerData.label'),
473
478
  type: 'RouterData'
474
479
  },
475
480
  // TODO: 这个key在todoActionList中没找到,应该是没被使用,暂时注释。
@@ -479,174 +484,175 @@ var todoOptionList = {
479
484
  // },
480
485
  modalname: {
481
486
  key: 'modalname',
482
- label: '弹窗',
487
+ label: localeKey('modalname.label'),
483
488
  type: 'SelectModal'
484
489
  },
485
490
  drawerPath: {
486
491
  key: 'drawerPath',
487
- label: '推拉门',
492
+ label: localeKey('drawerPath.label'),
488
493
  type: 'SelectDrawer'
489
494
  },
490
495
  compState: {
491
496
  key: 'compState',
492
- label: '组件状态',
497
+ label: localeKey('compState.label'),
493
498
  type: 'CompState'
494
499
  },
495
500
  activeTabKey: {
496
501
  key: 'activeTabKey',
497
- label: 'Tab选中key',
502
+ label: localeKey('activeTabKey.label'),
498
503
  type: 'ActiveTabKey'
499
504
  },
500
505
  downloadUrl: {
501
506
  key: 'downloadUrl',
502
- label: '下载链接地址',
507
+ label: localeKey('downloadUrl.label'),
503
508
  type: 'DownloadUrl'
504
509
  },
505
510
  uploadProps: {
506
511
  key: 'uploadProps',
507
- label: '上传参数',
512
+ label: localeKey('uploadProps.label'),
508
513
  type: 'SelectParams'
509
514
  },
510
515
  inlineeditnow: {
511
516
  key: 'inlineeditnow',
512
- label: '新增后启用行内编辑',
517
+ label: localeKey('inlineeditnow.label'),
513
518
  type: 'Select',
514
519
  props: {
515
520
  options: [{
516
- title: '',
521
+ title: localeKey('inlineeditnow.props.options.0.title'),
517
522
  value: false
518
523
  }, {
519
- title: '',
524
+ title: localeKey('inlineeditnow.props.options.1.title'),
520
525
  value: true
521
526
  }]
522
527
  }
523
528
  },
524
529
  disabled: {
525
530
  key: 'disabled',
526
- label: '状态设置',
531
+ label: localeKey('disabled.label'),
527
532
  type: 'RadioButton',
528
533
  defaultValue: 'toggle',
529
534
  props: {
530
535
  options: [{
531
- title: '启动',
536
+ title: localeKey('disabled.props.options.0.title'),
532
537
  value: ''
533
538
  }, {
534
- title: '禁用',
539
+ title: localeKey('disabled.props.options.1.title'),
535
540
  value: 'true'
536
541
  }, {
537
- title: '切换',
542
+ title: localeKey('disabled.props.options.2.title'),
538
543
  value: 'toggle'
539
544
  }]
540
545
  }
541
546
  },
542
547
  required: {
543
548
  key: 'required',
544
- label: '必填设置',
549
+ label: localeKey('required.label'),
545
550
  type: 'RadioButton',
546
551
  defaultValue: 'toggle',
547
552
  props: {
548
553
  options: [{
549
- title: '必填',
554
+ title: localeKey('required.props.options.0.title'),
550
555
  value: 'true'
551
556
  }, {
552
- title: '非必填',
557
+ title: localeKey('required.props.options.1.title'),
553
558
  value: ''
554
559
  }, {
555
- title: '切换',
560
+ title: localeKey('required.props.options.2.title'),
556
561
  value: 'toggle'
557
562
  }]
558
563
  }
559
564
  },
560
565
  colName: {
561
566
  key: 'colName',
562
- label: '翻译字段',
567
+ label: localeKey('colName.label'),
563
568
  type: 'SelectTableCol'
564
569
  },
565
570
  colNameForEdit: {
566
571
  key: 'colNameForEdit',
567
- label: '字段',
572
+ label: localeKey('colNameForEdit.label'),
568
573
  type: 'SelectTableCol'
569
574
  },
570
575
  nodeKey: {
571
576
  key: 'nodeKey',
572
- label: '操作节点key',
577
+ label: localeKey('nodeKey.label'),
573
578
  type: 'SetExpression'
574
579
  },
575
580
  valueKey: {
576
581
  key: 'key',
577
- label: '节点key取值字段',
582
+ label: localeKey('valueKey.label'),
578
583
  type: 'SetExpression'
579
584
  },
580
585
  titleKey: {
581
586
  key: 'title',
582
- label: '节点名称取值字段',
587
+ label: localeKey('titleKey.label'),
583
588
  type: 'SetExpression'
584
589
  },
585
590
  stateName: {
586
591
  key: 'stateName',
587
- label: '自定义属性名',
592
+ label: localeKey('stateName.label'),
588
593
  type: 'Input'
589
594
  },
590
595
  inlineeditrow: {
591
596
  key: 'inlineeditrow',
592
- label: '指定行id',
597
+ label: localeKey('inlineeditrow.label'),
593
598
  type: 'SetExpression'
594
599
  },
595
600
  stateval: {
596
601
  key: 'stateval',
597
- label: '内容',
602
+ label: localeKey('stateval.label'),
598
603
  type: 'SetExpression'
599
604
  },
600
605
  timername: {
601
606
  key: 'timername',
602
- label: '定时器命名(页面内不可重复)',
607
+ label: localeKey('timername.label'),
603
608
  type: 'Input'
604
609
  },
605
610
  interval: {
606
611
  key: 'interval',
607
- label: '时间间隔',
612
+ label: localeKey('interval.label'),
608
613
  type: 'InputNumber',
609
614
  props: {
610
- unit: '毫秒'
615
+ unit: localeKey('interval.props.unit')
611
616
  }
612
617
  },
613
618
  targettimer: {
614
619
  key: 'targettimer',
615
- label: '定时器名称',
620
+ label: localeKey('targettimer.label'),
616
621
  type: 'SelectTimer'
617
622
  },
618
623
  customCallback: {
619
624
  key: 'customCallback',
620
- label: '回调',
625
+ label: localeKey('customCallback.label'),
621
626
  type: 'SelectCustomCallback'
622
627
  },
623
628
  stepsCurrent: {
624
629
  key: 'current',
625
- label: '当前步骤',
630
+ label: localeKey('stepsCurrent.label'),
626
631
  type: 'SetExpression'
627
632
  },
628
633
  compId: {
629
634
  key: 'compid',
630
- label: '组件选择',
635
+ // 避免与action options对象中默认compId重名
636
+ label: localeKey('compId.label'),
631
637
  type: 'CompTree'
632
638
  },
633
639
  selectComp: {
634
640
  key: 'compid',
635
- label: '组件选择',
641
+ label: localeKey('selectComp.label'),
636
642
  type: 'SelectComp'
637
643
  },
638
644
  fileName: {
639
645
  key: 'fileName',
640
- label: '自定义文件名称',
646
+ label: localeKey('fileName.label'),
641
647
  type: 'SetExpression',
642
- labelTip: '未设置文件名称时,则为文件原本的名称',
648
+ labelTip: localeKey('fileName.labelTip'),
643
649
  props: {
644
- placeholder: '包括后缀,如: 表格.xls'
650
+ placeholder: localeKey('fileName.props.placeholder')
645
651
  }
646
652
  },
647
653
  loadmoreKey: {
648
654
  key: 'loadmoreKey',
649
- label: '更新参数',
655
+ label: localeKey('loadmoreKey.label'),
650
656
  type: 'SetCustomParams'
651
657
  },
652
658
  wechatappId: {
@@ -654,117 +660,117 @@ var todoOptionList = {
654
660
  label: 'appId',
655
661
  type: 'Input',
656
662
  props: {
657
- placeholder: '如:wx_xxxxx'
663
+ placeholder: localeKey('wechatappId.props.placeholder')
658
664
  }
659
665
  },
660
666
  jsonId: {
661
667
  key: 'jsonId',
662
- label: '页面',
668
+ label: localeKey('jsonId.label'),
663
669
  type: 'SelectPage'
664
670
  },
665
671
  fileId: {
666
672
  key: 'fileId',
667
- label: '文件ID',
673
+ label: localeKey('fileId.label'),
668
674
  type: 'SetExpression',
669
- labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等 注意:如果是外部URL,有可能存在跨域现象! 注意:如果是外部URL,有可能存在跨域现象!'
675
+ labelTip: localeKey('fileId.labelTip')
670
676
  },
671
677
  loadMoreTotal: {
672
678
  key: 'total',
673
- label: '总条数',
679
+ label: localeKey('loadMoreTotal.label'),
674
680
  type: 'SetExpression'
675
681
  },
676
682
  loadMoreData: {
677
683
  key: 'data',
678
- label: '数据源',
684
+ label: localeKey('loadMoreData.label'),
679
685
  type: 'SetExpression'
680
686
  },
681
687
  aliasPageNum: {
682
688
  key: 'pageNum',
683
- label: '页码字段名',
689
+ label: localeKey('aliasPageNum.label'),
684
690
  type: 'SetExpression'
685
691
  },
686
692
  jsBridgeMethod: {
687
693
  key: 'method',
688
- label: '方法名',
694
+ label: localeKey('jsBridgeMethod.label'),
689
695
  type: 'input',
690
696
  props: {
691
- placeholder: '例如:openCamera'
697
+ placeholder: localeKey('jsBridgeMethod.props.placeholder')
692
698
  }
693
699
  },
694
700
  androidWebName: {
695
701
  key: 'androidWebName',
696
- label: '安卓容器名称',
702
+ label: localeKey('androidWebName.label'),
697
703
  type: 'input',
698
704
  props: {
699
- placeholder: '默认:Android'
705
+ placeholder: localeKey('androidWebName.props.placeholder')
700
706
  }
701
707
  },
702
708
  androidSuccessFunName: {
703
709
  key: 'androidSuccessFunName',
704
- label: '安卓端成功回调方法名',
710
+ label: localeKey('androidSuccessFunName.label'),
705
711
  type: 'input',
706
712
  props: {
707
- placeholder: '例如:openCameraSuccess[用于Android成功回调H5]'
713
+ placeholder: localeKey('androidSuccessFunName.props.placeholder')
708
714
  }
709
715
  },
710
716
  iOSSuccessFunName: {
711
717
  key: 'iOSSuccessFunName',
712
- label: 'iOS端成功回调方法名',
718
+ label: localeKey('iOSSuccessFunName.label'),
713
719
  type: 'input',
714
720
  props: {
715
- placeholder: '例如:openCameraSuccess[用于iOS成功回调H5]'
721
+ placeholder: localeKey('iOSSuccessFunName.props.placeholder')
716
722
  }
717
723
  },
718
724
  androidFailFunName: {
719
725
  key: 'androidFailFunName',
720
- label: '安卓端失败回调方法名',
726
+ label: localeKey('androidFailFunName.label'),
721
727
  type: 'input',
722
728
  props: {
723
- placeholder: '例如:openCameraFail[用于Android失败的回调H5]'
729
+ placeholder: localeKey('androidFailFunName.props.placeholder')
724
730
  }
725
731
  },
726
732
  iOSFailFunName: {
727
733
  key: 'iOSFailFunName',
728
- label: 'iOS端失败回调方法名',
734
+ label: localeKey('iOSFailFunName.label'),
729
735
  type: 'input',
730
736
  props: {
731
- placeholder: '例如:openCameraFail[用于iOS失败的回调H5]'
737
+ placeholder: localeKey('iOSFailFunName.props.placeholder')
732
738
  }
733
739
  },
734
740
  customParams: {
735
741
  key: 'customParams',
736
- label: '自定义入参',
742
+ label: localeKey('customParams.label'),
737
743
  type: 'SelectCustomParams'
738
744
  },
739
745
  selectScene: {
740
746
  key: 'scene',
741
- label: '选择场景',
747
+ label: localeKey('selectScene.label'),
742
748
  type: 'SelectScene'
743
749
  },
744
750
  flowUrl: {
745
751
  key: 'flowUrl',
746
- label: '流程请求接口',
752
+ label: localeKey('flowUrl.label'),
747
753
  type: 'input'
748
754
  },
749
755
  flowType: {
750
756
  key: 'flowType',
751
- label: '流程类型',
757
+ label: localeKey('flowType.label'),
752
758
  type: 'Select',
753
759
  props: {
754
760
  options: [{
755
- title: '启动',
761
+ title: localeKey('flowType.props.options.0.title'),
756
762
  value: 'initiate'
757
763
  }, {
758
- title: '通过',
764
+ title: localeKey('flowType.props.options.1.title'),
759
765
  value: 'pass'
760
766
  }, {
761
- title: '拒绝',
767
+ title: localeKey('flowType.props.options.2.title'),
762
768
  value: 'refuse'
763
769
  }, {
764
- title: '转派',
770
+ title: localeKey('flowType.props.options.3.title'),
765
771
  value: 'transfer'
766
772
  }, {
767
- title: '通用',
773
+ title: localeKey('flowType.props.options.4.title'),
768
774
  value: 'customized'
769
775
  }]
770
776
  }
@@ -772,11 +778,10 @@ var todoOptionList = {
772
778
  // 流程业务工单 ID
773
779
  flowWorkOrderId: {
774
780
  key: 'workOrderId',
775
- label: '业务工单 ID',
781
+ label: localeKey('flowWorkOrderId.label'),
776
782
  type: 'SetExpression'
777
783
  },
778
784
  // 这里三个字段没设置type。经协商(gy)为无用类型,先注释
779
- // 流程页面按钮动作服务响应数据
780
785
  // flowSerResp: {
781
786
  // key: 'serResp',
782
787
  // label: '服务响应数据',
@@ -792,63 +797,63 @@ var todoOptionList = {
792
797
  // 流程编辑
793
798
  flowCode: {
794
799
  key: 'flowCode',
795
- label: '选择流程',
800
+ label: localeKey('flowCode.label'),
796
801
  type: 'SelectFlowCode'
797
802
  },
798
803
  // 业务工单类型
799
804
  workOrderType: {
800
805
  key: 'workOrderType',
801
- label: '业务工单类型',
806
+ label: localeKey('workOrderType.label'),
802
807
  type: 'SetExpression'
803
808
  },
804
809
  flowAuditDesc: {
805
810
  key: 'flowAuditDesc',
806
- label: '审核意见',
811
+ label: localeKey('flowAuditDesc.label'),
807
812
  type: 'SetExpression'
808
813
  },
809
814
  flowFileId: {
810
815
  key: 'flowFileId',
811
- label: '附件ID',
816
+ label: localeKey('flowFileId.label'),
812
817
  type: 'SetExpression'
813
818
  },
814
819
  configDealUserId: {
815
820
  key: 'configDealUserId',
816
- label: '指定处理人',
821
+ label: localeKey('configDealUserId.label'),
817
822
  type: 'SetExpression'
818
823
  },
819
824
  flowBtnActionType: {
820
825
  key: 'flowBtnActionType',
821
- label: '按钮动作类型',
826
+ label: localeKey('flowBtnActionType.label'),
822
827
  type: 'SetExpression'
823
828
  },
824
829
  flowWorkId: {
825
830
  key: 'flowWorkId',
826
- label: '流程实例ID',
831
+ label: localeKey('flowWorkId.label'),
827
832
  type: 'SetExpression'
828
833
  },
829
834
  flowTabStepVisible: {
830
835
  key: 'flowTabStepVisible',
831
- label: '展示流程实例图',
836
+ label: localeKey('flowTabStepVisible.label'),
832
837
  type: 'Switch'
833
838
  },
834
839
  flowTimelineVisible: {
835
840
  key: 'flowTimelineVisible',
836
- label: '展示流程轨迹',
841
+ label: localeKey('flowTimelineVisible.label'),
837
842
  type: 'Switch'
838
843
  },
839
844
  flowCustParams: {
840
845
  key: 'flowCustParams',
841
- label: '自定义参数',
846
+ label: localeKey('flowCustParams.label'),
842
847
  type: 'SetCustomParams'
843
848
  },
844
849
  workItemId: {
845
850
  key: 'workItemId',
846
- label: '工单ID',
851
+ label: localeKey('workItemId.label'),
847
852
  type: 'SetExpression'
848
853
  },
849
854
  flowExtraParams: {
850
855
  key: 'flowExtraParams',
851
- label: '目标环节',
856
+ label: localeKey('flowExtraParams.label'),
852
857
  type: 'SetRollbackFlowOptions',
853
858
  props: {
854
859
  isRequired: true
@@ -867,31 +872,31 @@ var todoOptionList = {
867
872
  // },
868
873
  diagramType: {
869
874
  key: 'diagramType',
870
- label: '选择实例图类型',
875
+ label: localeKey('diagramType.label'),
871
876
  type: 'Select',
872
877
  props: {
873
878
  options: [{
874
- title: '当前流程实例图',
879
+ title: localeKey('diagramType.props.options.0.title'),
875
880
  value: 'default'
876
881
  }, {
877
- title: '指定主干流程实例图',
882
+ title: localeKey('diagramType.props.options.1.title'),
878
883
  value: 'custom'
879
884
  }]
880
885
  }
881
886
  },
882
887
  diagramFlowCode: {
883
888
  key: 'diagramFlowCode',
884
- label: '选择流程',
889
+ label: localeKey('diagramFlowCode.label'),
885
890
  type: 'SelectFlowCode'
886
891
  },
887
892
  diagramWorkOrderId: {
888
893
  key: 'diagramWorkOrderId',
889
- label: '业务单ID',
894
+ label: localeKey('diagramWorkOrderId.label'),
890
895
  type: 'SetExpression'
891
896
  },
892
897
  selectServerDataSource: {
893
898
  key: 'selectServerDataSource',
894
- label: '选择数据源',
899
+ label: localeKey('selectServerDataSource.label'),
895
900
  props: {
896
901
  options: {
897
902
  key: 'dataSourceReloadFilter',
@@ -903,7 +908,7 @@ var todoOptionList = {
903
908
  },
904
909
  selectAllDataSource: {
905
910
  key: 'selectAllDataSource',
906
- label: '选择数据源',
911
+ label: localeKey('selectAllDataSource.label'),
907
912
  type: 'SelectAllDataSource',
908
913
  props: {
909
914
  options: {
@@ -915,24 +920,24 @@ var todoOptionList = {
915
920
  },
916
921
  selectCompFunc: {
917
922
  key: 'selectCompFunc',
918
- label: '方法',
923
+ label: localeKey('selectCompFunc.label'),
919
924
  type: 'SelectCompFunc'
920
925
  },
921
926
  setCompParams: {
922
927
  key: 'uploadProps',
923
- label: '参数',
928
+ label: localeKey('setCompParams.label'),
924
929
  type: 'SetCompParams'
925
930
  },
926
931
  dataSourceReloadFilter: {
927
932
  key: 'dataSourceReloadFilter',
928
933
  // label: '参数',
929
- label: '数据源赋值',
934
+ label: localeKey('dataSourceReloadFilter.label'),
930
935
  // label: '数据源过滤条件',
931
936
  type: 'dataSourceReloadFilter'
932
937
  },
933
938
  dataSourceSetValue: {
934
939
  key: 'dataSourceSetValue',
935
- label: '数据源赋值',
940
+ label: localeKey('dataSourceSetValue.label'),
936
941
  type: 'dataSourceSetValue'
937
942
  },
938
943
  // onlySetPatch: {
@@ -946,73 +951,72 @@ var todoOptionList = {
946
951
  // },
947
952
  onlySetPatch: {
948
953
  key: 'onlySetPatch',
949
- label: '赋值范围',
954
+ label: localeKey('onlySetPatch.label'),
950
955
  type: 'Radio',
951
956
  props: {
952
957
  options: [{
953
- title: '局部赋值',
958
+ title: localeKey('onlySetPatch.props.options.0.title'),
954
959
  value: true
955
960
  }, {
956
- title: '全部赋值',
961
+ title: localeKey('onlySetPatch.props.options.1.title'),
957
962
  value: false
958
963
  }]
959
964
  }
960
965
  },
961
966
  selectObjectDataSource: {
962
967
  key: 'selectObjectDataSource',
963
- label: '选择业务对象数据源',
968
+ label: localeKey('selectObjectDataSource.label'),
964
969
  type: 'selectObjectDataSource',
965
970
  props: {
966
971
  isRequired: true,
967
972
  valuePropName: 'postDataSource' // 编辑后值存于 options.postDataSource
968
973
  }
969
974
  },
970
-
971
975
  iframeData: {
972
976
  key: 'iframeData',
973
- label: '发送内容',
977
+ label: localeKey('iframeData.label'),
974
978
  type: 'SetExpression'
975
979
  },
976
980
  iframeOrigin: {
977
981
  key: 'iframeOrigin',
978
- label: '发送目标源',
982
+ label: localeKey('iframeOrigin.label'),
979
983
  type: 'SetExpression'
980
984
  },
981
985
  rProps: {
982
986
  key: 'rProps',
983
- label: '设置自定义组件属性',
987
+ label: localeKey('rProps.label'),
984
988
  type: 'SelectCustomParams'
985
989
  },
986
990
  hasEventExtService: {
987
991
  key: 'hasEventExtService',
988
- label: '需要开启服务扩展',
992
+ label: localeKey('hasEventExtService.label'),
989
993
  type: 'Select',
990
994
  props: {
991
995
  options: [{
992
- title: '',
996
+ title: localeKey('hasEventExtService.props.options.0.title'),
993
997
  value: 'T'
994
998
  }, {
995
- title: '',
999
+ title: localeKey('hasEventExtService.props.options.1.title'),
996
1000
  value: 'F'
997
1001
  }]
998
1002
  }
999
1003
  },
1000
1004
  eventExtService: {
1001
1005
  key: 'eventExtService',
1002
- label: '选择业务场景来扩展服务',
1006
+ label: localeKey('eventExtService.label'),
1003
1007
  type: 'SetEventExtService'
1004
1008
  },
1005
1009
  tempName: {
1006
1010
  key: 'name',
1007
- label: '设置模板名称',
1011
+ label: localeKey('tempName.label'),
1008
1012
  type: 'Input',
1009
1013
  props: {
1010
- placeholder: '请输入模板名称'
1014
+ placeholder: localeKey('tempName.props.placeholder')
1011
1015
  }
1012
1016
  },
1013
1017
  busiObjectId: {
1014
1018
  key: 'busiObjectId',
1015
- label: '选择业务对象',
1019
+ label: localeKey('busiObjectId.label'),
1016
1020
  type: 'SelectBusiObjectId',
1017
1021
  props: {
1018
1022
  isRequired: true,
@@ -1021,18 +1025,18 @@ var todoOptionList = {
1021
1025
  },
1022
1026
  busiObjectFilterParams: {
1023
1027
  key: 'busiObjectFilterParams',
1024
- label: '查询条件',
1028
+ label: localeKey('busiObjectFilterParams.label'),
1025
1029
  type: 'SetExpression'
1026
1030
  },
1027
1031
  filterParams: {
1028
1032
  // 入参
1029
1033
  key: 'filterParams',
1030
- label: '查询条件',
1034
+ label: localeKey('filterParams.label'),
1031
1035
  type: 'SetExpression'
1032
1036
  },
1033
1037
  busiObjectFields: {
1034
1038
  key: 'busiObjectFields',
1035
- label: '筛选字段',
1039
+ label: localeKey('busiObjectFields.label'),
1036
1040
  type: 'SelectBusiObjectFields',
1037
1041
  props: {
1038
1042
  isRequired: true,
@@ -1041,38 +1045,38 @@ var todoOptionList = {
1041
1045
  },
1042
1046
  showOnly: {
1043
1047
  key: 'showOnly',
1044
- label: '只解析不入库',
1048
+ label: localeKey('showOnly.label'),
1045
1049
  type: 'Select',
1046
1050
  defaultValue: 'F',
1047
1051
  props: {
1048
1052
  options: [{
1049
- title: '',
1053
+ title: localeKey('showOnly.props.options.0.title'),
1050
1054
  value: 'T'
1051
1055
  }, {
1052
- title: '',
1056
+ title: localeKey('showOnly.props.options.1.title'),
1053
1057
  value: 'F'
1054
1058
  }]
1055
1059
  }
1056
1060
  },
1057
1061
  objectFields: {
1058
1062
  key: 'objectFields',
1059
- label: '导出字段',
1063
+ label: localeKey('objectFields.label'),
1060
1064
  type: 'SelectServiceObjectFields',
1061
1065
  props: {
1062
1066
  isRequired: true,
1063
1067
  options: {
1064
1068
  fieldKey: 'serviceData',
1065
1069
  customKeyMap: {
1066
- fieldData: '字段数据',
1067
- attrCode: '字段编码',
1068
- attrName: '字段名称'
1070
+ fieldData: localeKey('objectFields.props.options.customKeyMap.fieldData'),
1071
+ attrCode: localeKey('objectFields.props.options.customKeyMap.attrCode'),
1072
+ attrName: localeKey('objectFields.props.options.customKeyMap.attrName')
1069
1073
  }
1070
1074
  }
1071
1075
  }
1072
1076
  },
1073
1077
  custFileName: {
1074
1078
  key: 'custFileName',
1075
- label: '自定义文件名',
1079
+ label: localeKey('custFileName.label'),
1076
1080
  type: 'SetExpression',
1077
1081
  props: {
1078
1082
  isRequired: true,
@@ -1081,37 +1085,37 @@ var todoOptionList = {
1081
1085
  },
1082
1086
  custSheetName: {
1083
1087
  key: 'custSheetName',
1084
- label: 'sheet页名称',
1088
+ label: localeKey('custSheetName.label'),
1085
1089
  type: 'SetExpression'
1086
1090
  },
1087
1091
  className: {
1088
1092
  key: 'className',
1089
- label: '类名称',
1093
+ label: localeKey('className.label'),
1090
1094
  type: 'Input'
1091
1095
  },
1092
1096
  funcName: {
1093
1097
  key: 'funcName',
1094
- label: '函数名称',
1098
+ label: localeKey('funcName.label'),
1095
1099
  type: 'Input'
1096
1100
  },
1097
1101
  funcParams: {
1098
1102
  key: 'funcParams',
1099
- label: '自定义入参',
1103
+ label: localeKey('funcParams.label'),
1100
1104
  type: 'SetExpressionByArray'
1101
1105
  },
1102
1106
  valueList: {
1103
1107
  key: 'valueList',
1104
- label: '组件赋值',
1108
+ label: localeKey('valueList.label'),
1105
1109
  type: 'SetSysExpression'
1106
1110
  },
1107
1111
  customFuncName: {
1108
1112
  key: 'customFuncName',
1109
- label: '自定义事件',
1113
+ label: localeKey('customFuncName.label'),
1110
1114
  type: 'SelectCustomFunc'
1111
1115
  },
1112
1116
  customFuncParams: {
1113
1117
  key: 'customFuncParams',
1114
- label: '事件入参',
1118
+ label: localeKey('customFuncParams.label'),
1115
1119
  type: 'SelectParams'
1116
1120
  },
1117
1121
  // sceneCode: {
@@ -1121,7 +1125,7 @@ var todoOptionList = {
1121
1125
  // },
1122
1126
  custUrl: {
1123
1127
  key: 'custUrl',
1124
- label: '导入服务',
1128
+ label: localeKey('custUrl.label'),
1125
1129
  type: 'SelectCustomExportService',
1126
1130
  props: {
1127
1131
  isRequired: true,
@@ -1130,241 +1134,236 @@ var todoOptionList = {
1130
1134
  refreshKey: ['objectFields'],
1131
1135
  serviceTabs: [{
1132
1136
  key: SERVICE_KEY.STD,
1133
- description: '此处仅展示开启文件入参的编排服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数',
1137
+ description: localeKey('custUrl.props.options.serviceTabs.0.description'),
1134
1138
  filterParams: {
1135
1139
  fileInputEnabled: 'T'
1136
1140
  }
1137
1141
  }, {
1138
1142
  key: SERVICE_KEY.INNER,
1139
1143
  fileUpload: true,
1140
- description: '此处仅展示开启上传控件中使用的请求层服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数'
1144
+ description: localeKey('custUrl.props.options.serviceTabs.1.description')
1141
1145
  }]
1142
1146
  }
1143
1147
  }
1144
1148
  },
1145
1149
  custParams: {
1146
1150
  key: 'custParams',
1147
- label: '自定义参数',
1151
+ label: localeKey('custParams.label'),
1148
1152
  type: 'SetCustomParams'
1149
1153
  },
1150
1154
  compToPrint: {
1151
1155
  key: 'compToPrint',
1152
- label: '自定义打印区域(可选)',
1156
+ label: localeKey('compToPrint.label'),
1153
1157
  type: 'CompTree'
1154
1158
  },
1155
1159
  custTpl: {
1156
1160
  key: 'custTpl',
1157
- label: '配置导入模板',
1161
+ label: localeKey('custTpl.label'),
1158
1162
  type: 'UploadFile'
1159
1163
  },
1160
1164
  returnType: {
1161
1165
  key: 'returnType',
1162
- label: '返回类型',
1166
+ label: localeKey('returnType.label'),
1163
1167
  type: 'RadioButton',
1164
- labelTip: "\n 1\u3001\u503C\uFF1A\u7528\u4E8E\u6570\u636E\u8FD4\u56DE\uFF0C\u6BD4\u5982\u83B7\u53D6\u9875\u9762\u8868\u5355\u6570\u636E\uFF0C\u9000\u51FA\u540E\u8FDB\u884C\u6570\u636E\u4F20\u9012\uFF1B<br />\n 2\u3001\u6210\u529F\uFF1A\u7528\u4E8E\u6210\u529F\u6807\u5FD7\u8FD4\u56DE\uFF0C\u5C06\u89E6\u53D1\u8C03\u7528\u65B9\u7684\u6210\u529F\u56DE\u8C03\uFF1B<br />\n 3\u3001\u5931\u8D25\uFF1A\u7528\u4E8E\u5931\u8D25\u6807\u5FD7\u8FD4\u56DE\uFF0C\u5C06\u89E6\u53D1\u8C03\u7528\u65B9\u7684\u5931\u8D25\u56DE\u8C03\u3002\n ",
1168
+ labelTip: localeKey('returnType.labelTip'),
1165
1169
  props: {
1166
1170
  options: [{
1167
- title: '',
1171
+ title: localeKey('returnType.props.options.0.title'),
1168
1172
  value: 'value'
1169
1173
  }, {
1170
- title: '成功',
1174
+ title: localeKey('returnType.props.options.1.title'),
1171
1175
  value: 'success'
1172
1176
  }, {
1173
- title: '失败',
1177
+ title: localeKey('returnType.props.options.2.title'),
1174
1178
  value: 'failure'
1175
1179
  }]
1176
1180
  }
1177
1181
  },
1178
1182
  returnValue: {
1179
1183
  key: 'returnValue',
1180
- label: '返回内容(可选)',
1184
+ label: localeKey('returnValue.label'),
1181
1185
  type: 'SetExpression'
1182
1186
  },
1183
1187
  copyText: {
1184
1188
  key: 'copyText',
1185
- label: '复制内容',
1189
+ label: localeKey('copyText.label'),
1186
1190
  type: 'SetExpression'
1187
1191
  },
1188
1192
  isPreventDefault: {
1189
1193
  key: 'isPreventDefault',
1190
- label: '中止默认动作(高级)',
1194
+ label: localeKey('isPreventDefault.label'),
1191
1195
  type: 'Select',
1192
1196
  props: {
1193
1197
  options: [{
1194
- title: '',
1198
+ title: localeKey('isPreventDefault.props.options.0.title'),
1195
1199
  value: 'T'
1196
1200
  }, {
1197
- title: '',
1201
+ title: localeKey('isPreventDefault.props.options.1.title'),
1198
1202
  value: 'F'
1199
1203
  }]
1200
1204
  },
1201
- labelTip: "\n \u6307\u4E2D\u6B62\u6D4F\u89C8\u5668\u9ED8\u8BA4\u884C\u4E3A\uFF1A<br />\n \u6BD4\u5982\u4E2D\u6B62\u6253\u5F00\u6587\u4EF6\u9009\u62E9\u5668\u3001\u4E2D\u6B62\u6587\u4EF6\u4E0B\u8F7D\u7B49\u884C\u4E3A\u3002\n "
1205
+ labelTip: localeKey('isPreventDefault.labelTip')
1202
1206
  },
1203
1207
  isStopPropagation: {
1204
1208
  key: 'isStopPropagation',
1205
- label: '阻止事件冒泡(高级)',
1209
+ label: localeKey('isStopPropagation.label'),
1206
1210
  type: 'Select',
1207
- labelTip: "\n \u6307\u53EA\u89E6\u53D1\u5F53\u524D\u7EC4\u4EF6\u914D\u7F6E\u7684\u4E8B\u4EF6\uFF1A<br />\n \u6BD4\u5982\u7A7A\u767D\u5BB9\u5668\u91CC\u653E\u7F6E\u6309\u94AE\uFF0C \u7A7A\u767D\u5BB9\u5668\u548C\u6309\u94AE\u90FD\u914D\u7F6E\u70B9\u51FB\u4E8B\u4EF6\uFF0C\u6B63\u5E38\u70B9\u51FB\u6309\u94AE\u7684\u65F6\u5019\u5C31\u89E6\u53D1\u4E24\u4E2A\u70B9\u51FB\u4E8B\u4EF6\uFF0C\u4F46\u963B\u6B62\u4E8B\u4EF6\u5192\u6CE1\u5C31\u4E0D\u4F1A\u6267\u884C\u5230\u7A7A\u767D\u5BB9\u5668\u7684\u70B9\u51FB\u4E8B\u4EF6\u3002\n ",
1211
+ labelTip: localeKey('isStopPropagation.labelTip'),
1208
1212
  props: {
1209
1213
  options: [{
1210
- title: '',
1214
+ title: localeKey('isStopPropagation.props.options.0.title'),
1211
1215
  value: 'T'
1212
1216
  }, {
1213
- title: '',
1217
+ title: localeKey('isStopPropagation.props.options.1.title'),
1214
1218
  value: 'F'
1215
1219
  }]
1216
1220
  }
1217
1221
  },
1218
1222
  // 支撑 DICT 项目需求, accountDivide 分账计划,后续可能有变动 start
1219
- payCycle: {
1220
- key: 'payCycle',
1221
- label: '出账方式',
1222
- type: 'SetExpression'
1223
- },
1224
- prodCode: {
1225
- key: 'prodCode',
1226
- label: '产品编码',
1227
- type: 'SetExpression'
1228
- },
1229
- totalAmount: {
1230
- key: 'totalAmount',
1231
- label: '总金额',
1232
- type: 'SetExpression'
1233
- },
1234
- adStartDate: {
1235
- key: 'adStartDate',
1236
- label: '开始年月(格式:2021-12)',
1237
- type: 'SetExpression'
1238
- },
1239
- adEndDate: {
1240
- key: 'adEndDate',
1241
- label: '结束年月(格式:2021-12)',
1242
- type: 'SetExpression'
1243
- },
1244
- adList: {
1245
- key: 'adList',
1246
- label: '计划详情',
1247
- type: 'SetExpression'
1248
- },
1249
- adOperationType: {
1250
- key: 'adOperationType',
1251
- label: '操作类型',
1252
- type: 'Select',
1253
- props: {
1254
- options: [{
1255
- title: '新建分账计划',
1256
- value: 'new'
1257
- }, {
1258
- title: '修改分账计划',
1259
- value: 'edit'
1260
- }, {
1261
- title: '查看计划详情',
1262
- value: 'detail'
1263
- }]
1264
- }
1265
- },
1266
- adStartDateAfter: {
1267
- key: 'adStartDateAfter',
1268
- label: '变更后开始年月(格式:2021-12)',
1269
- type: 'SetExpression'
1270
- },
1271
- adTitle: {
1272
- key: 'adTitle',
1273
- label: '科目名称',
1274
- type: 'SetExpression'
1275
- },
1276
- adOldList: {
1277
- key: 'adOldList',
1278
- label: '变更前计划详情',
1279
- type: 'SetExpression'
1280
- },
1281
- adAfterList: {
1282
- key: 'adAfterList',
1283
- label: '变更后计划详情',
1284
- type: 'SetExpression'
1285
- },
1286
- payCycleAfter: {
1287
- key: 'payCycleAfter',
1288
- label: '变更后出账方式',
1289
- type: 'SetExpression'
1290
- },
1223
+ // payCycle: {
1224
+ // key: 'payCycle',
1225
+ // label: '出账方式',
1226
+ // type: 'SetExpression',
1227
+ // },
1228
+ // prodCode: {
1229
+ // key: 'prodCode',
1230
+ // label: '产品编码',
1231
+ // type: 'SetExpression',
1232
+ // },
1233
+ // totalAmount: {
1234
+ // key: 'totalAmount',
1235
+ // label: '总金额',
1236
+ // type: 'SetExpression',
1237
+ // },
1238
+ // adStartDate: {
1239
+ // key: 'adStartDate',
1240
+ // label: '开始年月(格式:2021-12)',
1241
+ // type: 'SetExpression',
1242
+ // },
1243
+ // adEndDate: {
1244
+ // key: 'adEndDate',
1245
+ // label: '结束年月(格式:2021-12)',
1246
+ // type: 'SetExpression',
1247
+ // },
1248
+ // adList: {
1249
+ // key: 'adList',
1250
+ // label: '计划详情',
1251
+ // type: 'SetExpression',
1252
+ // },
1253
+ // adOperationType: {
1254
+ // key: 'adOperationType',
1255
+ // label: '操作类型',
1256
+ // type: 'Select',
1257
+ // props: {
1258
+ // options: [
1259
+ // { title: '新建分账计划', value: 'new' },
1260
+ // { title: '修改分账计划', value: 'edit' },
1261
+ // { title: '查看计划详情', value: 'detail' },
1262
+ // ],
1263
+ // },
1264
+ // },
1265
+ // adStartDateAfter: {
1266
+ // key: 'adStartDateAfter',
1267
+ // label: '变更后开始年月(格式:2021-12)',
1268
+ // type: 'SetExpression',
1269
+ // },
1270
+ // adTitle: {
1271
+ // key: 'adTitle',
1272
+ // label: '科目名称',
1273
+ // type: 'SetExpression',
1274
+ // },
1275
+ // adOldList: {
1276
+ // key: 'adOldList',
1277
+ // label: '变更前计划详情',
1278
+ // type: 'SetExpression',
1279
+ // },
1280
+ // adAfterList: {
1281
+ // key: 'adAfterList',
1282
+ // label: '变更后计划详情',
1283
+ // type: 'SetExpression',
1284
+ // },
1285
+ // payCycleAfter: {
1286
+ // key: 'payCycleAfter',
1287
+ // label: '变更后出账方式',
1288
+ // type: 'SetExpression',
1289
+ // },
1291
1290
  accept: {
1292
1291
  key: 'accept',
1293
- label: '文件类型',
1292
+ label: localeKey('accept.label'),
1294
1293
  type: 'SetExpression'
1295
1294
  },
1296
1295
  custTplUrl: {
1297
1296
  key: 'custTplUrl',
1298
- label: '指定模板地址(可选)',
1297
+ label: localeKey('custTplUrl.label'),
1299
1298
  type: 'SetExpression'
1300
1299
  },
1301
1300
  name: {
1302
1301
  key: 'name',
1303
- label: '修改名称',
1302
+ label: localeKey('name.label'),
1304
1303
  type: 'Input',
1305
1304
  props: {
1306
- placeholder: '请输入名称'
1305
+ placeholder: localeKey('name.props.placeholder')
1307
1306
  }
1308
1307
  },
1309
1308
  icon: {
1310
1309
  key: 'icon',
1311
- label: '修改图标',
1310
+ label: localeKey('icon.label'),
1312
1311
  type: 'ChooseIcon',
1313
1312
  props: {
1314
- placeholder: '请选择图标'
1313
+ placeholder: localeKey('icon.props.placeholder')
1315
1314
  }
1316
1315
  },
1317
1316
  editorCode: {
1318
1317
  key: 'editorCode',
1319
- label: '自定义内容',
1318
+ label: localeKey('editorCode.label'),
1320
1319
  type: 'CustomActionCode'
1321
1320
  },
1322
1321
  actionTitle: {
1323
1322
  key: 'actionTitle',
1324
- label: '动作说明',
1323
+ label: localeKey('actionTitle.label'),
1325
1324
  type: 'CustomActionTitle',
1326
1325
  props: {
1327
- placeholder: '请输入动作说明',
1326
+ placeholder: localeKey('actionTitle.props.placeholder'),
1328
1327
  maxLength: 20
1329
1328
  }
1330
1329
  },
1331
1330
  sync: {
1332
1331
  key: 'sync',
1333
- label: '数据加载方式',
1332
+ label: localeKey('sync.label'),
1334
1333
  type: 'RadioButton',
1335
1334
  defaultValue: false,
1336
1335
  props: {
1337
1336
  options: [{
1338
- title: '异步加载',
1337
+ title: localeKey('sync.props.options.0.title'),
1339
1338
  value: false
1340
1339
  }, {
1341
- title: '同步加载',
1340
+ title: localeKey('sync.props.options.1.title'),
1342
1341
  value: true
1343
1342
  }]
1344
1343
  }
1345
1344
  },
1346
1345
  setItemKey: {
1347
1346
  key: 'key',
1348
- label: '字段名称',
1347
+ label: localeKey('setItemKey.label'),
1349
1348
  type: 'Input',
1350
1349
  props: {
1351
1350
  required: true,
1352
- placeholder: '请输入字段名值, 必须为英文'
1351
+ placeholder: localeKey('setItemKey.props.placeholder')
1353
1352
  }
1354
1353
  },
1355
1354
  mapKey: {
1356
1355
  key: 'mapKey',
1357
- label: '地图秘钥',
1356
+ label: localeKey('mapKey.label'),
1358
1357
  type: 'Input',
1359
1358
  props: {
1360
- placeholder: '请输入地图的秘钥',
1359
+ placeholder: localeKey('mapKey.props.placeholder'),
1361
1360
  valuePropName: 'mapKey',
1362
1361
  isRequired: true
1363
1362
  }
1364
1363
  },
1365
1364
  locationAlways: {
1366
1365
  key: 'locationAlways',
1367
- label: '是否持续定位',
1366
+ label: localeKey('locationAlways.label'),
1368
1367
  type: 'Switch',
1369
1368
  props: {
1370
1369
  defaultValue: false
@@ -1372,52 +1371,52 @@ var todoOptionList = {
1372
1371
  },
1373
1372
  locationOutputType: {
1374
1373
  key: 'locationOutputType',
1375
- label: '定位输出坐标系',
1374
+ label: localeKey('locationOutputType.label'),
1376
1375
  type: 'Select',
1377
1376
  defaultValue: 'BD09',
1378
1377
  props: {
1379
1378
  options: [{
1380
- title: '大地坐标系',
1379
+ title: localeKey('locationOutputType.props.options.0.title'),
1381
1380
  value: 'WGS84'
1382
1381
  }, {
1383
- title: '火星坐标系',
1382
+ title: localeKey('locationOutputType.props.options.1.title'),
1384
1383
  value: 'GCJ02'
1385
1384
  }, {
1386
- title: '百度坐标系',
1385
+ title: localeKey('locationOutputType.props.options.2.title'),
1387
1386
  value: 'BD09'
1388
1387
  }]
1389
1388
  }
1390
1389
  },
1391
1390
  appTableData: {
1392
1391
  key: 'appTableData',
1393
- label: '表头数据',
1392
+ label: localeKey('appTableData.label'),
1394
1393
  type: 'SetExpression'
1395
1394
  },
1396
1395
  appTableDataSource: {
1397
1396
  key: 'appTableDataSource',
1398
- label: '表格数据',
1397
+ label: localeKey('appTableDataSource.label'),
1399
1398
  type: 'SetExpression'
1400
1399
  },
1401
1400
  locationAddress: {
1402
1401
  key: 'locationAddress',
1403
- label: '是否需要地址信息',
1402
+ label: localeKey('locationAddress.label'),
1404
1403
  defaultValue: false,
1405
1404
  type: 'Switch'
1406
1405
  },
1407
1406
  exportSheet: {
1408
1407
  key: 'exportSheet',
1409
- label: 'sheet页设置',
1408
+ label: localeKey('exportSheet.label'),
1410
1409
  type: 'AddExportSheet',
1411
1410
  props: {
1412
1411
  valuePropName: 'exportSheet',
1413
1412
  isRequired: true,
1414
1413
  options: [{
1415
1414
  key: 'custSheetName',
1416
- label: 'sheet页名称',
1415
+ label: localeKey('exportSheet.props.options.0.label'),
1417
1416
  type: 'SetExpression'
1418
1417
  }, {
1419
1418
  key: 'serviceData',
1420
- label: '数据来源',
1419
+ label: localeKey('exportSheet.props.options.1.label'),
1421
1420
  type: 'SelectCustomExportService',
1422
1421
  props: {
1423
1422
  isRequired: true,
@@ -1431,20 +1430,20 @@ var todoOptionList = {
1431
1430
  }, {
1432
1431
  // 入参
1433
1432
  key: 'filterParams',
1434
- label: '查询条件',
1433
+ label: localeKey('exportSheet.props.options.2.label'),
1435
1434
  type: 'SetExpression'
1436
1435
  }, {
1437
1436
  key: 'objectFields',
1438
- label: '导出字段',
1437
+ label: localeKey('exportSheet.props.options.3.label'),
1439
1438
  type: 'SelectServiceObjectFields',
1440
1439
  props: {
1441
1440
  isRequired: true,
1442
1441
  options: {
1443
1442
  fieldKey: 'serviceData',
1444
1443
  customKeyMap: {
1445
- fieldData: '字段数据',
1446
- attrCode: '字段编码',
1447
- attrName: '字段名称'
1444
+ fieldData: localeKey('exportSheet.props.options.3.props.options.customKeyMap.fieldData'),
1445
+ attrCode: localeKey('exportSheet.props.options.3.props.options.customKeyMap.attrCode'),
1446
+ attrName: localeKey('exportSheet.props.options.3.props.options.customKeyMap.attrName')
1448
1447
  }
1449
1448
  }
1450
1449
  }
@@ -1453,7 +1452,7 @@ var todoOptionList = {
1453
1452
  },
1454
1453
  serviceData: {
1455
1454
  key: 'serviceData',
1456
- label: '数据来源',
1455
+ label: localeKey('serviceData.label'),
1457
1456
  type: 'SelectCustomExportService',
1458
1457
  props: {
1459
1458
  isRequired: true,
@@ -1467,204 +1466,204 @@ var todoOptionList = {
1467
1466
  },
1468
1467
  verificationCodeUrl: {
1469
1468
  key: 'verificationCodeUrl',
1470
- label: '验证码图片地址',
1469
+ label: localeKey('verificationCodeUrl.label'),
1471
1470
  type: 'SetExpression'
1472
1471
  },
1473
1472
  addTransferValue: {
1474
1473
  key: 'transferValue',
1475
- label: '内容',
1474
+ label: localeKey('addTransferValue.label'),
1476
1475
  type: 'SetExpression',
1477
1476
  props: {
1478
- placeholder: '请输入添加值,多个用英文逗号拼接,例如:1,2,3'
1477
+ placeholder: localeKey('addTransferValue.props.placeholder')
1479
1478
  }
1480
1479
  },
1481
1480
  removeTransferValue: {
1482
1481
  key: 'transferValue',
1483
- label: '内容',
1482
+ label: localeKey('removeTransferValue.label'),
1484
1483
  type: 'SetExpression',
1485
1484
  props: {
1486
- placeholder: '请输入删除值,多个用英文逗号拼接,例如:1,2,3'
1485
+ placeholder: localeKey('removeTransferValue.props.placeholder')
1487
1486
  }
1488
1487
  },
1489
1488
  defaultOpenKey: {
1490
1489
  key: 'defaultOpenKey',
1491
- label: '内容',
1490
+ label: localeKey('defaultOpenKey.label'),
1492
1491
  type: 'SetExpression'
1493
1492
  },
1494
1493
  inlineCollapsed: {
1495
1494
  key: 'inlineCollapsed',
1496
- label: '是否收缩',
1495
+ label: localeKey('inlineCollapsed.label'),
1497
1496
  type: 'Select',
1498
1497
  props: {
1499
1498
  options: [{
1500
- title: '缩起',
1499
+ title: localeKey('inlineCollapsed.props.options.0.title'),
1501
1500
  value: 'true'
1502
1501
  }, {
1503
- title: '展开',
1502
+ title: localeKey('inlineCollapsed.props.options.1.title'),
1504
1503
  value: ''
1505
1504
  }, {
1506
- title: '切换',
1505
+ title: localeKey('inlineCollapsed.props.options.2.title'),
1507
1506
  value: 'toggle'
1508
1507
  }]
1509
1508
  }
1510
1509
  },
1511
1510
  xLineName: {
1512
1511
  key: 'xLineName',
1513
- label: 'x轴字段名',
1512
+ label: localeKey('xLineName.label'),
1514
1513
  type: 'SetExpression'
1515
1514
  },
1516
1515
  yLineName: {
1517
1516
  key: 'yLineName',
1518
- label: 'y轴字段名',
1517
+ label: localeKey('yLineName.label'),
1519
1518
  type: 'SetExpression'
1520
1519
  },
1521
1520
  lineChartData: {
1522
1521
  key: 'lineChartData',
1523
- label: '数据源',
1522
+ label: localeKey('lineChartData.label'),
1524
1523
  type: 'SetExpression'
1525
1524
  },
1526
1525
  spCount: {
1527
1526
  key: 'spCount',
1528
- label: '当前数量',
1527
+ label: localeKey('spCount.label'),
1529
1528
  type: 'SetExpression'
1530
1529
  },
1531
1530
  spTotal: {
1532
1531
  key: 'spTotal',
1533
- label: '总数量',
1532
+ label: localeKey('spTotal.label'),
1534
1533
  type: 'SetExpression'
1535
1534
  },
1536
1535
  spRightNode: {
1537
1536
  key: 'spRightNode',
1538
- label: '右侧文字',
1537
+ label: localeKey('spRightNode.label'),
1539
1538
  type: 'SetExpression'
1540
1539
  },
1541
1540
  donutX: {
1542
1541
  key: 'donutX',
1543
- label: 'x轴字段名',
1542
+ label: localeKey('donutX.label'),
1544
1543
  type: 'SetExpression'
1545
1544
  },
1546
1545
  donutY: {
1547
1546
  key: 'donutY',
1548
- label: 'y轴字段名',
1547
+ label: localeKey('donutY.label'),
1549
1548
  type: 'SetExpression'
1550
1549
  },
1551
1550
  donutData: {
1552
1551
  key: 'donutData',
1553
- label: '数据源',
1552
+ label: localeKey('donutData.label'),
1554
1553
  type: 'SetExpression'
1555
1554
  },
1556
1555
  donutSumText: {
1557
1556
  key: 'donutSumText',
1558
- label: '总数据',
1557
+ label: localeKey('donutSumText.label'),
1559
1558
  type: 'SetExpression'
1560
1559
  },
1561
1560
  mpData: {
1562
1561
  key: 'mpData',
1563
- label: '数据源',
1562
+ label: localeKey('mpData.label'),
1564
1563
  type: 'SetExpression',
1565
1564
  props: {
1566
- placeholder: '格式为:[{count:xx, color:xx, label:xx},...]'
1565
+ placeholder: localeKey('mpData.props.placeholder')
1567
1566
  }
1568
1567
  },
1569
1568
  gcXName: {
1570
1569
  key: 'gcXName',
1571
- label: 'x轴字段名',
1570
+ label: localeKey('gcXName.label'),
1572
1571
  type: 'SetExpression'
1573
1572
  },
1574
1573
  gcLegendParams: {
1575
1574
  key: 'gcLegendParams',
1576
- label: '图例内容',
1575
+ label: localeKey('gcLegendParams.label'),
1577
1576
  type: 'SetExpression',
1578
1577
  props: {
1579
- placeholder: '格式为:[{label:xx(说明), value:xx(对应数据源取值字段)},...]'
1578
+ placeholder: localeKey('gcLegendParams.props.placeholder')
1580
1579
  }
1581
1580
  },
1582
1581
  gcData: {
1583
1582
  key: 'gcData',
1584
- label: '数据源',
1583
+ label: localeKey('gcData.label'),
1585
1584
  type: 'SetExpression',
1586
1585
  props: {
1587
- placeholder: '格式为:[{name:xx, xx:xx, xx:xx, ...},...]'
1586
+ placeholder: localeKey('gcData.props.placeholder')
1588
1587
  }
1589
1588
  },
1590
1589
  scXName: {
1591
1590
  key: 'scXName',
1592
- label: 'x轴字段名',
1591
+ label: localeKey('scXName.label'),
1593
1592
  type: 'SetExpression'
1594
1593
  },
1595
1594
  scYName: {
1596
1595
  key: 'scYName',
1597
- label: 'y轴字段名',
1596
+ label: localeKey('scYName.label'),
1598
1597
  type: 'SetExpression'
1599
1598
  },
1600
1599
  scData: {
1601
1600
  key: 'scData',
1602
- label: '数据源',
1601
+ label: localeKey('scData.label'),
1603
1602
  type: 'SetExpression',
1604
1603
  props: {
1605
- placeholder: '格式为:[{xx:xx, xx:xx, color:xx(需要指定颜色时设置该参数) },...]'
1604
+ placeholder: localeKey('scData.props.placeholder')
1606
1605
  }
1607
1606
  },
1608
1607
  stcXName: {
1609
1608
  key: 'stcXName',
1610
- label: 'x轴字段名',
1609
+ label: localeKey('stcXName.label'),
1611
1610
  type: 'SetExpression'
1612
1611
  },
1613
1612
  stcLegendParams: {
1614
1613
  key: 'stcLegendParams',
1615
- label: '图例内容',
1614
+ label: localeKey('stcLegendParams.label'),
1616
1615
  type: 'SetExpression',
1617
1616
  props: {
1618
- placeholder: '格式为:[{label:xx, value:xx},...]'
1617
+ placeholder: localeKey('stcLegendParams.props.placeholder')
1619
1618
  }
1620
1619
  },
1621
1620
  stcData: {
1622
1621
  key: 'stcData',
1623
- label: '数据源',
1622
+ label: localeKey('stcData.label'),
1624
1623
  type: 'SetExpression',
1625
1624
  props: {
1626
- placeholder: '格式为:[{xx:xx, xx:xx, ... },...]'
1625
+ placeholder: localeKey('stcData.props.placeholder')
1627
1626
  }
1628
1627
  },
1629
1628
  valueMapKey: {
1630
1629
  key: 'valueKey',
1631
- label: '值映射字段',
1630
+ label: localeKey('valueMapKey.label'),
1632
1631
  type: 'SetExpressionKey'
1633
1632
  },
1634
1633
  labelMapKey: {
1635
1634
  key: 'labelKey',
1636
- label: '内容映射字段',
1635
+ label: localeKey('labelMapKey.label'),
1637
1636
  type: 'SetExpressionKey'
1638
1637
  },
1639
1638
  selectDescriptionKey: {
1640
1639
  key: 'descriptionKey',
1641
- label: '选项描述字段',
1640
+ label: localeKey('selectDescriptionKey.label'),
1642
1641
  type: 'SetExpressionKey'
1643
1642
  },
1644
1643
  selectDisabledKey: {
1645
1644
  key: 'disabledKey',
1646
- label: '选项禁用字段',
1645
+ label: localeKey('selectDisabledKey.label'),
1647
1646
  type: 'SetExpressionKey'
1648
1647
  },
1649
1648
  setSelectorDisabelItems: {
1650
1649
  key: 'disabledKeys',
1651
- label: '值/索引',
1650
+ label: localeKey('setSelectorDisabelItems.label'),
1652
1651
  type: 'SetExpressionKey'
1653
1652
  },
1654
1653
  updateMediaState: {
1655
1654
  key: 'updateMediaState',
1656
- label: '状态设置',
1655
+ label: localeKey('updateMediaState.label'),
1657
1656
  type: 'RadioButton',
1658
1657
  defaultValue: 'play',
1659
1658
  props: {
1660
1659
  options: [{
1661
- title: '播放',
1660
+ title: localeKey('updateMediaState.props.options.0.title'),
1662
1661
  value: 'play'
1663
1662
  }, {
1664
- title: '暂停',
1663
+ title: localeKey('updateMediaState.props.options.1.title'),
1665
1664
  value: 'pasue'
1666
1665
  }, {
1667
- title: '切换',
1666
+ title: localeKey('updateMediaState.props.options.2.title'),
1668
1667
  value: 'toggle'
1669
1668
  }]
1670
1669
  }
@@ -1672,55 +1671,55 @@ var todoOptionList = {
1672
1671
  customGroup: {
1673
1672
  key: 'customGroup',
1674
1673
  type: 'SettingGroup',
1675
- label: '自定义表头模板',
1676
- labelTip: '可以根据选择的字段自定义导出模板的表头'
1674
+ label: localeKey('customGroup.label'),
1675
+ labelTip: localeKey('customGroup.labelTip')
1677
1676
  },
1678
1677
  exception: {
1679
1678
  key: 'exception',
1680
1679
  type: 'SwitchGroup',
1681
- label: '导入异常配置',
1680
+ label: localeKey('exception.label'),
1682
1681
  props: {
1683
1682
  options: [{
1684
- title: '支持部分导入',
1683
+ title: localeKey('exception.props.options.0.title'),
1685
1684
  value: 'partialImport'
1686
1685
  }]
1687
1686
  }
1688
1687
  },
1689
1688
  viewMode: {
1690
1689
  key: 'viewMode',
1691
- label: '预览方式',
1690
+ label: localeKey('viewMode.label'),
1692
1691
  type: 'RadioButton',
1693
1692
  defaultValue: 'modal',
1694
1693
  props: {
1695
1694
  options: [{
1696
- title: '页面弹窗',
1695
+ title: localeKey('viewMode.props.options.0.title'),
1697
1696
  value: 'popUp'
1698
1697
  }, {
1699
- title: '标签页',
1698
+ title: localeKey('viewMode.props.options.1.title'),
1700
1699
  value: 'newTab'
1701
1700
  }, {
1702
- title: '新窗口',
1701
+ title: localeKey('viewMode.props.options.2.title'),
1703
1702
  value: 'window'
1704
1703
  }]
1705
1704
  }
1706
1705
  },
1707
1706
  modalWidth: {
1708
1707
  key: 'modalWidth',
1709
- label: '窗口宽度',
1708
+ label: localeKey('modalWidth.label'),
1710
1709
  type: 'SetExpression',
1711
1710
  defaultValue: '960',
1712
1711
  visibleFlag: 'viewMode',
1713
1712
  visibleFlagValue: ['window'],
1714
- labelTip: '不同浏览器有不同的最小限制,请避免设置过小尺寸,当不设置宽高时,默认为全屏'
1713
+ labelTip: localeKey('modalWidth.labelTip')
1715
1714
  },
1716
1715
  modalHeight: {
1717
1716
  key: 'modalHeight',
1718
- label: '窗口高度',
1717
+ label: localeKey('modalHeight.label'),
1719
1718
  type: 'SetExpression',
1720
1719
  defaultValue: '648',
1721
1720
  visibleFlag: 'viewMode',
1722
1721
  visibleFlagValue: ['window'],
1723
- labelTip: '不同浏览器有不同的最小限制,请避免设置过小尺寸,当不设置宽高时,默认为全屏'
1722
+ labelTip: localeKey('modalHeight.labelTip')
1724
1723
  }
1725
1724
  };
1726
1725
  export default todoOptionList;