|
|
@@ -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
|