From 1e60f78d048a0ce5984a6d6f46996fa935d3cde2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E9=AD=81?= <2403457699@qq.com> Date: Tue, 6 Dec 2022 11:18:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E4=BF=A1=E6=81=AF=E4=B8=8A?= =?UTF-8?q?=E6=96=B9=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/management/list-main.css | 144 ++++++++++++ .../scss/modules/management/list-main.min.css | 1 + src/views/components/rangeInput.vue | 4 +- src/views/components/resiSearch.vue | 220 +++++++++--------- src/views/modules/base/resi.vue | 41 ++-- 5 files changed, 277 insertions(+), 133 deletions(-) create mode 100644 src/assets/scss/modules/management/list-main.css create mode 100644 src/assets/scss/modules/management/list-main.min.css diff --git a/src/assets/scss/modules/management/list-main.css b/src/assets/scss/modules/management/list-main.css new file mode 100644 index 000000000..e708dbfc9 --- /dev/null +++ b/src/assets/scss/modules/management/list-main.css @@ -0,0 +1,144 @@ +.div_main { + width: 100%; +} + +.div_main .marginl-20 { + margin-left: 16px; +} + +.div_main .div_search { + padding: 10px; + background-color: #f6f6f6; + border: 1px solid #D3DCE6; + margin: 7px 7px; +} + +.div_main .div_search .div_search_btn { + float: right; +} + +.div_main .div_search .div_search_label { + line-height: 36px; + margin-left: 24px; + margin-right: 6px; + font-size: 14px; + color: #606266; + vertical-align: middle; +} + +.div_main .data-tag { + margin-left: 10px; +} + +.div_main .item_width_normal { + width: 138px; +} + +.div_main .item_width_daterange { + width: 176px; +} + +.div_main .item_width_buildcascader { + width: 151px; +} + +.div_main .div_table { + margin: 15px 7px 7px; + position: relative; +} + +.div_main .div_table .div_btn { + display: flex; + justify-content: space-between; +} + +.div_main .div_table .div_btn .div_btn_left { + display: flex; +} + +.div_main .div_table .div_btn .div_btn_left .btn_upload { + margin-left: 10px; + display: flex; +} + +.div_main .div_table .div_table_item { + margin-top: 10px; + position: relative; +} + +.div_main .item_width_2 { + width: 138px; +} + +.div_main .item_width_1 { + width: 260px; +} + +.div_main .item_width_3 { + width: 200px; +} + +.div_main .list_item_width_1 { + width: 165px; +} + +.div_main .list_item_width_2 { + width: 135px; +} + +.div-mult-form { + margin-top: 20px; +} + +.div-mult-form .div_person { + display: flex; + font-size: 14px; + padding-bottom: 20px; +} + +.div-mult-form .div_person .person_title { + text-align: right; + flex: 0 0 100px; + line-height: 36px; + padding: 0 12px 0 0; +} + +.div-mult-form .div_person .tag_item { + margin-right: 10px; + margin-top: 10px; +} + +.div-mult-form .div_person .tag_tip { + margin-top: 10px; + color: #9c9c9c; +} + +.div-mult-table { + position: relative; + padding: 0 20px; +} + +.div-mult-table .div_selcount { + position: absolute; + bottom: 10px; + left: 30px; +} + +.div_dialog_table { + padding: 10px; +} + +.div_dialog_table .table { + margin-top: 20px; +} + +.twoline { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + overflow: hidden; +} + +.font_color_blue { + color: #0054d7; +} diff --git a/src/assets/scss/modules/management/list-main.min.css b/src/assets/scss/modules/management/list-main.min.css new file mode 100644 index 000000000..6d314c3b8 --- /dev/null +++ b/src/assets/scss/modules/management/list-main.min.css @@ -0,0 +1 @@ +.div_main{width:100%}.div_main .marginl-20{margin-left:16px}.div_main .div_search{padding:10px;background-color:#f6f6f6;border:1px solid #D3DCE6;margin:7px 7px}.div_main .div_search .div_search_btn{float:right}.div_main .div_search .div_search_label{line-height:36px;margin-left:24px;margin-right:6px;font-size:14px;color:#606266;vertical-align:middle}.div_main .data-tag{margin-left:10px}.div_main .item_width_normal{width:138px}.div_main .item_width_daterange{width:176px}.div_main .item_width_buildcascader{width:151px}.div_main .div_table{margin:15px 7px 7px;position:relative}.div_main .div_table .div_btn{display:flex;justify-content:space-between}.div_main .div_table .div_btn .div_btn_left{display:flex}.div_main .div_table .div_btn .div_btn_left .btn_upload{margin-left:10px;display:flex}.div_main .div_table .div_table_item{margin-top:10px;position:relative}.div_main .item_width_2{width:138px}.div_main .item_width_1{width:260px}.div_main .item_width_3{width:200px}.div_main .list_item_width_1{width:165px}.div_main .list_item_width_2{width:135px}.div-mult-form{margin-top:20px}.div-mult-form .div_person{display:flex;font-size:14px;padding-bottom:20px}.div-mult-form .div_person .person_title{text-align:right;flex:0 0 100px;line-height:36px;padding:0 12px 0 0}.div-mult-form .div_person .tag_item{margin-right:10px;margin-top:10px}.div-mult-form .div_person .tag_tip{margin-top:10px;color:#9c9c9c}.div-mult-table{position:relative;padding:0 20px}.div-mult-table .div_selcount{position:absolute;bottom:10px;left:30px}.div_dialog_table{padding:10px}.div_dialog_table .table{margin-top:20px}.twoline{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.font_color_blue{color:#0054d7} diff --git a/src/views/components/rangeInput.vue b/src/views/components/rangeInput.vue index 5c726a67b..781d3f161 100644 --- a/src/views/components/rangeInput.vue +++ b/src/views/components/rangeInput.vue @@ -127,5 +127,7 @@ export default { .div_middle { padding: 0 10px; + position: relative; + bottom: 10px; } - \ No newline at end of file + diff --git a/src/views/components/resiSearch.vue b/src/views/components/resiSearch.vue index 6810c8f96..492465d92 100644 --- a/src/views/components/resiSearch.vue +++ b/src/views/components/resiSearch.vue @@ -1,101 +1,17 @@ - - - + + + + + + + +
+
+ + + + + + + + + + + + + + + + +
+
+
+ + @@ -194,23 +186,23 @@ :formType="formType"> - 查询 - 智能查询 + @click="handleSearch" plain>查询 重置 + 智能查询 + 收起 @@ -262,6 +254,7 @@ export default { return _form } let itemList = this.formList.map(item => { + console.log(item); if (item.itemType == 'inputRange' && item.funType == 'agetoyear') { item.columnName = 'age' } @@ -362,7 +355,7 @@ export default { 'AGENCY_ID': 'like' }, - showSmartSearchForm: true, + showSmartSearchForm: false, formType: 'add', selBtnIndex: 1, btnList: [ @@ -380,7 +373,7 @@ export default { nextLogicalRel: "", nextLogicalRelName: "", personRule: { - ruleDesc: '',//规则描述文字,例如:基础信息性别等于女 + ruleDesc: '',//规则描述文字,例如:基础信息性别等于女 itemGroupId: '', itemId: '', queryType: '', @@ -466,12 +459,13 @@ export default { let index = 0 let arrTemp = [] for (let i = 0; i < data.length; i++) { - index = parseInt(i / count) + index = parseInt(0) if (arrTemp.length <= index) { arrTemp.push([]) } arrTemp[index].push(data[i]) } + console.log(arrTemp); return arrTemp } } @@ -816,17 +810,11 @@ export default {