index.vue 1.03 KB
<template>
	<el-tabs v-model="activeName" class="tabs">
		<el-tab-pane label="林海调查表" name="lhdcb"><Lhdcb></Lhdcb></el-tab-pane>
	</el-tabs>
</template>

<script>
import { getQjZdjbxxDetailById } from "@api/zd";
import Lhdcb from "./lhdcb"
export default {
	name: "",
	components: {
		Lhdcb
	},
	props: {},
	data() {
		return {
            activeName:'lhdcb'
		};
	},
	methods: {
		getZdData(bsm) {
			getQjZdjbxxDetailById(bsm).then((res) => {
				if (res.success) {
					console.log(res, "宗地信息");
					this.isFldc = res.result.zdtzmbsm === "PSHGSBDCQJDC000000000000DC440010";
					this.isTdcb = res.result.zdtzmbsm === ("PSHGSBDCQJDC000000000000DC440060" || "PSHGSBDCQJDC000000000000DC440070" ||"PSHGSBDCQJDC000000000000DC440080");
						
				}
			});
		},
	},
	created() {},
	mounted() {
		this.getZdData(this.$route.query.bsm);
	},
	computed: {
		lhbsm() {
			return this.$route.query.bsm;
		},
	},
	watch: {
		lhbsm: function(val) {

		},
	},
};
</script>
<style scoped lang="less">
.el-tab-pane {
	overflow-y: scroll;
}
</style>