瀏覽代碼

提交一下

1
mo 3 年之前
父節點
當前提交
f94a4b3ac7
共有 3 個文件被更改,包括 22 次插入7 次删除
  1. 18 3
      src/views/couponManager/index.vue
  2. 2 2
      src/views/courseRulersManager/components/serverMinitor.vue
  3. 2 2
      vue.config.js

+ 18 - 3
src/views/couponManager/index.vue

@@ -7,6 +7,7 @@
     </h2>
     <div class="m-core">
       <save-form
+        size="mini"
         :inline="true"
         :model="searchForm"
         @submit="search"
@@ -57,6 +58,7 @@
           type="primary"
           style="margin-bottom: 30px"
           @click="gotoDetail()"
+          size="mini"
           >新增优惠券</el-button
         >
       </auth>
@@ -66,6 +68,7 @@
           style="width: 100%"
           :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
           :data="tableList"
+          size="mini"
         >
           <el-table-column
             align="center"
@@ -277,7 +280,7 @@
           >
             <template slot-scope="scope">
               <div>
-                {{scope.row.consumeNum }}
+                {{ scope.row.consumeNum }}
               </div>
             </template>
           </el-table-column>
@@ -286,10 +289,12 @@
             prop="warningStockNum"
             label="库存预警值"
           >
-              <template slot-scope="scope">
+            <template slot-scope="scope">
               <div>
                 {{
-                  scope.row.warningStockNum == -1 ? "不限制" : scope.row.stockCount
+                  scope.row.warningStockNum == -1
+                    ? "不限制"
+                    : scope.row.stockCount
                 }}
               </div>
             </template>
@@ -337,6 +342,16 @@
                     >删除</el-button
                   >
                 </auth>
+                <auth auths="sysCoupon/delete">
+                  <el-button type="text" @click="removeCoupon(scope.row)"
+                    >手动发放</el-button
+                  >
+                </auth>
+                <auth auths="sysCoupon/delete">
+                  <el-button type="text" @click="removeCoupon(scope.row)"
+                    >发放记录</el-button
+                  >
+                </auth>
               </div>
             </template>
           </el-table-column>

+ 2 - 2
src/views/courseRulersManager/components/serverMinitor.vue

@@ -10,7 +10,7 @@
         >
         </el-alert>
 
-        <el-row>
+        <!-- <el-row>
           <el-form-item
             prop="197"
             :rules="[
@@ -53,7 +53,7 @@
             </el-input>
             内点评提醒异常
           </el-form-item>
-        </el-row>
+        </el-row> -->
         <el-row>
           课程开始时间早于
           <el-time-picker

+ 2 - 2
vue.config.js

@@ -19,8 +19,8 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'http://192.168.3.227:8000' // 何国威
 // let target = 'http://192.168.3.124:8000' //邹璇
 // let target = 'http://192.168.3.112:8000' //勇哥
-// let target = 'http://dev.dayaedu.com' // 开发环境
-let target = 'https://test.dayaedu.com' //测试环境
+let target = 'http://dev.dayaedu.com' // 开发环境
+// let target = 'https://test.dayaedu.com' //测试环境
 // let target = 'http://192.168.3.134:8000' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {