abdd1e64 by renchao@pashanhoo.com

style:证书领取查询,在线工程抵押查询模块功能的完善

1 parent 5151dab7
......@@ -102,11 +102,6 @@
djlx: "",
ywh: "",
},
// pageData: {
// currentPage: 1,
// pageSize: 10,
// total: 0,
// },
tableData: {
total: 0,
columns: datas.columns(),
......@@ -148,9 +143,9 @@
handleSort (name, sort) {
console.log(name, sort);
},
moreQueryClick () { },
openDialog (item) {
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
// window.open(href, '_blank');
window.open(href, `urlname${item.bsmSlsq}`);
}
}
......
......@@ -6,25 +6,25 @@
<el-row>
<el-col :span="5">
<el-form-item label="项目名称" label-width="70px">
<el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" clearable class="width100">
<el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="项目编号">
<el-input placeholder="请输入项目编号" v-model="queryForm.xmbh" clearable class="width100">
<el-input placeholder="请输入项目编号" v-model="queryForm.xmbh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="宗地代码">
<el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable class="width100">
<el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="自然幢号">
<el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width100">
<el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width100">
</el-input>
</el-form-item>
</el-col>
......@@ -48,64 +48,65 @@
</div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./lpcxdata";
import { getLpZrz } from "@/api/lpb.js";
export default {
name: "lpcx",
components: {},
mixins: [table],
mounted () {
sendThis(this)
},
data () {
return {
queryForm: {
xmmc: "",
xmbh: "",
zddm: "",
zrzh: "",
},
pageData: {
currentPage: 1,
pageSize: 10,
total: 0,
},
tableData: {
columns: datas.columns(),
data: [],
},
};
},
methods: {
// 初始化数据
queryClick () {
this.$startLoading();
getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
this.pageData.total = res.result.total;
this.tableData.data = res.result.records;
}
});
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./lpcxdata";
import { getLpZrz } from "@/api/lpb.js";
export default {
name: "lpcx",
components: {},
mixins: [table],
mounted () {
sendThis(this)
},
handleSort (name, sort) {
console.log(name, sort);
data () {
return {
queryForm: {
xmmc: "",
xmbh: "",
zddm: "",
zrzh: "",
},
pageData: {
currentPage: 1,
pageSize: 10,
total: 0,
},
tableData: {
columns: datas.columns(),
data: [],
},
};
},
//打开楼盘表
openlpbClick (scope) {
// var zrzbsm = scope.row.bsm;
this.$popup('楼盘表', 'lpb/index', {
width: '90%',
height: "92%",
formData: {
bsm: scope.row.bsm
}
})
},
},
};
methods: {
// 初始化数据
queryClick () {
this.$startLoading();
getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
if (res.code === 200) {
this.pageData.total = res.result.total;
this.tableData.data = res.result.records;
}
});
},
handleSort (name, sort) {
console.log(name, sort);
},
moreQueryClick () { },
//打开楼盘表
openlpbClick (scope) {
// var zrzbsm = scope.row.bsm;
this.$popup('楼盘表', 'lpb/index', {
width: '90%',
height: "92%",
formData: {
bsm: scope.row.bsm
}
})
}
}
}
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
</style>
......
......@@ -40,71 +40,68 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
<lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
</div>
<!-- <el-dialog :visible.sync="dialogVisible" width="52%" :before-close="handleClose">
</el-dialog> -->
</div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zslqcx";
import { getBdcqzReceiveList } from "@/api/zhcx"
import { bdcqzPreview } from "@/api/bdcqz"
export default {
components: {},
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
queryForm: {
bdcqzh: "",
ysxlh: "",
ywh: "",
lzrxm: "",
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zslqcx";
import { getBdcqzReceiveList } from "@/api/zhcx"
import { bdcqzPreview } from "@/api/bdcqz"
export default {
components: {},
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
queryForm: {
bdcqzh: "",
ysxlh: "",
ywh: "",
lzrxm: "",
},
dialogVisible: false,
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
};
},
methods: {
// 查询
queryClick () {
this.$startLoading()
getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
dialogVisible: false,
tableData: {
total: 0,
columns: datas.columns(),
data: [],
openDialog (item) {
this.$startLoading()
bdcqzPreview(item).then(res => {
this.$endLoading()
this.dialogVisible = true;
let blob = new Blob([res]);
this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) })
})
},
};
},
methods: {
// 查询
queryClick () {
this.$startLoading()
getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
openDialog (item) {
this.$startLoading()
bdcqzPreview(item).then(res => {
this.$endLoading()
this.dialogVisible = true;
let blob = new Blob([res]);
this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) })
})
handleClose () {
this.dialogVisible = false;
}
},
handleClose () {
this.dialogVisible = false;
}
},
};
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
</style>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-19 13:27:58
-->
<template>
<div class="from-clues">
<!-- 表单部分 -->
......@@ -33,7 +38,7 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
<lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
......@@ -41,46 +46,46 @@
</div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zxgcdycx";
import { getZjgcdyList } from "@/api/zhcx"
export default {
components: {},
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
queryForm: {
xmmc: "",
qymc: "",
zrzh: "",
},
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
};
},
methods: {
// 查询
queryClick () {
this.$startLoading()
getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zxgcdycx";
import { getZjgcdyList } from "@/api/zhcx"
export default {
components: {},
mixins: [table],
mounted () {
sendThis(this);
},
data () {
return {
queryForm: {
xmmc: "",
qymc: "",
zrzh: "",
},
tableData: {
total: 0,
columns: datas.columns(),
data: [],
},
};
},
methods: {
// 查询
queryClick () {
this.$startLoading()
getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => {
this.$endLoading()
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
},
};
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
@import "~@/styles/public.scss";
</style>
......