linwenxin 1 éve
szülő
commit
10c8f97c9f
1 módosított fájl, 26 hozzáadás és 1 törlés
  1. 26 1
      src/views/mallManagement/setActivity/index.vue

+ 26 - 1
src/views/mallManagement/setActivity/index.vue

@@ -1,7 +1,7 @@
 <template>
   <template-page ref="pageRef" :get-list="getList" :exportList="exportList" :table-attributes="tableAttributes"
     :table-events="tableEvents" :options-evens-group="optionsEvensGroup"
-    :column-parsing="columnParsing" :operation="operation()" :operationColumnWidth="200">
+    :column-parsing="columnParsing" :operation="operation()" :operationColumnWidth="200" :moreParameters="moreParameters">
     <div class="cartographer">
       <el-dialog :title="formData.id?'详情':'新增'" width="100%" :modal="false" :visible.sync="formDialog"
         :before-close="formCancel">
@@ -70,6 +70,31 @@ export default {
     }
   },
   computed:{
+    moreParameters() {
+      return [
+        {
+          name: '状态',
+          key: 'status',
+          value: '',
+          conditions: [{
+            label: "生效中",
+            value: "1"
+          },{
+            label: "待生效",
+            value: "0"
+          },{
+            label: "已过期",
+            value: "2"
+          },{
+            label: "已过期",
+            value: "3"
+          },{
+            label: "全部",
+            value: ""
+          }]
+        }
+      ]
+    },
     // 事件组合
     optionsEvensGroup() {
       return [