@yugu-ui/flow-ui 0.1.19 → 0.1.20
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/dist/index.js +7 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6296,13 +6296,10 @@ var ApprovalModal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
6296
6296
|
rejectTarget: null
|
|
6297
6297
|
};
|
|
6298
6298
|
}
|
|
6299
|
-
/**
|
|
6299
|
+
/** 表单校验规则(意见必填;驳回时:另需选择驳回节点) */
|
|
6300
6300
|
const rules = computed(() => {
|
|
6301
|
-
const base = {};
|
|
6302
|
-
if (props.type === "reject")
|
|
6303
|
-
base.opinion = createRequiredRule("请输入审批意见");
|
|
6304
|
-
base.rejectTarget = createRequiredRule("请选择驳回节点");
|
|
6305
|
-
}
|
|
6301
|
+
const base = { opinion: createRequiredRule("请输入审批意见") };
|
|
6302
|
+
if (props.type === "reject") base.rejectTarget = createRequiredRule("请选择驳回节点");
|
|
6306
6303
|
return base;
|
|
6307
6304
|
});
|
|
6308
6305
|
/**
|
|
@@ -6416,7 +6413,9 @@ var ApprovalModal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
6416
6413
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => model.attachments = $event),
|
|
6417
6414
|
"upload-type": "file",
|
|
6418
6415
|
drag: false,
|
|
6419
|
-
|
|
6416
|
+
max: 10,
|
|
6417
|
+
accept: ".doc,.docx,.docm,.xls,.xlsx,.xlsm,.xlsb,.jpg,.jpeg,.png,.gif,.bmp,.webp",
|
|
6418
|
+
"accept-tip": "图片、Excel、Word"
|
|
6420
6419
|
}, null, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_2$2, "未注入附件上传组件(components.FileUpload),附件上传不可用"))]),
|
|
6421
6420
|
_: 1
|
|
6422
6421
|
})
|
|
@@ -6427,7 +6426,7 @@ var ApprovalModal_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/*
|
|
|
6427
6426
|
}, 8, ["show", "title"]);
|
|
6428
6427
|
};
|
|
6429
6428
|
}
|
|
6430
|
-
}), [["__scopeId", "data-v-
|
|
6429
|
+
}), [["__scopeId", "data-v-5376ec57"]]);
|
|
6431
6430
|
//#endregion
|
|
6432
6431
|
//#region src/adapter/wflow.ts
|
|
6433
6432
|
/** 获取流程配置详情(GET /wflow/config/{config_id};路径可经注入 endpoints.configDetail 覆盖) */
|
package/dist/style.css
CHANGED