Bladeren bron

修复当事人缓存

xieyunhui 4 jaren geleden
bovenliggende
commit
a904fc6985

+ 4 - 1
pages/login/login.vue

@@ -58,7 +58,10 @@
 			  this.hospSign = hospSign;
 			  // #ifdef APP-PLUS
 			     const hospSignFromLocal = uni.getStorageSync('hospSign');
-				 this.appHospSign = hospSignFromLocal;
+				 console.log({hospSignFromLocal});
+				 if(hospSignFromLocal != ''){
+					 this.appHospSign = hospSignFromLocal;
+				 }
 			  // #endif
 		},
 		mounted(){

+ 6 - 0
pages/mainPointsDetail/mainPointsDetail.vue

@@ -1022,6 +1022,12 @@ export default {
             color: #292c33;
             margin-bottom: 15rpx;
             font-weight: 500;
+			overflow: hidden;
+			word-break: break-all;  /* break-all(允许在单词内换行。) */
+			text-overflow: ellipsis;  /* 超出部分省略号 */
+			display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
+			-webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
+			-webkit-line-clamp: 1; /** 显示的行数 **/
           }
         }
       }

+ 3 - 21
pages/responsibleList/responsibleList.vue

@@ -40,27 +40,6 @@
 				list:[],
 				checkId:'',
 				padding:0,
-				// list:[{
-				// 	"letter": "A",
-				// 	"data": [
-				// 		{id:0,main:"阿克苏机场",sub:'sub'},
-				// 		{id:1,main:"阿拉山口机场",sub:'sub'},
-				// 		{id:2,main:"阿勒泰机场",sub:'sub'},
-				// 		{id:3,main:"阿里昆莎机场",sub:'sub'},
-				// 		{id:4,main:"安庆天柱山机场",sub:'sub'},
-				// 		{id:5,main:"澳门国际机场",sub:'sub'},
-				// 	]
-				// }, {
-				// 	"letter": "B",
-				// 	"data": [
-				// 		{id:6,main:"阿克苏机场",sub:'sub'},
-				// 		{id:7,main:"阿拉山口机场",sub:'sub'},
-				// 		{id:8,main:"阿勒泰机场",sub:'sub'},
-				// 		{id:9,main:"阿里昆莎机场",sub:'sub'},
-				// 		{id:10,main:"安庆天柱山机场",sub:'sub'},
-				// 		{id:11,main:"澳门国际机场",sub:'sub'},
-				// 	]
-				// }],
 				deptId:'',
 				keywords:'',
 				deptIdTemp:'',
@@ -100,6 +79,9 @@
 					}
 				});
 		},
+		onUnload(){
+			this.checkedResponsibleList=[];
+		},
 		methods:{
 			bindClick(){
 				

+ 2 - 2
utils/requestUrl.js

@@ -7,8 +7,8 @@
  * @FilePath: /web_TracerMethodology/utils/requestUrl.js
  */
 // const base = '192.168.51.80:8801/imed/pfm/';
-// export const URL = '192.168.51.80:8801/imed/pfm/'; // 本地
-export const URL = '112.124.59.133:8802/imed/pfm/'; //线上测试
+export const URL = '192.168.51.80:8801/imed/pfm/'; // 本地
+// export const URL = '112.124.59.133:8802/imed/pfm/'; //线上测试
 // export const URL = '192.168.38.174:8088/imed/pfm/';
 // export const URL = '192.168.1.45:8088/imed/pfm/'; //内网
 // export const URL = 's1.nsloop.com:5137/imed/pfm/';  // 外网