style:查询
Showing
3 changed files
with
170 additions
and
0 deletions
1 | <template> | ||
2 | <dialogBox title="其他及附记模板" @submitForm="submitForm" @closeDialog="closeDialog" v-model="value"> | ||
3 | |||
4 | </dialogBox> | ||
5 | </template> | ||
6 | |||
7 | <script> | ||
8 | export default { | ||
9 | components: { | ||
10 | }, | ||
11 | props: { | ||
12 | value: { type: Boolean, default: false }, | ||
13 | }, | ||
14 | data () { | ||
15 | return { | ||
16 | |||
17 | } | ||
18 | }, | ||
19 | methods: { | ||
20 | submitForm () { | ||
21 | this.$emit('input', false) | ||
22 | }, | ||
23 | closeDialog () { | ||
24 | this.$emit('input', false) | ||
25 | } | ||
26 | } | ||
27 | } | ||
28 | </script> | ||
29 | <style scoped lang="scss"> | ||
30 | @import "~@/styles/mixin.scss"; | ||
31 | </style> |
src/views/system/qtjfjmb/qtjfjmb.js
0 → 100644
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 | prop: "qllxbm", | ||
27 | label: "权利类型编码", | ||
28 | }, | ||
29 | { | ||
30 | prop: "qllxmc", | ||
31 | label: "权利类型名称", | ||
32 | }, | ||
33 | { | ||
34 | prop: "bdcqzlx", | ||
35 | label: "不动产权证类型", | ||
36 | }, | ||
37 | { | ||
38 | prop: "zjczsj", | ||
39 | label: "最近操作时间", | ||
40 | }, | ||
41 | { | ||
42 | prop: "zjczr", | ||
43 | label: "最近操作人", | ||
44 | }, | ||
45 | { | ||
46 | label: '操作', | ||
47 | width: '150', | ||
48 | align: 'center', | ||
49 | fixed: 'right', | ||
50 | render: (h, scope) => { | ||
51 | return ( | ||
52 | <div> | ||
53 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.editClick(scope) }}>修改</el-button> | ||
54 | </div> | ||
55 | ) | ||
56 | } | ||
57 | } | ||
58 | ] | ||
59 | } | ||
60 | |||
61 | } | ||
62 | let datas = new data() | ||
63 | export { | ||
64 | datas, | ||
65 | sendThis | ||
66 | } |
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="6"> | ||
8 | <el-form-item label="权利类型"> | ||
9 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | ||
10 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> | ||
11 | </el-option> | ||
12 | </el-select> | ||
13 | </el-form-item> | ||
14 | </el-col> | ||
15 | <el-col :span="18" class="btnCol"> | ||
16 | <el-form-item> | ||
17 | <el-button type="primary" @click="fetchData()">查询</el-button> | ||
18 | <el-button @click="moreQueryClick()">高级查询</el-button> | ||
19 | </el-form-item> | ||
20 | </el-col> | ||
21 | </el-row> | ||
22 | </el-form> | ||
23 | </div> | ||
24 | <!-- 表格 --> | ||
25 | <div class="from-clues-content"> | ||
26 | <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" | ||
27 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | ||
28 | :data="tableData.data"> | ||
29 | </lb-table> | ||
30 | </div> | ||
31 | </div> | ||
32 | </template> | ||
33 | <script> | ||
34 | import table from "@/utils/mixin/table" | ||
35 | import { datas, sendThis } from "./qtjfjmb" | ||
36 | export default { | ||
37 | name: "djbcx", | ||
38 | components: { | ||
39 | }, | ||
40 | mixins: [table], | ||
41 | mounted () { | ||
42 | sendThis(this); | ||
43 | }, | ||
44 | data () { | ||
45 | return { | ||
46 | isDialog: false, | ||
47 | queryForm: { | ||
48 | qllx: "" | ||
49 | }, | ||
50 | tableData: { | ||
51 | total: 0, | ||
52 | columns: datas.columns(), | ||
53 | data: [ | ||
54 | { | ||
55 | slsj: "2022-5-12", | ||
56 | } | ||
57 | ] | ||
58 | } | ||
59 | } | ||
60 | }, | ||
61 | methods: { | ||
62 | // 初始化数据 | ||
63 | fetchData () { | ||
64 | }, | ||
65 | editClick () { | ||
66 | this.isDialog = true | ||
67 | } | ||
68 | }, | ||
69 | }; | ||
70 | </script> | ||
71 | <style scoped lang="scss"> | ||
72 | @import "~@/styles/public.scss"; | ||
73 | </style> | ... | ... |
-
Please register or sign in to post a comment