liuzhihui il y a 2 ans
Parent
commit
114894464e

+ 2 - 2
CallCenterWeb.UI/RMYYAPP/pages/myTask/myTask.vue

@@ -65,7 +65,7 @@
65 65
 											<view style="padding: 5px 0;position: relative;">
66 66
 												<radio style="width: 30px;position: absolute;left: 0;"
67 67
 													:value="item.deptid" :checked="index === current" />
68
-												<text style="margin-left: 30px;">{{ $mHelper.findParents(departList, item.deptid) }}</text>
68
+												<text style="margin-left: 30px;width:700rpx">{{ $mHelper.findParents(departList, item.deptid) }}</text>
69 69
 											</view>
70 70
 										</label>
71 71
 									</radio-group>
@@ -168,7 +168,7 @@
168 168
 				// 	return;
169 169
 				// }
170 170
 				const params = {
171
-					deptId: this.onchangedept,
171
+					deptId: this.onchangedept || uni.getStorageSync('deptId'),
172 172
 					userid: uni.getStorageSync('userId')
173 173
 				}
174 174
 				this.$http.get('UserAccount/ChangeDeptId', params).then(res => {

+ 2 - 2
CallCenterWeb.UI/RMYYAPP/pages/setting/setting.vue

@@ -54,7 +54,7 @@
54 54
 											<view style="padding: 5px 0;position: relative;">
55 55
 												<radio style="width: 30px;position: absolute;left: 0;"
56 56
 													:value="item.deptid" :checked="index === current" />
57
-												<text style="margin-left: 30px;">{{ $mHelper.findParents(departList, item.deptid) }}</text>
57
+												<text style="margin-left: 30px;width:700rpx">{{ $mHelper.findParents(departList, item.deptid) }}</text>
58 58
 											</view>
59 59
 										</label>
60 60
 									</radio-group>
@@ -139,7 +139,7 @@
139 139
 				// 	return;
140 140
 				// }
141 141
 				const params={
142
-					deptId:this.onchangedept,
142
+					deptId:this.onchangedept||this.deptId,
143 143
 					userid:uni.getStorageSync('userId')
144 144
 				}
145 145
 				this.$http.get('UserAccount/ChangeDeptId', params).then(res=>{