Merge branch 'master' of http://yun.pashanhoo.com:9090/renchao/CadastralSystem
Showing
4 changed files
with
86 additions
and
6 deletions
| ... | @@ -53,9 +53,9 @@ | ... | @@ -53,9 +53,9 @@ |
| 53 | .el-icon-full-screen{ | 53 | .el-icon-full-screen{ |
| 54 | cursor: pointer; | 54 | cursor: pointer; |
| 55 | } | 55 | } |
| 56 | // .el-dialog__wrapper{ | 56 | .el-dialog__wrapper{ |
| 57 | // overflow: hidden!important; | 57 | overflow: hidden!important; |
| 58 | // } | 58 | } |
| 59 | 59 | ||
| 60 | //table样式 | 60 | //table样式 |
| 61 | .el-table .even-row { | 61 | .el-table .even-row { | ... | ... |
This diff is collapsed.
Click to expand it.
src/views/zrz/lpb/bjlp/hbj/lpb-hbj/index.vue
0 → 100644
| 1 | <template> | ||
| 2 | <el-tabs v-model="activeName" @tab-click="handleClick"> | ||
| 3 | <el-tab-pane label="户基本信息表" name="hjbxx"> | ||
| 4 | <hbj ref="hbj" :bsm="hbsm"></hbj> | ||
| 5 | </el-tab-pane> | ||
| 6 | <el-tab-pane label="登记簿" name="djb"> | ||
| 7 | <djb v-if="djbVisible" :style="{'height' : formHeight+'px'}"></djb> | ||
| 8 | </el-tab-pane> | ||
| 9 | <el-tab-pane label="附件材料" name="fjcl"> | ||
| 10 | <fjcl v-if="fjclVisible" ref="fjcl" :style="{'height' : formHeight+'px'}" :is-disabled="isDisabled"></fjcl> | ||
| 11 | </el-tab-pane> | ||
| 12 | </el-tabs> | ||
| 13 | </template> | ||
| 14 | |||
| 15 | <script> | ||
| 16 | import hbj from "../index" | ||
| 17 | import djb from "../../../../../zd/djb/index"; | ||
| 18 | import fjcl from "../../../../../zd/fjcl/fjcl" | ||
| 19 | import {queryStatus} from "@api/search" | ||
| 20 | export default { | ||
| 21 | name: "index", | ||
| 22 | components: { | ||
| 23 | hbj, djb, fjcl | ||
| 24 | }, | ||
| 25 | data() { | ||
| 26 | return { | ||
| 27 | isDisabled:false, | ||
| 28 | hbsm:this.$store.state.hbsm, | ||
| 29 | activeName: "hjbxx", | ||
| 30 | djbVisible: false, | ||
| 31 | fjclVisible: false, | ||
| 32 | formHeight:0, | ||
| 33 | } | ||
| 34 | }, | ||
| 35 | mounted() { | ||
| 36 | this.formHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 260 | ||
| 37 | }, | ||
| 38 | methods: { | ||
| 39 | loadingStatus() { | ||
| 40 | debugger | ||
| 41 | let bsm=this.$store.state.hbsm; | ||
| 42 | queryStatus(bsm).then(res => { | ||
| 43 | if (res.success) { | ||
| 44 | let qszt = res.result.qszt; | ||
| 45 | this.isDisabled = +qszt !== 0; | ||
| 46 | } | ||
| 47 | }) | ||
| 48 | }, | ||
| 49 | handleClick(tab, event) { | ||
| 50 | this.loadingStatus() | ||
| 51 | // console.log(tab, event); | ||
| 52 | switch (tab.name) { | ||
| 53 | case 'djb': | ||
| 54 | this.djbVisible = true; | ||
| 55 | break; | ||
| 56 | case 'fjcl': | ||
| 57 | this.fjclVisible = true; | ||
| 58 | break; | ||
| 59 | default: | ||
| 60 | break; | ||
| 61 | } | ||
| 62 | }, | ||
| 63 | }, | ||
| 64 | watch: {} | ||
| 65 | } | ||
| 66 | </script> | ||
| 67 | |||
| 68 | <style scoped lang="less"> | ||
| 69 | .el-tabs{ | ||
| 70 | /deep/.el-tabs__nav-scroll{ | ||
| 71 | margin-left: -35px; | ||
| 72 | } | ||
| 73 | } | ||
| 74 | </style> |
| ... | @@ -394,7 +394,7 @@ import { getLpb, insertUpDownC, deleteCByBsm } from "@api/lpb"; | ... | @@ -394,7 +394,7 @@ import { getLpb, insertUpDownC, deleteCByBsm } from "@api/lpb"; |
| 394 | import { hhb,hfg } from "@api/h"; | 394 | import { hhb,hfg } from "@api/h"; |
| 395 | import { Message } from 'element-ui'; | 395 | import { Message } from 'element-ui'; |
| 396 | import { fwsxbgbl } from "@api/common"; | 396 | import { fwsxbgbl } from "@api/common"; |
| 397 | import hbj from "../hbj/index"; | 397 | import hbj from "../hbj/lpb-hbj/index"; |
| 398 | export default { | 398 | export default { |
| 399 | name: "", | 399 | name: "", |
| 400 | components: { moveH,hbj,HCxlz, }, | 400 | components: { moveH,hbj,HCxlz, }, |
| ... | @@ -479,6 +479,7 @@ export default { | ... | @@ -479,6 +479,7 @@ export default { |
| 479 | this.$refs.lpbContent.clientHeight - | 479 | this.$refs.lpbContent.clientHeight - |
| 480 | 6; | 480 | 6; |
| 481 | }, 200); | 481 | }, 200); |
| 482 | window.lpbContent = this; | ||
| 482 | }, | 483 | }, |
| 483 | methods: { | 484 | methods: { |
| 484 | loadingData(zrzbsm,scyclx) { | 485 | loadingData(zrzbsm,scyclx) { |
| ... | @@ -688,10 +689,10 @@ export default { | ... | @@ -688,10 +689,10 @@ export default { |
| 688 | dbclick(bsm) { | 689 | dbclick(bsm) { |
| 689 | clearTimeout(this.time); | 690 | clearTimeout(this.time); |
| 690 | this.hbsm = bsm; | 691 | this.hbsm = bsm; |
| 691 | this.$store.state.hbsm=this.data; | 692 | this.$store.state.hbsm=bsm; |
| 692 | this.hbjVisible = true; | 693 | this.hbjVisible = true; |
| 693 | this.$nextTick(function() { | 694 | this.$nextTick(function() { |
| 694 | this.$refs.hbj.getHInfo(this.hbsm); | 695 | this.$refs.hbj.$refs.hbj.getHInfo(this.hbsm); |
| 695 | }); | 696 | }); |
| 696 | // if (this.isHbfg) { | 697 | // if (this.isHbfg) { |
| 697 | 698 | ||
| ... | @@ -1383,5 +1384,10 @@ export default { | ... | @@ -1383,5 +1384,10 @@ export default { |
| 1383 | top: 1px; | 1384 | top: 1px; |
| 1384 | } | 1385 | } |
| 1385 | } | 1386 | } |
| 1387 | .hbjDialog{ | ||
| 1388 | /deep/.el-dialog{ | ||
| 1389 | margin-top: 10vh!important; | ||
| 1390 | } | ||
| 1391 | } | ||
| 1386 | } | 1392 | } |
| 1387 | </style> | 1393 | </style> | ... | ... |
-
Please register or sign in to post a comment