修改字段展示内容
Showing
3 changed files
with
40 additions
and
23 deletions
... | @@ -16,8 +16,17 @@ | ... | @@ -16,8 +16,17 @@ |
16 | </el-input> | 16 | </el-input> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
19 | 19 | <el-col :span="10"> | |
20 | <el-col :span="14" class="btnColRight"> | 20 | <el-form-item label="查询时间"> |
21 | <el-date-picker v-model="queryForm.sqr" type="date" placeholder="开始日期" value-format="yyyy-MM-dd" | ||
22 | clearable> | ||
23 | </el-date-picker> 至 | ||
24 | <el-date-picker v-model="queryForm.sqr" type="date" placeholder="结束日期" value-format="yyyy-MM-dd" | ||
25 | clearable> | ||
26 | </el-date-picker> | ||
27 | </el-form-item> | ||
28 | </el-col> | ||
29 | <el-col :span="4" class="btnColRight"> | ||
21 | <el-form-item> | 30 | <el-form-item> |
22 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> | 31 | <el-button type="primary" native-type="submit" @click="queryClick">查询</el-button> |
23 | <el-button @click="moreQueryClick()">高级查询</el-button> | 32 | <el-button @click="moreQueryClick()">高级查询</el-button> |
... | @@ -44,14 +53,14 @@ import { getJtfcPage } from "@/api/sqcx"; | ... | @@ -44,14 +53,14 @@ import { getJtfcPage } from "@/api/sqcx"; |
44 | export default { | 53 | export default { |
45 | name: "dydjb", | 54 | name: "dydjb", |
46 | mixins: [table], | 55 | mixins: [table], |
47 | mounted () { | 56 | mounted() { |
48 | sendThis(this); | 57 | sendThis(this); |
49 | this.queryClick() | 58 | this.queryClick(); |
50 | }, | 59 | }, |
51 | computed: { | 60 | computed: { |
52 | ...mapGetters(["dictData"]), | 61 | ...mapGetters(["dictData"]), |
53 | }, | 62 | }, |
54 | data () { | 63 | data() { |
55 | return { | 64 | return { |
56 | queryForm: { | 65 | queryForm: { |
57 | cxbh: "", | 66 | cxbh: "", |
... | @@ -66,7 +75,7 @@ export default { | ... | @@ -66,7 +75,7 @@ export default { |
66 | }, | 75 | }, |
67 | methods: { | 76 | methods: { |
68 | // 初始化数据 | 77 | // 初始化数据 |
69 | queryClick () { | 78 | queryClick() { |
70 | this.$startLoading(); | 79 | this.$startLoading(); |
71 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { | 80 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
72 | this.$endLoading(); | 81 | this.$endLoading(); |
... | @@ -77,12 +86,12 @@ export default { | ... | @@ -77,12 +86,12 @@ export default { |
77 | } | 86 | } |
78 | }); | 87 | }); |
79 | }, | 88 | }, |
80 | dydjbClick (scope) { | 89 | dydjbClick(scope) { |
81 | popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { | 90 | popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { |
82 | sqcxdata: scope.row, | 91 | sqcxdata: scope.row, |
83 | }) | 92 | }); |
84 | }, | 93 | }, |
85 | handleSort (name, sort) { | 94 | handleSort(name, sort) { |
86 | console.log(name, sort); | 95 | console.log(name, sort); |
87 | }, | 96 | }, |
88 | }, | 97 | }, | ... | ... |
... | @@ -50,17 +50,8 @@ class data extends filter { | ... | @@ -50,17 +50,8 @@ class data extends filter { |
50 | label: "申请人", | 50 | label: "申请人", |
51 | }, | 51 | }, |
52 | { | 52 | { |
53 | label: "与权利人的关系", | 53 | prop: "ycyrgxmc", |
54 | render: (h, scope) => { | 54 | label: "与产权人的关系", |
55 | switch (scope.row.ycyrgx) { | ||
56 | case '1': | ||
57 | return <div>房屋权利人</div> | ||
58 | case '2': | ||
59 | return <div>产权利害关系人</div> | ||
60 | case '3': | ||
61 | return <div>委托人</div> | ||
62 | } | ||
63 | } | ||
64 | }, | 55 | }, |
65 | { | 56 | { |
66 | prop: "qlrxm", | 57 | prop: "qlrxm", | ... | ... |
... | @@ -8,7 +8,7 @@ class data extends filter { | ... | @@ -8,7 +8,7 @@ class data extends filter { |
8 | constructor() { | 8 | constructor() { |
9 | super() | 9 | super() |
10 | } | 10 | } |
11 | columns () { | 11 | columns() { |
12 | return [ | 12 | return [ |
13 | { | 13 | { |
14 | label: '序号', | 14 | label: '序号', |
... | @@ -16,13 +16,30 @@ class data extends filter { | ... | @@ -16,13 +16,30 @@ class data extends filter { |
16 | width: '50' | 16 | width: '50' |
17 | }, | 17 | }, |
18 | { | 18 | { |
19 | label: "查询来源", | ||
20 | render: (h, scope) => { | ||
21 | switch (scope.row.cxly) { | ||
22 | case '1': | ||
23 | return <div>办事大厅</div> | ||
24 | case '2': | ||
25 | return <div>自助查询机</div> | ||
26 | case '3': | ||
27 | return <div>政务一体化平台</div> | ||
28 | case '4': | ||
29 | return <div>互联网</div> | ||
30 | case '5': | ||
31 | return <div>微信公众号</div> | ||
32 | } | ||
33 | } | ||
34 | }, | ||
35 | { | ||
19 | label: "查询类型", | 36 | label: "查询类型", |
20 | render: (h, scope) => { | 37 | render: (h, scope) => { |
21 | switch (scope.row.cxlx) { | 38 | switch (scope.row.cxlx) { |
22 | case '1': | 39 | case '1': |
23 | return <div>家庭房产</div> | 40 | return <div>家庭房产</div> |
24 | case '2': | 41 | case '2': |
25 | return <div>登记簿</div> | 42 | return <div>房屋明细</div> |
26 | } | 43 | } |
27 | } | 44 | } |
28 | }, | 45 | }, |
... | @@ -44,7 +61,7 @@ class data extends filter { | ... | @@ -44,7 +61,7 @@ class data extends filter { |
44 | }, | 61 | }, |
45 | { | 62 | { |
46 | prop: "ycqrgxmc", | 63 | prop: "ycqrgxmc", |
47 | label: "与权利人的关系", | 64 | label: "与产权人的关系", |
48 | }, | 65 | }, |
49 | { | 66 | { |
50 | prop: "qlrxm", | 67 | prop: "qlrxm", | ... | ... |
-
Please register or sign in to post a comment