diff --git a/src/App.vue b/src/App.vue index d12179995..5d1e546d4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -133,11 +133,11 @@ export default { .dialog-h { .el-dialog__body { position: relative; - height: 82vh; + max-height: 82vh; box-sizing: border-box; padding: 0 10px 20px !important; .dialog-h-content { - height: calc(82vh - 80px); + max-height: calc(82vh - 80px); box-sizing: border-box; overflow: auto; } diff --git a/src/assets/scss/modules/search.scss b/src/assets/scss/modules/search.scss index 370c50fe9..d6f0a6d1a 100644 --- a/src/assets/scss/modules/search.scss +++ b/src/assets/scss/modules/search.scss @@ -228,7 +228,7 @@ } .notice-list { // @include toe; - width: 92%; + width: calc(100% - 70px); // height: 24px; // overflow: hidden; a { diff --git a/src/assets/scss/modules/visual/personCategory.scss b/src/assets/scss/modules/visual/personCategory.scss index ddf1da356..4c578bcdd 100644 --- a/src/assets/scss/modules/visual/personCategory.scss +++ b/src/assets/scss/modules/visual/personCategory.scss @@ -89,7 +89,7 @@ } .item_right { - width: 160px; + width: 110px; display: flex; flex-direction: column; align-items: space-between; diff --git a/src/assets/scss/people-info.scss b/src/assets/scss/people-info.scss index fa0354ca2..24428cddc 100644 --- a/src/assets/scss/people-info.scss +++ b/src/assets/scss/people-info.scss @@ -8,11 +8,20 @@ .wrap { position: relative; - margin: 120px auto; - padding: 20px; - width: 1000px; + margin: 5vh auto; + height: 90vh; + width: 1040px; background-color: #fff; + .wrap2 { + box-sizing: border-box; + padding: 20px; + height: 90vh; + width: 1040px; + overflow-y: auto; + overflow-x: hidden; + } + .title { padding: 10px; font-size: 22px; @@ -33,6 +42,7 @@ .btn-close { position: absolute; + z-index: 2; top: -30px; right: -30px; cursor: pointer; diff --git a/src/views/components/CTable.vue b/src/views/components/CTable.vue index 86449a949..f5d2a8ee6 100644 --- a/src/views/components/CTable.vue +++ b/src/views/components/CTable.vue @@ -93,10 +93,10 @@ {{item.lable}} diff --git a/src/views/components/resiSearch.vue b/src/views/components/resiSearch.vue index 72503bad3..1c2cd5494 100644 --- a/src/views/components/resiSearch.vue +++ b/src/views/components/resiSearch.vue @@ -52,6 +52,7 @@ placeholder="楼号" size="small" clearable + style="width: 120px;" class="resi-cell-select" :disabled="changeVDisabled" @clear="handleClearBuild" @@ -65,12 +66,13 @@ > - + @@ -190,6 +193,7 @@ --> 查询 + 重置
@@ -372,6 +376,12 @@ export default { this.form.UNIT_ID = '' this.form.HOME_ID = '' }, + resetForm(formName) { + for(const n in this.form) { + this.form[n] = '' + } + this.handleSearch() + }, handleSearch() { // console.log('formmmmm---', this.form) const itemTypes = ['daterange', 'timerange'] @@ -435,9 +445,13 @@ export default { if (n === val) { if (this.fixedList.length > 0) { let _item = {} + let hasVal = false this.fixedList.forEach((item, index) => { - if (item.columnName === val) { + if (item.columnName == val) { + hasVal = true item.columnValue[0] = this.form[val] + if (!this.form[val]) this.fixedList.splice(index, 1) + console.log('fixedList----val', this.fixedList) } else { _item = { queryType: 'equal', @@ -445,10 +459,11 @@ export default { columnName: val, columnValue: [this.form[val]] } + console.log('fixedList----else', _item) // this.$set(this.fixedList, index, _item) } }) - if (Object.keys(_item).length > 0) this.fixedList.push(_item) + if (Object.keys(_item).length > 0 && !hasVal) this.fixedList.push(_item) } else { this.$set(this.fixedList, 0, { queryType: 'equal', diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index 2d9d49cfb..9e35e8d64 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -12,11 +12,12 @@ @click="handleAdd">新增 下载人口模板 + @click="handleExportModule('room')">下载模板 + :width="item.width || computedWidth(item.label, item.itemType)" + > + @@ -420,22 +421,22 @@ export default { display: inline-block; margin-left: 1px; font-size: 14px; - color: rgb(235, 192, 4); + color: #00a7a9; width: 40px; line-height: 30px; text-align: center; cursor: pointer; &:nth-child(2) { - color: #aaa; + color: #d51010; &:hover { // text-decoration: underline; - color: #666; + color: #d51010; } } &:hover { // text-decoration: underline; - color: rgb(250, 208, 23); + color: #00a7a9; } } } diff --git a/src/views/modules/communityService/measure/index.vue b/src/views/modules/communityService/measure/index.vue index 859982f64..e54a23553 100644 --- a/src/views/modules/communityService/measure/index.vue +++ b/src/views/modules/communityService/measure/index.vue @@ -131,12 +131,10 @@ - 查询 + 查询 - 重置 + 重置
@@ -145,7 +143,7 @@
- 新增需求 + 新增
- +