diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 0929e8877..5317762c9 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -23,13 +23,13 @@ export function handlerUrl() { let OSS_URL; if (process.env.NODE_ENV === 'development') { // 开发分支 - // BASE_API = 'http://192.168.3.233/rtss-server'; + BASE_API = 'http://192.168.3.233/rtss-server'; // BASE_API = 'https://joylink.club/jlcloud'; // BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://114.116.51.125/jlcloud'; // BASE_API = 'http://192.168.3.90:9100'; // 周寅 // BASE_API = 'http://192.168.3.94:9000'; // 旭强 - BASE_API = 'http://192.168.3.15:9000'; // 张赛 + // BASE_API = 'http://192.168.3.15:9000'; // 张赛 // BASE_API = 'http://192.168.3.5:9000'; // 夏增彬 // BASE_API = 'http://192.168.3.37:9000'; // 卫志宏 // BASE_API = 'http://b29z135112.zicp.vip'; diff --git a/src/views/publish/publishMap/editSubsystem.vue b/src/views/publish/publishMap/editSubsystem.vue index ab6069e43..6bc51e394 100644 --- a/src/views/publish/publishMap/editSubsystem.vue +++ b/src/views/publish/publishMap/editSubsystem.vue @@ -108,6 +108,7 @@ export default { name: '', type: '', usage: '', + desc: '', memberId: '', client: '', function: '', @@ -163,7 +164,7 @@ export default { if (row && row.id) { this.mapSystemId = row.id; this.ruleForm.name = row.name; - this.ruleForm.desc = row.desc; + this.ruleForm.desc = row.desc || ''; this.ruleForm.type = row.paramVO.type; this.ruleForm.usage = row.paramVO.usageInfo.usage; this.ruleForm.client = row.paramVO.usageInfo.param.client; @@ -247,6 +248,7 @@ export default { this.mapSystemId = ''; this.ruleForm = { name: '', + desc: '', type: '', usage: '', memberId: '', @@ -284,6 +286,7 @@ export default { functionMap: functionMap } }; + console.log(data, '----'); if (this.title === '创建子系统') { createMapSystem(data).then(resp => { this.visible = false; diff --git a/src/views/publish/publishMap/subsystem.vue b/src/views/publish/publishMap/subsystem.vue index 70315164e..9809109f7 100644 --- a/src/views/publish/publishMap/subsystem.vue +++ b/src/views/publish/publishMap/subsystem.vue @@ -116,7 +116,7 @@ export default { params['mapId'] = this.$route.query.mapId; return queryMapSystemPaged(params); }, - deleteRow(row) { + deleteRow(index, row) { this.$confirm('删除子系统,是否继续?', '提 示', { confirmButtonText: '确 定', cancelButtonText: '取 消',