4fefabab by 任超

style:证书领取查询

1 parent 1b8a4dff
...@@ -160,6 +160,14 @@ export const asyncRoutes = [ ...@@ -160,6 +160,14 @@ export const asyncRoutes = [
160 component: () => import('@/views/zhcx/lpcx/lpcx.vue'), 160 component: () => import('@/views/zhcx/lpcx/lpcx.vue'),
161 name: 'lpcx', 161 name: 'lpcx',
162 meta: { title: '楼盘查询' } 162 meta: { title: '楼盘查询' }
163 },
164 {
165 path: 'zslqcx',
166 id: '45',
167 parentId: '4',
168 component: () => import('@/views/zhcx/zslqcx/zslqcx.vue'),
169 name: 'zslqcx',
170 meta: { title: '证书领取查询' }
163 } 171 }
164 ] 172 ]
165 }, 173 },
......
1 import store from '@/store'
1 // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 2 // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
2 export default class filter { 3 export default class filter {
3 // 业务来源 4 // 业务来源
...@@ -11,4 +12,17 @@ export default class filter { ...@@ -11,4 +12,17 @@ export default class filter {
11 let status = { 1: '正常申请', 2: '一并申请', 3: '补录申请' } 12 let status = { 1: '正常申请', 2: '一并申请', 3: '补录申请' }
12 return status[val] 13 return status[val]
13 } 14 }
14 } 15 // 字典
16 dicStatus (val, code) {
17 let data = store.getters.dictData[code],
18 name = '暂无'
19 if (data) {
20 data.map((item) => {
21 if (item.dcode == val) {
22 name = item.dname
23 }
24 })
25 return name
26 }
27 }
28 }
...\ No newline at end of file ...\ No newline at end of file
......
1 import filter from '@/utils/filter.js'
2 let vm = null
3
4 const sendThis = (_this) => {
5 vm = _this
6 }
7 class data extends filter {
8 constructor() {
9 super()
10 }
11 columns () {
12 return [
13 {
14 label: '序号',
15 type: 'index',
16 width: '50',
17 render: (h, scope) => {
18 return (
19 <div>
20 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
21 </div>
22 )
23 }
24 },
25 {
26 label: "领取状态",
27 render: (h, scope) => {
28 return (
29 <div>
30 {
31 scope.row.enabled == '1' ?
32 <div class='allow'>已领取</div> :
33 <div class='prohibit'>未领取</div>
34 }
35 </div>
36 )
37 }
38 },
39 {
40 label: "证书类容",
41 render: (h, scope) => {
42 return (
43 <div>
44 <el-link type="primary" onClick={() => { vm.openDialog(scope) }}>查看</el-link>
45 </div>
46 )
47 }
48 },
49 {
50 label: "权利类型",
51 render: (h, scope) => {
52 return (
53 <div>
54 {this.dicStatus(scope.row.qllx, 'A8')}
55 </div>
56 )
57 }
58 },
59 {
60 prop: "bdcqzh",
61 label: "不动产权证号",
62 },
63 {
64 prop: "ysxlh",
65 label: "印刷序列号",
66 },
67 {
68 prop: "lqr",
69 label: "领取人",
70 },
71 {
72 prop: "lqsj",
73 label: "领取时间",
74 },
75 {
76 prop: "ywh",
77 label: "业务号"
78 },
79 {
80 prop: "bdcdyh",
81 label: "不动产单元号"
82 },
83 {
84 prop: "zl",
85 label: "坐落"
86 },
87 ]
88 }
89 }
90 let datas = new data()
91 export {
92 datas,
93 sendThis
94 }
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm">
6 <el-row>
7 <el-col :span="5">
8 <el-form-item label="不动产权证号">
9 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh">
10 </el-input>
11 </el-form-item>
12 </el-col>
13 <el-col :span="5">
14 <el-form-item label="印刷序列号">
15 <el-input placeholder="请输入印刷序列号" v-model="queryForm.ysxlh">
16 </el-input>
17 </el-form-item>
18 </el-col>
19 <el-col :span="5">
20 <el-form-item label="业务号">
21 <el-input placeholder="请输入业务号" v-model="queryForm.ywh">
22 </el-input>
23 </el-form-item>
24 </el-col>
25 <el-col :span="5">
26 <el-form-item label="领取人">
27 <el-input placeholder="请输入领取人" v-model="queryForm.lqr">
28 </el-input>
29 </el-form-item>
30 </el-col>
31
32 <el-col :span="4" class="btnCol">
33 <el-form-item>
34 <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
35 <el-button @click="moreQueryClick()">高级查询</el-button>
36 </el-form-item>
37 </el-col>
38 </el-row>
39 </el-form>
40 </div>
41 <!-- 表格 -->
42 <div class="from-clues-content">
43 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
44 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
45 :data="tableData.data">
46 </lb-table>
47 </div>
48 </div>
49 </template>
50 <script>
51 import table from "@/utils/mixin/table";
52 import { datas, sendThis } from "./zslqcx";
53 export default {
54 components: {},
55 mixins: [table],
56 mounted () {
57 sendThis(this);
58 },
59 data () {
60 return {
61 queryForm: {
62 bdcqzh: '',
63 ysxlh: '',
64 ywh: '',
65 lqr: ''
66 },
67 tableData: {
68 columns: datas.columns(),
69 data: [
70 {
71 qllx: 'A01'
72 }
73 ]
74 }
75 }
76 },
77 methods: {
78 // 初始化数据
79 fetchData () { },
80 }
81 }
82 </script>
83 <style scoped lang="scss">
84 @import "~@/styles/public.scss";
85 </style>