|
@@ -332,6 +332,22 @@
|
|
|
<el-input-number v-model="form18.answerIntegral" :min="1" ></el-input-number>
|
|
|
</el-tooltip>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="主域名">
|
|
|
+ <el-input v-model="form18.courseDomainName" label="主域名"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="看课默认线路">
|
|
|
+ <el-radio-group v-model="form18.defaultLine">
|
|
|
+ <el-radio label="0">线路一</el-radio>
|
|
|
+ <el-radio label="1">线路二</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <el-form-item label="奖励类型">
|
|
|
+ <el-radio-group v-model="form18.rewardType">
|
|
|
+ <el-radio label="1">红包</el-radio>
|
|
|
+ <el-radio label="2">积分</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
<div class="line"></div>
|
|
|
<div style="float:right;margin-right:20px">
|
|
|
<el-button type="primary" @click="submitForm18">提交</el-button>
|
|
@@ -613,14 +629,17 @@ export default {
|
|
|
}
|
|
|
if(key=="course.config"){
|
|
|
this.configId=response.data.configId;
|
|
|
+ this.configKey=response.data.configKey;
|
|
|
this.form18 =JSON.parse(response.data.configValue);
|
|
|
}
|
|
|
if(key=="redPacket.config"){
|
|
|
this.configId=response.data.configId;
|
|
|
+ this.configKey=response.data.configKey;
|
|
|
this.form19 =JSON.parse(response.data.configValue);
|
|
|
}
|
|
|
if(key=="store.appShow"){
|
|
|
this.configId=response.data.configId;
|
|
|
+ this.configKey=response.data.configKey;
|
|
|
this.form10 =JSON.parse(response.data.configValue);
|
|
|
}
|
|
|
});
|
|
@@ -700,7 +719,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
submitForm7(){
|
|
|
- var param={configId:this.configId,configValue:JSON.stringify(this.form7)}
|
|
|
+ var param={configId:this.configId,configKey:this.configKey,configValue:JSON.stringify(this.form7)}
|
|
|
updateConfigByKey(param).then(response => {
|
|
|
if (response.code === 200) {
|
|
|
this.msgSuccess("修改成功");
|
|
@@ -708,7 +727,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
submitForm18(){
|
|
|
- var param={configId:this.configId,configValue:JSON.stringify(this.form18)}
|
|
|
+ var param={configId:this.configId,configKey:this.configKey,configValue:JSON.stringify(this.form18)}
|
|
|
updateConfigByKey(param).then(response => {
|
|
|
if (response.code === 200) {
|
|
|
this.msgSuccess("修改成功");
|
|
@@ -716,7 +735,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
submitForm19(){
|
|
|
- var param={configId:this.configId,configValue:JSON.stringify(this.form19)}
|
|
|
+ var param={configId:this.configId,configKey:this.configKey,configValue:JSON.stringify(this.form19)}
|
|
|
updateConfigByKey(param).then(response => {
|
|
|
if (response.code === 200) {
|
|
|
this.msgSuccess("修改成功");
|
|
@@ -724,7 +743,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
submitForm10(){
|
|
|
- var param={configId:this.configId,configValue:JSON.stringify(this.form10)}
|
|
|
+ var param={configId:this.configId,configKey:this.configKey,configValue:JSON.stringify(this.form10)}
|
|
|
updateConfigByKey(param).then(response => {
|
|
|
if (response.code === 200) {
|
|
|
this.msgSuccess("修改成功");
|