|
@@ -12,8 +12,8 @@
|
|
<img src="@/assets/ZDimages/integratedManagement/icon_bjgl_gd.png"
|
|
<img src="@/assets/ZDimages/integratedManagement/icon_bjgl_gd.png"
|
|
style="cursor:pointer;width:16px;height:4px;margin-top:7px;">
|
|
style="cursor:pointer;width:16px;height:4px;margin-top:7px;">
|
|
<el-dropdown-menu slot="dropdown">
|
|
<el-dropdown-menu slot="dropdown">
|
|
- <el-dropdown-item command="1">编辑</el-dropdown-item>
|
|
|
|
- <el-dropdown-item command="2">删除</el-dropdown-item>
|
|
|
|
|
|
+ <el-dropdown-item command="1" v-hasPermiRouter="['system:build:edit']">编辑</el-dropdown-item>
|
|
|
|
+ <el-dropdown-item command="2" v-hasPermiRouter="['system:build:del']">删除</el-dropdown-item>
|
|
</el-dropdown-menu>
|
|
</el-dropdown-menu>
|
|
</el-dropdown>
|
|
</el-dropdown>
|
|
</div>
|
|
</div>
|
|
@@ -36,13 +36,13 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p class="tree-null-p" v-if="!treeList[0]">暂无数据</p>
|
|
<p class="tree-null-p" v-if="!treeList[0]">暂无数据</p>
|
|
- <p class="max-left-big-button" @click="handleCommand(3)">+ 新增校区</p>
|
|
|
|
|
|
+ <p class="max-left-big-button" v-hasPermiRouter="['system:build:add']" @click="handleCommand(3)">新增校区</p>
|
|
</div>
|
|
</div>
|
|
<div class="max-right-box">
|
|
<div class="max-right-box">
|
|
<div class="school-box" v-if="checkTreeType == 1">
|
|
<div class="school-box" v-if="checkTreeType == 1">
|
|
<div class="max-right-button-box">
|
|
<div class="max-right-button-box">
|
|
<p class="null-p"></p>
|
|
<p class="null-p"></p>
|
|
- <p class="max-right-big-button" @click="handleCommand(4)" v-hasPermi="['laboratory:buildfloor:add']">+ 新增楼栋</p>
|
|
|
|
|
|
+ <p class="max-right-big-button" @click="handleCommand(4)" v-hasPermi="['system:build:add']">新增楼栋</p>
|
|
</div>
|
|
</div>
|
|
<div class="right-big-list-box scrollbar-box">
|
|
<div class="right-big-list-box scrollbar-box">
|
|
<div class="for-max-box" v-for="(item,index) in buildingList" :key="index"
|
|
<div class="for-max-box" v-for="(item,index) in buildingList" :key="index"
|
|
@@ -66,11 +66,11 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="for-button-min-box">
|
|
<div class="for-button-min-box">
|
|
- <div @click="handleCommand(5,item)" v-hasPermi="['laboratory:buildfloor:edit']">
|
|
|
|
|
|
+ <div @click="handleCommand(5,item)" v-hasPermi="['system:build:edit']">
|
|
<img src="@/assets/ZDimages/basicsModules/icon_znwl_bj.png">
|
|
<img src="@/assets/ZDimages/basicsModules/icon_znwl_bj.png">
|
|
<p>编辑</p>
|
|
<p>编辑</p>
|
|
</div>
|
|
</div>
|
|
- <div @click="handleCommand(6,item)" v-hasPermi="['laboratory:buildfloor:remove']">
|
|
|
|
|
|
+ <div @click="handleCommand(6,item)" v-hasPermi="['system:build:del']">
|
|
<img src="@/assets/ZDimages/basicsModules/icon_znwl_sc.png">
|
|
<img src="@/assets/ZDimages/basicsModules/icon_znwl_sc.png">
|
|
<p>删除</p>
|
|
<p>删除</p>
|
|
</div>
|
|
</div>
|
|
@@ -85,7 +85,7 @@
|
|
<p class="null-p"></p>
|
|
<p class="null-p"></p>
|
|
<p class="page-submit-common-style-button"
|
|
<p class="page-submit-common-style-button"
|
|
style="margin-right:4px;width: 130px" @click="handleCommand(7)"
|
|
style="margin-right:4px;width: 130px" @click="handleCommand(7)"
|
|
- v-hasPermiRouter="['demo:demo:add']"
|
|
|
|
|
|
+ v-hasPermiRouter="['system:build:add']"
|
|
>新增楼层</p>
|
|
>新增楼层</p>
|
|
</div>
|
|
</div>
|
|
<div class="right-big-list-box scrollbar-box">
|
|
<div class="right-big-list-box scrollbar-box">
|
|
@@ -100,11 +100,11 @@
|
|
<p class="for-text-one">{{item.name}}</p>
|
|
<p class="for-text-one">{{item.name}}</p>
|
|
</div>
|
|
</div>
|
|
<div class="for-button-min-box">
|
|
<div class="for-button-min-box">
|
|
- <div @click="handleCommand(8,item)">
|
|
|
|
|
|
+ <div v-hasPermiRouter="['system:build:edit']" @click="handleCommand(8,item)">
|
|
<img src="@/assets/ZDimages/basicsModules/icon_znwl_bj.png">
|
|
<img src="@/assets/ZDimages/basicsModules/icon_znwl_bj.png">
|
|
<p>编辑</p>
|
|
<p>编辑</p>
|
|
</div>
|
|
</div>
|
|
- <div @click="handleCommand(9,item)">
|
|
|
|
|
|
+ <div v-hasPermiRouter="['system:build:del']" @click="handleCommand(9,item)">
|
|
<img src="@/assets/ZDimages/basicsModules/icon_znwl_sc.png">
|
|
<img src="@/assets/ZDimages/basicsModules/icon_znwl_sc.png">
|
|
<p>删除</p>
|
|
<p>删除</p>
|
|
</div>
|
|
</div>
|
|
@@ -140,7 +140,7 @@
|
|
<p class="page-submit-common-style-button"
|
|
<p class="page-submit-common-style-button"
|
|
style="float: right;"
|
|
style="float: right;"
|
|
@click="roomButton(1)"
|
|
@click="roomButton(1)"
|
|
- v-hasPermiRouter="['demo:demo:add']"
|
|
|
|
|
|
+ v-hasPermiRouter="['system:roominfo:add']"
|
|
>新增房间</p>
|
|
>新增房间</p>
|
|
</el-form>
|
|
</el-form>
|
|
<el-table class="table-box" border :data="dataList">
|
|
<el-table class="table-box" border :data="dataList">
|
|
@@ -163,8 +163,10 @@
|
|
<p class="table-button-null"></p>
|
|
<p class="table-button-null"></p>
|
|
<p class="table-button-p"
|
|
<p class="table-button-p"
|
|
@click="roomButton(2,scope.row)"
|
|
@click="roomButton(2,scope.row)"
|
|
|
|
+ v-hasPermiRouter="['system:roominfo:edit']"
|
|
>编辑</p>
|
|
>编辑</p>
|
|
<p class="table-button-p"
|
|
<p class="table-button-p"
|
|
|
|
+ v-hasPermiRouter="['system:roominfo:del']"
|
|
@click="roomButton(3,scope.row)"
|
|
@click="roomButton(3,scope.row)"
|
|
>删除</p>
|
|
>删除</p>
|
|
<p class="table-button-null"></p>
|
|
<p class="table-button-null"></p>
|