|
@@ -114,7 +114,7 @@ export default {
|
|
|
3: {label: '业务数据', value: 3, importTypes: [1, 2, 3], importId: 3},
|
|
|
4: {label: '模型数据', value: 4, importTypes: [1], importId: 5},
|
|
|
// 5: {label: '元数据', value: 5, importTypes: [1], importId: 6},
|
|
|
- 6: {label: '物联感知数据', value: 6, importTypes: [1, 2, 3], importId: 2},
|
|
|
+ 6: {label: '物联感知数据', value: 6, importTypes: [1], importId: 2},
|
|
|
},
|
|
|
currDataType: {},
|
|
|
currImportType: {},
|
|
@@ -205,8 +205,8 @@ export default {
|
|
|
menuApi.getMenuData(params).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
app.category = res.content;
|
|
|
- if (app.importForm.dataType==1 && app.importForm.importType=='Excel') {
|
|
|
- app.category = app.category.filter(i=>i.geometryType=='Point')
|
|
|
+ if (app.importForm.importType=='Excel') {
|
|
|
+ app.category = app.category.filter(i=>i.geometryType!=='LineString'&&i.geometryType!=='Polygon')
|
|
|
}
|
|
|
}
|
|
|
})
|