b250c965 by 任超

style:家庭房产

1 parent 92a29bbb
...@@ -120,7 +120,6 @@ export default { ...@@ -120,7 +120,6 @@ export default {
120 // 单选 120 // 单选
121 singleElection (row) { 121 singleElection (row) {
122 this.selected = this.data.indexOf(row); 122 this.selected = this.data.indexOf(row);
123 console.log(this.selected);
124 }, 123 },
125 124
126 tableRowClassName ({ row, rowIndex }) { 125 tableRowClassName ({ row, rowIndex }) {
......
...@@ -120,7 +120,6 @@ export default { ...@@ -120,7 +120,6 @@ export default {
120 // 单选 120 // 单选
121 singleElection (row) { 121 singleElection (row) {
122 this.selected = this.data.indexOf(row); 122 this.selected = this.data.indexOf(row);
123 console.log(this.selected);
124 }, 123 },
125 124
126 tableRowClassName ({ row, rowIndex }) { 125 tableRowClassName ({ row, rowIndex }) {
......
...@@ -97,6 +97,9 @@ export default { ...@@ -97,6 +97,9 @@ export default {
97 this.myValue = val; 97 this.myValue = val;
98 let that = this 98 let that = this
99 if (val) { 99 if (val) {
100 this.form.sqrList = []
101 this.form.qlrList = []
102 this.isSearch = false
100 if (this.sqcxBsm == "") { 103 if (this.sqcxBsm == "") {
101 that.add("sqr"); 104 that.add("sqr");
102 that.add("qlr"); 105 that.add("qlr");
...@@ -121,9 +124,6 @@ export default { ...@@ -121,9 +124,6 @@ export default {
121 }, 124 },
122 methods: { 125 methods: {
123 closeDialog () { 126 closeDialog () {
124 this.form.sqrList = []
125 this.form.qlrList = []
126 this.isSearch = false
127 this.$emit("input", false); 127 this.$emit("input", false);
128 }, 128 },
129 loadData () { 129 loadData () {
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
131 getJtfcInfo({ sqcxBsm: this.sqcxBsm }).then((res) => { 131 getJtfcInfo({ sqcxBsm: this.sqcxBsm }).then((res) => {
132 this.$endLoading(); 132 this.$endLoading();
133 if (res.code == 200) { 133 if (res.code == 200) {
134 this.form = _.cloneDeep(res.result); 134 this.form = res.result;
135 this.isSearch = true; 135 this.isSearch = true;
136 } 136 }
137 }); 137 });
......
...@@ -88,6 +88,7 @@ export default { ...@@ -88,6 +88,7 @@ export default {
88 console.log(name, sort); 88 console.log(name, sort);
89 }, 89 },
90 handleAdd () { 90 handleAdd () {
91 this.sqcxBsm = ''
91 this.isDialog = true; 92 this.isDialog = true;
92 }, 93 },
93 handleViewClick (row) { 94 handleViewClick (row) {
......