提交代码
parent
36bda7c75b
commit
78a072a2a1
|
@ -184,7 +184,7 @@
|
|||
<template #footer>
|
||||
<div class="dialog-footer">
|
||||
<el-button @click="dialogFormVisible = false"><i-ep-close />取消</el-button>
|
||||
<el-button type="primary" @click="handleSubmit">
|
||||
<el-button type="primary" @click="handleSubmitFile">
|
||||
<i-ep-check />确认
|
||||
</el-button>
|
||||
</div>
|
||||
|
@ -312,6 +312,26 @@ const handleSubmit = useThrottleFn(() => {
|
|||
});
|
||||
}, 3000);
|
||||
|
||||
/** 表单提交 */
|
||||
const handleSubmitFile = useThrottleFn(() => {
|
||||
formRef.value.validate((valid: any) => {
|
||||
if (valid) {
|
||||
ElMessage.error("缺少接口");
|
||||
// formLoading.value = true;
|
||||
// ToolChainshApi.editTool(baseForm.tool_id,baseForm)
|
||||
// .then((res) => {
|
||||
// if (res.data.code == 0) {
|
||||
// ElMessage.success("修改成功");
|
||||
// closeBack();
|
||||
// }
|
||||
// })
|
||||
// .finally(() => {
|
||||
// formLoading.value = false;
|
||||
// });
|
||||
}
|
||||
});
|
||||
}, 3000);
|
||||
|
||||
/** 添加运行参数 */
|
||||
function handlePushParams() {
|
||||
form.value = {};
|
||||
|
|
Loading…
Reference in New Issue