+
{{ t('action.edit') }}
@@ -77,10 +78,8 @@ const props = defineProps({
height: propTypes.string.def('150px'), // 组件高度 ==> 非必传(默认为 150px)
width: propTypes.string.def('150px'), // 组件宽度 ==> 非必传(默认为 150px)
borderradius: propTypes.string.def('8px'), // 组件边框圆角 ==> 非必传(默认为 8px)
- // 是否显示删除按钮
- showDelete: propTypes.bool.def(true),
- // 是否显示按钮文字
- showBtnText: propTypes.bool.def(true)
+ showDelete: propTypes.bool.def(true), // 是否显示删除按钮
+ showBtnText: propTypes.bool.def(true) // 是否显示按钮文字
})
const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗
diff --git a/src/components/UploadFile/src/UploadImgs.vue b/src/components/UploadFile/src/UploadImgs.vue
index bd19ebbe..85da64c0 100644
--- a/src/components/UploadFile/src/UploadImgs.vue
+++ b/src/components/UploadFile/src/UploadImgs.vue
@@ -6,13 +6,14 @@
:action="uploadUrl"
:before-upload="beforeUpload"
:class="['upload', drag ? 'no-border' : '']"
+ :disabled="disabled"
:drag="drag"
+ :http-request="httpRequest"
:limit="limit"
:multiple="true"
:on-error="uploadError"
:on-exceed="handleExceed"
:on-success="uploadSuccess"
- :http-request="httpRequest"
list-type="picture-card"
>
diff --git a/src/utils/formCreate.ts b/src/utils/formCreate.ts
index 6d7dbc7f..c4899d7d 100644
--- a/src/utils/formCreate.ts
+++ b/src/utils/formCreate.ts
@@ -40,7 +40,7 @@ export const setConfAndFields = (designerRef: object, conf: string, fields: stri
export const setConfAndFields2 = (
detailPreview: object,
conf: string,
- fields: string,
+ fields: string[],
value?: object
) => {
// @ts-ignore
diff --git a/src/views/bpm/definition/index.vue b/src/views/bpm/definition/index.vue
index 31ed8413..dcaa10d3 100644
--- a/src/views/bpm/definition/index.vue
+++ b/src/views/bpm/definition/index.vue
@@ -3,67 +3,67 @@
-
-
+
+
-
+
{{ scope.row.name }}
-
+
-
+
{{ scope.row.formName }}
-
+
{{ scope.row.formCustomCreatePath }}
-
+
v{{ scope.row.version }}
- 未部署
+ 未部署
-
+
- 激活
- 挂起
+ 激活
+ 挂起
-
+
分配规则
@@ -72,26 +72,26 @@
-
@@ -81,15 +81,14 @@ const makeTemplate = () => {
const rule = designer.value.getRule()
const opt = designer.value.getOption()
return `
-
+ >