6a083d25 by 任超
2 parents b3274515 08d7e29e
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="70px">
6 <el-row>
7 <el-col :span="5">
8 <el-form-item label="业务来源">
9 <el-select
10 v-model="queryForm.ywly"
11 filterable
12 clearable
13 placeholder="请选择业务来源"
14 >
15 <el-option
16 v-for="item in ywlys"
17 :key="item.value"
18 :label="item.label"
19 :value="item.value"
20 >
21 </el-option>
22 </el-select>
23 </el-form-item>
24 </el-col>
25 <el-col :span="5">
26 <el-form-item label="权利类型">
27 <el-select
28 v-model="queryForm.qllx"
29 filterable
30 clearable
31 placeholder="请选择权利类型"
32 >
33 <el-option
34 v-for="item in qllxs"
35 :key="item.value"
36 :label="item.label"
37 :value="item.value"
38 >
39 </el-option>
40 </el-select>
41 </el-form-item>
42 </el-col>
43 <el-col :span="5">
44 <el-form-item label="登记类型">
45 <el-select
46 v-model="queryForm.djlx"
47 filterable
48 clearable
49 placeholder="请选择登记类型"
50 >
51 <el-option
52 v-for="item in djlxs"
53 :key="item.value"
54 :label="item.label"
55 :value="item.value"
56 >
57 </el-option>
58 </el-select>
59 </el-form-item>
60 </el-col>
61 <el-col :span="5">
62 <el-form-item label="业务号">
63 <el-input
64 placeholder="请输入业务号"
65 v-model="queryForm.ywh"
66 clearable
67 class="width200px"
68 >
69 </el-input>
70 </el-form-item>
71 </el-col>
72
73 <el-col :span="4" class="btnCol">
74 <el-form-item>
75 <el-button type="primary" @click="queryClick()">查询</el-button>
76 <el-button @click="moreQueryClick()">高级查询</el-button>
77 </el-form-item>
78 </el-col>
79 </el-row>
80 </el-form>
81 </div>
82 <!-- 表格 -->
83 <div class="from-clues-content">
84 <lb-table
85 :page-size="pageData.size"
86 @sort-change="handleSort"
87 :current-page.sync="pageData.current"
88 :total="pageData.total"
89 @selection-change="handleSelectionChange"
90 @size-change="handleSizeChange"
91 @p-current-change="handleCurrentChange"
92 :column="tableData.columns"
93 :data="tableData.data"
94 >
95 </lb-table>
96 </div>
97 </div>
98 </template>
99 <script>
100 import table from "@/utils/mixin/table";
101 import { datas, sendThis } from "./ybxdata";
102 export default {
103 name: "dbx",
104 components: {},
105 mixins: [table],
106 mounted() {
107 sendThis(this);
108 },
109 data() {
110 return {
111 queryForm: {
112 ywly: "",
113 qllx: "",
114 djlx: "",
115 ywh: "",
116 },
117 pageData: {
118 current: 1,
119 size: 10,
120 total: 2,
121 },
122
123 ywlys: datas.ywlys(),
124
125 tableData: {
126 columns: datas.columns(),
127 data: [
128 {
129 slsj: "2022-5-12",
130 },
131 {
132 slsj: "2022-5-13",
133 },
134 ],
135 },
136 };
137 },
138 methods: {
139 // 初始化数据
140 fetchData() {},
141 handleSort(name, sort) {
142 console.log(name, sort);
143 },
144 openDialog() {
145 console.log(999999999999999);
146 },
147 },
148 };
149 </script>
150 <style scoped lang="scss">
151 @import "~@/styles/public.scss";
152 </style>
......
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 },
18 {
19 prop: "ywly",
20 label: "业务来源",
21 },
22 {
23 prop: "lczt",
24 label: "流程状态",
25 },
26 {
27 prop: "zbhj",
28 label: "在办环节",
29 },
30 {
31 prop: "ywh",
32 label: "业务号",
33 },
34 {
35 prop: "sqywmc",
36 label: "申请业务名称",
37 },
38 {
39 prop: "qlr",
40 label: "权利人",
41 },
42 {
43 prop: "ywr",
44 label: "义务人",
45 },
46 {
47 prop: "zl",
48 label: "坐落",
49 },
50 {
51 prop: "slsj",
52 label: "受理时间",
53 sortable: 'custom'
54 },
55 {
56 prop: "slry",
57 label: "受理人员",
58 },
59 {
60 prop: "zrsj",
61 label: "转入时间",
62 sortable: 'custom'
63 },
64 {
65 label: '操作',
66 width: '80',
67 align: 'center',
68 fixed: 'right',
69 render: (h, scope) => {
70 return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.openDialog(scope) }}>编辑</el-button>
71 }
72 }
73 ]
74 }
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 }
86 let datas = new data()
87 export {
88 datas,
89 sendThis
90 }