|
@@ -3,16 +3,16 @@
|
|
|
<div v-show="hasMap" class="header-search">
|
|
|
<!-- 初始两个按钮 -->
|
|
|
<div v-show="type == 1">
|
|
|
- <el-button size="small" @click=" type = 2" icon="el-icon-search">查找业务空间</el-button>
|
|
|
- <el-button size="small" @click="myDialogVisible = true">创建业务空间</el-button>
|
|
|
- <span style="font-size:13px;color:#fff;margin-left:40px;display:inline-block;">
|
|
|
+ <el-button @click=" type = 2" icon="el-icon-search">查找业务空间</el-button>
|
|
|
+ <el-button @click="myDialogVisible = true">创建业务空间</el-button>
|
|
|
+ <span style="font-size:13px;color:#606266;margin-left:40px;display:inline-block;">
|
|
|
提示:
|
|
|
<i style="color:red;">红色字体</i>的业务空间为不相邻元空间组成,请检查是否要修改
|
|
|
</span>
|
|
|
</div>
|
|
|
<!-- 搜索下拉列表定位 -->
|
|
|
<div v-show="type == 2">
|
|
|
- <el-autocomplete popper-class="my-autocomplete" v-model="search" :fetch-suggestions="querySearch" placeholder="输入平面图中已有的业务空间名称进行查找" size="small" width="180px" @select="handleSelect">
|
|
|
+ <el-autocomplete popper-class="my-autocomplete" v-model="search" :fetch-suggestions="querySearch" placeholder="输入平面图中已有的业务空间名称进行查找" width="180px" @select="handleSelect">
|
|
|
<i class="el-icon-search el-input__icon" slot="suffix" @click="handleIconClick"></i>
|
|
|
<template slot-scope="{ item }">
|
|
|
<div class="name" style="position: relative;">
|
|
@@ -31,41 +31,41 @@
|
|
|
<div class="div50">
|
|
|
<el-button
|
|
|
class="float-right"
|
|
|
- size="small"
|
|
|
+
|
|
|
@click="SpaceDialog"
|
|
|
type="primary"
|
|
|
plain
|
|
|
>从未关联元空间的业务空间中选择</el-button>
|
|
|
</div>
|
|
|
<div class="div50">
|
|
|
- <el-button @click="clearDimension" size="small" plain>取 消</el-button>
|
|
|
- <el-button size="small" @click="createSP" type="primary">创建新的业务空间</el-button>
|
|
|
+ <el-button @click="clearDimension" plain>取 消</el-button>
|
|
|
+ <el-button @click="createSP" type="primary">创建新的业务空间</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 点击业务空间显示 -->
|
|
|
<div v-show="type == 4">
|
|
|
<div class="div50">
|
|
|
- <el-button class="float-right" size="small" @click="divide" type="primary" plain>重新划分业务空间</el-button>
|
|
|
+ <el-button class="float-right" @click="divide" type="primary" plain>重新划分业务空间</el-button>
|
|
|
</div>
|
|
|
<div class="div50">
|
|
|
- <el-button @click="clearDimension" size="small" plain>取 消</el-button>
|
|
|
- <el-button @click="bussinDea" size="small" type="primary">查看详情</el-button>
|
|
|
+ <el-button @click="clearDimension" plain>取 消</el-button>
|
|
|
+ <el-button @click="bussinDea" type="primary">查看详情</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 点击业务空间后点击元空间 -->
|
|
|
<div v-show="type == 5">
|
|
|
<div class="div50">
|
|
|
- <el-button @click="clearDimension" class="float-right" size="small" plain>取 消</el-button>
|
|
|
+ <el-button @click="clearDimension" class="float-right" plain>取 消</el-button>
|
|
|
</div>
|
|
|
<div class="div50">
|
|
|
- <el-button size="small" @click="saveChange" type="primary">保存修改</el-button>
|
|
|
+ <el-button @click="saveChange" type="primary">保存修改</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-button
|
|
|
v-show="type == 1"
|
|
|
@click="getPiss"
|
|
|
style="position: absolute;top: 10px;right: 10px;"
|
|
|
- size="small"
|
|
|
+
|
|
|
type="text"
|
|
|
>未关联元空间的业务空间 {{num}} 条</el-button>
|
|
|
</div>
|
|
@@ -78,11 +78,11 @@
|
|
|
>
|
|
|
<canvas :id="canvasId + 'canvas' " :width="canvasW" :height="canvasH"></canvas>
|
|
|
<div
|
|
|
- style="height: 30px;overflow: hidden;z-index:99;transform: translateX(-50%);position: absolute;bottom: 10%;left: 50%;"
|
|
|
+ style="height: 35px;overflow: hidden;z-index:99;transform: translateX(-50%);position: absolute;bottom: 10%;left: 50%;"
|
|
|
>
|
|
|
- <el-button size="small" @click="smallSize" type="primary">- 缩小</el-button>
|
|
|
- <el-button size="small" @click="suitableSize" type="primary">合适比例</el-button>
|
|
|
- <el-button size="small" @click="bigSize" type="primary">+ 放大</el-button>
|
|
|
+ <el-button @click="smallSize" type="primary">- 缩小</el-button>
|
|
|
+ <el-button @click="suitableSize" type="primary">合适比例</el-button>
|
|
|
+ <el-button @click="bigSize" type="primary">+ 放大</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
@@ -99,7 +99,7 @@
|
|
|
<el-input
|
|
|
placeholder="请输入业务空间名"
|
|
|
v-model="name"
|
|
|
- size="small"
|
|
|
+
|
|
|
clearable>
|
|
|
</el-input>
|
|
|
</p>-->
|