|
@@ -88,8 +88,13 @@
|
|
|
/>
|
|
/>
|
|
|
<template #footer>
|
|
<template #footer>
|
|
|
<div class="dialog-footer">
|
|
<div class="dialog-footer">
|
|
|
- <el-button @click="cancelAlgoParamsEdit">取消</el-button>
|
|
|
|
|
- <el-button type="primary" @click="saveAlgoParamsChanges"> 提交 </el-button>
|
|
|
|
|
|
|
+ <div class="warning-text"
|
|
|
|
|
+ ><el-icon><Warning /></el-icon>请务必确保参数字段正确,谨慎提交!</div
|
|
|
|
|
+ >
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <el-button @click="cancelAlgoParamsEdit">取消</el-button>
|
|
|
|
|
+ <el-button type="primary" @click="saveAlgoParamsChanges"> 提交 </el-button>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -101,7 +106,7 @@
|
|
|
import { storeToRefs } from 'pinia';
|
|
import { storeToRefs } from 'pinia';
|
|
|
import { ref, computed, watch, nextTick } from 'vue';
|
|
import { ref, computed, watch, nextTick } from 'vue';
|
|
|
import { ElButton, ElIcon, ElMessage, ElUpload, ElDialog, ElInput, ElCard } from 'element-plus';
|
|
import { ElButton, ElIcon, ElMessage, ElUpload, ElDialog, ElInput, ElCard } from 'element-plus';
|
|
|
- import { EditPen, Upload, Delete, Setting } from '@element-plus/icons-vue';
|
|
|
|
|
|
|
+ import { EditPen, Upload, Delete, Setting, Warning } from '@element-plus/icons-vue';
|
|
|
import { useGlobSetting } from '@/hooks/setting';
|
|
import { useGlobSetting } from '@/hooks/setting';
|
|
|
import { useUserStore } from '@/store/modules/user';
|
|
import { useUserStore } from '@/store/modules/user';
|
|
|
import { getHeaders } from '@/utils/http/axios';
|
|
import { getHeaders } from '@/utils/http/axios';
|
|
@@ -369,4 +374,21 @@
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ .dialog-footer {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+
|
|
|
|
|
+ .warning-text {
|
|
|
|
|
+ color: #f56c6c;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+
|
|
|
|
|
+ .el-icon {
|
|
|
|
|
+ margin-right: 5px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|