|
|
@@ -2451,6 +2451,19 @@
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
|
+ <el-tab-pane label="声纹复刻配置" name="vc.config">
|
|
|
+ <el-form :model="form31" label-width="200px">
|
|
|
+ <el-form-item label="类型" prop="type">
|
|
|
+ <el-radio-group v-model="form31.type">
|
|
|
+ <el-radio :label="1">本地服务器</el-radio>
|
|
|
+ <el-radio :label="2">豆包</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ <div class="footer">
|
|
|
+ <el-button type="primary" @click="submitForm31">提 交</el-button>
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
+ </el-tab-pane>
|
|
|
|
|
|
</el-tabs>
|
|
|
|
|
|
@@ -2643,6 +2656,7 @@ export default {
|
|
|
],
|
|
|
|
|
|
},
|
|
|
+ form31:{},
|
|
|
storeProductScrmColumns:[],
|
|
|
storeScrmColumns: [],
|
|
|
photoArr: [],
|
|
|
@@ -3044,6 +3058,13 @@ export default {
|
|
|
this.form30 = {...this.form30, ...JSON.parse(response.data.configValue)}
|
|
|
}
|
|
|
}
|
|
|
+ if(key == 'vc.config'){
|
|
|
+ if(!!response.data){
|
|
|
+ this.configId = response.data.configId
|
|
|
+ this.configKey = response.data.configKey
|
|
|
+ this.form31 = {...this.form31, ...JSON.parse(response.data.configValue)}
|
|
|
+ }
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
@@ -3328,6 +3349,16 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ submitForm31(){
|
|
|
+ const param = { configId: this.configId, configName : "声纹复刻配置", configKey: this.configKey, configValue: JSON.stringify(this.form31) }
|
|
|
+ console.log(param)
|
|
|
+ updateConfigByKey(param).then(response => {
|
|
|
+ if (response.code === 200) {
|
|
|
+ this.msgSuccess('修改成功')
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
formatColumns(){
|
|
|
console.log(this.form27.pass_columns)
|
|
|
|