不动产明细查询
Showing
2 changed files
with
11 additions
and
2 deletions
1 | <template> | 1 | <template> |
2 | <div v-Loading="Loading"> | 2 | <div v-Loading="Loading"> |
3 | <el-steps :active="activeStep" finish-status="success"> | 3 | |
4 | <el-steps :active="activeStep" finish-status="success" v-if="isADD"> | ||
5 | <el-step title="条件录入"></el-step> | ||
6 | <el-step title="查询结果"></el-step> | ||
7 | </el-steps> | ||
8 | <el-steps :active="activeStep" finish-status="success" v-else> | ||
4 | <el-step title="条件录入" @click.native="on_click(0)" class="pointer"></el-step> | 9 | <el-step title="条件录入" @click.native="on_click(0)" class="pointer"></el-step> |
5 | <el-step title="查询结果" @click.native="on_click(2)" class="pointer"></el-step> | 10 | <el-step title="查询结果" @click.native="on_click(2)" class="pointer"></el-step> |
6 | </el-steps> | 11 | </el-steps> |
... | @@ -74,6 +79,7 @@ | ... | @@ -74,6 +79,7 @@ |
74 | }, | 79 | }, |
75 | data () { | 80 | data () { |
76 | return { | 81 | return { |
82 | isADD: true, | ||
77 | Loading: false, | 83 | Loading: false, |
78 | activeStep: 0, | 84 | activeStep: 0, |
79 | //是否查询 | 85 | //是否查询 |
... | @@ -102,6 +108,7 @@ | ... | @@ -102,6 +108,7 @@ |
102 | }, | 108 | }, |
103 | mounted () { | 109 | mounted () { |
104 | this.loadData() | 110 | this.loadData() |
111 | this.isADD = this.formData.isAdd | ||
105 | if (this.formData.sqcxBsm != '') { | 112 | if (this.formData.sqcxBsm != '') { |
106 | this.activeStep = 2; | 113 | this.activeStep = 2; |
107 | this.isSearch = true; | 114 | this.isSearch = true; |
... | @@ -181,6 +188,7 @@ | ... | @@ -181,6 +188,7 @@ |
181 | store.dispatch('user/reWorkFresh', true) | 188 | store.dispatch('user/reWorkFresh', true) |
182 | this.activeStep = 2; | 189 | this.activeStep = 2; |
183 | this.isSearch = true; | 190 | this.isSearch = true; |
191 | this.isADD = false | ||
184 | this.$nextTick(() => { | 192 | this.$nextTick(() => { |
185 | this.$refs.dydjbInfo.setResult(res.result) | 193 | this.$refs.dydjbInfo.setResult(res.result) |
186 | }) | 194 | }) | ... | ... |
... | @@ -132,7 +132,8 @@ | ... | @@ -132,7 +132,8 @@ |
132 | */ | 132 | */ |
133 | openAddDialog () { | 133 | openAddDialog () { |
134 | this.$popupDialog("房屋明细查询", "sqcx/dydjb/components/addDydjb", { | 134 | this.$popupDialog("房屋明细查询", "sqcx/dydjb/components/addDydjb", { |
135 | sqcxBsm: '' | 135 | sqcxBsm: '', |
136 | isAdd: true | ||
136 | }) | 137 | }) |
137 | } | 138 | } |
138 | }, | 139 | }, | ... | ... |
-
Please register or sign in to post a comment