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