| | |
| | | <el-divider /> |
| | | <div class="spatialContent"> |
| | | <div class="spatial_leftTree"> |
| | | <el-input v-model="filterText"></el-input> |
| | | <div style="width:300px"> |
| | | |
| | | <el-tree |
| | | ref="treeDay" |
| | | :data="tree" |
| | | :props="defaultProps" |
| | | :default-expanded-keys="[1]" |
| | | node-key="id" |
| | | :current-node-key="10" |
| | | @node-click="handleNodeClick" |
| | | :filter-node-method="filterNode" |
| | | ref="tree" |
| | | ></el-tree> |
| | | </div> |
| | | </div> |
| | |
| | | <el-form-item> |
| | | <el-button |
| | | @click="conditionVisible = true" |
| | | class="primaries" |
| | | size="small" |
| | | icon="el-icon-plus" |
| | | type="success" |
| | | >{{$t('common.append')}}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | @click="submitForm" |
| | | class="primaries" |
| | | type="primary" |
| | | size="small" |
| | | icon="el-icon-search" |
| | | >{{$t('common.iquery')}}</el-button> |
| | |
| | | @click="resetForm" |
| | | size="small" |
| | | icon="el-icon-refresh" |
| | | type="info" |
| | | >{{$t('common.reset')}}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | @click="getSpaceMapVisibale" |
| | | size="small" |
| | | class="primaries" |
| | | type="primary" |
| | | >{{ |
| | | $t('synthesis.rangequery') |
| | | }}</el-button> |
| | |
| | | upAttach: { |
| | | tabName: null, |
| | | eventid: null, |
| | | } |
| | | }, |
| | | filterText: '' |
| | | |
| | | }; |
| | | }, |
| | |
| | | this.showPermsBtn(); |
| | | this.getTreeDataAll(); |
| | | }, |
| | | methods: { |
| | | watch: { |
| | | filterText(val) { |
| | | this.$refs.tree.filter(val); |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | filterNode(value, data) { |
| | | if (!value) return true; |
| | | return data.label.indexOf(value) !== -1; |
| | | }, |
| | | getSpaceMapVisibale() { |
| | | this.dialogMapVisible = true; |
| | | this.showMapVisible = true; |
| | |
| | | var token = getToken(); |
| | | var fs = document.getElementById("insertFile"); |
| | | if (fs.files.length == 0) { |
| | | alert("请选择要上传的文件!"); |
| | | |
| | | this.$message({ |
| | | message: '请选择要上传的文件!', |
| | | type: 'warning' |
| | | }); |
| | | return; |
| | | } |
| | | const formData = new FormData() |
| | |
| | | for (var i in option) { |
| | | var val_Data = option[i]; |
| | | val_Data.id = '1' + i; |
| | | val_Data.label = val_Data.tabDesc + "(" + val_Data.tab + ")" |
| | | // val_Data.label = val_Data.tabDesc + "(" + val_Data.tab + ")" |
| | | val_Data.label = val_Data.tabDesc |
| | | option[i].id = parseInt(option[i].id) |
| | | if (option[i].ns == 'bd') { |
| | | |