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

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