提交通用参数
Showing
7 changed files
with
51 additions
and
42 deletions
... | @@ -54,6 +54,7 @@ | ... | @@ -54,6 +54,7 @@ |
54 | <script> | 54 | <script> |
55 | //查封登记 | 55 | //查封登记 |
56 | import { datas, sendThis } from "../javascript/bdcql.js"; | 56 | import { datas, sendThis } from "../javascript/bdcql.js"; |
57 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
57 | import table from "@/utils/mixin/table"; | 58 | import table from "@/utils/mixin/table"; |
58 | import jump from "../components/mixin/jump"; | 59 | import jump from "../components/mixin/jump"; |
59 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 60 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -65,13 +66,7 @@ export default { | ... | @@ -65,13 +66,7 @@ export default { |
65 | mixins: [table, jump], | 66 | mixins: [table, jump], |
66 | data () { | 67 | data () { |
67 | return { | 68 | return { |
68 | queryForm: { | 69 | queryForm: defaultParameters.defaultParameters(), |
69 | qllx: "", | ||
70 | bdcdyh: "", | ||
71 | ywh: "", | ||
72 | bdcqzh: "", | ||
73 | sqywbm: this.djywbm, | ||
74 | }, | ||
75 | qllxs: [], | 70 | qllxs: [], |
76 | tableData: { | 71 | tableData: { |
77 | total: 0, | 72 | total: 0, |
... | @@ -96,6 +91,7 @@ export default { | ... | @@ -96,6 +91,7 @@ export default { |
96 | }, | 91 | }, |
97 | fetchData () { | 92 | fetchData () { |
98 | if (this.bsmSqyw) { | 93 | if (this.bsmSqyw) { |
94 | this.queryForm.sqywbm=this.djywbm; | ||
99 | selectQlxx({ ...this.queryForm, ...this.pageData }) | 95 | selectQlxx({ ...this.queryForm, ...this.pageData }) |
100 | .then((res) => { | 96 | .then((res) => { |
101 | if (res.code === 200) { | 97 | if (res.code === 200) { | ... | ... |
... | @@ -54,6 +54,7 @@ | ... | @@ -54,6 +54,7 @@ |
54 | </template> | 54 | </template> |
55 | <script> | 55 | <script> |
56 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; | 56 | import { datas, sendThis } from "../javascript/bdcqlMain.js"; |
57 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
57 | import table from "@/utils/mixin/table"; | 58 | import table from "@/utils/mixin/table"; |
58 | import jump from "../components/mixin/jump"; | 59 | import jump from "../components/mixin/jump"; |
59 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 60 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -65,13 +66,7 @@ export default { | ... | @@ -65,13 +66,7 @@ export default { |
65 | mixins: [table, jump], | 66 | mixins: [table, jump], |
66 | data () { | 67 | data () { |
67 | return { | 68 | return { |
68 | queryForm: { | 69 | queryForm: defaultParameters.defaultParameters(), |
69 | qllx: "", | ||
70 | bdcdyh: "", | ||
71 | ywh: "", | ||
72 | bdcqzh: "", | ||
73 | sqywbm: this.djywbm, | ||
74 | }, | ||
75 | qllxs: [], | 70 | qllxs: [], |
76 | tableData: { | 71 | tableData: { |
77 | total: 0, | 72 | total: 0, |
... | @@ -96,6 +91,7 @@ export default { | ... | @@ -96,6 +91,7 @@ export default { |
96 | }, | 91 | }, |
97 | fetchData () { | 92 | fetchData () { |
98 | if (this.bsmSqyw) { | 93 | if (this.bsmSqyw) { |
94 | this.queryForm.sqywbm=this.djywbm; | ||
99 | selectQlxx({ ...this.queryForm, ...this.pageData }) | 95 | selectQlxx({ ...this.queryForm, ...this.pageData }) |
100 | .then((res) => { | 96 | .then((res) => { |
101 | if (res.code === 200) { | 97 | if (res.code === 200) { | ... | ... |
... | @@ -54,6 +54,7 @@ | ... | @@ -54,6 +54,7 @@ |
54 | <script> | 54 | <script> |
55 | //查封登记 | 55 | //查封登记 |
56 | import { datas, sendThis } from "../javascript/cfdj.js"; | 56 | import { datas, sendThis } from "../javascript/cfdj.js"; |
57 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
57 | import table from "@/utils/mixin/table"; | 58 | import table from "@/utils/mixin/table"; |
58 | import jump from "../components/mixin/jump"; | 59 | import jump from "../components/mixin/jump"; |
59 | import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; | 60 | import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -65,13 +66,7 @@ export default { | ... | @@ -65,13 +66,7 @@ export default { |
65 | mixins: [table, jump], | 66 | mixins: [table, jump], |
66 | data () { | 67 | data () { |
67 | return { | 68 | return { |
68 | queryForm: { | 69 | queryForm: defaultParameters.defaultParameters(), |
69 | qllx: "", | ||
70 | bdcdyh: "", | ||
71 | ywh: "", | ||
72 | bdcqzh: "", | ||
73 | sqywbm: this.djywbm, | ||
74 | }, | ||
75 | qllxs: [], | 70 | qllxs: [], |
76 | tableData: { | 71 | tableData: { |
77 | total: 0, | 72 | total: 0, |
... | @@ -96,6 +91,7 @@ export default { | ... | @@ -96,6 +91,7 @@ export default { |
96 | }, | 91 | }, |
97 | fetchData () { | 92 | fetchData () { |
98 | if (this.bsmSqyw) { | 93 | if (this.bsmSqyw) { |
94 | this.queryForm.sqywbm=this.djywbm; | ||
99 | selectCfdj({ ...this.queryForm, ...this.pageData }) | 95 | selectCfdj({ ...this.queryForm, ...this.pageData }) |
100 | .then((res) => { | 96 | .then((res) => { |
101 | if (res.code === 200) { | 97 | if (res.code === 200) { | ... | ... |
... | @@ -56,6 +56,7 @@ | ... | @@ -56,6 +56,7 @@ |
56 | <script> | 56 | <script> |
57 | //抵押权首次登记 | 57 | //抵押权首次登记 |
58 | import { datas, sendThis } from "../javascript/diyaq.js"; | 58 | import { datas, sendThis } from "../javascript/diyaq.js"; |
59 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
59 | import table from "@/utils/mixin/table"; | 60 | import table from "@/utils/mixin/table"; |
60 | import jump from "../components/mixin/jump"; | 61 | import jump from "../components/mixin/jump"; |
61 | import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; | 62 | import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -68,13 +69,7 @@ export default { | ... | @@ -68,13 +69,7 @@ export default { |
68 | mixins: [table, jump], | 69 | mixins: [table, jump], |
69 | data () { | 70 | data () { |
70 | return { | 71 | return { |
71 | queryForm: { | 72 | queryForm: defaultParameters.defaultParameters(), |
72 | qllx: "", | ||
73 | bdcdyh: "", | ||
74 | ywh: "", | ||
75 | bdcqzh: "", | ||
76 | sqywbm: this.djywbm | ||
77 | }, | ||
78 | qllxs: [], | 73 | qllxs: [], |
79 | tableData: { | 74 | tableData: { |
80 | total: 0, | 75 | total: 0, |
... | @@ -99,6 +94,7 @@ export default { | ... | @@ -99,6 +94,7 @@ export default { |
99 | }, | 94 | }, |
100 | fetchData () { | 95 | fetchData () { |
101 | if (this.bsmSqyw) { | 96 | if (this.bsmSqyw) { |
97 | this.queryForm.sqywbm=this.djywbm; | ||
102 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { | 98 | selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => { |
103 | if (res.code === 200) { | 99 | if (res.code === 200) { |
104 | let { total, records } = res.result; | 100 | let { total, records } = res.result; | ... | ... |
... | @@ -40,6 +40,7 @@ | ... | @@ -40,6 +40,7 @@ |
40 | <script> | 40 | <script> |
41 | //首次登记 | 41 | //首次登记 |
42 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; | 42 | import { datas, sendThis } from "../javascript/jsydsyq100.js"; |
43 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
43 | import table from "@/utils/mixin/table"; | 44 | import table from "@/utils/mixin/table"; |
44 | import jump from "../components/mixin/jump"; | 45 | import jump from "../components/mixin/jump"; |
45 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; | 46 | import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -52,13 +53,8 @@ export default { | ... | @@ -52,13 +53,8 @@ export default { |
52 | mixins: [table, jump], | 53 | mixins: [table, jump], |
53 | data () { | 54 | data () { |
54 | return { | 55 | return { |
55 | queryForm: { | 56 | queryForm: defaultParameters.defaultParameters(), |
56 | qllx: "", | 57 | |
57 | bdcdyh: "", | ||
58 | ywh: "", | ||
59 | bdcqzh: "", | ||
60 | sqywbm: this.djywbm, | ||
61 | }, | ||
62 | qllxs: [], | 58 | qllxs: [], |
63 | tableData: { | 59 | tableData: { |
64 | total: 0, | 60 | total: 0, |
... | @@ -83,6 +79,8 @@ export default { | ... | @@ -83,6 +79,8 @@ export default { |
83 | }, | 79 | }, |
84 | fetchData () { | 80 | fetchData () { |
85 | if (this.bsmSqyw) { | 81 | if (this.bsmSqyw) { |
82 | this.queryForm.sqywbm=this.djywbm; | ||
83 | |||
86 | selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { | 84 | selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { |
87 | if (res.code === 200) { | 85 | if (res.code === 200) { |
88 | let { total, records } = res.result; | 86 | let { total, records } = res.result; | ... | ... |
... | @@ -56,6 +56,7 @@ | ... | @@ -56,6 +56,7 @@ |
56 | <script> | 56 | <script> |
57 | //首次登记 | 57 | //首次登记 |
58 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; | 58 | import { datas, sendThis } from "../javascript/jsydsyq200.js"; |
59 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
59 | import table from "@/utils/mixin/table"; | 60 | import table from "@/utils/mixin/table"; |
60 | import jump from "../components/mixin/jump"; | 61 | import jump from "../components/mixin/jump"; |
61 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 62 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; |
... | @@ -68,13 +69,7 @@ export default { | ... | @@ -68,13 +69,7 @@ export default { |
68 | mixins: [table, jump], | 69 | mixins: [table, jump], |
69 | data () { | 70 | data () { |
70 | return { | 71 | return { |
71 | queryForm: { | 72 | queryForm: defaultParameters.defaultParameters(), |
72 | qllx: "", | ||
73 | bdcdyh: "", | ||
74 | ywh: "", | ||
75 | bdcqzh: "", | ||
76 | sqywbm: this.djywbm, | ||
77 | }, | ||
78 | qllxs: [], | 73 | qllxs: [], |
79 | tableData: { | 74 | tableData: { |
80 | total: 0, | 75 | total: 0, |
... | @@ -99,6 +94,8 @@ export default { | ... | @@ -99,6 +94,8 @@ export default { |
99 | }, | 94 | }, |
100 | fetchData () { | 95 | fetchData () { |
101 | if (this.bsmSqyw) { | 96 | if (this.bsmSqyw) { |
97 | this.queryForm.sqywbm=this.djywbm; | ||
98 | |||
102 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 99 | selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
103 | if (res.code === 200) { | 100 | if (res.code === 200) { |
104 | let { total, records } = res.result; | 101 | let { total, records } = res.result; | ... | ... |
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | |||
8 | //选择单元通用默认查询条件 | ||
9 | class data extends filter { | ||
10 | constructor() { | ||
11 | super() | ||
12 | } | ||
13 | defaultParameters(){ | ||
14 | return [ | ||
15 | { | ||
16 | qllx: "", | ||
17 | bdcdyh: "", | ||
18 | ywh: "", | ||
19 | bdcqzh: "", | ||
20 | } | ||
21 | ] | ||
22 | } | ||
23 | |||
24 | |||
25 | } | ||
26 | let defaultParameters = new data() | ||
27 | export { | ||
28 | defaultParameters, | ||
29 | sendThis | ||
30 | } |
-
Please register or sign in to post a comment