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)"
+ >
+
编辑
+ class="div-table-button--edit">修改
+
编辑修改
取消
{
+
+ // this.download(data, 'a.xls')
+ // },
+ // (rspMsg, data) => {
+ // this.$message.error(rspMsg);
+ // }
+ // );
+ await this.$http({
+ method: 'POST',
+ url,
+ responseType: 'blob',
+ data: params
+ })
.then(res => {
- // this.download(res.data, title + '.xls')
+ console.log('res-------dd', res)
if (res.headers["content-disposition"]) {
let fileName = window.decodeURI(res.headers["content-disposition"].split(";")[1].split("=")[1])
- console.log('filename', fileName)
- let blob = new Blob([res.data], { type: 'application/vnd.ms-excel' })
- var url = window.URL.createObjectURL(blob)
- var aLink = document.createElement('a')
- aLink.style.display = 'none'
- aLink.href = url
- aLink.setAttribute('download', fileName)
- document.body.appendChild(aLink)
- aLink.click()
- document.body.removeChild(aLink) //下载完成移除元素
- window.URL.revokeObjectURL(url) //释放掉blob对象
+ this.download(res.data, fileName)
+ // console.log('filename', fileName)
+ // let blob = new Blob([res.data], { type: 'application/vnd.ms-excel' })
+ // var url = window.URL.createObjectURL(blob)
+ // var aLink = document.createElement('a')
+ // aLink.style.display = 'none'
+ // aLink.href = url
+ // aLink.setAttribute('download', fileName)
+ // document.body.appendChild(aLink)
+ // aLink.click()
+ // document.body.removeChild(aLink) //下载完成移除元素
+ // window.URL.revokeObjectURL(url) //释放掉blob对象
} else this.$message.error('下载失败')
})
.catch(err => {
@@ -477,7 +520,7 @@ export default {
// this.$message.error('导入失败')
// })
this.importLoading = false
- this.importBtnTitle = '导入数据'
+ this.importBtnTitle = '导入'
this.$refs.upload.clearFiles()
},
async handleExport() {
diff --git a/src/views/modules/communityService/dqfwzx/index.vue b/src/views/modules/communityService/dqfwzx/index.vue
index b0de99cbc..344df3f9c 100644
--- a/src/views/modules/communityService/dqfwzx/index.vue
+++ b/src/views/modules/communityService/dqfwzx/index.vue
@@ -79,6 +79,7 @@
@click="handleOrder(scope.$index)"
type="text"
size="small"
+ style="color: #1c6afd"
>预约
@@ -86,7 +87,7 @@
@click="handleOrderList(scope.$index)"
type="text"
size="small"
- style="margin-right: 10px; color: #00a7a9"
+ style="margin-right: 10px; color: #1c6afd"
>预约记录
@@ -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 @@
- 新增需求
+ 新增
{{ handleFilterSpan(scope.row, item) }}
-
+
编辑修改
新增
+ 下载模板
编辑修改
{
+ // this.download(res.data, title + '.xls')
+ if (res.headers["content-disposition"]) {
+ let fileName = window.decodeURI(res.headers["content-disposition"].split(";")[1].split("=")[1])
+ console.log('filename', fileName)
+ let blob = new Blob([res.data], { type: 'application/vnd.ms-excel' })
+ var url = window.URL.createObjectURL(blob)
+ var aLink = document.createElement('a')
+ aLink.style.display = 'none'
+ aLink.href = url
+ aLink.setAttribute('download', fileName)
+ document.body.appendChild(aLink)
+ aLink.click()
+ document.body.removeChild(aLink) //下载完成移除元素
+ window.URL.revokeObjectURL(url) //释放掉blob对象
+ } else this.$message.error('下载失败')
+ })
+ .catch(err => {
+ console.log('err', err)
+ return this.$message.error('网络错误')
+ })
+ },
// 上传大图标成功
handleExcelSuccess(res, file) {
if (res.code === 0 && res.msg === "success") {
diff --git a/src/views/modules/importRecord/index.vue b/src/views/modules/importRecord/index.vue
index 191bdc54f..f4fe8a58c 100644
--- a/src/views/modules/importRecord/index.vue
+++ b/src/views/modules/importRecord/index.vue
@@ -1,9 +1,7 @@
-
-
导入记录
-
+
+
diff --git a/src/views/modules/shequ/cpts/scroll-notice.vue b/src/views/modules/shequ/cpts/scroll-notice.vue
index 6945dacc8..ce7495c7d 100644
--- a/src/views/modules/shequ/cpts/scroll-notice.vue
+++ b/src/views/modules/shequ/cpts/scroll-notice.vue
@@ -41,7 +41,7 @@ export default {
let len = this.list.length;
let beyond = this.beyond;
return {
- paddingLeft: beyond ? this.parentClientWidth + "px" : "",
+ // paddingLeft: beyond ? this.parentClientWidth + "px" : "",
animation: beyond
? `move_left_right ${len * 5}s linear 0s infinite`
: "",
@@ -118,7 +118,7 @@ export default {
transform: translateX(0%);
}
to {
- transform: translateX(-80%);
+ transform: translateX(-100%);
}
}
}
diff --git a/src/views/modules/shequ/cpts/xuqiu-info.vue b/src/views/modules/shequ/cpts/xuqiu-info.vue
index 2e75d5ae6..2c378f739 100644
--- a/src/views/modules/shequ/cpts/xuqiu-info.vue
+++ b/src/views/modules/shequ/cpts/xuqiu-info.vue
@@ -219,6 +219,8 @@ export default {
}
.form {
margin-top: 30px;
+ height: 60vh;
+ overflow-y: auto;
}