Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
3 changed files
with
91 additions
and
31 deletions
| 1 | //*****start*通用查询条件,列表样式******// | 1 | //*****start*通用表单查询条件,列表样式******// |
| 2 | .from-clues { | 2 | .from-clues { |
| 3 | min-width: 1280px; | 3 | min-width: 1280px; |
| 4 | height: 100%; | 4 | height: 100%; |
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | ||
| 8 | &-header { | 8 | &-header { |
| 9 | width: 100%; | 9 | width: 100%; |
| 10 | padding: 20px 20px 0 20px; | 10 | padding: 15px 15px 0 15px; |
| 11 | box-sizing: border-box; | 11 | box-sizing: border-box; |
| 12 | background: #FFFFFF; | 12 | background: #FFFFFF; |
| 13 | border-radius: 2px; | 13 | border-radius: 2px; |
| ... | @@ -32,7 +32,13 @@ | ... | @@ -32,7 +32,13 @@ |
| 32 | width: auto; | 32 | width: auto; |
| 33 | } | 33 | } |
| 34 | } | 34 | } |
| 35 | |||
| 36 | .el-form-item--small.el-form-item{ | ||
| 37 | margin-bottom: 15px; | ||
| 38 | |||
| 39 | } | ||
| 35 | } | 40 | } |
| 41 | //*****end*通用表单查询条件,列表样式******// | ||
| 36 | 42 | ||
| 37 | 43 | ||
| 38 | .width200px { | 44 | .width200px { | ... | ... |
| ... | @@ -6,31 +6,66 @@ | ... | @@ -6,31 +6,66 @@ |
| 6 | <el-row> | 6 | <el-row> |
| 7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
| 8 | <el-form-item label="业务来源"> | 8 | <el-form-item label="业务来源"> |
| 9 | <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源"> | 9 | <el-select |
| 10 | <el-option v-for="item in ywlys" :key="item.value" :label="item.label" :value="item.value"> | 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 | > | ||
| 11 | </el-option> | 21 | </el-option> |
| 12 | </el-select> | 22 | </el-select> |
| 13 | </el-form-item> | 23 | </el-form-item> |
| 14 | </el-col> | 24 | </el-col> |
| 15 | <el-col :span="5"> | 25 | <el-col :span="5"> |
| 16 | <el-form-item label="权利类型"> | 26 | <el-form-item label="权利类型"> |
| 17 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | 27 | <el-select |
| 18 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> | 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 | > | ||
| 19 | </el-option> | 39 | </el-option> |
| 20 | </el-select> | 40 | </el-select> |
| 21 | </el-form-item> | 41 | </el-form-item> |
| 22 | </el-col> | 42 | </el-col> |
| 23 | <el-col :span="5"> | 43 | <el-col :span="5"> |
| 24 | <el-form-item label="登记类型"> | 44 | <el-form-item label="登记类型"> |
| 25 | <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型"> | 45 | <el-select |
| 26 | <el-option v-for="item in djlxs" :key="item.value" :label="item.label" :value="item.value"> | 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 | > | ||
| 27 | </el-option> | 57 | </el-option> |
| 28 | </el-select> | 58 | </el-select> |
| 29 | </el-form-item> | 59 | </el-form-item> |
| 30 | </el-col> | 60 | </el-col> |
| 31 | <el-col :span="5"> | 61 | <el-col :span="5"> |
| 32 | <el-form-item label="业务号"> | 62 | <el-form-item label="业务号"> |
| 33 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px"> | 63 | <el-input |
| 64 | placeholder="请输入业务号" | ||
| 65 | v-model="queryForm.ywh" | ||
| 66 | clearable | ||
| 67 | class="width200px" | ||
| 68 | > | ||
| 34 | </el-input> | 69 | </el-input> |
| 35 | </el-form-item> | 70 | </el-form-item> |
| 36 | </el-col> | 71 | </el-col> |
| ... | @@ -38,7 +73,7 @@ | ... | @@ -38,7 +73,7 @@ |
| 38 | <el-col :span="4" class="btnCol"> | 73 | <el-col :span="4" class="btnCol"> |
| 39 | <el-form-item> | 74 | <el-form-item> |
| 40 | <el-button type="primary" @click="queryClick()">查询</el-button> | 75 | <el-button type="primary" @click="queryClick()">查询</el-button> |
| 41 | <el-button @click="moreScreeningClick()">更多选项</el-button> | 76 | <el-button @click="moreQueryClick()">高级查询</el-button> |
| 42 | </el-form-item> | 77 | </el-form-item> |
| 43 | </el-col> | 78 | </el-col> |
| 44 | </el-row> | 79 | </el-row> |
| ... | @@ -46,24 +81,32 @@ | ... | @@ -46,24 +81,32 @@ |
| 46 | </div> | 81 | </div> |
| 47 | <!-- 表格 --> | 82 | <!-- 表格 --> |
| 48 | <div class="from-clues-content"> | 83 | <div class="from-clues-content"> |
| 49 | <lb-table :page-size="pageData.size" @sort-change="handleSort" :current-page.sync="pageData.current" | 84 | <lb-table |
| 50 | :total="pageData.total" @selection-change="handleSelectionChange" @size-change="handleSizeChange" | 85 | :page-size="pageData.size" |
| 51 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | 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 | > | ||
| 52 | </lb-table> | 95 | </lb-table> |
| 53 | </div> | 96 | </div> |
| 54 | </div> | 97 | </div> |
| 55 | </template> | 98 | </template> |
| 56 | <script> | 99 | <script> |
| 57 | import table from '@/utils/mixin/table' | 100 | import table from "@/utils/mixin/table"; |
| 58 | import { datas, sendThis } from "./dbxdata" | 101 | import { datas, sendThis } from "./dbxdata"; |
| 59 | export default { | 102 | export default { |
| 60 | name: "dbx", | 103 | name: "dbx", |
| 61 | components: {}, | 104 | components: {}, |
| 62 | mixins: [table], | 105 | mixins: [table], |
| 63 | mounted () { | 106 | mounted() { |
| 64 | sendThis(this); | 107 | sendThis(this); |
| 65 | }, | 108 | }, |
| 66 | data () { | 109 | data() { |
| 67 | return { | 110 | return { |
| 68 | queryForm: { | 111 | queryForm: { |
| 69 | ywly: "", | 112 | ywly: "", |
| ... | @@ -74,34 +117,35 @@ export default { | ... | @@ -74,34 +117,35 @@ export default { |
| 74 | pageData: { | 117 | pageData: { |
| 75 | current: 1, | 118 | current: 1, |
| 76 | size: 10, | 119 | size: 10, |
| 77 | total: 2 | 120 | total: 2, |
| 78 | }, | 121 | }, |
| 122 | |||
| 123 | ywlys: datas.ywlys(), | ||
| 124 | |||
| 79 | tableData: { | 125 | tableData: { |
| 80 | columns: datas.columns(), | 126 | columns: datas.columns(), |
| 81 | data: [ | 127 | data: [ |
| 82 | { | 128 | { |
| 83 | slsj: '2022-5-12' | 129 | slsj: "2022-5-12", |
| 84 | }, | 130 | }, |
| 85 | { | 131 | { |
| 86 | slsj: '2022-5-13' | 132 | slsj: "2022-5-13", |
| 87 | } | 133 | }, |
| 88 | ] | 134 | ], |
| 89 | } | 135 | }, |
| 90 | } | 136 | }; |
| 91 | }, | 137 | }, |
| 92 | methods: { | 138 | methods: { |
| 93 | // 初始化数据 | 139 | // 初始化数据 |
| 94 | fetchData () { | 140 | fetchData() {}, |
| 95 | 141 | handleSort(name, sort) { | |
| 96 | }, | ||
| 97 | handleSort (name, sort) { | ||
| 98 | console.log(name, sort); | 142 | console.log(name, sort); |
| 99 | }, | 143 | }, |
| 100 | openDialog () { | 144 | openDialog() { |
| 101 | console.log(999999999999999); | 145 | console.log(999999999999999); |
| 102 | } | ||
| 103 | }, | 146 | }, |
| 104 | } | 147 | }, |
| 148 | }; | ||
| 105 | </script> | 149 | </script> |
| 106 | <style scoped lang="scss"> | 150 | <style scoped lang="scss"> |
| 107 | @import "~@/styles/public.scss"; | 151 | @import "~@/styles/public.scss"; | ... | ... |
| ... | @@ -72,6 +72,16 @@ class data extends filter { | ... | @@ -72,6 +72,16 @@ class data extends filter { |
| 72 | } | 72 | } |
| 73 | ] | 73 | ] |
| 74 | } | 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 | |||
| 75 | } | 85 | } |
| 76 | let datas = new data() | 86 | let datas = new data() |
| 77 | export { | 87 | export { | ... | ... |
-
Please register or sign in to post a comment