a8d933fa by jiaozeping@pashanhoo.com

12

1 parent 6d2d06ee
1 import request from '@/utils/request'
2 // 根据条件进行列表查询
3 export function getJtfcPage (data) {
4 return request({
5 url: '/sqcx/jtfc/getJtfcPage',
6 method: 'post',
7 data
8 })
9 }
10 // 新增申请查询家庭房产信息
11 export function addJtfcCxjgXx (data) {
12 return request({
13 url: '/sqcx/jtfc/addJtfcCxjgXx',
14 method: 'post',
15 data,
16 showLoading: true,
17 loadingTarget: '正在查询中...'
18 })
19 }
...\ No newline at end of file ...\ No newline at end of file
1 import request from '@/utils/request'
2 // 根据条件进行列表查询
3 export function getJtfcPage (data) {
4 return request({
5 url: '/sqcx/getJtfcPage',
6 method: 'post',
7 data
8 })
9 }
10 // 新增申请查询家庭房产信息
11 export function addJtfcCxjgXx (data) {
12 return request({
13 url: '/sqcx/addJtfcCxjgXx',
14 method: 'post',
15 data,
16 showLoading: true,
17 loadingTarget: '正在查询中...'
18 })
19 }
...\ No newline at end of file ...\ No newline at end of file
1 // import request from '@/utils/request'
2 // // 根据条件进行列表查询
3 // export function getJtfcPage (data) {
4 // return request({
5 // url: '/sqcx/getJtfcPage',
6 // method: 'post',
7 // data
8 // })
9 // }
10 // // 新增申请查询家庭房产信息
11 // export function addJtfcCxjgXx (data) {
12 // return request({
13 // url: '/sqcx/addJtfcCxjgXx',
14 // method: 'post',
15 // data,
16 // showLoading: true,
17 // loadingTarget: '正在查询中...'
18 // })
19 // }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
46 46
47 <script> 47 <script>
48 import personInfoTable from '@/views/components/personInfoTable' 48 import personInfoTable from '@/views/components/personInfoTable'
49 import { addJtfcCxjgXx } from '@/api/sqcx' 49 import { addJtfcCxjgXx } from '@/api/jtfc'
50 export default { 50 export default {
51 components: { 51 components: {
52 personInfoTable 52 personInfoTable
......
1 <template> 1 <template>
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 家庭房产 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="80px"> 5 <el-form :model="queryForm" ref="queryForm" label-width="70px">
6 <el-row> 6 <el-row>
7 <el-col :span="5"> 7 <el-col :span="5">
8 <el-form-item label="查询编号"> 8 <el-form-item label="查询编号">
9 <el-input placeholder="请输入编号" v-model="queryForm.cxbh" clearable> 9 <el-input
10 placeholder="请输入查询编号"
11 v-model="queryForm.cxbh"
12 clearable
13 class="width200px"
14 >
10 </el-input> 15 </el-input>
11 </el-form-item> 16 </el-form-item>
12 </el-col> 17 </el-col>
13 <el-col :span="5"> 18 <el-col :span="5">
14 <el-form-item label="申请人"> 19 <el-form-item label="申请人">
15 <el-input placeholder="请输入申请人" v-model="queryForm.sqr" clearable> 20 <el-input
21 placeholder="请输入申请人"
22 v-model="queryForm.sqr"
23 clearable
24 class="width200px"
25 >
16 </el-input> 26 </el-input>
17 </el-form-item> 27 </el-form-item>
18 </el-col> 28 </el-col>
19 <el-col :span="14" class="btnCol"> 29 <el-col :span="14" class="btnCol">
20 <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button> 30 <el-button type="primary" @click="queryClick()"
21 <el-button type="primary" @click="handleAdd" icon="el-icon-plus">新增</el-button> 31 >查询</el-button
32 >
33 <el-button type="primary" @click="handleAdd"
34 >新增</el-button
35 >
22 </el-col> 36 </el-col>
23 </el-row> 37 </el-row>
24 </el-form> 38 </el-form>
25 </div> 39 </div>
26 <!-- 表格 --> 40 <!-- 表格 -->
27 <div class="from-clues-content"> 41 <div class="from-clues-content">
28 <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" 42 <lb-table
29 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 43 :page-size="pageData.size"
30 :data="tableData.data"> 44 border
45 :current-page.sync="pageData.current"
46 :total="tableData.total"
47 @size-change="handleSizeChange"
48 @p-current-change="handleCurrentChange"
49 :column="tableData.columns"
50 :data="tableData.data"
51 >
31 </lb-table> 52 </lb-table>
32 </div> 53 </div>
33 <editDialog v-model="isDialog" /> 54 <editDialog v-model="isDialog" />
...@@ -36,59 +57,54 @@ ...@@ -36,59 +57,54 @@
36 <script> 57 <script>
37 import table from "@/utils/mixin/table"; 58 import table from "@/utils/mixin/table";
38 import { datas, sendThis } from "./jtfcdata"; 59 import { datas, sendThis } from "./jtfcdata";
39 import { getJtfcPage } from "@/api/sqcx"; 60 import { getJtfcPage } from "@/api/jtfc";
40 import editDialog from "../components/editDialog.vue" 61 import editDialog from "../components/editDialog.vue";
41 export default { 62 export default {
42 name: "jtfc", 63 name: "jtfc",
43 components: { editDialog }, 64 components: { editDialog },
44 mixins: [table], 65 mixins: [table],
45 mounted () { 66 mounted() {
46 sendThis(this); 67 sendThis(this);
47 }, 68 },
48 data () { 69 data() {
49 return { 70 return {
50 isDialog: false, 71 isDialog: false,
51 sqrOption: [], 72 sqrOption: [],
52 cxytOption: [], 73 cxytOption: [],
53 queryForm: { 74 queryForm: {
54 cxbh: "", 75 cxbh: "",
55 sqr: "" 76 sqr: "",
56 }, 77 },
78
79
57 tableData: { 80 tableData: {
58 total: 0,
59 columns: datas.columns(), 81 columns: datas.columns(),
60 data: [ 82 data: [],
61 {
62 cxlx: "家庭房产",
63 cxbh: "20200409146",
64 cxsj: "2016-10-12 10:00:00",
65 slry: "查询窗口",
66 sqr: "张三",
67 yqlrgx: "不动产权利人",
68 qlr: "张三",
69 cxyt: "预告买卖记录||首次登记",
70 },
71 ],
72 }, 83 },
84
73 }; 85 };
74 }, 86 },
75 methods: { 87 methods: {
88 queryClick(){
89 this.fetchData();
90 },
91
76 // 初始化数据 92 // 初始化数据
77 fetchData () { 93 fetchData() {
78 getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { 94 getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
79 let { records, total } = res.result; 95 let { records, total } = res.result;
80 this.tableData.data = records 96 this.tableData.data = records;
81 this.tableData.total = total; 97 this.tableData.total = total;
82 }); 98 });
83 }, 99 },
84 handleSort (name, sort) { 100 handleSort(name, sort) {
85 console.log(name, sort); 101 console.log(name, sort);
86 }, 102 },
87 handleAdd () { 103 handleAdd() {
88 this.isDialog = true 104 this.isDialog = true;
89 } 105 },
90 } 106 },
91 } 107 };
92 </script> 108 </script>
93 <style scoped lang="scss"> 109 <style scoped lang="scss">
94 @import "~@/styles/public.scss"; 110 @import "~@/styles/public.scss";
......
...@@ -73,15 +73,6 @@ class data extends filter { ...@@ -73,15 +73,6 @@ class data extends filter {
73 ] 73 ]
74 } 74 }
75 75
76 ywlys () {
77 return [
78 { value: 1, label: "办事大厅" },
79 { value: 2, label: "微信小程序" },
80 { value: 3, label: "法院端" },
81 { value: 4, label: "银行端" },
82 ]
83 }
84
85 } 76 }
86 let datas = new data() 77 let datas = new data()
87 export { 78 export {
......
1 <template> 1 <template>
2 <div class="from-clues"> 2 <div class="from-clues">
3 <!-- 表单部分 --> 3 <!-- 楼盘查询 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="70px"> 5 <el-form :model="queryForm" ref="queryForm" label-width="70px">
6 <el-row> 6 <el-row>
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
136 width: "50%", 136 width: "50%",
137 btnShow: true, 137 btnShow: true,
138 editItem: "xxxxxxxxxx", 138 editItem: "xxxxxxxxxx",
139 height: "800px", 139 height: "600px",
140 formData: { 140 formData: {
141 bsmSlsq: this.bsmSlsq, 141 bsmSlsq: this.bsmSlsq,
142 dataList: this.unitData, 142 dataList: this.unitData,
...@@ -148,15 +148,15 @@ export default { ...@@ -148,15 +148,15 @@ export default {
148 }); 148 });
149 149
150 150
151 // getLpb({ zrzbsm: zrzbsm }) 151 getLpb({ zrzbsm: zrzbsm })
152 // .then((res) => { 152 .then((res) => {
153 // if (res.code == 200) { 153 if (res.code == 200) {
154 // var lpbdata = res.result; 154 var lpbdata = res.result;
155 // } 155 }
156 // }) 156 })
157 // .catch((error) => { 157 .catch((error) => {
158 // console.log(error); 158 console.log(error);
159 // }); 159 });
160 }, 160 },
161 }, 161 },
162 }; 162 };
......