车辆段生成联锁数据
This commit is contained in:
parent
de040bdc45
commit
b1042ee52b
@ -728,3 +728,10 @@ export function queryOverunSectionList(mapId) {
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
// 自动生成车辆段停车场连锁关系
|
||||
export function generateDepotCiData(mapId, stationCode) {
|
||||
return request({
|
||||
url: `/api/mapBuild/${mapId}/ci/generateAndSaveDepot?stationCode=${stationCode}`,
|
||||
method: 'post'
|
||||
});
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ export function getBaseUrl() {
|
||||
let BASE_API;
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// BASE_API = 'https://joylink.club/jlcloud';
|
||||
// BASE_API = 'https://test.joylink.club/jlcloud';
|
||||
BASE_API = 'https://test.joylink.club/jlcloud';
|
||||
// BASE_API = 'http://192.168.8.107:9000'; // 袁琪
|
||||
// BASE_API = 'http://192.168.8.177:9000'; // 旭强
|
||||
// BASE_API = 'http://192.168.2.183:9000'; // 张赛
|
||||
|
@ -24,6 +24,7 @@
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item><span :disabled="$attrs.mapSaveing" @click="verifyMapEvent">{{ $t('map.dataVerification') }}</span></el-dropdown-item>
|
||||
<el-dropdown-item><span :disabled="$attrs.mapSaveing" @click="generateCIEvent">生成联锁</span></el-dropdown-item>
|
||||
<el-dropdown-item><span :disabled="$attrs.mapSaveing" @click="generateDepotCiEvent">生成车联段联锁</span></el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
<el-button v-if="isSave" type="text" style="padding: 3px 0" :disabled="$attrs.mapSaveing" @click="saveMapEvent">{{ $t('map.save') }}</el-button>
|
||||
@ -238,6 +239,9 @@ export default {
|
||||
},
|
||||
generateCIEvent() {
|
||||
this.$emit('generateCIEvent');
|
||||
},
|
||||
generateDepotCiEvent() {
|
||||
this.$emit('generateDepotCiEvent');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user