1.效果图

2.相关代码

点击按钮,在template内

 未关联  {{ scope.row.landNum }}  

弹窗页面,在template内

 

弹窗表格内容,在script内

import { selectLandInfoByWarrantId} from "@/api/remp/land";export default {data() {return {// 遮罩层loading: true,// 弹出层标题title: "",// 是否显示弹出层open: false,baseLandList:[],warrantId:null,};},methods: {handleLandClick(row) {this.open=true;this.title="土地详情"console.log(row.warrantId)//根据id调用后端给的接口selectLandInfoByWarrantId(row.warrantId).then((response) => {this.baseLandList=response.dataconsole.log(response)})},}};