|
|
@@ -91,7 +91,7 @@
|
|
|
|
|
|
<!-- 底部按钮 -->
|
|
|
<div class="footer">
|
|
|
- <el-button class="button--primary1 footer-button" type="primary">保存配置</el-button>
|
|
|
+ <el-button class="button--primary1 footer-button" type="primary" @click="saveConfig">保存配置</el-button>
|
|
|
|
|
|
<el-button class="button--primary1 footer-button" type="primary" @click="startProcess">开始处理</el-button>
|
|
|
</div>
|
|
|
@@ -127,6 +127,19 @@ const progress = ref(0)
|
|
|
const message = ref('正在为您处理,请稍后')
|
|
|
const showButton = ref(true)
|
|
|
|
|
|
+const saveConfig = () => {
|
|
|
+ const params = {
|
|
|
+ folderPath: folderPath.value,
|
|
|
+ reportMode: reportMode.value,
|
|
|
+ imageOrder: imageOrder.value,
|
|
|
+ checkSimilar: checkSimilar.value,
|
|
|
+ specificPage: specificPage.value
|
|
|
+ }
|
|
|
+ console.log("%c Line:139 🥕 params", "color:#93c0a4", params);
|
|
|
+ // 保存配置逻辑
|
|
|
+ console.log('保存配置')
|
|
|
+}
|
|
|
+
|
|
|
const startProcess = () => {
|
|
|
dialogVisible.value = true
|
|
|
progress.value = 0
|
|
|
@@ -166,7 +179,8 @@ const selectFolder = () => {
|
|
|
.config-card {
|
|
|
background: #EAECED;
|
|
|
padding: 20px;
|
|
|
- overflow: hidden;
|
|
|
+ overflow-x: hidden;
|
|
|
+ height: 100vh;
|
|
|
|
|
|
.card-header {
|
|
|
display: flex;
|