فهرست منبع

资料填报>>【删除所有表单数据】弹窗UI调整

duy 1 روز پیش
والد
کامیت
026734422a
1فایلهای تغییر یافته به همراه11 افزوده شده و 9 حذف شده
  1. 11 9
      src/views/data-fill/collapse-form/index.vue

+ 11 - 9
src/views/data-fill/collapse-form/index.vue

@@ -496,11 +496,11 @@
         </el-form>
     </hc-dialog>
     <!-- !-- 清除所有数据 - -->
-    <hc-new-dialog v-model="clearShow" title="清除数据" widths="600px" :footer="false">
-        <div style="display: flex; padding: 15px; gap: 20px">
+    <hc-dialog v-model="clearShow" title="清除数据" widths="600px" :footer="false">
+        <div style="display: flex; padding: 0 10px 4px; gap: 30px">
             <!-- 左侧列 -->
             <div style="flex: 1">
-                <div class="mb-2 text-orange" style="font-size: 12px">
+                <div class="mb-2 text-orange" style="font-size: 13px;line-height: 1.5;">
                     *删除当前表单和所有当前表单复制表单所有的字段数据
                 </div>
                 <el-button
@@ -508,8 +508,9 @@
                         width: 100%;
                         background-color: #40a6ff;
                         border-color: #4099ff;
+                        border-radius: 3px;
                         color: white;
-                        padding: 12px 0; /* 增加上下内边距(垂直方向),让按钮变高 */
+                        padding: 24px 0; /* 增加上下内边距(垂直方向),让按钮变高 */
                     " @click="clearSaveClick(2)"
                 >
                     删除当前及所有复制表单字段数据
@@ -518,7 +519,7 @@
 
             <!-- 右侧列 -->
             <div style="flex: 1">
-                <div class="mb-2 text-orange" style="font-size: 12px">
+                <div class="mb-2 text-orange" style="font-size: 13px;line-height: 1.5;">
                     *删除当前表单所有的字段数据,不影响当前表单复制表单
                 </div>
                 <el-button
@@ -526,15 +527,16 @@
                         width: 100%;
                         background-color: #1e31af;
                         border-color: #1e40af;
+                        border-radius: 3px;
                         color: white;
-                        padding: 12px 0; /* 同样增加上下内边距 */
+                        padding: 24px 0; /* 同样增加上下内边距 */
                     " @click="clearSaveClick(1)"
                 >
                     仅删除当前表单字段数据
                 </el-button>
             </div>
         </div>
-    </hc-new-dialog>
+    </hc-dialog>
     <!-- 导入表格数据 -->
     <hc-dialog v-model="uploadFileDialog" title="导入表格数据" @save="uploadFileClickSave">
         <div class="dialog-content">
@@ -2468,10 +2470,10 @@ const clearSaveClick = async (type) => {
                 windowClick(listDatas.value[index], index)
             }
             // window.$message.success(msg)
-            clearShow.value = false
+            // clearShow.value = false
         } else {
             window.$message.error(msg)
-            clearShow.value = false
+            // clearShow.value = false
         }
 
         resolve() //关闭弹窗的回调