@ebiz/designer-components 0.1.16 → 0.1.18

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebiz/designer-components",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -360,6 +360,9 @@ const getOperationTypeText = (approver) => {
360
360
  // 获取流程状态主题
361
361
  const getProcessStatusTheme = (status) => {
362
362
  const statusMap = {
363
+ 'CANCELED': 'default',
364
+ 'REJECT': 'danger',
365
+ 'APPROVED': "success",
363
366
  'ACTIVE': 'primary',
364
367
  'COMPLETED': 'success',
365
368
  'SUSPENDED': 'warning'
@@ -370,6 +373,7 @@ const getProcessStatusTheme = (status) => {
370
373
  // 获取流程状态文本
371
374
  const getProcessStatusText = (status) => {
372
375
  const statusMap = {
376
+ 'CANCELED': '已取消',
373
377
  'REJECT': '已拒绝',
374
378
  'APPROVED': "已通过",
375
379
  'ACTIVE': '进行中',
@@ -277,7 +277,6 @@ const computedModelValue = computed({
277
277
  }
278
278
  },
279
279
  set(value) {
280
- console.log('set value:', value);
281
280
  const urls = value.map(file => file.url).filter(Boolean);
282
281
  if (props.multiple) {
283
282
  emit('update:modelValue', urls);
package/src/index.js CHANGED
@@ -19,7 +19,7 @@ import EbizStatsCard from './components/EbizStatsCard.vue'
19
19
  import EbizOkrTree from './components/EbizOkrTree.vue'
20
20
  import EbizRemoteSelect from './components/EbizRemoteSelect.vue'
21
21
  import EbizRouteBreadcrumb from './components/EbizRouteBreadcrumb.vue'
22
- import EbizFileUpload from './components/EbizFileUpload.vue'
22
+ import EbizFileUpload from './components/TdesignUpload.vue'
23
23
  import EbizTabHeader from './components/EbizTabHeader.vue'
24
24
  import EbizPageHeader from './components/EbizPageHeader.vue'
25
25
  import TdesignCalendar from './components/TdesignCalendar/index.vue'