1fe18c3e by jiaozeping@pashanhoo.com

queryClick

1 parent 48639e2c
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 </el-col> 18 </el-col>
19 <el-col :span="4" class="btnColRight"> 19 <el-col :span="4" class="btnColRight">
20 <el-form-item> 20 <el-form-item>
21 <el-button type="primary" @click="fetchData">查询</el-button> 21 <el-button type="primary" @click="queryClick">查询</el-button>
22 </el-form-item> 22 </el-form-item>
23 </el-col> 23 </el-col>
24 </el-row> 24 </el-row>
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
78 closeDialog () { 78 closeDialog () {
79 this.$emit("closeDialog"); 79 this.$emit("closeDialog");
80 }, 80 },
81 fetchData () { 81 queryClick () {
82 this.queryForm.sqywbm = this.sqywInfo.djywbm; 82 this.queryForm.sqywbm = this.sqywInfo.djywbm;
83 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { 83 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
84 if (res.code === 200) { 84 if (res.code === 200) {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 </el-col> 18 </el-col>
19 <el-col :span="4" class="btnColRight"> 19 <el-col :span="4" class="btnColRight">
20 <el-form-item> 20 <el-form-item>
21 <el-button type="primary" @click="fetchData">查询</el-button> 21 <el-button type="primary" @click="queryClick">查询</el-button>
22 </el-form-item> 22 </el-form-item>
23 </el-col> 23 </el-col>
24 </el-row> 24 </el-row>
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
75 closeDialog () { 75 closeDialog () {
76 this.$emit("closeDialog"); 76 this.$emit("closeDialog");
77 }, 77 },
78 fetchData () { 78 queryClick () {
79 this.queryForm.sqywbm = this.sqywInfo.djywbm; 79 this.queryForm.sqywbm = this.sqywInfo.djywbm;
80 selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 80 selectNydsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
81 if (res.code === 200) { 81 if (res.code === 200) {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
25 </el-col> 25 </el-col>
26 <el-col :span="2" class="btnColRight"> 26 <el-col :span="2" class="btnColRight">
27 <el-form-item> 27 <el-form-item>
28 <el-button type="primary" @click="fetchData()">查询</el-button> 28 <el-button type="primary" @click="queryClick">查询</el-button>
29 </el-form-item> 29 </el-form-item>
30 </el-col> 30 </el-col>
31 </el-row> 31 </el-row>
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
80 closeDialog() { 80 closeDialog() {
81 this.$emit("closeDialog"); 81 this.$emit("closeDialog");
82 }, 82 },
83 fetchData() { 83 queryClick() {
84 this.queryForm.sqywbm = this.sqywInfo.djywbm; 84 this.queryForm.sqywbm = this.sqywInfo.djywbm;
85 selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => { 85 selectFwsyq({ ...this.queryForm, ...this.pageData }).then((res) => {
86 if (res.code === 200) { 86 if (res.code === 200) {
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
32 </el-col> 32 </el-col>
33 <el-col :span="2" class="btnColRight"> 33 <el-col :span="2" class="btnColRight">
34 <el-form-item> 34 <el-form-item>
35 <el-button type="primary" @click="fetchData">查询</el-button> 35 <el-button type="primary" @click="queryClick">查询</el-button>
36 </el-form-item> 36 </el-form-item>
37 </el-col> 37 </el-col>
38 </el-row> 38 </el-row>
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
88 closeDialog() { 88 closeDialog() {
89 this.$emit("closeDialog"); 89 this.$emit("closeDialog");
90 }, 90 },
91 fetchData() { 91 queryClick() {
92 this.queryForm.sqywbm = this.sqywInfo.djywbm; 92 this.queryForm.sqywbm = this.sqywInfo.djywbm;
93 selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 93 selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
94 if (res.code === 200) { 94 if (res.code === 200) {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 </el-col> 18 </el-col>
19 <el-col :span="4" class="btnColRight"> 19 <el-col :span="4" class="btnColRight">
20 <el-form-item> 20 <el-form-item>
21 <el-button type="primary" @click="fetchData">查询</el-button> 21 <el-button type="primary" @click="queryClick">查询</el-button>
22 </el-form-item> 22 </el-form-item>
23 </el-col> 23 </el-col>
24 </el-row> 24 </el-row>
...@@ -79,9 +79,6 @@ export default { ...@@ -79,9 +79,6 @@ export default {
79 this.$emit("closeDialog"); 79 this.$emit("closeDialog");
80 }, 80 },
81 queryClick() { 81 queryClick() {
82 this.fetchData();
83 },
84 fetchData() {
85 this.queryForm.sqywbm = this.sqywInfo.djywbm; 82 this.queryForm.sqywbm = this.sqywInfo.djywbm;
86 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { 83 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
87 if (res.code === 200) { 84 if (res.code === 200) {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 </el-col> 40 </el-col>
41 <el-col :span="2" class="btnColRight"> 41 <el-col :span="2" class="btnColRight">
42 <el-form-item> 42 <el-form-item>
43 <el-button type="primary" @click="fetchData()">查询</el-button> 43 <el-button type="primary" @click="queryClick">查询</el-button>
44 </el-form-item> 44 </el-form-item>
45 </el-col> 45 </el-col>
46 </el-row> 46 </el-row>
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
104 closeDialog() { 104 closeDialog() {
105 this.$emit("closeDialog"); 105 this.$emit("closeDialog");
106 }, 106 },
107 fetchData() { 107 queryClick() {
108 this.queryForm.sqywbm = this.sqywInfo.djywbm; 108 this.queryForm.sqywbm = this.sqywInfo.djywbm;
109 selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => { 109 selectYgdj100({ ...this.queryForm, ...this.pageData }).then((res) => {
110 if (res.code === 200) { 110 if (res.code === 200) {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 </el-col> 40 </el-col>
41 <el-col :span="2" class="btnColRight"> 41 <el-col :span="2" class="btnColRight">
42 <el-form-item> 42 <el-form-item>
43 <el-button type="primary" @click="fetchData()">查询</el-button> 43 <el-button type="primary" @click="queryClick">查询</el-button>
44 </el-form-item> 44 </el-form-item>
45 </el-col> 45 </el-col>
46 </el-row> 46 </el-row>
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
104 closeDialog() { 104 closeDialog() {
105 this.$emit("closeDialog"); 105 this.$emit("closeDialog");
106 }, 106 },
107 fetchData() { 107 queryClick() {
108 this.queryForm.sqywbm = this.sqywInfo.djywbm; 108 this.queryForm.sqywbm = this.sqywInfo.djywbm;
109 selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => { 109 selectYgdj200({ ...this.queryForm, ...this.pageData }).then((res) => {
110 if (res.code === 200) { 110 if (res.code === 200) {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 </el-col> 40 </el-col>
41 <el-col :span="2" class="btnColRight"> 41 <el-col :span="2" class="btnColRight">
42 <el-form-item> 42 <el-form-item>
43 <el-button type="primary" @click="fetchData()">查询</el-button> 43 <el-button type="primary" @click="queryClick">查询</el-button>
44 </el-form-item> 44 </el-form-item>
45 </el-col> 45 </el-col>
46 </el-row> 46 </el-row>
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
104 closeDialog() { 104 closeDialog() {
105 this.$emit("closeDialog"); 105 this.$emit("closeDialog");
106 }, 106 },
107 fetchData() { 107 queryClick() {
108 this.queryForm.sqywbm = this.sqywInfo.djywbm; 108 this.queryForm.sqywbm = this.sqywInfo.djywbm;
109 selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => { 109 selectYgdy({ ...this.queryForm, ...this.pageData }).then((res) => {
110 if (res.code === 200) { 110 if (res.code === 200) {
......