diff --git a/src/assets/scss/common.scss b/src/assets/scss/common.scss index 794afa6f7..b64e02d22 100644 --- a/src/assets/scss/common.scss +++ b/src/assets/scss/common.scss @@ -821,3 +821,11 @@ div.el-table div.cell { text-overflow: ellipsis; word-wrap: normal; } + +input::-webkit-outer-spin-button, +input::-webkit-inner-spin-button { + -webkit-appearance: none; +} +input[type="number"] { + -moz-appearance: textfield; +} diff --git a/src/assets/scss/modules/visual/basicInfoMain.scss b/src/assets/scss/modules/visual/basicInfoMain.scss index ecc3d6387..d3817619d 100644 --- a/src/assets/scss/modules/visual/basicInfoMain.scss +++ b/src/assets/scss/modules/visual/basicInfoMain.scss @@ -296,8 +296,8 @@ .icon_party { position: absolute; - top: 13px; - left: 18px; + top: 10px; + left: 12px; } .icon_roomstate { position: absolute; diff --git a/src/assets/scss/modules/visual/houseStatic.scss b/src/assets/scss/modules/visual/houseStatic.scss index b46923af8..665448d51 100644 --- a/src/assets/scss/modules/visual/houseStatic.scss +++ b/src/assets/scss/modules/visual/houseStatic.scss @@ -114,7 +114,7 @@ width: 100%; .echart-wr{ flex-shrink: 0; - height: 380px; + height: 420px; width: 70%; } .div-tip{ diff --git a/src/assets/scss/modules/warning.scss b/src/assets/scss/modules/warning.scss index 2c6b9fa2c..2353a9435 100644 --- a/src/assets/scss/modules/warning.scss +++ b/src/assets/scss/modules/warning.scss @@ -85,7 +85,7 @@ content: ""; width: 8px; height: 8px; - background: #2194fe; + background: #f5f502; border-radius: 50%; position: absolute; left: 12px; @@ -93,6 +93,12 @@ transform: translate(0, -50%); } + &:nth-of-type(2) { + &::after { + background: #fb500d; + } + } + div:nth-child(1) { font-size: 16px; font-family: PingFang SC; diff --git a/src/router/index.js b/src/router/index.js index aae84a573..0d88ec393 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -225,7 +225,7 @@ router.beforeEach((to, from, next) => { window.SITE_CONFIG["menuShujuList"] = [ { url: "/visual/plugin/power/organization", - name: "组织架构", + name: "动力主轴", id: "5feawfwaefwa577", }, { diff --git a/src/views/components/checkBox.vue b/src/views/components/checkBox.vue new file mode 100644 index 000000000..41bc5cfae --- /dev/null +++ b/src/views/components/checkBox.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/src/views/components/dragItem.vue b/src/views/components/dragItem.vue new file mode 100644 index 000000000..c9268ac94 --- /dev/null +++ b/src/views/components/dragItem.vue @@ -0,0 +1,94 @@ + + + + + \ No newline at end of file diff --git a/src/views/components/resiSearch.vue b/src/views/components/resiSearch.vue index ef2b7fa67..45f56bf30 100644 --- a/src/views/components/resiSearch.vue +++ b/src/views/components/resiSearch.vue @@ -712,7 +712,7 @@ export default { width: 200px; } .resi-cell--daterange { - width: 200px; + max-width: 260px; } .resi-cell-select { width: 200px; diff --git a/src/views/modules/base/diyInfo.vue b/src/views/modules/base/diyInfo.vue new file mode 100644 index 000000000..0fd29a40f --- /dev/null +++ b/src/views/modules/base/diyInfo.vue @@ -0,0 +1,511 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/base/epidemic/natFocus/natFocusList.vue b/src/views/modules/base/epidemic/natFocus/natFocusList.vue index c8215e63a..8d7fbc47f 100644 --- a/src/views/modules/base/epidemic/natFocus/natFocusList.vue +++ b/src/views/modules/base/epidemic/natFocus/natFocusList.vue @@ -670,21 +670,36 @@ export default { }) }, - handleEdit (row) { - this.editFormTitle = "修改核酸检测关注名单" - this.editFormShow = true + async handleEdit(row) { + this.editFormTitle = "修改核酸检测关注名单"; + this.editFormShow = true; - this.$nextTick(() => { - this.$refs.ref_form_edit.initForm('edit', row) - }) + let row2 = await this.getInfo(row); + this.$refs.ref_form_edit.initForm("edit", row2); }, - handleDetail (row) { - this.editFormTitle = "查看核酸检测关注名单" - this.editFormShow = true - this.$nextTick(() => { - this.$refs.ref_form_edit.initForm('detail', row) - }) + async handleDetail(row) { + this.editFormTitle = "查看核酸检测关注名单"; + this.editFormShow = true; + + let row2 = await this.getInfo(row); + this.$refs.ref_form_edit.initForm("detail", row2); + }, + + async getInfo(row) { + const url = "/epmetuser/icEpidemicSpecialAttention/detail"; + + let params = { + id: row.id, + }; + + const { data, code, msg } = await requestPost(url, params); + + if (code === 0) { + row.mobile = data.mobile; + row.idCard = data.idCard; + } + return row; }, handleSendNotice () { diff --git a/src/views/modules/base/epidemic/vaccin.vue b/src/views/modules/base/epidemic/vaccin.vue index 7bccd7463..87d99e65d 100644 --- a/src/views/modules/base/epidemic/vaccin.vue +++ b/src/views/modules/base/epidemic/vaccin.vue @@ -1,95 +1,110 @@ - - - diff --git a/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue b/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue index 4c65d7c98..435382800 100644 --- a/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue +++ b/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue @@ -1,387 +1,491 @@ - - - - diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index 5ffed18ab..01335d6c1 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -63,6 +63,10 @@ class="diy-button--reset" :loading="exportBtn" @click="handleExport">{{exportBtnTitle}} + 自定义导出 + + + { + (async (id) => { + // item.queryItemList = await this.getExportChildList(id) + item.queryItemList = [] + })(item.id) + }) + this.exportList = [...data] + this.$nextTick(() => { + this.diyDialog = true + }) + console.log('获取详情成功getExportList----', this.exportList) + + } else { + this.$message.error(msg) + } + }, + async getExportChildList (groupId) { + const url = `/oper/customize/icformitem/getItemList/${groupId}` + let params = {} + + const { data, code, msg } = await requestPost(url, params) + + if (code === 0) { + + return data + + } else { + this.$message.error(msg) + } + }, async deleteresiBatch () { if (this.selection.length === 0) return this.$message.error('请选择之后进行操作') let userIds = this.selection.map(item => item.icResiUserId) diff --git a/src/views/modules/visual/basicinfo/basicInfoCommunity.vue b/src/views/modules/visual/basicinfo/basicInfoCommunity.vue index 4cc2f4021..3f8e1b792 100644 --- a/src/views/modules/visual/basicinfo/basicInfoCommunity.vue +++ b/src/views/modules/visual/basicinfo/basicInfoCommunity.vue @@ -216,21 +216,22 @@ export default { this.userArray = [] this.roomArray.forEach((element, index) => { - - let obj = JSON.parse(JSON.stringify(element)) - - obj.showAllUser = false - this.$set(this.roomArray, index, obj) - // element.showAllUser = false + if (index !== selIndex) { + let obj = JSON.parse(JSON.stringify(element)) + obj.showAllUser = false + this.$set(this.roomArray, index, obj) + } }); - await nextTick(50); - if ((selIndex === 0 || selIndex) && !this.roomArray[selIndex].showAllUser) { - + await nextTick(100); await this.loadUser(this.roomArray[selIndex].houseId, selIndex) + } else { + let obj = JSON.parse(JSON.stringify(this.roomArray[selIndex])) + obj.showAllUser = false + this.$set(this.roomArray, selIndex, obj) } diff --git a/src/views/modules/visual/basicinfo/basicInfoMain.vue b/src/views/modules/visual/basicinfo/basicInfoMain.vue index 5ece421f3..bf12af804 100644 --- a/src/views/modules/visual/basicinfo/basicInfoMain.vue +++ b/src/views/modules/visual/basicinfo/basicInfoMain.vue @@ -316,7 +316,9 @@ const vueGis = { path: `/main-shuju/visual-basicinfo-people-list`, query: { columnName: item.columnName, - label: item.label + label: item.label, + id: this.orgId, + level: this.orgLevel } }); }, diff --git a/src/views/modules/visual/basicinfo/cpts/roomInfo.vue b/src/views/modules/visual/basicinfo/cpts/roomInfo.vue index 8e06df7f2..a3b93557b 100644 --- a/src/views/modules/visual/basicinfo/cpts/roomInfo.vue +++ b/src/views/modules/visual/basicinfo/cpts/roomInfo.vue @@ -20,18 +20,25 @@ -->
+
+ 所属房屋: + {{ formData.neighborHoodName }}-{{ formData. buildingName }}-{{ formData. unitName }}-{{ formData. doorName }} +
+ +
+ +
房屋类型: diff --git a/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue b/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue index da717e6b4..f6437d36f 100644 --- a/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue +++ b/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue @@ -17,7 +17,7 @@
- 人房概览统计 + 人房概览数据统计
@@ -116,70 +116,73 @@
- -
下级人房概览数据统计
- -
-
-
- - {{item.orgName}} -
- -
-
-
-
{{item.houseTotal}}
-
房屋总数
-
-
-
-
{{item.zzHouseTotal}}
-
{{item.zzHouseRatio+'%'}}
-
自住房屋数
-
-
-
{{item.czHouseTotal}}
-
{{item.czHouseRatio+'%'}}
-
出租房屋数
-
-
-
{{item.xzHouseTotal}}
-
{{item.xzHouseRatio+'%'}}
-
闲置房屋数
-
+
+ +
下级人房概览数据统计
+ +
+
+
+ + {{item.orgName}}
-
-
-
{{item.userTotal}}
-
居民总数
-
-
-
-
{{item.czUserTotal}}
-
{{item.czUserRatio+'%'}}
-
常住人口数
-
-
-
{{item.ldUserTotal}}
-
{{item.ldUserRatio+'%'}}
-
流动人口数
+ +
+
+
+
{{item.houseTotal}}
+
房屋总数
+
+
+
+
{{item.zzHouseTotal}}
+
{{item.zzHouseRatio+'%'}}
+
自住房屋数
+
+
+
{{item.czHouseTotal}}
+
{{item.czHouseRatio+'%'}}
+
出租房屋数
+
+
+
{{item.xzHouseTotal}}
+
{{item.xzHouseRatio+'%'}}
+
闲置房屋数
+
+
+
+
{{item.userTotal}}
+
居民总数
+
+
+
+
{{item.czUserTotal}}
+
{{item.czUserRatio+'%'}}
+
常住人口数
+
+
+
{{item.ldUserTotal}}
+
{{item.ldUserRatio+'%'}}
+
流动人口数
+
+
-
-
+
+ + - +
@@ -445,7 +448,7 @@ export default { selected: true } let obj2 = { - name: '流动人口树', + name: '流动人口数', value: this.userData.ldUserRatio } diff --git a/src/views/modules/visual/basicinfo/houseStatic/options.js b/src/views/modules/visual/basicinfo/houseStatic/options.js index 5b7e5f5e0..fec2c520b 100644 --- a/src/views/modules/visual/basicinfo/houseStatic/options.js +++ b/src/views/modules/visual/basicinfo/houseStatic/options.js @@ -1,10 +1,10 @@ export function housePieOption (_charts) { - const center= ['50%', '150px'] + const center= ['50%', '200px'] return { title: { text: '0', - top: 120, + top: 170, left: 'center', textStyle: { width: '100%', diff --git a/src/views/modules/visual/basicinfo/houseStatic/userOptions.js b/src/views/modules/visual/basicinfo/houseStatic/userOptions.js index 54129ff2b..bd6bca771 100644 --- a/src/views/modules/visual/basicinfo/houseStatic/userOptions.js +++ b/src/views/modules/visual/basicinfo/houseStatic/userOptions.js @@ -1,10 +1,10 @@ export function userPieOption (_charts) { - const center= ['50%', '150px'] + const center= ['50%', '200px'] return { title: { text: '0', - top: 120, + top: 170, left: 'center', textStyle: { width: '100%', @@ -13,7 +13,7 @@ export function userPieOption (_charts) { fontWeight: 400 }, itemGap: 5, - subtext: '房屋总数', + subtext: '居民总数', subtextStyle: { fontSize: 20, color: '#fff', diff --git a/src/views/modules/visual/basicinfo/peopleList.vue b/src/views/modules/visual/basicinfo/peopleList.vue index b6757fb45..1438a50d6 100644 --- a/src/views/modules/visual/basicinfo/peopleList.vue +++ b/src/views/modules/visual/basicinfo/peopleList.vue @@ -127,10 +127,10 @@ export default { this.searchName = '' this.tableData = [] - const { columnName, label } = this.$route.query + const { columnName, label, id, level } = this.$route.query this.searchName = columnName this.tableTitle = label - this.loadList() + this.loadList(id, level) }, beforeRouteEnter(to, from, next) { @@ -146,11 +146,13 @@ export default { - async loadList () { + async loadList (id, level) { this.loading = true const url = "/epmetuser/icresiuser/searchbycategory" let params = { columnName: this.searchName, + id, + level, pageSize: this.pageSize, pageNo: this.pageNo } diff --git a/src/views/modules/visual/plugin/power/organization.vue b/src/views/modules/visual/plugin/power/organization.vue index a12788fb9..62fdfc1ff 100644 --- a/src/views/modules/visual/plugin/power/organization.vue +++ b/src/views/modules/visual/plugin/power/organization.vue @@ -4,12 +4,12 @@
- 组织架构 + 动力主轴