diff --git a/src/assets/scss/dataBoard/overview/index.scss b/src/assets/scss/dataBoard/overview/index.scss index c4537482c..b9978fd06 100644 --- a/src/assets/scss/dataBoard/overview/index.scss +++ b/src/assets/scss/dataBoard/overview/index.scss @@ -44,19 +44,19 @@ overflow-y: hidden; } -.animation { - animation: move 10s linear infinite; -} - -@keyframes move { - 0% { - transform: translateY(0px); - } - - 100% { - transform: translateY(-320px); - } -} +// .animation { +// animation: move 10s linear infinite; +// } + +// @keyframes move { +// 0% { +// transform: translateY(0px); +// } + +// 100% { +// transform: translateY(-320px); +// } +// } .m-jdjs { height: 318px; diff --git a/src/assets/scss/modules/index.scss b/src/assets/scss/modules/index.scss index bcf4c4bb1..1c8f54e0d 100644 --- a/src/assets/scss/modules/index.scss +++ b/src/assets/scss/modules/index.scss @@ -299,7 +299,7 @@ } .item-per { - width: 90px; + min-width: 70px; } .item-progress { diff --git a/src/views/dataBoard/overview/components/sq12345.vue b/src/views/dataBoard/overview/components/sq12345.vue index a70babc86..449391f4b 100644 --- a/src/views/dataBoard/overview/components/sq12345.vue +++ b/src/views/dataBoard/overview/components/sq12345.vue @@ -9,7 +9,7 @@
已办结
-
+
{{ index - 0 + 1 }} @@ -20,14 +20,16 @@
{{ item.closedNum }}
-
-
- {{ index - 0 + 1 }} +
+
+
+ {{ index - 0 + 1 }} +
+
{{ item.orgName }}
+
{{ item.sumNum }}
+
{{ item.processNum }}
+
{{ item.closedNum }}
-
{{ item.orgName }}
-
{{ item.sumNum }}
-
{{ item.processNum }}
-
{{ item.closedNum }}
@@ -72,6 +74,23 @@ export default { getList(item) { this.$http.get("/actual/base/streetOverview/eventAgencyGroup?month=" + this.date + "&level=" + item.orgLevel + "&orgId=" + item.orgId).then(({ data: { data } }) => { this.pmList = data; + if (this.pmList.length > 7) { + this.$nextTick(() => { + const aniHeight = this.$refs.animation.querySelector(".tr").offsetHeight * this.pmList.length; + console.log(aniHeight); + this.$refs.animation.style.animation = "move 10s linear infinite"; + document.styleSheets[0].insertRule( + `@keyframes move{0% { + transform: translateY(0px); + } + + 100% { + transform: translateY(-${aniHeight}px); + }`, + 0 + ); + }); + } }); }, }, diff --git a/src/views/dataBoard/overview/components/sqrfph.vue b/src/views/dataBoard/overview/components/sqrfph.vue index 18b4478b2..569e9cb5f 100644 --- a/src/views/dataBoard/overview/components/sqrfph.vue +++ b/src/views/dataBoard/overview/components/sqrfph.vue @@ -9,7 +9,7 @@
人房更新总数
-
+
{{ index - 0 + 1 }} @@ -20,14 +20,16 @@
{{ item.sumNum }}
-
-
- {{ index - 0 + 1 }} +
+
+
+ {{ index - 0 + 1 }} +
+
{{ item.orgName }}
+
{{ item.houseNum }}
+
{{ item.residentNum }}
+
{{ item.sumNum }}
-
{{ item.orgName }}
-
{{ item.houseNum }}
-
{{ item.residentNum }}
-
{{ item.sumNum }}
@@ -72,6 +74,22 @@ export default { getList(item) { this.$http.get("/actual/base/streetOverview/residentHouseUpdateGroup?month=" + this.date + "&level=" + item.orgLevel + "&orgId=" + item.orgId).then(({ data: { data } }) => { this.pmList = data; + if (this.pmList.length > 7) { + this.$nextTick(() => { + const aniHeight = this.$refs.animation.querySelector(".tr").offsetHeight * this.pmList.length; + this.$refs.animation.style.animation = "move 10s linear infinite"; + document.styleSheets[0].insertRule( + `@keyframes move{0% { + transform: translateY(0px); + } + + 100% { + transform: translateY(-${aniHeight}px); + }`, + 0 + ); + }); + } }); }, }, diff --git a/src/views/modules/base/residentManagement/publicWelfarePost/addForm.vue b/src/views/modules/base/residentManagement/publicWelfarePost/addForm.vue index 45e85cd8f..cfc999ab8 100644 --- a/src/views/modules/base/residentManagement/publicWelfarePost/addForm.vue +++ b/src/views/modules/base/residentManagement/publicWelfarePost/addForm.vue @@ -105,7 +105,7 @@ + :A="item.value"> @@ -152,7 +152,7 @@
岗位类型: - {{ formData.postTypes }} + {{ formData.postTypeNames || '--' }}
@@ -193,7 +193,7 @@
兴趣特长: - {{ formData.hobbyCodes || "--" }} + {{ formData.hobbyNames || "--" }}
@@ -235,11 +235,11 @@
管理范围: - {{ formData.manageScopes || "--" }} + {{ formData.manageScopesName || "--" }}
+ :options="orgOptions" :props="orgOptionProps" :show-all-levels="false" @change="handleChangeManageScopes" clearable>
@@ -334,6 +334,7 @@ export default { SPECIAL_SKILL: [], idCard_type: [] }, + selArr:[], }; }, @@ -356,10 +357,11 @@ export default { await this.getDetail(this.scopeId); }, async getDetail(categorizedResiId) { - const url = `/actual/base/publicWelfarePost/detail/${categorizedResiId}`; + const url = `/actual/base/resiCategorized/publicWelfarePost/detail/${categorizedResiId}`; const { data, code, msg } = await requestGet(url); if (code === 0) { this.formData = { ...data }; + this.formData.manageScopes = data.manageScopes[0].scopeId await this.setAgencyIdFromLastLayerId(data.agencyId) console.log(this.agencyIdTemp); } else { @@ -375,7 +377,7 @@ export default { this.formType === "edit" ? "/actual/base/resiCategorized/publicWelfarePost/update" : "/actual/base/resiCategorized/publicWelfarePost/create"; - + this.formData.manageScopes = this.selArr const { data, code, msg } = await requestPost(url, this.formData); if (code === 0) { this.$message.success(this.formType == 'add' ? "添加成功" : '修改成功'); @@ -386,6 +388,11 @@ export default { } }); }, + handleChangeManageScopes(val){ + let obj = this.$refs["myCascader"].getCheckedNodes()[0].data + console.log(obj); + this.selArr = [{scopeType:obj.level,scopeId:obj.agencyId}] + }, async getDicts() { try { const requests = [ diff --git a/src/views/modules/satisfaction/communitySelfInsp/formList.vue b/src/views/modules/satisfaction/communitySelfInsp/formList.vue index 3b2a833dc..1bf04332e 100644 --- a/src/views/modules/satisfaction/communitySelfInsp/formList.vue +++ b/src/views/modules/satisfaction/communitySelfInsp/formList.vue @@ -3,22 +3,22 @@ + class="u-item-width-normal" @change="handleSearch" clearable> + :value="item.value" > + clearable @change="handleSearch"> - 查询 + diff --git a/src/views/modules/satisfaction/satisfactionProvince/formList.vue b/src/views/modules/satisfaction/satisfactionProvince/formList.vue index a6d375413..3edf8d915 100644 --- a/src/views/modules/satisfaction/satisfactionProvince/formList.vue +++ b/src/views/modules/satisfaction/satisfactionProvince/formList.vue @@ -1,8 +1,8 @@