4d50cf10 by jiaozeping@pashanhoo.com

提交通用参数

1 parent 3eafb84c
......@@ -54,6 +54,7 @@
<script>
//查封登记
import { datas, sendThis } from "../javascript/bdcql.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
import jump from "../components/mixin/jump";
import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
......@@ -65,13 +66,7 @@ export default {
mixins: [table, jump],
data () {
return {
queryForm: {
qllx: "",
bdcdyh: "",
ywh: "",
bdcqzh: "",
sqywbm: this.djywbm,
},
queryForm: defaultParameters.defaultParameters(),
qllxs: [],
tableData: {
total: 0,
......@@ -96,6 +91,7 @@ export default {
},
fetchData () {
if (this.bsmSqyw) {
this.queryForm.sqywbm=this.djywbm;
selectQlxx({ ...this.queryForm, ...this.pageData })
.then((res) => {
if (res.code === 200) {
......
......@@ -54,6 +54,7 @@
</template>
<script>
import { datas, sendThis } from "../javascript/bdcqlMain.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
import jump from "../components/mixin/jump";
import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
......@@ -65,13 +66,7 @@ export default {
mixins: [table, jump],
data () {
return {
queryForm: {
qllx: "",
bdcdyh: "",
ywh: "",
bdcqzh: "",
sqywbm: this.djywbm,
},
queryForm: defaultParameters.defaultParameters(),
qllxs: [],
tableData: {
total: 0,
......@@ -96,6 +91,7 @@ export default {
},
fetchData () {
if (this.bsmSqyw) {
this.queryForm.sqywbm=this.djywbm;
selectQlxx({ ...this.queryForm, ...this.pageData })
.then((res) => {
if (res.code === 200) {
......
......@@ -54,6 +54,7 @@
<script>
//查封登记
import { datas, sendThis } from "../javascript/cfdj.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
import jump from "../components/mixin/jump";
import { selectCfdj, startBusinessFlow } from "@/api/ywbl.js";
......@@ -65,13 +66,7 @@ export default {
mixins: [table, jump],
data () {
return {
queryForm: {
qllx: "",
bdcdyh: "",
ywh: "",
bdcqzh: "",
sqywbm: this.djywbm,
},
queryForm: defaultParameters.defaultParameters(),
qllxs: [],
tableData: {
total: 0,
......@@ -96,6 +91,7 @@ export default {
},
fetchData () {
if (this.bsmSqyw) {
this.queryForm.sqywbm=this.djywbm;
selectCfdj({ ...this.queryForm, ...this.pageData })
.then((res) => {
if (res.code === 200) {
......
......@@ -56,6 +56,7 @@
<script>
//抵押权首次登记
import { datas, sendThis } from "../javascript/diyaq.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
import jump from "../components/mixin/jump";
import { selectDiyaq, startBusinessFlow } from "@/api/ywbl.js";
......@@ -68,13 +69,7 @@ export default {
mixins: [table, jump],
data () {
return {
queryForm: {
qllx: "",
bdcdyh: "",
ywh: "",
bdcqzh: "",
sqywbm: this.djywbm
},
queryForm: defaultParameters.defaultParameters(),
qllxs: [],
tableData: {
total: 0,
......@@ -99,6 +94,7 @@ export default {
},
fetchData () {
if (this.bsmSqyw) {
this.queryForm.sqywbm=this.djywbm;
selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
......
......@@ -40,6 +40,7 @@
<script>
//首次登记
import { datas, sendThis } from "../javascript/jsydsyq100.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
import jump from "../components/mixin/jump";
import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js";
......@@ -52,13 +53,8 @@ export default {
mixins: [table, jump],
data () {
return {
queryForm: {
qllx: "",
bdcdyh: "",
ywh: "",
bdcqzh: "",
sqywbm: this.djywbm,
},
queryForm: defaultParameters.defaultParameters(),
qllxs: [],
tableData: {
total: 0,
......@@ -83,6 +79,8 @@ export default {
},
fetchData () {
if (this.bsmSqyw) {
this.queryForm.sqywbm=this.djywbm;
selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
......
......@@ -56,6 +56,7 @@
<script>
//首次登记
import { datas, sendThis } from "../javascript/jsydsyq200.js";
import { defaultParameters } from "../javascript/publicDefaultPar.js";
import table from "@/utils/mixin/table";
import jump from "../components/mixin/jump";
import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js";
......@@ -68,13 +69,7 @@ export default {
mixins: [table, jump],
data () {
return {
queryForm: {
qllx: "",
bdcdyh: "",
ywh: "",
bdcqzh: "",
sqywbm: this.djywbm,
},
queryForm: defaultParameters.defaultParameters(),
qllxs: [],
tableData: {
total: 0,
......@@ -99,6 +94,8 @@ export default {
},
fetchData () {
if (this.bsmSqyw) {
this.queryForm.sqywbm=this.djywbm;
selectQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
let { total, records } = res.result;
......
import filter from '@/utils/filter.js'
let vm = null
const sendThis = (_this) => {
vm = _this
}
//选择单元通用默认查询条件
class data extends filter {
constructor() {
super()
}
defaultParameters(){
return [
{
qllx: "",
bdcdyh: "",
ywh: "",
bdcqzh: "",
}
]
}
}
let defaultParameters = new data()
export {
defaultParameters,
sendThis
}