Forráskód Böngészése

临时会员上线

wenjie 6 hónapja
szülő
commit
5e9af3a2dc
3 módosított fájl, 35 hozzáadás és 3 törlés
  1. BIN
      dist.zip
  2. 3 3
      src/utils/config.js
  3. 32 0
      src/views/operationManage/comboManage/editCombo.vue

BIN
dist.zip


+ 3 - 3
src/utils/config.js

@@ -2,14 +2,14 @@
  * @Author: wj 1454560336@qq.com
  * @Date: 2024-01-05 16:08:18
  * @LastEditors: wenjie 1454560336@qq.com
- * @LastEditTime: 2024-11-07 17:36:55
+ * @LastEditTime: 2024-12-04 09:23:41
  * @FilePath: \admin-manage\src\utils\config.js
  * @Description: 124234
  * 
  * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
  */
-// const BASE_URL = 'https://api.zonelife.cn/';
-const BASE_URL = 'https://api.dev.zonelife.cn/';
+const BASE_URL = 'https://api.zonelife.cn/';
+// const BASE_URL = 'https://api.dev.zonelife.cn/';
 // http://192.168.110.226:9002
 
 

+ 32 - 0
src/views/operationManage/comboManage/editCombo.vue

@@ -61,6 +61,24 @@
           @uploadEnd="uploadEnd"
         ></Upload>
       </el-form-item>
+      <el-form-item label="套餐来源:">
+        <el-select v-model="setQuery.source"
+          class="item-width-300" placeholder="请选择" clearable>
+          <el-option
+            v-for="item in options"
+            :key="item.value"
+            :label="item.label"
+            :value="item.value">
+          </el-option>
+        </el-select>
+      </el-form-item>
+      <el-form-item label="套餐天数:">
+        <el-input
+        type="number"
+          v-model.number="setQuery.setMealDay"
+          class="item-width-300"
+        ></el-input>
+      </el-form-item>
       <el-form-item label="套餐说明:">
         <el-input
           type="textarea"
@@ -97,6 +115,16 @@ export default {
       loading: false,
       loading1: false,
       mode:'',
+      options:[
+        {
+          label:'移动',
+          value:1
+        },
+        {
+          label:'其他',
+          value:2
+        }
+      ],
       setQuery: {
         setMealCode: 0,
         setMealDetail: "",
@@ -107,6 +135,8 @@ export default {
         backImg:"",
         colour:'',
         backColour:'',
+        source:'',
+        setMealDay:'',
       },
       rules: {
         setMealCode: [
@@ -148,6 +178,8 @@ export default {
                 this.setQuery.backColour = res.content.backColour
                 this.setQuery.discount = res.content.discount
                 this.setQuery.backImg = res.content.backImg
+                this.setQuery.source = res.content.source
+                this.setQuery.setMealDay = res.content.setMealDay
                 
             }
         })