|
|
@@ -2473,7 +2473,22 @@
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
|
-
|
|
|
+ <el-tab-pane label="直播配置" name="living.config">
|
|
|
+ <el-form ref="form32" :model="form32" label-width="150px">
|
|
|
+ <el-form-item label="类型" prop="app">
|
|
|
+ <el-radio-group v-model="form32.app">
|
|
|
+ <el-radio label="live">直播</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="直播流链接" prop="domain">
|
|
|
+ <el-input v-model="form32.domain" label="请输入domain"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <br>
|
|
|
+ <div class="footer">
|
|
|
+ <el-button type="primary" @click="submitForm32">提 交</el-button>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
+ </el-tab-pane>
|
|
|
</el-tabs>
|
|
|
|
|
|
|
|
|
@@ -2666,6 +2681,7 @@ export default {
|
|
|
|
|
|
},
|
|
|
form31:{},
|
|
|
+ form32:{},
|
|
|
storeProductScrmColumns:[],
|
|
|
storeScrmColumns: [],
|
|
|
photoArr: [],
|
|
|
@@ -3074,6 +3090,14 @@ export default {
|
|
|
this.form31 = {...this.form31, ...JSON.parse(response.data.configValue)}
|
|
|
}
|
|
|
}
|
|
|
+ if(key == 'living.config'){
|
|
|
+ if(!!response.data){
|
|
|
+ this.configId = response.data.configId
|
|
|
+ this.configKey = response.data.configKey
|
|
|
+ this.form32 = {...this.form32, ...JSON.parse(response.data.configValue)}
|
|
|
+ console.log(this.form32 );
|
|
|
+ }
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
@@ -3367,7 +3391,15 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
-
|
|
|
+ submitForm32(){
|
|
|
+ const param = { configId: this.configId, configName : "直播源配置", configKey: this.configKey, configValue: JSON.stringify(this.form32) }
|
|
|
+ console.log(param)
|
|
|
+ updateConfigByKey(param).then(response => {
|
|
|
+ if (response.code === 200) {
|
|
|
+ this.msgSuccess('修改成功')
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
formatColumns(){
|
|
|
console.log(this.form27.pass_columns)
|
|
|
|