|
@@ -290,6 +290,7 @@ const makeDom = ref(null);
|
|
const flowFormDom = ref(null);
|
|
const flowFormDom = ref(null);
|
|
let dialogVisible = ref(false);
|
|
let dialogVisible = ref(false);
|
|
const nextHandleUser = ref([]);
|
|
const nextHandleUser = ref([]);
|
|
|
|
+const handleType = ref(null);
|
|
const handleSelectUser = () => {
|
|
const handleSelectUser = () => {
|
|
if (!flowForm.handleUserId) {
|
|
if (!flowForm.handleUserId) {
|
|
return ElMessage({
|
|
return ElMessage({
|
|
@@ -297,7 +298,7 @@ const handleSelectUser = () => {
|
|
type: "info",
|
|
type: "info",
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- handleSubmit();
|
|
|
|
|
|
+ handleSubmit(handleType.value);
|
|
};
|
|
};
|
|
const handleResult = (res) => {
|
|
const handleResult = (res) => {
|
|
if (res.userList == null && res.success) {
|
|
if (res.userList == null && res.success) {
|
|
@@ -329,9 +330,9 @@ const handleSuccess = (any, UploadFile) => {
|
|
const onPreviewFile = (file) => {
|
|
const onPreviewFile = (file) => {
|
|
window.open(file.raw.fileUrl, "_blank");
|
|
window.open(file.raw.fileUrl, "_blank");
|
|
};
|
|
};
|
|
-
|
|
|
|
// 提交逻辑
|
|
// 提交逻辑
|
|
const handleSubmit = async (_type) => {
|
|
const handleSubmit = async (_type) => {
|
|
|
|
+ handleType.value = _type ? _type : undefined;
|
|
try {
|
|
try {
|
|
// 调用发起组件的提交事件
|
|
// 调用发起组件的提交事件
|
|
const flag = await makeDom.value.handleSubmit();
|
|
const flag = await makeDom.value.handleSubmit();
|