index.vue
1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<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>