فهرست منبع

操作按钮另起一行

noob 3 سال پیش
والد
کامیت
93e3f1c905
2فایلهای تغییر یافته به همراه10 افزوده شده و 3 حذف شده
  1. 3 3
      src/pages/main/performance/components/form.vue
  2. 7 0
      src/pages/main/performance/reply.vue

+ 3 - 3
src/pages/main/performance/components/form.vue

@@ -2,7 +2,7 @@
  * @Author       : yuanrunwei
  * @Date         : 2021-11-01 18:03:02
  * @LastEditors  : yuanrunwei
- * @LastEditTime : 2021-12-03 20:27:50
+ * @LastEditTime : 2021-12-04 17:53:54
  * @FilePath     : \spfm-market-front\src\pages\main\performance\components\form.vue
 -->
 <template>
@@ -29,7 +29,7 @@
                             ></el-option>
                         </el-select>
                     </template>
-                    <template v-else-if="['date','month'].includes(type)">
+                    <template v-else-if="['date', 'month'].includes(type)">
                         <el-date-picker
                             v-model="object[props]"
                             :type="type"
@@ -53,7 +53,7 @@
                     >
                 </el-form-item>
             </el-col>
-            <el-col class="flex-justify-align-end" :span="6">
+            <el-col class="flex-justify-align-end" :span="24">
                 <el-button
                     v-for="({ label, props }, index) in handle"
                     :key="index"

+ 7 - 0
src/pages/main/performance/reply.vue

@@ -3,6 +3,7 @@
         <div class="simple-container">
             <simple-form
                 :form="table_form"
+                :handle="table_handle"
                 @search="handleSearch"
             ></simple-form>
             <simple-table
@@ -75,6 +76,12 @@ export default {
                 },
             ],
             table_list: [],
+            table_handle: [
+                {
+                    label: "导出",
+                    props: "download",
+                },
+            ],
             table_handle_row: [],
             table_config: [
                 {