宗地分割后的各个宗地的面积分摊表数据更新
Showing
1 changed file
with
11 additions
and
3 deletions
| ... | @@ -47,7 +47,7 @@ export default { | ... | @@ -47,7 +47,7 @@ export default { |
| 47 | methods: { | 47 | methods: { |
| 48 | loadingStatus() { | 48 | loadingStatus() { |
| 49 | console.log("是否禁用") | 49 | console.log("是否禁用") |
| 50 | let bsm=this.$store.state.zdbsm; | 50 | let bsm=this.$route.query.bsm; |
| 51 | queryStatus(bsm).then(res => { | 51 | queryStatus(bsm).then(res => { |
| 52 | if (res.success) { | 52 | if (res.success) { |
| 53 | let qszt = res.result.qszt; | 53 | let qszt = res.result.qszt; |
| ... | @@ -89,8 +89,16 @@ export default { | ... | @@ -89,8 +89,16 @@ export default { |
| 89 | }, | 89 | }, |
| 90 | created() {}, | 90 | created() {}, |
| 91 | mounted() {}, | 91 | mounted() {}, |
| 92 | computed: {}, | 92 | computed: { |
| 93 | watch: {}, | 93 | zdbsm() { |
| 94 | return this.$route.query.bsm; | ||
| 95 | }, | ||
| 96 | }, | ||
| 97 | watch: { | ||
| 98 | zdbsm: function (val) { | ||
| 99 | this.loadingStatus(); | ||
| 100 | }, | ||
| 101 | }, | ||
| 94 | }; | 102 | }; |
| 95 | </script> | 103 | </script> |
| 96 | <style scoped lang="less"> | 104 | <style scoped lang="less"> | ... | ... |
-
Please register or sign in to post a comment