xieyunhui преди 8 месеца
родител
ревизия
149d09d686
променени са 11 файла, в които са добавени 96 реда и са изтрити 71 реда
  1. BIN
      .DS_Store
  2. BIN
      components/.DS_Store
  3. 1 0
      components/tm-tabbar/tm-tabbar.vue
  4. 16 1
      manifest.json
  5. BIN
      pages/.DS_Store
  6. 26 18
      pages/home/home.vue
  7. 49 49
      pages/mainPointsDetail/mainPointsDetail.vue
  8. BIN
      static/.DS_Store
  9. BIN
      uni_modules/.DS_Store
  10. 4 3
      utils/requestUrl.js
  11. BIN
      uview-ui/.DS_Store

BIN
.DS_Store


BIN
components/.DS_Store


+ 1 - 0
components/tm-tabbar/tm-tabbar.vue

@@ -147,6 +147,7 @@
 		position: fixed;
 		left: 0;
 		bottom: 0;
+		z-index: 999;
 		display: flex;
 		width: 100%;
 		height: 87.5rpx;

+ 16 - 1
manifest.json

@@ -89,7 +89,22 @@
             "Camera" : {},
             "Barcode" : {}
         },
-        "nativePlugins" : {}
+        "nativePlugins" : {
+            "Wlake-PictureView" : {
+                "__plugin_info__" : {
+                    "name" : "图片查看器",
+                    "description" : "图片查看器,支持多张图片,手势放大缩小,保存图片",
+                    "platforms" : "Android,iOS",
+                    "url" : "https://ext.dcloud.net.cn/plugin?id=3832",
+                    "android_package_name" : "uni.UNIE410614",
+                    "ios_bundle_id" : "",
+                    "isCloud" : true,
+                    "bought" : 1,
+                    "pid" : "3832",
+                    "parameters" : {}
+                }
+            }
+        }
     },
     /* SDK配置 */
     "quickapp" : {},

BIN
pages/.DS_Store


+ 26 - 18
pages/home/home.vue

@@ -398,11 +398,11 @@
 		}
 	}
 
-	.home-page {
-		height: 100%;
-
+	.home-page {
+		 overflow-y: scroll;
+		 padding-bottom: 100rpx;
 		.content-info {
-			height: 700.25rpx;
+			min-height: 900.25rpx;
 			background-color: #FFFFFF;
 
 			.top-box {
@@ -425,20 +425,24 @@
 				}
 			}
 
-			.info-box {
+			.info-box {
+				position: relative;
+				z-index: 99;
 				width: 700rpx;
-				height: 250rpx;
+				height: 250rpx;
+				margin: 0 auto;
+				margin-top: -130rpx;
 				border-radius: 15rpx;
 				background-color: #FFFFFF;
-				position: absolute;
-				left: 25rpx;
-				right: 25rpx;
-				top: 226.25rpx;
+				// position: absolute;
+				// left: 25rpx;
+				// right: 25rpx;
+				// top: 226.25rpx;
 				box-shadow: 0px 10px 30px 0px rgba(0, 13, 51, 0.1);
 
 				.head {
 					margin-left: 37.5rpx;
-					margin-top: 68.75rpx;
+					padding-top: 68.75rpx;
 
 					.name {
 						font-size: 35rpx;
@@ -494,7 +498,7 @@
 				right: 75rpx;
 				top: 187.5rpx;
 				background: #FFFFFF;
-				z-index: 2;
+				z-index: 100;
 				border-radius: 50%
 			}
 
@@ -507,8 +511,8 @@
 			}
 
 			.function-box {
-				position: absolute;
-				top: 496.25rpx;
+				// position: absolute;
+				// top: 496.25rpx;
 				width: 750rpx;
                 background-color: #FFFFFF;
 				.role-switch {
@@ -604,7 +608,7 @@
 			width: 750rpx;
 			height: 100rpx;
 			background-color: #FFFFFF;
-			margin-top:210rpx;
+			margin-top:50rpx;
 
 			.logout-text {
 				font-size: 22.5rpx;
@@ -617,9 +621,13 @@
 		}
 
 		.copyright {
-			position: absolute;
-			bottom: 90rpx;
-			left: 0;
+			// position: absolute;
+			// bottom: 90rpx;
+			// left: 0;
+			position: relative;
+			z-index: 999;
+			margin-top: 100rpx;
+			
 			display: flex;
 			flex-direction: column;
 			justify-content: center;

+ 49 - 49
pages/mainPointsDetail/mainPointsDetail.vue

@@ -216,8 +216,8 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 				deductPoint: 0, //本次扣分
 				currentCheckedTab: null, //当前选中的查核tab
 				moreDeduction: false, //缺陷项是否多选
-				ifInputScore: false, //是否手动干预分值
-				iOrder:1, //查核项明细中,下一步顺序是否按要点结束,1:按要点结束;2:按顺序结束
+				ifInputScore: false, //是否手动干预分值
+				iOrder:1, //查核项明细中,下一步顺序是否按要点结束,1:按要点结束;2:按顺序结束
 				situationType:0,
 			};
 		},
@@ -331,7 +331,7 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 			toSelectResponsible() {
 
 				uni.navigateTo({
-					url: `/pages/responsibleList/responsibleList?deptId=${this.isZichaDucha?this.departmentId:this.deptId}&checkId=${this.id}&isZichaDucha=${this.isZichaDucha}`,
+					url: `/pages/responsibleList/responsibleList?deptId=${this.deptId}&checkId=${this.id}`,
 				});
 			},
 			selectResultHandle(item) {
@@ -450,15 +450,15 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 					this.id = id;
 					this.deptId = res.deptId;
 					//再次编辑回显
-
-					this.Index = this.isZichaDucha?res.checkResultName:res.checkResult;
-					
-					this.totalScore = this.isZichaDucha ? res.itemTotalScore : res.totalScore;
-					this.currentScore = this.isZichaDucha ? (res.checkResult ? res.checkScore : res
-						.itemTotalScore) : (res.checkResult ? res.score : res.totalScore);
+					const filePath = res.checkResultTxt ? JSON.parse(res.checkResultTxt) : [];
+					this.filePath = filePath[0] && filePath[0].checkResultUrl != '' ? filePath[0].checkResultUrl
+						.split(',') : [];
+					this.Index = res.checkResult;
+					this.totalScore = res.totalScore;
+					this.currentScore = res.checkResult?res.score:res.totalScore;
 					this.deductPoint = res.deductPoint;
 					this.moreDeduction = res.moreDeduction;
-					//this.iOrder=res.checkOrder;
+					//this.iOrder=res.checkOrder;
 
 					if (res.checkResultRequestList && res.checkResultRequestList.length > 0) {
 						if (res.checkModelName == '访谈') {
@@ -556,8 +556,8 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 							...res,
 							lastResult: res.lastResultName,
 							checkResult: res.checkResultName
-						} : res;
-						
+						} : res;
+						
 						console.log('this.data',this.data);
 
 						if (res && res.lastResult == "不适用") {
@@ -757,7 +757,7 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 										},
 									},
 								}).then((res) => {
-									if (res) {
+									if (res) {
 										
 										resolve(true);
 
@@ -774,22 +774,22 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 												name = this.resultConfigList[index].name
 											}
 
-											
-											// if (
-											// 	checkConfiglist[i].attr == (this.isZichaDucha ? name :
-											// 		params.checkResult) &&
-											// 	(checkConfiglist[i].resultType == 2 ||
-											// 		checkConfiglist[i].resultType == 3)
-											// )
-											let configResultType=false;
-											//if (this.isZichaDucha){
-											if (this.resultConfigList[resultIndex].resultType==2||this.resultConfigList[resultIndex].resultType==3)
-												configResultType=true;
-											// }else{
-											// 	if (checkConfiglist[i].resultType == 2 ||
-											// 		checkConfiglist[i].resultType == 3)
-											// 	configResultType=true;
-											// }
+											
+											// if (
+											// 	checkConfiglist[i].attr == (this.isZichaDucha ? name :
+											// 		params.checkResult) &&
+											// 	(checkConfiglist[i].resultType == 2 ||
+											// 		checkConfiglist[i].resultType == 3)
+											// )
+											let configResultType=false;
+											//if (this.isZichaDucha){
+											if (this.resultConfigList[resultIndex].resultType==2||this.resultConfigList[resultIndex].resultType==3)
+												configResultType=true;
+											// }else{
+											// 	if (checkConfiglist[i].resultType == 2 ||
+											// 		checkConfiglist[i].resultType == 3)
+											// 	configResultType=true;
+											// }
 											
 											if (
 												checkConfiglist[i].attr == (this.isZichaDucha ? this.resultConfigList[index].name:
@@ -827,7 +827,7 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 													checkResult: 0,
 													// newResultType: Number(resultIndex != -1 ? this
 													// 	.resultConfigList[resultIndex].code : 0
-													// 	),
+													// 	),
 													newResultType:checkConfiglist[i].resultType,
 													receiveEmpId: this.data.receiveEmpId,
 													receiveEmpName: this.data.receiveEmpName,
@@ -969,7 +969,7 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 				}
 				this.checkedSelectResultListIds = [];
 				this.checkedSelectResultList = [];
-				this.checkedSelectResultListData = [];
+				this.checkedSelectResultListData = [];
 				this.filePath=[];
 			},
 			goToPrevPage() {
@@ -1012,7 +1012,7 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 					}
 					let needItemIndex = num > 0 ? current[0].index + 1 : current[0].index - 1;
 					let needItemId = this.itemBelongGroup[needItemIndex].id;
-					let needItemCheckId = this.itemBelongGroup[needItemIndex].checkItemId;
+					let needItemCheckId = this.itemBelongGroup[needItemIndex].checkItemId;
 					
 					this.clearForm();
 					this.clearResult();
@@ -1052,8 +1052,8 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 			situationType,
 			isZichaDucha,
 			departmentId,
-			checkGroupName,
-			checkOrder,
+			checkGroupName,
+			checkOrder,
 			systemSituationType,
 		}) {
 			this.iOrder= checkOrder;
@@ -1065,14 +1065,14 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 
 			this.getCheckConfigList(checkItemId);
 			this.getCheckItemResultList(checkItemId);
-			this.isZichaDucha = isZichaDucha? JSON.parse(isZichaDucha) : false; //是否为自查督查
-			
+			this.isZichaDucha = isZichaDucha? JSON.parse(isZichaDucha) : false; //是否为自查督查
+			
 			this.systemSituationType=systemSituationType;
 			//console.log('2023062604 situationType',this.systemSituationType);
 			//接收来自上个页面所传过来的数据
-			const eventChannel = this.getOpenerEventChannel();
+			const eventChannel = this.getOpenerEventChannel();
 			
-			eventChannel.on('acceptDataFromOpenerPage', (data) => {
+			eventChannel.on('acceptDataFromOpenerPage', (data) => {
 				 if (this.iOrder==1){
 					this.itemBelongGroup = data.data[0].responseList.map((item, index) => {
 
@@ -1081,22 +1081,22 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 							id: item['id'],
 							checkItemId: item['checkItemId']
 						})
-					});
-				 }else if (this.iOrder==2){
-					 var Tindex=0;
-					 let itemList=[];
-					 data.data.filter(parentItem=>{
+					});
+				 }else if (this.iOrder==2){
+					 var Tindex=0;
+					 let itemList=[];
+					 data.data.filter(parentItem=>{
 						var tmp =parentItem.responseList.map((item) => {
 
 							return ({
 								index: Tindex++,
 								id: item['id'],
 								checkItemId: item['checkItemId']
-							})
-						});
-						itemList=itemList.concat(tmp);
-					 });
-					 this.itemBelongGroup=itemList;
+							})
+						});
+						itemList=itemList.concat(tmp);
+					 });
+					 this.itemBelongGroup=itemList;
 				 }
 				//重新导航进页面,删除缓存并设置最新数据
 				uni.removeStorageSync('itemBelongGroup');
@@ -1719,4 +1719,4 @@ import situationPreviewVue from '../creatingSituations/components/situationPrevi
 			}
 		}
 	}
-</style>
+</style>

BIN
static/.DS_Store


BIN
uni_modules/.DS_Store


+ 4 - 3
utils/requestUrl.js

@@ -10,9 +10,8 @@
 
 export const networkType = 1; //网络类型:内网=0,外网=1
 
-// export const URL = '192.168.3.28:8801/imed/pfm/'; // 本地
-// export const URL = '112.124.59.133:8802/imed/pfm/'; //线上测试
-// export const URL = '118.31.245.65:8086/imed/pfm/'; //65测试环境
+
+
 // export const URL = '118.31.245.65:8802/imed/pfm/'; //线上
 // export const URL = '112.12.21.134:8111/imed/pfm/'; //横店
   // export const URL = '47.97.190.5:8086/imed/pfm/'; 
@@ -22,6 +21,8 @@ export const URL = '120.27.235.181:8802/imed/pfm/'; //开发环境
 //export const URL = '47.97.190.5:8802/imed/pfm/'; //正式环境
 //export const URL = '47.97.190.5:8086/imed/pfm/'; //正式环境dev
 
+//export const URL = '112.12.21.134:8111/imed/pfm/'; //横店
+
 // export const URL = '192.168.1.253:8111/imed/pfm/';
 // export const URL = '192.168.1.45:8088/imed/pfm/'; //内网
 // export const URL = 's1.nsloop.com:5137/imed/pfm/';  // 外网

BIN
uview-ui/.DS_Store