Procházet zdrojové kódy

Merge branch 'master' of https://git.agilestar.cn/spfm-group/spfm-market-front

daiqisheng před 3 roky
rodič
revize
06c406acd5

+ 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"

+ 1 - 1
src/pages/main/performance/index.vue

@@ -10,7 +10,7 @@
                 ></el-tab-pane>
             </el-tabs>
         </div>
-        <div class="container-viewport flex-1">
+        <div v-if="routes.length" class="container-viewport flex-1">
             <div class="font-size-30 padding-bottom-20 padding-left-20">
                 {{ handleLabel(name) }}
             </div>

+ 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: [
                 {