深基坑系统(基坑配置):查询接口对接以及添加按钮隐藏

This commit is contained in:
骆乐 2022-08-18 19:00:48 +08:00
parent d5dfbd12f9
commit bf3ba04e9f

View File

@ -556,7 +556,7 @@
</el-row>
</div>
<el-button type="primary" @click="addRow()" size="medium" plain>添加</el-button>
<el-button type="primary" v-if="show" @click="addRow()" size="medium" plain>添加</el-button>
<!-- v-if="testPointForm.sensorList.length > 1" -->
<!-- <el-button type="primary" v-if="testPointForm.sensorList.length > 1" @click="deleteRow()" size="medium" plain>删除</el-button> -->
@ -760,6 +760,7 @@ import {
export default {
data(){
return{
show:true,
deleteInfo: false,
isPreview: false,
testPointOptions:[],
@ -1265,6 +1266,7 @@ export default {
})
},
preViewPointData(val){
this.show= false
console.log(val)
this.isPreview = true
this.showTestPoint = true
@ -1387,6 +1389,7 @@ export default {
this.selectDeepExcavationPlaneFigureList()
},
addTestPoint(){
this.show= true
this.showTestPoint = true
},
handleSelectionChange(val){