From dc8b3cc481437646df9597674f87a108e95707b9 Mon Sep 17 00:00:00 2001
From: mk <2403457699@qq.com>
Date: Tue, 10 Oct 2023 12:27:00 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/index/index.js | 6 +--
pages/index/index.wxml | 9 ++--
pages/index/index.wxss | 27 ++++++++--
pages/login/login.wxml | 4 +-
pages/login/login.wxss | 4 +-
pages/mine/mine.wxml | 2 +-
pages/mine/mine.wxss | 20 ++++++-
pages/work/work.js | 9 ++--
pages/work/work.wxml | 16 +++---
pages/work/work.wxss | 32 +++++++----
project.private.config.json | 14 ++---
subpages/addResi/pages/addResi/addResi.wxml | 2 +-
subpages/addResi/pages/addResi/addResi.wxss | 4 +-
.../pages/followUpDetail/followUpDetail.js | 8 ++-
.../pages/followUpDetail/followUpDetail.wxml | 20 ++++---
.../pages/followUpDetail/followUpDetail.wxss | 51 +++++++++++++++---
.../pages/historyQuery/historyQuery.js | 3 +-
.../pages/historyQuery/historyQuery.wxml | 2 +-
.../pages/historyQuery/historyQuery.wxss | 9 +++-
.../pages/synthesis/synthesis.wxml | 2 +-
.../dissatisfied/demandCheck/demandCheck.wxss | 13 +++--
.../gatherInformation/gatherInformation.wxml | 5 +-
.../gatherInformation/gatherInformation.wxss | 9 +++-
.../gatherInformation/pages/images/down.png | Bin 418 -> 0 bytes
.../gatherInformation/pages/images/downG.png | Bin 0 -> 393 bytes
.../pages/punchCard/punchCard.wxml | 4 +-
.../pages/punchCard/punchCard.wxss | 10 ++--
.../pages/searchResult/searchResult.wxss | 10 ++--
utils/config.js | 4 +-
29 files changed, 209 insertions(+), 90 deletions(-)
delete mode 100644 subpages/gatherInformation/pages/images/down.png
create mode 100644 subpages/gatherInformation/pages/images/downG.png
diff --git a/pages/index/index.js b/pages/index/index.js
index 3db7543..fbae979 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -9,7 +9,7 @@ Page({
pageSize:10,
pageNo:1,
tableData:[],
- lowerThreshold:'10',
+ lowerThreshold:'20',
loadMoreVisible:false,
loadMoreType: "none",
nodata:false
@@ -59,8 +59,8 @@ onScrollToLower(e){
if(!parm.type) delete parm.type
getIntelligentMessage(parm).then(res=>{
res.data.list = res.data.list.map(item => {
- if (item.createdByName && item.createdByName.length === 3) {
- item.createdByName = item.createdByName.slice(1);
+ if (item.createdByName && item.createdByName.length >= 3) {
+ item.createdByName = item.createdByName.slice(1,3);
}
return item;
});
diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index 8aa50d8..3e2920b 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -12,26 +12,29 @@
-
- {{selectValue == 1?'居民信息采集':selectValue == 2?'房屋信息采集':selectValue == 3?'社区满意度自查':'全部信息'}}
+
+ {{selectValue == 1?'居民信息采集':selectValue == 2?'房屋信息采集':selectValue == 3?'社区满意度自查':'全部信息'}}
+
全部已读
+
{{item.createdByName}}
{{item.content}} {{item.readFlag != '1'?'未读':'已读'}}
- 测评打分:{{item.deptName || '--'}}分
+ 测评打分:{{item.deptName || '--'}}分
{{item.createdTime}}
+
diff --git a/pages/index/index.wxss b/pages/index/index.wxss
index c9e506e..3f7f731 100644
--- a/pages/index/index.wxss
+++ b/pages/index/index.wxss
@@ -46,20 +46,33 @@ page {
box-sizing: border-box;
}
.content .scroll {
- height: calc(100vh - 120rpx);
- overflow-y: scroll;
+ height: calc(100vh - 130rpx);
+}
+
+.content .scroll .box{
+ border-radius: 20rpx;
+ overflow-y: auto;
}
.content .card{
width: 100%;
background-color: #fff;
display: flex;
height: 168rpx;
- border-radius: 20rpx;
padding: 34rpx 30rpx;
box-sizing: border-box;
- border-bottom: 1px solid #EAEAEA;
overflow: hidden;
+ position: relative;
+}
+
+.content .card::before{
+ content: "";
+ position: absolute;
+ left: 30rpx; /* 调整间距 */
+ right: 30rpx; /* 调整间距 */
+ bottom: 0;
+ border-bottom: 2rpx solid #EAEAEA;
}
+
.blue{
color:#5693EE;
}
@@ -127,6 +140,12 @@ page {
font-family: PingFang SC;
color: #999999;
}
+.textOver{
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ max-width: 250rpx;
+}
.content .card .right .bottom .flex_box{
display: flex;
justify-content: left;
diff --git a/pages/login/login.wxml b/pages/login/login.wxml
index 1f3749f..28dfb8c 100644
--- a/pages/login/login.wxml
+++ b/pages/login/login.wxml
@@ -2,7 +2,7 @@
diff --git a/pages/login/login.wxss b/pages/login/login.wxss
index bad6c8a..986645b 100644
--- a/pages/login/login.wxss
+++ b/pages/login/login.wxss
@@ -24,9 +24,9 @@ page {
}
.header .right image {
width: 280rpx;
- height: 280rpx;
+ height: 232rpx;
position: relative;
- top: -60rpx;
+ top: -30rpx;
left: 100rpx;
}
.header view {
diff --git a/pages/mine/mine.wxml b/pages/mine/mine.wxml
index af2d416..cad9529 100644
--- a/pages/mine/mine.wxml
+++ b/pages/mine/mine.wxml
@@ -45,7 +45,7 @@
-
+
设置
diff --git a/pages/mine/mine.wxss b/pages/mine/mine.wxss
index 9489e24..34688cf 100644
--- a/pages/mine/mine.wxss
+++ b/pages/mine/mine.wxss
@@ -88,23 +88,41 @@ page{
padding: 0 20rpx;
height: auto;
position: relative;
- top: -100rpx;
+ top: -120rpx;
}
.body .card {
background-color: #ffffff;
border-radius: 20rpx;
height: auto;
}
+
.body .card .item{
+ position: relative;
height: 100rpx;
display: flex;
align-items: center;
padding: 0 30rpx;
box-sizing: border-box;
}
+
+.body .card .item::before{
+ content: "";
+ position: absolute;
+ left: 30rpx;
+ right: 30rpx;
+ bottom: 0;
+ border-bottom: 2rpx solid #EAEAEA;
+}
+
+.no-pseudo::before {
+ display: none;
+}
+
.body .card .item .left {
flex: 1;
display: flex;
+ align-items: center;
+ font-size: 32rpx;
}
.body .card .item .left image{
width: 40rpx;
diff --git a/pages/work/work.js b/pages/work/work.js
index e26adc1..7458a10 100644
--- a/pages/work/work.js
+++ b/pages/work/work.js
@@ -49,12 +49,14 @@ Page({
console.log(err);
})
},
+ //
getInspRecord(){
let parm ={
- pageSize:20,
+ pageSize:1000,
pageNo:1
}
getInspRecord(parm).then(res=>{
+ res.data.list = res.data.list.reverse();
this.setData({
communitySelfInspTop:res.data.list.splice(0,1)[0],
communitySelfInspList:res.data.list.splice(0,2),
@@ -202,11 +204,6 @@ Page({
url: `/subpages/communitySelfInsp/pages/synthesis/synthesis?inspRecordId=${this.data.communitySelfInspTop.id}&qrCodeImgUrl=${this.data.communitySelfInspTop.qrCodeImgUrl}&agencyName=${this.data.communitySelfInspTop.agencyName}&monthName=${this.data.communitySelfInspTop.monthName}&questionnaireUrl=${this.data.communitySelfInspTop.questionnaireUrl}`,
})
},
- toWebView(){
- wx.navigateTo({
- url: `/subpages/communitySelfInsp/pages/synthesis/synthesis?inspRecordId=${this.data.communitySelfInspTop.id}`,
- })
- },
toDetail(e){
wx.navigateTo({
url: `/subpages/communitySelfInsp/pages/synthesis/synthesis?inspRecordId=${e.currentTarget.dataset.item.id}&qrCodeImgUrl=${e.currentTarget.dataset.item.qrCodeImgUrl}&agencyName=${e.currentTarget.dataset.item.agencyName}&monthName=${e.currentTarget.dataset.item.monthName}&questionnaireUrl=${e.currentTarget.dataset.item.questionnaireUrl}`,
diff --git a/pages/work/work.wxml b/pages/work/work.wxml
index ff5ebfc..c8aa02e 100644
--- a/pages/work/work.wxml
+++ b/pages/work/work.wxml
@@ -5,7 +5,7 @@
- 查询居民
+ 查询居民
查询房屋
@@ -28,10 +28,12 @@
-
+
+
+
- 信息采集
+ 信息采集
采集记录 >
@@ -60,13 +62,13 @@
- 满意度自查
- 历史自查 >
+ 满意度自查
+ 历史自查 >
-
+
{{communitySelfInspTop.agencyName}}{{communitySelfInspTop.monthName}}月份满意度自查
已提交 {{communitySelfInspTop.personQty?communitySelfInspTop.personQty:'--'}} 人
@@ -86,7 +88,7 @@
已提交:{{item.personQty}}人
- {{item.synthesisScore}}分
+ {{item.synthesisScore}}分
diff --git a/pages/work/work.wxss b/pages/work/work.wxss
index 1670615..4bfb0ab 100644
--- a/pages/work/work.wxss
+++ b/pages/work/work.wxss
@@ -22,6 +22,9 @@ page {
.blue{
color: #5F9BD4 ;
}
+ .top-90{
+ top:-90rpx !important;
+ }
.font_size_44{
font-size: 44rpx;
}
@@ -76,6 +79,11 @@ page {
text-align: center;
position: relative;
color: #fff;
+ font-family: PingFang SC;
+ font-weight: bold;
+ font-size: 34rpx;
+ padding: 0 60rpx;
+ box-sizing: border-box;
}
.header .content .tab image{
position: absolute;
@@ -84,11 +92,11 @@ page {
}
.header .content .tab_resi{
top: 50rpx;
- left: 109rpx;
+ left: 137rpx;
}
.header .content .tab_house{
top: 50rpx;
- left: 462rpx;
+ left: 434rpx;
}
.header .content .inout_box {
position: relative;
@@ -199,7 +207,7 @@ page {
.body{
padding: 0 20rpx 20rpx;
position: relative;
- top: -20rpx;
+ top: -10rpx;
box-sizing: border-box;
overflow: hidden;
}
@@ -261,12 +269,15 @@ page {
padding-left: 17rpx;
font-family: PingFang SC;
font-weight: 600;
+ margin-top: 28rpx;
}
.big_box .left .left_body {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-around;
+ padding-bottom: 40rpx;
+ box-sizing: border-box;
}
.big_box .left .left_body view {
display: flex;
@@ -284,7 +295,7 @@ page {
position: absolute;
width: 352rpx;
height: 352rpx;
- left: 50%;
+ left: 49%;
top: 50%;
transform: translateX(-170rpx) translateY(-170rpx);
}
@@ -302,12 +313,15 @@ page {
padding-left: 55rpx;
font-family: PingFang SC;
font-weight: 600;
+ margin-top: 28rpx;
}
.big_box .right .right_body {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-around;
+ padding-bottom: 40rpx;
+ box-sizing: border-box;
}
.big_box .right .right_body view {
display: flex;
@@ -329,7 +343,7 @@ page {
box-sizing: border-box;
margin-top:20rpx ;
margin-bottom: 100rpx;
- padding: 0 30rpx 20rpx;
+ padding: 0 30rpx 0rpx;
}
.body .bto .content{
border-radius: 20rpx;
@@ -392,6 +406,7 @@ page {
margin-right:31rpx ;
padding: 0 !important;
color: #fff;
+ margin-left: 0;
}
.body .bto .content .bg_box .bg_left .btn_Box .btn_tj{
width: 160rpx;
@@ -416,7 +431,7 @@ page {
width: 160rpx;
height: 160rpx;
position: relative;
- top: 20rpx;
+ top: 80rpx;
}
.body .bto .content .bg_box .bg_right .tag{
display: inline-block;
@@ -443,7 +458,7 @@ page {
padding: 30rpx 0;
align-items: center;
color: #333333;
- border-bottom: 1px solid #EAEAEA;
+ border-bottom: 1px solid #f7f7f7;
}
.body .bto .list .list_card .left{
flex: 1;
@@ -473,9 +488,8 @@ page {
width: 100%;
margin-top: 20rpx;
}
-.list_card .right b{
+.list_card .right text{
font-size: 40rpx;
font-family: DIN Alternate;
- font-weight: bold;
color: #FF783C;
}
\ No newline at end of file
diff --git a/project.private.config.json b/project.private.config.json
index 865cbda..78a0c74 100644
--- a/project.private.config.json
+++ b/project.private.config.json
@@ -8,6 +8,13 @@
"condition": {
"miniprogram": {
"list": [
+ {
+ "name": "回访记录详情",
+ "pathName": "subpages/communitySelfInsp/pages/followUpDetail/followUpDetail",
+ "query": "resiInfo={\"periodStart\":\"2023-09-01\",\"createdTime\":\"2023-09-11\",\"reporterName\":\"老王5\",\"reporterMobile\":\"18500000005\",\"followUpWay\":\"0\",\"followUpStatus\":1,\"evaCulturalFacility\":\"veryGood\",\"evaSportsFacility\":\"veryGood\",\"evaEcologicalEnv\":\"bad\",\"evaSocialSecurity\":\"bad\",\"evaSocialAssistance\":\"good\",\"evaOldPeopleProvide\":\"good\",\"evaBasicEducation\":\"veryGood\",\"evaMedical\":\"veryGood\",\"reason\":\"aa\",\"id\":\"1701199625473716226\",\"status\":1,\"addressDetail\":null}&type=edit",
+ "launchMode": "default",
+ "scene": null
+ },
{
"name": "",
"pathName": "pages/index/index",
@@ -43,13 +50,6 @@
"launchMode": "default",
"scene": null
},
- {
- "name": "回访记录详情",
- "pathName": "subpages/communitySelfInsp/pages/followUpDetail/followUpDetail",
- "query": "resiInfo={\"periodStart\":\"2023-09-01\",\"createdTime\":\"2023-09-11\",\"reporterName\":\"老王5\",\"reporterMobile\":\"18500000005\",\"followUpWay\":\"0\",\"followUpStatus\":1,\"evaCulturalFacility\":\"veryGood\",\"evaSportsFacility\":\"veryGood\",\"evaEcologicalEnv\":\"bad\",\"evaSocialSecurity\":\"bad\",\"evaSocialAssistance\":\"good\",\"evaOldPeopleProvide\":\"good\",\"evaBasicEducation\":\"veryGood\",\"evaMedical\":\"veryGood\",\"reason\":\"aa\",\"id\":\"1701199625473716226\",\"status\":1,\"addressDetail\":null}&type=add",
- "launchMode": "default",
- "scene": null
- },
{
"name": "回访记录",
"pathName": "subpages/communitySelfInsp/pages/followUpList/followUpList",
diff --git a/subpages/addResi/pages/addResi/addResi.wxml b/subpages/addResi/pages/addResi/addResi.wxml
index cd4435f..f7aad6a 100644
--- a/subpages/addResi/pages/addResi/addResi.wxml
+++ b/subpages/addResi/pages/addResi/addResi.wxml
@@ -3,7 +3,7 @@
- {{formType == 'edit'?'修改居民信息':'新增居民信息'}}
+ {{formType == 'edit'?'修改人口信息':'新增人口信息'}}
填写居民信息
diff --git a/subpages/addResi/pages/addResi/addResi.wxss b/subpages/addResi/pages/addResi/addResi.wxss
index 17b07ec..9b72ce8 100644
--- a/subpages/addResi/pages/addResi/addResi.wxss
+++ b/subpages/addResi/pages/addResi/addResi.wxss
@@ -47,7 +47,7 @@ page {
z-index: 100;
}
.header .content{
- margin: 140rpx 0 0 69rpx;
+ margin: 160rpx 0 0 50rpx;
}
.header .content .h2{
font-size: 44rpx;
@@ -84,7 +84,7 @@ page {
padding: 0 20rpx;
box-sizing: border-box;
position: relative;
- top: -60rpx;
+ top: -30rpx;
}
.form_card {
background-color: #fff;
diff --git a/subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.js b/subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.js
index 070f050..71ec9c3 100644
--- a/subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.js
+++ b/subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.js
@@ -20,6 +20,7 @@ Page({
value:'2'
}
],
+ showAll:false,
inspResultId:'',
form:{
riskFlag:null,//风险标识 0无风险 1有风险
@@ -34,7 +35,6 @@ Page({
onLoad(options) {
console.log(options);
let temp = JSON.parse(options.resiInfo);
- console.log(temp);
this.setData({
statusHeight: app.globalData.deviceInfo.statusHeight,
navigationHeight: app.globalData.deviceInfo.navigationHeight,
@@ -49,7 +49,6 @@ Page({
}else{
this.setData({
resiInfo:temp,
- 'resiInfo.reason':temp.reason,
inspResultId:temp.inspResultId,
"form.followUpWay":temp.followUpWay,
"form.description":temp.description,
@@ -187,6 +186,11 @@ Page({
console.log(err);
})
},
+ handleClickDown(){
+ this.setData({
+ showAll: !this.data.showAll
+ })
+ },
back(){
wx.navigateBack({
delta: 1
diff --git a/subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.wxml b/subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.wxml
index c61d623..fee6508 100644
--- a/subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.wxml
+++ b/subpages/communitySelfInsp/pages/followUpDetail/followUpDetail.wxml
@@ -6,19 +6,27 @@