Sfoglia il codice sorgente

add:app提现配置

ct 1 giorno fa
parent
commit
15895706bc

+ 1 - 16
src/views/system/config/config.vue

@@ -2298,22 +2298,7 @@
 
               />
             </el-form-item>
-<!--            <el-form-item label="积分兑换佣金积分类型" prop="integralTypes">-->
-<!--              <el-select-->
-<!--                v-model="form25.integralTypes"-->
-<!--                clearable filterable-->
-<!--                placeholder="请选择积分类型"-->
-<!--                multiple-->
-<!--                style="width: 320px;">-->
-<!--                <el-option-->
-<!--                  v-for="item in integralLogTypeOptions"-->
-<!--                  :key="item.dictValue"-->
-<!--                  :label="item.dictLabel"-->
-<!--                  :value="item.dictValue"-->
-<!--                >-->
-<!--                </el-option>-->
-<!--              </el-select>-->
-<!--            </el-form-item>-->
+
             <el-form-item label="一次最大提现金额(元)" prop="maxApplicationAmount">
               <el-input-number
                 v-model="form25.maxApplicationAmount"

+ 21 - 1
src/views/system/config/integralConfig.vue

@@ -159,6 +159,22 @@
           />
         </el-select>
       </el-form-item>
+      <el-form-item label="积分兑换佣金积分类型" prop="integralTypes">
+        <el-select
+          v-model="form11.integralTypes"
+          clearable filterable
+          placeholder="请选择积分类型"
+          multiple
+          size="small">
+          <el-option
+            v-for="item in integralLogTypeOptions"
+            :key="item.dictValue"
+            :label="item.dictLabel"
+            :value="item.dictValue"
+          >
+          </el-option>
+        </el-select>
+      </el-form-item>
       <el-card class="box-card" style="margin-bottom: 20px;">
         <div slot="header" class="clearfix">
           <span>签到大礼品配置</span>
@@ -267,7 +283,8 @@ export default {
         integralCompanyRatio: 0,
         integralHuYiRatio: 0,
         integralYunLianRatio: 0,
-        minimumIntegral: 0
+        minimumIntegral: 0,
+        integralTypes:[]
       },
       saveLoading: false,
     }
@@ -299,6 +316,9 @@ export default {
     },
     submitForm11(){
       this.saveLoading = true
+      if (!this.form11.integralTypes){
+        this.form11.integralTypes = [];
+      }
       const param={configId:this.configId,configValue:JSON.stringify(this.form11)}
       updateConfigByKey(param).then(response => {
         const {code} = response