家庭房产
Showing
4 changed files
with
59 additions
and
51 deletions
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <!-- 表格 --> | 47 | <!-- 表格 --> |
48 | <div class="from-clues-content"> | 48 | <div class="from-clues-content"> |
49 | <lb-table :page-size="pageData.size" @sort-change="handleSort" :current-page.sync="pageData.current" | 49 | <lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.current" |
50 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 50 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" |
51 | :column="tableData.columns" :data="tableData.data"> | 51 | :column="tableData.columns" :data="tableData.data"> |
52 | </lb-table> | 52 | </lb-table> | ... | ... |
... | @@ -17,23 +17,14 @@ | ... | @@ -17,23 +17,14 @@ |
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="查询用途"> | ||
21 | <el-select v-model="queryForm.cxyt" class="width100" filterable clearable placeholder="请选择用途"> | ||
22 | <el-option v-for="item in cxytOption" :key="item.value" :label="item.label" :value="item.value"> | ||
23 | </el-option> | ||
24 | </el-select> | ||
25 | </el-form-item> | ||
26 | </el-col> | ||
27 | <el-col :span="5"> | ||
28 | <el-form-item label="业务号"> | 20 | <el-form-item label="业务号"> |
29 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px"> | 21 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px"> |
30 | </el-input> | 22 | </el-input> |
31 | </el-form-item> | 23 | </el-form-item> |
32 | </el-col> | 24 | </el-col> |
33 | |||
34 | <el-col :span="4" class="btnCol"> | 25 | <el-col :span="4" class="btnCol"> |
35 | <el-form-item> | 26 | <el-form-item> |
36 | <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button> | 27 | <el-button type="primary" icon="el-icon-search" @click="queryClick()">查询</el-button> |
37 | <el-button @click="moreQueryClick()">高级查询</el-button> | 28 | <el-button @click="moreQueryClick()">高级查询</el-button> |
38 | </el-form-item> | 29 | </el-form-item> |
39 | </el-col> | 30 | </el-col> |
... | @@ -42,71 +33,77 @@ | ... | @@ -42,71 +33,77 @@ |
42 | </div> | 33 | </div> |
43 | <!-- 表格 --> | 34 | <!-- 表格 --> |
44 | <div class="from-clues-content"> | 35 | <div class="from-clues-content"> |
45 | <lb-table :page-size="pageData.size" @sort-change="handleSort" :current-page.sync="pageData.current" | 36 | <lb-table :page-size="pageData.size" border @sort-change="handleSort" :current-page.sync="pageData.current" |
46 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 37 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" |
47 | :column="tableData.columns" :data="tableData.data"> | 38 | :column="tableData.columns" :data="tableData.data"> |
48 | </lb-table> | 39 | </lb-table> |
49 | </div> | 40 | </div> |
50 | <addjtfc v-model="isDialog" /> | ||
51 | </div> | 41 | </div> |
52 | </template> | 42 | </template> |
53 | <script> | 43 | <script> |
54 | import addjtfc from "./components/addjtfc.vue"; | ||
55 | import table from "@/utils/mixin/table" | 44 | import table from "@/utils/mixin/table" |
56 | import { datas, sendThis } from "./sqcxjldata" | 45 | import { datas, sendThis } from "./sqcxjldata" |
57 | import { getJtfcPage } from '@/api/sqcx' | 46 | import { getJtfcPage } from '@/api/jtfc' |
58 | export default { | 47 | export default { |
59 | name: "sqcxjl", | 48 | name: "sqcxjl", |
60 | components: { addjtfc }, | ||
61 | mixins: [table], | 49 | mixins: [table], |
62 | mounted () { | 50 | mounted () { |
63 | sendThis(this); | 51 | sendThis(this); |
64 | }, | 52 | }, |
65 | data () { | 53 | data () { |
66 | return { | 54 | return { |
67 | isDialog: false, | 55 | |
68 | sqrOption: [], | ||
69 | cxytOption: [], | ||
70 | queryForm: { | 56 | queryForm: { |
71 | cxbh: "", | 57 | cxbh: "", |
72 | sqr: "", | 58 | sqr: "", |
73 | cxyt: "", | ||
74 | ywh: "", | 59 | ywh: "", |
75 | }, | 60 | }, |
76 | tableData: { | 61 | tableData: { |
77 | total: 0, | ||
78 | columns: datas.columns(), | 62 | columns: datas.columns(), |
79 | data: [ | 63 | data: [], |
80 | { | 64 | }, |
81 | cxly: "登记大厅", | ||
82 | cxlx: "家庭房产", | ||
83 | cxbh: "20200409146", | ||
84 | cxsj: "2016-10-12 10:00:00", | ||
85 | slry: "查询窗口", | ||
86 | sqr: "张三", | ||
87 | yqlrgx: "不动产权利人", | ||
88 | qlr: "张三", | ||
89 | cxyt: "预告买卖记录||首次登记", | ||
90 | } | ||
91 | ] | ||
92 | } | ||
93 | } | 65 | } |
94 | }, | 66 | }, |
95 | methods: { | 67 | methods: { |
68 | queryClick(){ | ||
69 | this.fetchData(); | ||
70 | }, | ||
71 | |||
96 | // 初始化数据 | 72 | // 初始化数据 |
97 | fetchData () { | 73 | fetchData () { |
98 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then(res => { | 74 | debugger; |
99 | let { records, total } = res.result | 75 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
100 | this.tableData.data = records | 76 | let { records, total } = res.result; |
101 | this.tableData.total = total | 77 | this.tableData.data = records; |
102 | }) | 78 | this.tableData.total = total; |
79 | }); | ||
103 | }, | 80 | }, |
104 | handleSort (name, sort) { | 81 | handleSort (name, sort) { |
105 | console.log(name, sort); | 82 | console.log(name, sort); |
106 | }, | 83 | }, |
107 | // 查看 | 84 | // 查看 |
108 | handleView () { | 85 | handleView () { |
109 | this.isDialog = true | 86 | // this.isDialog = true |
87 | |||
88 | |||
89 | let that = this; | ||
90 | this.$popup({ | ||
91 | title: "楼盘表", | ||
92 | width: "50%", | ||
93 | btnShow: true, | ||
94 | editItem: "xxxxxxxxxx", | ||
95 | height: "600px", | ||
96 | formData: { | ||
97 | bsmSlsq: this.bsmSlsq, | ||
98 | dataList: this.unitData, | ||
99 | }, | ||
100 | cancel: function () { }, //取消事件的回调 | ||
101 | confirm: function () { | ||
102 | that.loadBdcdylist(); | ||
103 | }, //确认事件的回调 | ||
104 | }); | ||
105 | |||
106 | |||
110 | } | 107 | } |
111 | }, | 108 | }, |
112 | }; | 109 | }; | ... | ... |
... | @@ -16,12 +16,15 @@ class data extends filter { | ... | @@ -16,12 +16,15 @@ class data extends filter { |
16 | width: '50' | 16 | width: '50' |
17 | }, | 17 | }, |
18 | { | 18 | { |
19 | prop: "cxly", | ||
20 | label: "查询来源", | ||
21 | }, | ||
22 | { | ||
23 | prop: "cxlx", | ||
24 | label: "查询类型", | 19 | label: "查询类型", |
20 | render: (h, scope) => { | ||
21 | switch (scope.row.cxlx) { | ||
22 | case '1': | ||
23 | return <div>家庭房产</div> | ||
24 | case '2': | ||
25 | return <div>登记簿</div> | ||
26 | } | ||
27 | } | ||
25 | }, | 28 | }, |
26 | { | 29 | { |
27 | label: "查询编号", | 30 | label: "查询编号", |
... | @@ -32,19 +35,28 @@ class data extends filter { | ... | @@ -32,19 +35,28 @@ class data extends filter { |
32 | label: "查询时间", | 35 | label: "查询时间", |
33 | }, | 36 | }, |
34 | { | 37 | { |
35 | prop: "slry", | 38 | prop: "cxr", |
36 | label: "受理人员", | 39 | label: "受理人员", |
37 | }, | 40 | }, |
38 | { | 41 | { |
39 | prop: "sqr", | 42 | prop: "sqrxm", |
40 | label: "申请人", | 43 | label: "申请人", |
41 | }, | 44 | }, |
42 | { | 45 | { |
43 | prop: "yqlrgx", | ||
44 | label: "与权利人的关系", | 46 | label: "与权利人的关系", |
47 | render: (h, scope) => { | ||
48 | switch (scope.row.ycyrgx) { | ||
49 | case '1': | ||
50 | return <div>权利人</div> | ||
51 | case '2': | ||
52 | return <div>产权利害关系人</div> | ||
53 | case '3': | ||
54 | return <div>委托人</div> | ||
55 | } | ||
56 | } | ||
45 | }, | 57 | }, |
46 | { | 58 | { |
47 | prop: "qlr", | 59 | prop: "qlrxm", |
48 | label: "权利人", | 60 | label: "权利人", |
49 | }, | 61 | }, |
50 | { | 62 | { | ... | ... |
-
Please register or sign in to post a comment