Przeglądaj źródła

隐藏代金券

congxuesong 2 tygodni temu
rodzic
commit
c4e9a4b434

+ 1 - 1
src/assets/json/authMenuList.json

@@ -81,7 +81,7 @@
       "component": "/ticketManagement/index",
       "meta": {
         "icon": "Money",
-        "title": "券管理",
+        "title": "优惠券管理",
         "isLink": "",
         "isHide": false,
         "isFull": false,

+ 9 - 8
src/views/ticketManagement/index.vue

@@ -12,17 +12,18 @@
       <template #tableHeader="scope">
         <div class="table-header-btn">
           <div class="header-actions">
-            <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick">
-              <el-tab-pane v-for="tab in allTabOptions" :key="tab.name" :label="tab.label" :name="tab.name" />
-            </el-tabs>
+            <!--            <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick">-->
+            <!--              <el-tab-pane v-for="tab in allTabOptions" :key="tab.name" :label="tab.label" :name="tab.name" />-->
+            <!--            </el-tabs>-->
+            <el-button :icon="Plus" class="button" type="primary" @click="newCoupon" v-if="type"> 新建优惠券 </el-button>
           </div>
         </div>
       </template>
       <template #tableHeaderRight="scope">
-        <div class="action-buttons">
-          <el-button :icon="Plus" class="button" type="primary" @click="newGroupBuying" v-if="type"> 新建代金券 </el-button>
-          <el-button :icon="Plus" class="button" type="primary" @click="newCoupon" v-if="type"> 新建优惠券 </el-button>
-        </div>
+        <!--        <div class="action-buttons">-->
+        <!--          <el-button :icon="Plus" class="button" type="primary" @click="newGroupBuying" v-if="type"> 新建代金券 </el-button>-->
+        <!--          <el-button :icon="Plus" class="button" type="primary" @click="newCoupon" v-if="type"> 新建优惠券 </el-button>-->
+        <!--        </div>-->
       </template>
       <template #status="scope">
         <!-- 代金券:显示状态和审核状态两行 -->
@@ -181,7 +182,7 @@ const formInventory: any = ref({
   singleQty: "",
   newInventory: ""
 });
-const activeName = ref("1");
+const activeName = ref("2");
 // 查看拒绝原因弹窗相关
 const rejectReasonDialogVisible = ref(false);
 const rejectReasonData = ref<any>({