|
@@ -74,16 +74,16 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="详细位置" prop="layoutId" class="form-item">
|
|
|
- <el-select v-model="form.layoutId" placeholder="请选择详细位置" style="width:320px;">
|
|
|
- <el-option
|
|
|
- v-for="dict in layoutLists"
|
|
|
- :key="dict.id"
|
|
|
- :label="dict.room"
|
|
|
- :value="dict.id"
|
|
|
- ></el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
+ <!--<el-form-item label="详细位置" prop="layoutId" class="form-item">-->
|
|
|
+ <!--<el-select v-model="form.layoutId" placeholder="请选择详细位置" style="width:320px;">-->
|
|
|
+ <!--<el-option-->
|
|
|
+ <!--v-for="dict in layoutLists"-->
|
|
|
+ <!--:key="dict.id"-->
|
|
|
+ <!--:label="dict.room"-->
|
|
|
+ <!--:value="dict.id"-->
|
|
|
+ <!--></el-option>-->
|
|
|
+ <!--</el-select>-->
|
|
|
+ <!--</el-form-item>-->
|
|
|
<div class="title-box">
|
|
|
<p class="left-title">安全信息牌</p>
|
|
|
</div>
|
|
@@ -278,7 +278,7 @@
|
|
|
this.$set(this.form,'deptId',this.subjectData.deptId)
|
|
|
this.$set(this.form,'buildId',this.subjectData.buildId)
|
|
|
this.$set(this.form,'floorId',this.subjectData.floorId)
|
|
|
- this.$set(this.form,'layoutId',this.subjectData.layoutId)
|
|
|
+ // this.$set(this.form,'layoutId',this.subjectData.layoutId)
|
|
|
this.$set(this.form,'moldId',this.subjectData.moldId)
|
|
|
if(this.subjectData.adminId){
|
|
|
this.$set(this.form,'adminId',this.subjectData.adminId)
|
|
@@ -325,9 +325,9 @@
|
|
|
listFloorByBuildId(this.form.buildId).then(response=>{
|
|
|
this.floors = response.data;
|
|
|
//根据层获取实验室
|
|
|
- onUselistLayoutByFloorIdTwo(this.form.floorId,this.form.layoutId).then(response=>{
|
|
|
- this.layoutLists = response.data;
|
|
|
- });
|
|
|
+ // onUselistLayoutByFloorIdTwo(this.form.floorId,this.form.layoutId).then(response=>{
|
|
|
+ // this.layoutLists = response.data;
|
|
|
+ // });
|
|
|
});
|
|
|
});
|
|
|
}
|
|
@@ -402,7 +402,7 @@
|
|
|
this.buildings = [];
|
|
|
this.$set(this.form, 'floorId', '');//楼层
|
|
|
this.floors = [];
|
|
|
- this.$set(this.form, 'layoutId', '');//房间
|
|
|
+ // this.$set(this.form, 'layoutId', '');//房间
|
|
|
this.layoutLists = [];
|
|
|
listbuildings(id).then(response => {
|
|
|
this.buildings = response.data;
|
|
@@ -414,7 +414,7 @@
|
|
|
if(id) {
|
|
|
this.$set(this.form, 'floorId', '');//楼层
|
|
|
this.floors = [];
|
|
|
- this.$set(this.form, 'layoutId', '');//房间
|
|
|
+ // this.$set(this.form, 'layoutId', '');//房间
|
|
|
this.layoutLists = [];
|
|
|
listFloorByBuildId(id).then(response=>{
|
|
|
this.floors = response.data;
|
|
@@ -424,7 +424,7 @@
|
|
|
//查询布局信息
|
|
|
getLayouts(id) {
|
|
|
if(id) {
|
|
|
- this.$set(this.form, 'layoutId', '');//房间
|
|
|
+ // this.$set(this.form, 'layoutId', '');//房间
|
|
|
this.layoutLists = [];
|
|
|
onUselistLayoutByFloorId(id).then(response=>{
|
|
|
this.layoutLists = response.data;
|