导出地图取消必选和默认选中&删除调试日志
This commit is contained in:
parent
0928d8cfa9
commit
48ea31da91
@ -2,9 +2,9 @@ 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.152:9000'; // 袁琪
|
||||
BASE_API = 'http://192.168.8.172:9200'; // 旭强
|
||||
// BASE_API = 'http://192.168.8.172:9200'; // 旭强
|
||||
// BASE_API = 'http://192.168.8.109:9000'; // 张赛
|
||||
// BASE_API = 'http://192.168.8.140:9000'; // 杜康
|
||||
// BASE_API = 'http://b29z135112.zicp.vip';
|
||||
|
@ -176,7 +176,6 @@ export default {
|
||||
checkDeviceType(data, prop) {
|
||||
if (data.code) {
|
||||
const device = this.$store.getters['map/getDeviceByCode'](data.code);
|
||||
console.log(device, prop);
|
||||
if (device._type === 'Section' && prop === 'points') {
|
||||
return true;
|
||||
} else if (device._type === 'Signal' && (prop === 'position' || prop === 'rotate')) {
|
||||
|
@ -232,7 +232,6 @@ export default {
|
||||
checkDeviceType(data, prop) {
|
||||
if (data.code) {
|
||||
const device = this.$store.getters['map/getDeviceByCode'](data.code);
|
||||
console.log(device, prop);
|
||||
if (device._type === 'Section' && prop === 'points') {
|
||||
return true;
|
||||
} else if (device._type === 'Signal' && (prop === 'position' || prop === 'rotate')) {
|
||||
|
@ -253,7 +253,6 @@ export default {
|
||||
checkDeviceType(data, prop) {
|
||||
if (data.code) {
|
||||
const device = this.$store.getters['map/getDeviceByCode'](data.code);
|
||||
console.log(device, prop);
|
||||
if (device._type === 'Section' && prop === 'points') {
|
||||
return true;
|
||||
} else if (device._type === 'Signal' && (prop === 'position' || prop === 'rotate')) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<el-dialog v-dialogDrag title="导出地图" :visible.sync="dialogVisible" width="20%" center>
|
||||
<el-checkbox-group v-model="checkList">
|
||||
<el-checkbox v-for="(item, indexs) in checksModels" :key="indexs" :label="item.value" style="margin-bottom: 7px;" :disabled="item.selected">{{ item.label }}</el-checkbox>
|
||||
<el-checkbox v-for="(item, indexs) in checksModels" :key="indexs" :label="item.value" style="margin-bottom: 7px;">{{ item.label }}</el-checkbox>
|
||||
</el-checkbox-group>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="confirm">{{ $t('global.confirm') }}</el-button>
|
||||
@ -20,16 +20,16 @@ export default {
|
||||
index: '',
|
||||
row: '',
|
||||
idx: '',
|
||||
checkList: ['MAP_DATA', 'REAL_LINE_CONFIG'],
|
||||
checkList: [],
|
||||
checksModels: [
|
||||
{ label: '地图数据', value: 'MAP_DATA', selected: true },
|
||||
{ label: '地图数据', value: 'MAP_DATA' },
|
||||
{ label: '运行图数据', value: 'RUN_PLAN' },
|
||||
{ label: '3d数据', value: 'MAP_3D_DATA' },
|
||||
{ label: 'ibp数据', value: 'ibp' },
|
||||
{ label: 'iscs数据', value: 'iscs' },
|
||||
{ label: '指令定义', value: 'COMMAND_DEFINITION' },
|
||||
{ label: '剧本数据', value: 'script' },
|
||||
{ label: '线路配置', value: 'REAL_LINE_CONFIG', selected: true }
|
||||
{ label: '线路配置', value: 'REAL_LINE_CONFIG'}
|
||||
]
|
||||
};
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user