|
@@ -892,7 +892,131 @@
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
+ <el-tab-pane label="前端配置" name="his.adminUi.config">
|
|
|
|
|
+ <el-form ref="form33" :model="form33" label-width="180px">
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 存储桶配置 -->
|
|
|
|
|
+ <el-divider content-position="left">存储桶配置</el-divider>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="OBS Access Key ID" prop="obsAccessKeyId">
|
|
|
|
|
+ <el-input v-model="form33.obsAccessKeyId" type="password" show-password placeholder="请输入Access Key ID" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="OBS Secret Access Key" prop="obsSecretAccessKey">
|
|
|
|
|
+ <el-input v-model="form33.obsSecretAccessKey" type="password" show-password placeholder="请输入Secret Access Key" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="OBS服务器地址" prop="obsServer">
|
|
|
|
|
+ <el-input v-model="form33.obsServer" placeholder="请输入OBS服务器地址">
|
|
|
|
|
+ <template slot="prepend">https://</template>
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="OBS存储桶" prop="obsBucket">
|
|
|
|
|
+ <el-input v-model="form33.obsBucket" placeholder="请输入OBS存储桶名称" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="COS存储桶" prop="cosBucket">
|
|
|
|
|
+ <el-input v-model="form33.cosBucket" placeholder="请输入COS存储桶名称" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="COS存储区域" prop="cosRegion">
|
|
|
|
|
+ <el-input v-model="form33.cosRegion" placeholder="请输入COS存储区域" />
|
|
|
|
|
+
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 视频线路配置 -->
|
|
|
|
|
+ <el-divider content-position="left">视频线路配置</el-divider>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="线路一地址" prop="videoLinePrimary">
|
|
|
|
|
+ <el-input v-model="form33.videoLinePrimary" placeholder="请输入线路一地址">
|
|
|
|
|
+ <template slot="prepend">https://</template>
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="线路二地址" prop="videoLineSecondary">
|
|
|
|
|
+ <el-input v-model="form33.videoLineSecondary" placeholder="请输入线路二地址">
|
|
|
|
|
+ <template slot="prepend">https://</template>
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="直播解码路径" prop="livePath">
|
|
|
|
|
+ <el-input v-model="form33.livePath" placeholder="请输入直播解码路径">
|
|
|
|
|
+ <template slot="prepend">/</template>
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 火山云配置 -->
|
|
|
|
|
+ <el-divider content-position="left">火山云配置</el-divider>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="火山云视频地址" prop="volcanoVideoDomain">
|
|
|
|
|
+ <el-input v-model="form33.volcanoVideoDomain" placeholder="请输入火山云视频地址">
|
|
|
|
|
+ <template slot="prepend">https://</template>
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="点播空间名称" prop="volcanoVodSpace">
|
|
|
|
|
+ <el-input v-model="form33.volcanoVodSpace" placeholder="请输入点播空间名称" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 直播配置 -->
|
|
|
|
|
+ <el-divider content-position="left">直播配置</el-divider>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="WebSocket地址" prop="liveWebSocketUrl">
|
|
|
|
|
+ <el-input v-model="form33.liveWebSocketUrl" placeholder="请输入WebSocket地址">
|
|
|
|
|
+ <template slot="prepend">wss://</template>
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 业务配置 -->
|
|
|
|
|
+ <el-divider content-position="left">业务配置</el-divider>
|
|
|
|
|
+ <el-row>
|
|
|
|
|
+ <el-col :span="12">
|
|
|
|
|
+ <el-form-item label="默认课程类型" prop="courseDefaultType">
|
|
|
|
|
+ <el-radio-group v-model="form33.courseDefaultType">
|
|
|
|
|
+ <el-radio label="1">会员</el-radio>
|
|
|
|
|
+ <el-radio label="2">企微</el-radio>
|
|
|
|
|
+ </el-radio-group>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
|
|
|
|
|
+ <!-- 提交按钮 -->
|
|
|
|
|
+ <div class="footer">
|
|
|
|
|
+ <el-button type="primary" @click="submitForm33">提交</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ </el-tab-pane>
|
|
|
<el-tab-pane label="系统配置" name="his.config">
|
|
<el-tab-pane label="系统配置" name="his.config">
|
|
|
<el-form ref="form13" :model="form13" label-width="160px">
|
|
<el-form ref="form13" :model="form13" label-width="160px">
|
|
|
<el-form-item label="腾讯云sdkAppId" prop="sdkAppId">
|
|
<el-form-item label="腾讯云sdkAppId" prop="sdkAppId">
|
|
@@ -1573,6 +1697,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
+<!--
|
|
|
<el-tab-pane label="点播播放源配置" name="courseMa.config">
|
|
<el-tab-pane label="点播播放源配置" name="courseMa.config">
|
|
|
<el-button type="primary" @click="addCourseMaConfig" style="margin-bottom: 10px">添加配置</el-button>
|
|
<el-button type="primary" @click="addCourseMaConfig" style="margin-bottom: 10px">添加配置</el-button>
|
|
|
<el-table height="660" border v-loading="courseMaConfigLoading" :data="courseMaConfigList">
|
|
<el-table height="660" border v-loading="courseMaConfigLoading" :data="courseMaConfigList">
|
|
@@ -1674,6 +1799,7 @@
|
|
|
<el-button type="primary" @click="submitCourseMaConfig">提 交</el-button>
|
|
<el-button type="primary" @click="submitCourseMaConfig">提 交</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
+-->
|
|
|
|
|
|
|
|
<!-- 开关配置对话框 -->
|
|
<!-- 开关配置对话框 -->
|
|
|
<el-dialog title="开关配置" :visible.sync="switchDialogVisible" width="500px" class="switch-dialog">
|
|
<el-dialog title="开关配置" :visible.sync="switchDialogVisible" width="500px" class="switch-dialog">
|
|
@@ -2682,6 +2808,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
form31:{},
|
|
form31:{},
|
|
|
form32:{},
|
|
form32:{},
|
|
|
|
|
+ form33:{},
|
|
|
storeProductScrmColumns:[],
|
|
storeProductScrmColumns:[],
|
|
|
storeScrmColumns: [],
|
|
storeScrmColumns: [],
|
|
|
photoArr: [],
|
|
photoArr: [],
|
|
@@ -3097,6 +3224,12 @@ export default {
|
|
|
this.form32 = {...this.form32, ...JSON.parse(response.data.configValue)}
|
|
this.form32 = {...this.form32, ...JSON.parse(response.data.configValue)}
|
|
|
console.log(this.form32 );
|
|
console.log(this.form32 );
|
|
|
}
|
|
}
|
|
|
|
|
+ }if(key == 'his.adminUi.config'){
|
|
|
|
|
+ if(!!response.data){
|
|
|
|
|
+ this.configId = response.data.configId
|
|
|
|
|
+ this.configKey = response.data.configKey
|
|
|
|
|
+ this.form33 = {...this.form33, ...JSON.parse(response.data.configValue)}
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
@@ -3400,6 +3533,15 @@ export default {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+ submitForm33(){
|
|
|
|
|
+ const param = { configId: this.configId, configName : "前端配置", configKey: this.configKey, configValue: JSON.stringify(this.form33) }
|
|
|
|
|
+ updateConfigByKey(param).then(response => {
|
|
|
|
|
+ if (response.code === 200) {
|
|
|
|
|
+ this.msgSuccess('修改成功')
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
formatColumns(){
|
|
formatColumns(){
|
|
|
console.log(this.form27.pass_columns)
|
|
console.log(this.form27.pass_columns)
|
|
|
|
|
|