abdd1e64 by renchao@pashanhoo.com

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

1 parent 5151dab7
...@@ -102,11 +102,6 @@ ...@@ -102,11 +102,6 @@
102 djlx: "", 102 djlx: "",
103 ywh: "", 103 ywh: "",
104 }, 104 },
105 // pageData: {
106 // currentPage: 1,
107 // pageSize: 10,
108 // total: 0,
109 // },
110 tableData: { 105 tableData: {
111 total: 0, 106 total: 0,
112 columns: datas.columns(), 107 columns: datas.columns(),
...@@ -148,9 +143,9 @@ ...@@ -148,9 +143,9 @@
148 handleSort (name, sort) { 143 handleSort (name, sort) {
149 console.log(name, sort); 144 console.log(name, sort);
150 }, 145 },
146 moreQueryClick () { },
151 openDialog (item) { 147 openDialog (item) {
152 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') 148 const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
153 // window.open(href, '_blank');
154 window.open(href, `urlname${item.bsmSlsq}`); 149 window.open(href, `urlname${item.bsmSlsq}`);
155 } 150 }
156 } 151 }
......
...@@ -6,25 +6,25 @@ ...@@ -6,25 +6,25 @@
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="项目名称" label-width="70px"> 8 <el-form-item label="项目名称" label-width="70px">
9 <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" clearable class="width100"> 9 <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" clearable class="width100">
10 </el-input> 10 </el-input>
11 </el-form-item> 11 </el-form-item>
12 </el-col> 12 </el-col>
13 <el-col :span="5"> 13 <el-col :span="5">
14 <el-form-item label="项目编号"> 14 <el-form-item label="项目编号">
15 <el-input placeholder="请输入项目编号" v-model="queryForm.xmbh" clearable class="width100"> 15 <el-input placeholder="请输入项目编号" v-model="queryForm.xmbh" clearable class="width100">
16 </el-input> 16 </el-input>
17 </el-form-item> 17 </el-form-item>
18 </el-col> 18 </el-col>
19 <el-col :span="5"> 19 <el-col :span="5">
20 <el-form-item label="宗地代码"> 20 <el-form-item label="宗地代码">
21 <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable class="width100"> 21 <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable class="width100">
22 </el-input> 22 </el-input>
23 </el-form-item> 23 </el-form-item>
24 </el-col> 24 </el-col>
25 <el-col :span="5"> 25 <el-col :span="5">
26 <el-form-item label="自然幢号"> 26 <el-form-item label="自然幢号">
27 <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width100"> 27 <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width100">
28 </el-input> 28 </el-input>
29 </el-form-item> 29 </el-form-item>
30 </el-col> 30 </el-col>
...@@ -48,64 +48,65 @@ ...@@ -48,64 +48,65 @@
48 </div> 48 </div>
49 </template> 49 </template>
50 <script> 50 <script>
51 import table from "@/utils/mixin/table"; 51 import table from "@/utils/mixin/table";
52 import { datas, sendThis } from "./lpcxdata"; 52 import { datas, sendThis } from "./lpcxdata";
53 import { getLpZrz } from "@/api/lpb.js"; 53 import { getLpZrz } from "@/api/lpb.js";
54 export default { 54 export default {
55 name: "lpcx", 55 name: "lpcx",
56 components: {}, 56 components: {},
57 mixins: [table], 57 mixins: [table],
58 mounted () { 58 mounted () {
59 sendThis(this) 59 sendThis(this)
60 },
61 data () {
62 return {
63 queryForm: {
64 xmmc: "",
65 xmbh: "",
66 zddm: "",
67 zrzh: "",
68 },
69 pageData: {
70 currentPage: 1,
71 pageSize: 10,
72 total: 0,
73 },
74 tableData: {
75 columns: datas.columns(),
76 data: [],
77 },
78 };
79 },
80 methods: {
81 // 初始化数据
82 queryClick () {
83 this.$startLoading();
84 getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
85 this.$endLoading();
86 if (res.code === 200) {
87 this.pageData.total = res.result.total;
88 this.tableData.data = res.result.records;
89 }
90 });
91 }, 60 },
92 handleSort (name, sort) { 61 data () {
93 console.log(name, sort); 62 return {
63 queryForm: {
64 xmmc: "",
65 xmbh: "",
66 zddm: "",
67 zrzh: "",
68 },
69 pageData: {
70 currentPage: 1,
71 pageSize: 10,
72 total: 0,
73 },
74 tableData: {
75 columns: datas.columns(),
76 data: [],
77 },
78 };
94 }, 79 },
95 //打开楼盘表 80 methods: {
96 openlpbClick (scope) { 81 // 初始化数据
97 // var zrzbsm = scope.row.bsm; 82 queryClick () {
98 this.$popup('楼盘表', 'lpb/index', { 83 this.$startLoading();
99 width: '90%', 84 getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
100 height: "92%", 85 this.$endLoading();
101 formData: { 86 if (res.code === 200) {
102 bsm: scope.row.bsm 87 this.pageData.total = res.result.total;
103 } 88 this.tableData.data = res.result.records;
104 }) 89 }
105 }, 90 });
106 }, 91 },
107 }; 92 handleSort (name, sort) {
93 console.log(name, sort);
94 },
95 moreQueryClick () { },
96 //打开楼盘表
97 openlpbClick (scope) {
98 // var zrzbsm = scope.row.bsm;
99 this.$popup('楼盘表', 'lpb/index', {
100 width: '90%',
101 height: "92%",
102 formData: {
103 bsm: scope.row.bsm
104 }
105 })
106 }
107 }
108 }
108 </script> 109 </script>
109 <style scoped lang="scss"> 110 <style scoped lang="scss">
110 @import "~@/styles/public.scss"; 111 @import "~@/styles/public.scss";
111 </style> 112 </style>
......
...@@ -40,71 +40,68 @@ ...@@ -40,71 +40,68 @@
40 </div> 40 </div>
41 <!-- 表格 --> 41 <!-- 表格 -->
42 <div class="from-clues-content"> 42 <div class="from-clues-content">
43 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" 43 <lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current" :total="tableData.total"
44 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 44 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
45 :data="tableData.data"> 45 :data="tableData.data">
46 </lb-table> 46 </lb-table>
47 </div> 47 </div>
48 <!-- <el-dialog :visible.sync="dialogVisible" width="52%" :before-close="handleClose">
49
50 </el-dialog> -->
51 </div> 48 </div>
52 </template> 49 </template>
53 <script> 50 <script>
54 import table from "@/utils/mixin/table"; 51 import table from "@/utils/mixin/table";
55 import { datas, sendThis } from "./zslqcx"; 52 import { datas, sendThis } from "./zslqcx";
56 import { getBdcqzReceiveList } from "@/api/zhcx" 53 import { getBdcqzReceiveList } from "@/api/zhcx"
57 import { bdcqzPreview } from "@/api/bdcqz" 54 import { bdcqzPreview } from "@/api/bdcqz"
58 export default { 55 export default {
59 components: {}, 56 components: {},
60 mixins: [table], 57 mixins: [table],
61 mounted () { 58 mounted () {
62 sendThis(this); 59 sendThis(this);
63 }, 60 },
64 data () { 61 data () {
65 return { 62 return {
66 queryForm: { 63 queryForm: {
67 bdcqzh: "", 64 bdcqzh: "",
68 ysxlh: "", 65 ysxlh: "",
69 ywh: "", 66 ywh: "",
70 lzrxm: "", 67 lzrxm: "",
68 },
69 dialogVisible: false,
70 tableData: {
71 total: 0,
72 columns: datas.columns(),
73 data: [],
74 },
75 };
76 },
77 methods: {
78 // 查询
79 queryClick () {
80 this.$startLoading()
81 getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => {
82 this.$endLoading()
83 if (res.code === 200) {
84 let { total, records } = res.result
85 this.tableData.total = total;
86 this.tableData.data = records ? records : []
87 }
88 })
71 }, 89 },
72 dialogVisible: false, 90 openDialog (item) {
73 tableData: { 91 this.$startLoading()
74 total: 0, 92 bdcqzPreview(item).then(res => {
75 columns: datas.columns(), 93 this.$endLoading()
76 data: [], 94 this.dialogVisible = true;
95 let blob = new Blob([res]);
96 this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) })
97 })
77 }, 98 },
78 }; 99 handleClose () {
79 }, 100 this.dialogVisible = false;
80 methods: { 101 }
81 // 查询
82 queryClick () {
83 this.$startLoading()
84 getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => {
85 this.$endLoading()
86 if (res.code === 200) {
87 let { total, records } = res.result
88 this.tableData.total = total;
89 this.tableData.data = records ? records : []
90 }
91 })
92 },
93 openDialog (item) {
94 this.$startLoading()
95 bdcqzPreview(item).then(res => {
96 this.$endLoading()
97 this.dialogVisible = true;
98 let blob = new Blob([res]);
99 this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) })
100 })
101 }, 102 },
102 handleClose () { 103 };
103 this.dialogVisible = false;
104 }
105 },
106 };
107 </script> 104 </script>
108 <style scoped lang="scss"> 105 <style scoped lang="scss">
109 @import "~@/styles/public.scss"; 106 @import "~@/styles/public.scss";
110 </style> 107 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-06-19 13:27:58
5 -->
1 <template> 6 <template>
2 <div class="from-clues"> 7 <div class="from-clues">
3 <!-- 表单部分 --> 8 <!-- 表单部分 -->
...@@ -33,7 +38,7 @@ ...@@ -33,7 +38,7 @@
33 </div> 38 </div>
34 <!-- 表格 --> 39 <!-- 表格 -->
35 <div class="from-clues-content"> 40 <div class="from-clues-content">
36 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" 41 <lb-table :page-size="pageData.size" class="loadingtext" :current-page.sync="pageData.current" :total="tableData.total"
37 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 42 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
38 :data="tableData.data"> 43 :data="tableData.data">
39 </lb-table> 44 </lb-table>
...@@ -41,46 +46,46 @@ ...@@ -41,46 +46,46 @@
41 </div> 46 </div>
42 </template> 47 </template>
43 <script> 48 <script>
44 import table from "@/utils/mixin/table"; 49 import table from "@/utils/mixin/table";
45 import { datas, sendThis } from "./zxgcdycx"; 50 import { datas, sendThis } from "./zxgcdycx";
46 import { getZjgcdyList } from "@/api/zhcx" 51 import { getZjgcdyList } from "@/api/zhcx"
47 export default { 52 export default {
48 components: {}, 53 components: {},
49 mixins: [table], 54 mixins: [table],
50 mounted () { 55 mounted () {
51 sendThis(this); 56 sendThis(this);
52 }, 57 },
53 data () { 58 data () {
54 return { 59 return {
55 queryForm: { 60 queryForm: {
56 xmmc: "", 61 xmmc: "",
57 qymc: "", 62 qymc: "",
58 zrzh: "", 63 zrzh: "",
59 }, 64 },
60 tableData: { 65 tableData: {
61 total: 0, 66 total: 0,
62 columns: datas.columns(), 67 columns: datas.columns(),
63 data: [], 68 data: [],
64 }, 69 },
65 }; 70 };
66 },
67 methods: {
68 // 查询
69 queryClick () {
70 this.$startLoading()
71 getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => {
72 this.$endLoading()
73 if (res.code === 200) {
74 let { total, records } = res.result
75 this.tableData.total = total;
76 this.tableData.data = records ? records : []
77 }
78 })
79 }, 71 },
72 methods: {
73 // 查询
74 queryClick () {
75 this.$startLoading()
76 getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => {
77 this.$endLoading()
78 if (res.code === 200) {
79 let { total, records } = res.result
80 this.tableData.total = total;
81 this.tableData.data = records ? records : []
82 }
83 })
84 },
80 85
81 }, 86 },
82 }; 87 };
83 </script> 88 </script>
84 <style scoped lang="scss"> 89 <style scoped lang="scss">
85 @import "~@/styles/public.scss"; 90 @import "~@/styles/public.scss";
86 </style> 91 </style>
......