54ef6163 by renchao@pashanhoo.com

style:待办箱已办箱高级搜索功能的完善

1 parent b8065e82
1 import { log } from 'bpmn-js-token-simulation'; 1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-10-26 14:22:21
5 */
2 import { mapGetters } from 'vuex' 6 import { mapGetters } from 'vuex'
3 import { defaultParameters } from "../../views/ywbl/ywsq/javascript/publicDefaultPar"; 7 import { defaultParameters } from "../../views/ywbl/ywsq/javascript/publicDefaultPar";
4 export default { 8 export default {
...@@ -10,9 +14,6 @@ export default { ...@@ -10,9 +14,6 @@ export default {
10 } 14 }
11 } 15 }
12 }, 16 },
13 created() {
14
15 },
16 computed: { 17 computed: {
17 ...mapGetters(['dictData']), 18 ...mapGetters(['dictData']),
18 }, 19 },
...@@ -26,8 +27,8 @@ export default { ...@@ -26,8 +27,8 @@ export default {
26 * @param {*} e 27 * @param {*} e
27 * @author: renchao 28 * @author: renchao
28 */ 29 */
29 handkeyCode(e) { 30 handkeyCode (e) {
30 if(e.keyCode === 13){ 31 if (e.keyCode === 13) {
31 console.log("安"); 32 console.log("安");
32 this.handleSearch() 33 this.handleSearch()
33 } 34 }
...@@ -36,7 +37,7 @@ export default { ...@@ -36,7 +37,7 @@ export default {
36 * @description: handleSearch 37 * @description: handleSearch
37 * @author: renchao 38 * @author: renchao
38 */ 39 */
39 handleSearch(){ 40 handleSearch () {
40 this.pageData.currentPage = 1 41 this.pageData.currentPage = 1
41 if (this.fetchData) { 42 if (this.fetchData) {
42 this.fetchData() 43 this.fetchData()
...@@ -80,7 +81,7 @@ export default { ...@@ -80,7 +81,7 @@ export default {
80 * @param {*} isYwbl 81 * @param {*} isYwbl
81 * @author: renchao 82 * @author: renchao
82 */ 83 */
83 resetForm(isYwbl){ 84 resetForm (isYwbl) {
84 if (isYwbl) { 85 if (isYwbl) {
85 this.queryForm = defaultParameters.defaultParameters(); 86 this.queryForm = defaultParameters.defaultParameters();
86 this.pageData.currentPage = 1; 87 this.pageData.currentPage = 1;
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-25 09:31:27 4 * @LastEditTime: 2023-10-26 14:13:12
5 */ 5 */
6 export default { 6 export default {
7 data () { 7 data () {
...@@ -18,7 +18,6 @@ export default { ...@@ -18,7 +18,6 @@ export default {
18 */ 18 */
19 moreQueryClick () { 19 moreQueryClick () {
20 this.isSearch = true 20 this.isSearch = true
21
22 }, 21 },
23 /** 22 /**
24 * @description: 查询事件 23 * @description: 查询事件
...@@ -80,6 +79,7 @@ export default { ...@@ -80,6 +79,7 @@ export default {
80 this.queryForm[item.zdm] = '' 79 this.queryForm[item.zdm] = ''
81 } 80 }
82 this.searchForm[item.zdm] = '' 81 this.searchForm[item.zdm] = ''
82 this.queryClick()
83 }, 83 },
84 /** 84 /**
85 * @description: iterationData 85 * @description: iterationData
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-12 17:05:40 4 * @LastEditTime: 2023-10-26 14:21:47
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -201,9 +201,8 @@ ...@@ -201,9 +201,8 @@
201 total: 0, 201 total: 0,
202 columns: datas.columns(), 202 columns: datas.columns(),
203 data: [], 203 data: [],
204 }, 204 }
205 jumpid: "", 205 }
206 };
207 }, 206 },
208 mounted () { 207 mounted () {
209 sendThis(this); 208 sendThis(this);
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-10-24 16:09:46 4 * @LastEditTime: 2023-10-26 14:21:27
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -193,24 +193,12 @@ ...@@ -193,24 +193,12 @@
193 data () { 193 data () {
194 return { 194 return {
195 queryForm: { 195 queryForm: {
196 ywly: "",
197 qllx: "",
198 djlx: "",
199 ywh: "",
200 bdcdyh: "",
201 sqrmc: "",
202 sqrzjhm: "",
203 zl: ""
204 }, 196 },
205 searchForm: { 197 searchForm: {
206 ywlymc: "", 198 ywlymc: "",
207 qllxmc: "", 199 qllxmc: "",
208 djlxmc: "", 200 djlxmc: "",
209 ywh: "", 201 ywh: "",
210 bdcdyh: "",
211 sqrmc: "",
212 sqrzjhm: "",
213 zl: ""
214 }, 202 },
215 tableData: { 203 tableData: {
216 total: 0, 204 total: 0,
......