瀏覽代碼

优惠券

Panhui 6 年之前
父節點
當前提交
2c9716c51c

+ 1 - 1
src/main/vue/src/pages/CouponInfo.vue

@@ -72,7 +72,7 @@
                     inactive-color="#ff4949"
                 ></el-switch>
             </el-form-item>
-            <el-form-item prop="openFlag" label="公开">
+            <el-form-item prop="openFlag" label="首页">
                 <!-- <el-input v-model="formData.openFlag" :disabled="'openFlag'==subColumn"></el-input> -->
                 <el-switch
                     v-model="formData.openFlag"

+ 2 - 2
src/main/vue/src/pages/CouponInfos.vue

@@ -29,8 +29,8 @@
         <template slot-scope="scope">{{scope.row.onShelf=='Y'?'已上架':'未上架'}}</template>
       </el-table-column>
 
-      <el-table-column align="center" prop="openFlag" label="是否公开" min-width="100">
-        <template slot-scope="scope">{{scope.row.openFlag=='Y'?'已公开':'未公开'}}</template>
+      <el-table-column align="center" prop="openFlag" label="是否首页展示" min-width="110">
+        <template slot-scope="scope">{{scope.row.openFlag=='Y'?'展示':'不展示'}}</template>
       </el-table-column>
       <el-table-column label="操作" align="center" fixed="right" min-width="180">
         <template slot-scope="scope">

+ 14 - 0
src/main/vue/src/pages/ShoppingCart.vue

@@ -85,6 +85,20 @@ export default {
         ...mapState(['userInfo']),
     },
     methods: {
+        getActivityList(){
+              this.$http
+            .get({
+                url: '/activityInfo/getUsed',
+                data: {
+                    typeId: 6,
+                },
+            })
+            .then(res => {
+                if (res.data) {
+                    this.pointInfo = res.data;
+                }
+            });
+        },
         onSave() {
             this.$refs.form.validate(valid => {
                 if (valid) {