9c5fe647 by 任超

style:查询

1 parent 8b54afc7
...@@ -127,11 +127,9 @@ export default { ...@@ -127,11 +127,9 @@ export default {
127 handleSelectionChange (val) { 127 handleSelectionChange (val) {
128 this.bdcdysz = val; 128 this.bdcdysz = val;
129 }, 129 },
130 queryClick () { 130
131 this.fetchData(); 131 }
132 }, 132 }
133 },
134 };
135 </script> 133 </script>
136 <style scoped lang="scss"> 134 <style scoped lang="scss">
137 @import "~@/styles/mixin.scss"; 135 @import "~@/styles/mixin.scss";
......
...@@ -138,10 +138,7 @@ export default { ...@@ -138,10 +138,7 @@ export default {
138 }, 138 },
139 handleSelectionChange (val) { 139 handleSelectionChange (val) {
140 this.bdcdysz = val; 140 this.bdcdysz = val;
141 }, 141 }
142 queryClick () {
143 this.fetchData();
144 },
145 }, 142 },
146 }; 143 };
147 </script> 144 </script>
......
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
79 }, 79 },
80 fetchData () { 80 fetchData () {
81 if (this.bsmSqyw) { 81 if (this.bsmSqyw) {
82 this.queryForm.sqywbm=this.djywbm; 82 this.queryForm.sqywbm = this.djywbm;
83 83
84 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { 84 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => {
85 if (res.code === 200) { 85 if (res.code === 200) {
...@@ -113,11 +113,8 @@ export default { ...@@ -113,11 +113,8 @@ export default {
113 handleSelectionChange (val) { 113 handleSelectionChange (val) {
114 this.bdcdysz = val; 114 this.bdcdysz = val;
115 }, 115 },
116 queryClick () { 116 }
117 this.fetchData(); 117 }
118 },
119 },
120 };
121 </script> 118 </script>
122 <style scoped lang="scss"> 119 <style scoped lang="scss">
123 @import "~@/styles/mixin.scss"; 120 @import "~@/styles/mixin.scss";
......
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
94 }, 94 },
95 fetchData () { 95 fetchData () {
96 if (this.bsmSqyw) { 96 if (this.bsmSqyw) {
97 this.queryForm.sqywbm=this.djywbm; 97 this.queryForm.sqywbm = this.djywbm;
98 98
99 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 99 selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
100 if (res.code === 200) { 100 if (res.code === 200) {
...@@ -131,13 +131,9 @@ export default { ...@@ -131,13 +131,9 @@ export default {
131 item.ybdcqzsh = item.bdcqzh 131 item.ybdcqzsh = item.bdcqzh
132 }) 132 })
133 this.bdcdysz = val; 133 this.bdcdysz = val;
134 134 }
135 }, 135 }
136 queryClick () { 136 }
137 this.fetchData();
138 },
139 },
140 };
141 </script> 137 </script>
142 <style scoped lang="scss"> 138 <style scoped lang="scss">
143 @import "~@/styles/mixin.scss"; 139 @import "~@/styles/mixin.scss";
......
...@@ -9,6 +9,10 @@ export default { ...@@ -9,6 +9,10 @@ export default {
9 data.bestepid + '&bsmBusiness=' 9 data.bestepid + '&bsmBusiness='
10 ); 10 );
11 window.open(href, "_blank"); 11 window.open(href, "_blank");
12 },
13 queryClick () {
14 this.pageData.currentPage = 1
15 this.fetchData();
12 } 16 }
13 } 17 }
14 } 18 }
......
...@@ -10,20 +10,16 @@ class data extends filter { ...@@ -10,20 +10,16 @@ class data extends filter {
10 constructor() { 10 constructor() {
11 super() 11 super()
12 } 12 }
13 defaultParameters(){ 13 defaultParameters () {
14 return [ 14 return {
15 {
16 qllx: "", 15 qllx: "",
17 bdcdyh: "", 16 bdcdyh: "",
18 ywh: "", 17 ywh: "",
19 bdcqzh: "", 18 bdcqzh: "",
20 fwfl:"", 19 fwfl: "",
21 zl:"", 20 zl: "",
22 } 21 }
23 ]
24 } 22 }
25
26
27 } 23 }
28 let defaultParameters = new data() 24 let defaultParameters = new data()
29 export { 25 export {
......