fdced0a6 by weimo934

feat():业主共有禁用

1 parent 2b0e39e4
...@@ -37,13 +37,15 @@ export default { ...@@ -37,13 +37,15 @@ export default {
37 }, 37 },
38 methods: { 38 methods: {
39 loadingStatus() { 39 loadingStatus() {
40 console.log("是否禁用")
41 let bsm=this.$store.state.zrzbsm; 40 let bsm=this.$store.state.zrzbsm;
42 queryStatus(bsm).then(res => { 41 queryStatus(bsm).then(res => {
43 if (res.success) { 42 if (res.success) {
43 if (res.result) {
44 let qszt = res.result.qszt; 44 let qszt = res.result.qszt;
45
45 this.isDisabled = +qszt !== 0; 46 this.isDisabled = +qszt !== 0;
46 } 47 }
48 }
47 }) 49 })
48 }, 50 },
49 handleClick(tab, event) { 51 handleClick(tab, event) {
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
21 type="primary" 21 type="primary"
22 class="changeBtn inAdd addMinus" 22 class="changeBtn inAdd addMinus"
23 @click="addRow" 23 @click="addRow"
24 :disabled="isDisabled"
24 >+ 25 >+
25 </el-button 26 </el-button
26 > 27 >
......