Showing
4 changed files
with
2876 additions
and
58 deletions
src/components/TreeField/flow_dept_list.json
0 → 100644
| 1 | +[ | ||
| 2 | + { | ||
| 3 | + "id": 624337, | ||
| 4 | + "name": "八关斋戒", | ||
| 5 | + "checked": 0, | ||
| 6 | + "disabled": 0, | ||
| 7 | + "type": "role" | ||
| 8 | + }, | ||
| 9 | + { | ||
| 10 | + "id": 82983, | ||
| 11 | + "name": "场地管理", | ||
| 12 | + "checked": 0, | ||
| 13 | + "disabled": 0, | ||
| 14 | + "type": "role" | ||
| 15 | + }, | ||
| 16 | + { | ||
| 17 | + "id": 83245, | ||
| 18 | + "name": "场地使用", | ||
| 19 | + "checked": 0, | ||
| 20 | + "disabled": 0, | ||
| 21 | + "type": "role" | ||
| 22 | + }, | ||
| 23 | + { | ||
| 24 | + "id": 88042, | ||
| 25 | + "name": "大道大商接待组", | ||
| 26 | + "checked": 0, | ||
| 27 | + "disabled": 0, | ||
| 28 | + "type": "role" | ||
| 29 | + }, | ||
| 30 | + { | ||
| 31 | + "id": 137902, | ||
| 32 | + "name": "大道大商营员组长", | ||
| 33 | + "checked": 0, | ||
| 34 | + "disabled": 0, | ||
| 35 | + "type": "role" | ||
| 36 | + }, | ||
| 37 | + { | ||
| 38 | + "id": 689546, | ||
| 39 | + "name": "大义工管理", | ||
| 40 | + "checked": 0, | ||
| 41 | + "disabled": 0, | ||
| 42 | + "type": "role" | ||
| 43 | + }, | ||
| 44 | + { | ||
| 45 | + "id": 72297, | ||
| 46 | + "name": "法务组长", | ||
| 47 | + "checked": 0, | ||
| 48 | + "disabled": 0, | ||
| 49 | + "type": "role" | ||
| 50 | + }, | ||
| 51 | + { | ||
| 52 | + "id": 497012, | ||
| 53 | + "name": "观音诞接待", | ||
| 54 | + "checked": 0, | ||
| 55 | + "disabled": 0, | ||
| 56 | + "type": "role" | ||
| 57 | + }, | ||
| 58 | + { | ||
| 59 | + "id": 492458, | ||
| 60 | + "name": "观音诞组长", | ||
| 61 | + "checked": 0, | ||
| 62 | + "disabled": 0, | ||
| 63 | + "type": "role" | ||
| 64 | + }, | ||
| 65 | + { | ||
| 66 | + "id": 689596, | ||
| 67 | + "name": "观音诞组长&大义工管理", | ||
| 68 | + "checked": 0, | ||
| 69 | + "disabled": 0, | ||
| 70 | + "type": "role" | ||
| 71 | + }, | ||
| 72 | + { | ||
| 73 | + "id": 104063, | ||
| 74 | + "name": "皈依义工", | ||
| 75 | + "checked": 0, | ||
| 76 | + "disabled": 0, | ||
| 77 | + "type": "role" | ||
| 78 | + }, | ||
| 79 | + { | ||
| 80 | + "id": 577718, | ||
| 81 | + "name": "皈依组长", | ||
| 82 | + "checked": 0, | ||
| 83 | + "disabled": 0, | ||
| 84 | + "type": "role" | ||
| 85 | + }, | ||
| 86 | + { | ||
| 87 | + "id": 359537, | ||
| 88 | + "name": "会务组", | ||
| 89 | + "checked": 0, | ||
| 90 | + "disabled": 0, | ||
| 91 | + "type": "role" | ||
| 92 | + }, | ||
| 93 | + { | ||
| 94 | + "id": 689369, | ||
| 95 | + "name": "活动法务组长&大义工管理", | ||
| 96 | + "checked": 0, | ||
| 97 | + "disabled": 0, | ||
| 98 | + "type": "role" | ||
| 99 | + }, | ||
| 100 | + { | ||
| 101 | + "id": 689347, | ||
| 102 | + "name": "活动皈依组长&大义工管理", | ||
| 103 | + "checked": 0, | ||
| 104 | + "disabled": 0, | ||
| 105 | + "type": "role" | ||
| 106 | + }, | ||
| 107 | + { | ||
| 108 | + "id": 571214, | ||
| 109 | + "name": "活动义工", | ||
| 110 | + "checked": 0, | ||
| 111 | + "disabled": 0, | ||
| 112 | + "type": "role" | ||
| 113 | + }, | ||
| 114 | + { | ||
| 115 | + "id": 156681, | ||
| 116 | + "name": "技术服务组", | ||
| 117 | + "checked": 0, | ||
| 118 | + "disabled": 0, | ||
| 119 | + "type": "role" | ||
| 120 | + }, | ||
| 121 | + { | ||
| 122 | + "id": 63251, | ||
| 123 | + "name": "接待组长", | ||
| 124 | + "checked": 0, | ||
| 125 | + "disabled": 0, | ||
| 126 | + "type": "role" | ||
| 127 | + }, | ||
| 128 | + { | ||
| 129 | + "id": 37590, | ||
| 130 | + "name": "接待组员", | ||
| 131 | + "checked": 0, | ||
| 132 | + "disabled": 0, | ||
| 133 | + "type": "role" | ||
| 134 | + }, | ||
| 135 | + { | ||
| 136 | + "id": 202501, | ||
| 137 | + "name": "静三", | ||
| 138 | + "checked": 0, | ||
| 139 | + "disabled": 0, | ||
| 140 | + "type": "role" | ||
| 141 | + }, | ||
| 142 | + { | ||
| 143 | + "id": 42517, | ||
| 144 | + "name": "客房组长", | ||
| 145 | + "checked": 0, | ||
| 146 | + "disabled": 0, | ||
| 147 | + "type": "role" | ||
| 148 | + }, | ||
| 149 | + { | ||
| 150 | + "id": 97951, | ||
| 151 | + "name": "美业静心", | ||
| 152 | + "checked": 0, | ||
| 153 | + "disabled": 0, | ||
| 154 | + "type": "role" | ||
| 155 | + }, | ||
| 156 | + { | ||
| 157 | + "id": 120453, | ||
| 158 | + "name": "企业家项目组", | ||
| 159 | + "checked": 0, | ||
| 160 | + "disabled": 0, | ||
| 161 | + "type": "role" | ||
| 162 | + }, | ||
| 163 | + { | ||
| 164 | + "id": 632929, | ||
| 165 | + "name": "物资组", | ||
| 166 | + "checked": 0, | ||
| 167 | + "disabled": 0, | ||
| 168 | + "type": "role" | ||
| 169 | + }, | ||
| 170 | + { | ||
| 171 | + "id": 281921, | ||
| 172 | + "name": "西一", | ||
| 173 | + "checked": 0, | ||
| 174 | + "disabled": 0, | ||
| 175 | + "type": "role" | ||
| 176 | + }, | ||
| 177 | + { | ||
| 178 | + "id": 38646, | ||
| 179 | + "name": "西园义工组长", | ||
| 180 | + "checked": 0, | ||
| 181 | + "disabled": 0, | ||
| 182 | + "type": "role" | ||
| 183 | + }, | ||
| 184 | + { | ||
| 185 | + "id": 87282, | ||
| 186 | + "name": "系统管理员", | ||
| 187 | + "checked": 0, | ||
| 188 | + "disabled": 0, | ||
| 189 | + "type": "role" | ||
| 190 | + }, | ||
| 191 | + { | ||
| 192 | + "id": 362769, | ||
| 193 | + "name": "义工测试", | ||
| 194 | + "checked": 0, | ||
| 195 | + "disabled": 0, | ||
| 196 | + "type": "role" | ||
| 197 | + }, | ||
| 198 | + { | ||
| 199 | + "id": 161846, | ||
| 200 | + "name": "艺智研习社", | ||
| 201 | + "checked": 0, | ||
| 202 | + "disabled": 0, | ||
| 203 | + "type": "role" | ||
| 204 | + }, | ||
| 205 | + { | ||
| 206 | + "id": 79126, | ||
| 207 | + "name": "营员组长", | ||
| 208 | + "checked": 0, | ||
| 209 | + "disabled": 0, | ||
| 210 | + "type": "role" | ||
| 211 | + }, | ||
| 212 | + { | ||
| 213 | + "id": 42552, | ||
| 214 | + "name": "住宿前台", | ||
| 215 | + "checked": 0, | ||
| 216 | + "disabled": 0, | ||
| 217 | + "type": "role" | ||
| 218 | + } | ||
| 219 | +] |
src/components/TreeField/flow_role_list.json
0 → 100644
| 1 | +[ | ||
| 2 | + { | ||
| 3 | + "id": 35697, | ||
| 4 | + "name": "西园寺", | ||
| 5 | + "checked": 0, | ||
| 6 | + "disabled": 0, | ||
| 7 | + "type": "client", | ||
| 8 | + "user": [ | ||
| 9 | + { | ||
| 10 | + "id": 137918, | ||
| 11 | + "name": "10组寝室长", | ||
| 12 | + "checked": 0, | ||
| 13 | + "disabled": 0, | ||
| 14 | + "type": "user" | ||
| 15 | + }, | ||
| 16 | + { | ||
| 17 | + "id": 137919, | ||
| 18 | + "name": "11组寝室长", | ||
| 19 | + "checked": 0, | ||
| 20 | + "disabled": 0, | ||
| 21 | + "type": "user" | ||
| 22 | + }, | ||
| 23 | + { | ||
| 24 | + "id": 137922, | ||
| 25 | + "name": "12组寝室长", | ||
| 26 | + "checked": 0, | ||
| 27 | + "disabled": 0, | ||
| 28 | + "type": "user" | ||
| 29 | + }, | ||
| 30 | + { | ||
| 31 | + "id": 137923, | ||
| 32 | + "name": "13组寝室长", | ||
| 33 | + "checked": 0, | ||
| 34 | + "disabled": 0, | ||
| 35 | + "type": "user" | ||
| 36 | + }, | ||
| 37 | + { | ||
| 38 | + "id": 137924, | ||
| 39 | + "name": "14组寝室长", | ||
| 40 | + "checked": 0, | ||
| 41 | + "disabled": 0, | ||
| 42 | + "type": "user" | ||
| 43 | + }, | ||
| 44 | + { | ||
| 45 | + "id": 137925, | ||
| 46 | + "name": "15组寝室长", | ||
| 47 | + "checked": 0, | ||
| 48 | + "disabled": 0, | ||
| 49 | + "type": "user" | ||
| 50 | + }, | ||
| 51 | + { | ||
| 52 | + "id": 137926, | ||
| 53 | + "name": "16组寝室长", | ||
| 54 | + "checked": 0, | ||
| 55 | + "disabled": 0, | ||
| 56 | + "type": "user" | ||
| 57 | + }, | ||
| 58 | + { | ||
| 59 | + "id": 137927, | ||
| 60 | + "name": "17组寝室长", | ||
| 61 | + "checked": 0, | ||
| 62 | + "disabled": 0, | ||
| 63 | + "type": "user" | ||
| 64 | + }, | ||
| 65 | + { | ||
| 66 | + "id": 121361, | ||
| 67 | + "name": "1组寝室长", | ||
| 68 | + "checked": 0, | ||
| 69 | + "disabled": 0, | ||
| 70 | + "type": "user" | ||
| 71 | + }, | ||
| 72 | + { | ||
| 73 | + "id": 121366, | ||
| 74 | + "name": "2组寝室长", | ||
| 75 | + "checked": 0, | ||
| 76 | + "disabled": 0, | ||
| 77 | + "type": "user" | ||
| 78 | + }, | ||
| 79 | + { | ||
| 80 | + "id": 121367, | ||
| 81 | + "name": "3组寝室长", | ||
| 82 | + "checked": 0, | ||
| 83 | + "disabled": 0, | ||
| 84 | + "type": "user" | ||
| 85 | + }, | ||
| 86 | + { | ||
| 87 | + "id": 121368, | ||
| 88 | + "name": "4组寝室长", | ||
| 89 | + "checked": 0, | ||
| 90 | + "disabled": 0, | ||
| 91 | + "type": "user" | ||
| 92 | + }, | ||
| 93 | + { | ||
| 94 | + "id": 137913, | ||
| 95 | + "name": "5组寝室长", | ||
| 96 | + "checked": 0, | ||
| 97 | + "disabled": 0, | ||
| 98 | + "type": "user" | ||
| 99 | + }, | ||
| 100 | + { | ||
| 101 | + "id": 137914, | ||
| 102 | + "name": "6组寝室长", | ||
| 103 | + "checked": 0, | ||
| 104 | + "disabled": 0, | ||
| 105 | + "type": "user" | ||
| 106 | + }, | ||
| 107 | + { | ||
| 108 | + "id": 137915, | ||
| 109 | + "name": "7组寝室长", | ||
| 110 | + "checked": 0, | ||
| 111 | + "disabled": 0, | ||
| 112 | + "type": "user" | ||
| 113 | + }, | ||
| 114 | + { | ||
| 115 | + "id": 137916, | ||
| 116 | + "name": "8组寝室长", | ||
| 117 | + "checked": 0, | ||
| 118 | + "disabled": 0, | ||
| 119 | + "type": "user" | ||
| 120 | + }, | ||
| 121 | + { | ||
| 122 | + "id": 137917, | ||
| 123 | + "name": "9组寝室长", | ||
| 124 | + "checked": 0, | ||
| 125 | + "disabled": 0, | ||
| 126 | + "type": "user" | ||
| 127 | + }, | ||
| 128 | + { | ||
| 129 | + "id": 792970, | ||
| 130 | + "name": "djz", | ||
| 131 | + "checked": 0, | ||
| 132 | + "disabled": 0, | ||
| 133 | + "type": "user" | ||
| 134 | + }, | ||
| 135 | + { | ||
| 136 | + "id": 792964, | ||
| 137 | + "name": "hooke", | ||
| 138 | + "checked": 0, | ||
| 139 | + "disabled": 0, | ||
| 140 | + "type": "user" | ||
| 141 | + }, | ||
| 142 | + { | ||
| 143 | + "id": 792959, | ||
| 144 | + "name": "jack", | ||
| 145 | + "checked": 0, | ||
| 146 | + "disabled": 0, | ||
| 147 | + "type": "user" | ||
| 148 | + }, | ||
| 149 | + { | ||
| 150 | + "id": 792962, | ||
| 151 | + "name": "spring", | ||
| 152 | + "checked": 0, | ||
| 153 | + "disabled": 0, | ||
| 154 | + "type": "user" | ||
| 155 | + }, | ||
| 156 | + { | ||
| 157 | + "id": 792966, | ||
| 158 | + "name": "waj", | ||
| 159 | + "checked": 0, | ||
| 160 | + "disabled": 0, | ||
| 161 | + "type": "user" | ||
| 162 | + }, | ||
| 163 | + { | ||
| 164 | + "id": 792968, | ||
| 165 | + "name": "whj", | ||
| 166 | + "checked": 0, | ||
| 167 | + "disabled": 0, | ||
| 168 | + "type": "user" | ||
| 169 | + }, | ||
| 170 | + { | ||
| 171 | + "id": 82984, | ||
| 172 | + "name": "xhuixue", | ||
| 173 | + "checked": 0, | ||
| 174 | + "disabled": 0, | ||
| 175 | + "type": "user" | ||
| 176 | + }, | ||
| 177 | + { | ||
| 178 | + "id": 107715, | ||
| 179 | + "name": "安保组长", | ||
| 180 | + "checked": 0, | ||
| 181 | + "disabled": 0, | ||
| 182 | + "type": "user" | ||
| 183 | + }, | ||
| 184 | + { | ||
| 185 | + "id": 624341, | ||
| 186 | + "name": "八关斋戒", | ||
| 187 | + "checked": 0, | ||
| 188 | + "disabled": 0, | ||
| 189 | + "type": "user" | ||
| 190 | + }, | ||
| 191 | + { | ||
| 192 | + "id": 42553, | ||
| 193 | + "name": "悲悦", | ||
| 194 | + "checked": 0, | ||
| 195 | + "disabled": 0, | ||
| 196 | + "type": "user" | ||
| 197 | + }, | ||
| 198 | + { | ||
| 199 | + "id": 107702, | ||
| 200 | + "name": "餐饮组长", | ||
| 201 | + "checked": 0, | ||
| 202 | + "disabled": 0, | ||
| 203 | + "type": "user" | ||
| 204 | + }, | ||
| 205 | + { | ||
| 206 | + "id": 107713, | ||
| 207 | + "name": "插花组长", | ||
| 208 | + "checked": 0, | ||
| 209 | + "disabled": 0, | ||
| 210 | + "type": "user" | ||
| 211 | + }, | ||
| 212 | + { | ||
| 213 | + "id": 83246, | ||
| 214 | + "name": "场地自检", | ||
| 215 | + "checked": 0, | ||
| 216 | + "disabled": 0, | ||
| 217 | + "type": "user" | ||
| 218 | + }, | ||
| 219 | + { | ||
| 220 | + "id": 107707, | ||
| 221 | + "name": "场地组长", | ||
| 222 | + "checked": 0, | ||
| 223 | + "disabled": 0, | ||
| 224 | + "type": "user" | ||
| 225 | + }, | ||
| 226 | + { | ||
| 227 | + "id": 493044, | ||
| 228 | + "name": "陈秋康", | ||
| 229 | + "checked": 0, | ||
| 230 | + "disabled": 0, | ||
| 231 | + "type": "user" | ||
| 232 | + }, | ||
| 233 | + { | ||
| 234 | + "id": 107717, | ||
| 235 | + "name": "传灯组长", | ||
| 236 | + "checked": 0, | ||
| 237 | + "disabled": 0, | ||
| 238 | + "type": "user" | ||
| 239 | + }, | ||
| 240 | + { | ||
| 241 | + "id": 165824, | ||
| 242 | + "name": "慈山", | ||
| 243 | + "checked": 0, | ||
| 244 | + "disabled": 0, | ||
| 245 | + "type": "user" | ||
| 246 | + }, | ||
| 247 | + { | ||
| 248 | + "id": 680337, | ||
| 249 | + "name": "慈惟", | ||
| 250 | + "checked": 0, | ||
| 251 | + "disabled": 0, | ||
| 252 | + "type": "user" | ||
| 253 | + }, | ||
| 254 | + { | ||
| 255 | + "id": 553469, | ||
| 256 | + "name": "慈晓", | ||
| 257 | + "checked": 0, | ||
| 258 | + "disabled": 0, | ||
| 259 | + "type": "user" | ||
| 260 | + }, | ||
| 261 | + { | ||
| 262 | + "id": 493189, | ||
| 263 | + "name": "大雄宝殿组", | ||
| 264 | + "checked": 0, | ||
| 265 | + "disabled": 0, | ||
| 266 | + "type": "user" | ||
| 267 | + }, | ||
| 268 | + { | ||
| 269 | + "id": 493196, | ||
| 270 | + "name": "戴苏芹", | ||
| 271 | + "checked": 0, | ||
| 272 | + "disabled": 0, | ||
| 273 | + "type": "user" | ||
| 274 | + }, | ||
| 275 | + { | ||
| 276 | + "id": 71293, | ||
| 277 | + "name": "道雯", | ||
| 278 | + "checked": 0, | ||
| 279 | + "disabled": 0, | ||
| 280 | + "type": "user" | ||
| 281 | + }, | ||
| 282 | + { | ||
| 283 | + "id": 141006, | ||
| 284 | + "name": "电话义工", | ||
| 285 | + "checked": 0, | ||
| 286 | + "disabled": 0, | ||
| 287 | + "type": "user" | ||
| 288 | + }, | ||
| 289 | + { | ||
| 290 | + "id": 493064, | ||
| 291 | + "name": "杜梅", | ||
| 292 | + "checked": 0, | ||
| 293 | + "disabled": 0, | ||
| 294 | + "type": "user" | ||
| 295 | + }, | ||
| 296 | + { | ||
| 297 | + "id": 107705, | ||
| 298 | + "name": "法务组长", | ||
| 299 | + "checked": 0, | ||
| 300 | + "disabled": 0, | ||
| 301 | + "type": "user" | ||
| 302 | + }, | ||
| 303 | + { | ||
| 304 | + "id": 493234, | ||
| 305 | + "name": "费钰生", | ||
| 306 | + "checked": 0, | ||
| 307 | + "disabled": 0, | ||
| 308 | + "type": "user" | ||
| 309 | + }, | ||
| 310 | + { | ||
| 311 | + "id": 493193, | ||
| 312 | + "name": "高慧(慧茹)", | ||
| 313 | + "checked": 0, | ||
| 314 | + "disabled": 0, | ||
| 315 | + "type": "user" | ||
| 316 | + }, | ||
| 317 | + { | ||
| 318 | + "id": 566845, | ||
| 319 | + "name": "观嘉", | ||
| 320 | + "checked": 0, | ||
| 321 | + "disabled": 0, | ||
| 322 | + "type": "user" | ||
| 323 | + }, | ||
| 324 | + { | ||
| 325 | + "id": 643643, | ||
| 326 | + "name": "观嘉FW", | ||
| 327 | + "checked": 0, | ||
| 328 | + "disabled": 0, | ||
| 329 | + "type": "user" | ||
| 330 | + }, | ||
| 331 | + { | ||
| 332 | + "id": 263014, | ||
| 333 | + "name": "观良", | ||
| 334 | + "checked": 0, | ||
| 335 | + "disabled": 0, | ||
| 336 | + "type": "user" | ||
| 337 | + }, | ||
| 338 | + { | ||
| 339 | + "id": 497013, | ||
| 340 | + "name": "观音诞接待", | ||
| 341 | + "checked": 0, | ||
| 342 | + "disabled": 0, | ||
| 343 | + "type": "user" | ||
| 344 | + }, | ||
| 345 | + { | ||
| 346 | + "id": 158014, | ||
| 347 | + "name": "皈依接待", | ||
| 348 | + "checked": 0, | ||
| 349 | + "disabled": 0, | ||
| 350 | + "type": "user" | ||
| 351 | + }, | ||
| 352 | + { | ||
| 353 | + "id": 107704, | ||
| 354 | + "name": "皈依组长", | ||
| 355 | + "checked": 0, | ||
| 356 | + "disabled": 0, | ||
| 357 | + "type": "user" | ||
| 358 | + }, | ||
| 359 | + { | ||
| 360 | + "id": 599201, | ||
| 361 | + "name": "果皊", | ||
| 362 | + "checked": 0, | ||
| 363 | + "disabled": 0, | ||
| 364 | + "type": "user" | ||
| 365 | + }, | ||
| 366 | + { | ||
| 367 | + "id": 42326, | ||
| 368 | + "name": "果泯", | ||
| 369 | + "checked": 0, | ||
| 370 | + "disabled": 0, | ||
| 371 | + "type": "user" | ||
| 372 | + }, | ||
| 373 | + { | ||
| 374 | + "id": 182126, | ||
| 375 | + "name": "果娓", | ||
| 376 | + "checked": 0, | ||
| 377 | + "disabled": 0, | ||
| 378 | + "type": "user" | ||
| 379 | + }, | ||
| 380 | + { | ||
| 381 | + "id": 484122, | ||
| 382 | + "name": "海涵", | ||
| 383 | + "checked": 0, | ||
| 384 | + "disabled": 0, | ||
| 385 | + "type": "user" | ||
| 386 | + }, | ||
| 387 | + { | ||
| 388 | + "id": 107708, | ||
| 389 | + "name": "行堂组长", | ||
| 390 | + "checked": 0, | ||
| 391 | + "disabled": 0, | ||
| 392 | + "type": "user" | ||
| 393 | + }, | ||
| 394 | + { | ||
| 395 | + "id": 107719, | ||
| 396 | + "name": "后厨组长", | ||
| 397 | + "checked": 0, | ||
| 398 | + "disabled": 0, | ||
| 399 | + "type": "user" | ||
| 400 | + }, | ||
| 401 | + { | ||
| 402 | + "id": 87283, | ||
| 403 | + "name": "黄伟", | ||
| 404 | + "checked": 0, | ||
| 405 | + "disabled": 0, | ||
| 406 | + "type": "user" | ||
| 407 | + }, | ||
| 408 | + { | ||
| 409 | + "id": 484722, | ||
| 410 | + "name": "会务组长", | ||
| 411 | + "checked": 0, | ||
| 412 | + "disabled": 0, | ||
| 413 | + "type": "user" | ||
| 414 | + }, | ||
| 415 | + { | ||
| 416 | + "id": 359538, | ||
| 417 | + "name": "会务组长", | ||
| 418 | + "checked": 0, | ||
| 419 | + "disabled": 0, | ||
| 420 | + "type": "user" | ||
| 421 | + }, | ||
| 422 | + { | ||
| 423 | + "id": 493228, | ||
| 424 | + "name": "慧昌", | ||
| 425 | + "checked": 0, | ||
| 426 | + "disabled": 0, | ||
| 427 | + "type": "user" | ||
| 428 | + }, | ||
| 429 | + { | ||
| 430 | + "id": 532650, | ||
| 431 | + "name": "慧晨", | ||
| 432 | + "checked": 0, | ||
| 433 | + "disabled": 0, | ||
| 434 | + "type": "user" | ||
| 435 | + }, | ||
| 436 | + { | ||
| 437 | + "id": 689560, | ||
| 438 | + "name": "慧谛", | ||
| 439 | + "checked": 0, | ||
| 440 | + "disabled": 0, | ||
| 441 | + "type": "user" | ||
| 442 | + }, | ||
| 443 | + { | ||
| 444 | + "id": 42554, | ||
| 445 | + "name": "慧然", | ||
| 446 | + "checked": 0, | ||
| 447 | + "disabled": 0, | ||
| 448 | + "type": "user" | ||
| 449 | + }, | ||
| 450 | + { | ||
| 451 | + "id": 501876, | ||
| 452 | + "name": "慧万", | ||
| 453 | + "checked": 0, | ||
| 454 | + "disabled": 0, | ||
| 455 | + "type": "user" | ||
| 456 | + }, | ||
| 457 | + { | ||
| 458 | + "id": 493207, | ||
| 459 | + "name": "慧万", | ||
| 460 | + "checked": 0, | ||
| 461 | + "disabled": 0, | ||
| 462 | + "type": "user" | ||
| 463 | + }, | ||
| 464 | + { | ||
| 465 | + "id": 82985, | ||
| 466 | + "name": "慧雪", | ||
| 467 | + "checked": 0, | ||
| 468 | + "disabled": 0, | ||
| 469 | + "type": "user" | ||
| 470 | + }, | ||
| 471 | + { | ||
| 472 | + "id": 72298, | ||
| 473 | + "name": "慧俨", | ||
| 474 | + "checked": 0, | ||
| 475 | + "disabled": 0, | ||
| 476 | + "type": "user" | ||
| 477 | + }, | ||
| 478 | + { | ||
| 479 | + "id": 107718, | ||
| 480 | + "name": "机动组长", | ||
| 481 | + "checked": 0, | ||
| 482 | + "disabled": 0, | ||
| 483 | + "type": "user" | ||
| 484 | + }, | ||
| 485 | + { | ||
| 486 | + "id": 493200, | ||
| 487 | + "name": "机动组(澄悦)", | ||
| 488 | + "checked": 0, | ||
| 489 | + "disabled": 0, | ||
| 490 | + "type": "user" | ||
| 491 | + }, | ||
| 492 | + { | ||
| 493 | + "id": 107889, | ||
| 494 | + "name": "拣菜组长", | ||
| 495 | + "checked": 0, | ||
| 496 | + "disabled": 0, | ||
| 497 | + "type": "user" | ||
| 498 | + }, | ||
| 499 | + { | ||
| 500 | + "id": 493062, | ||
| 501 | + "name": "姜秀兰", | ||
| 502 | + "checked": 0, | ||
| 503 | + "disabled": 0, | ||
| 504 | + "type": "user" | ||
| 505 | + }, | ||
| 506 | + { | ||
| 507 | + "id": 63928, | ||
| 508 | + "name": "接待01", | ||
| 509 | + "checked": 0, | ||
| 510 | + "disabled": 0, | ||
| 511 | + "type": "user" | ||
| 512 | + }, | ||
| 513 | + { | ||
| 514 | + "id": 69586, | ||
| 515 | + "name": "接待02", | ||
| 516 | + "checked": 0, | ||
| 517 | + "disabled": 0, | ||
| 518 | + "type": "user" | ||
| 519 | + }, | ||
| 520 | + { | ||
| 521 | + "id": 69587, | ||
| 522 | + "name": "接待03", | ||
| 523 | + "checked": 0, | ||
| 524 | + "disabled": 0, | ||
| 525 | + "type": "user" | ||
| 526 | + }, | ||
| 527 | + { | ||
| 528 | + "id": 37592, | ||
| 529 | + "name": "接待义工", | ||
| 530 | + "checked": 0, | ||
| 531 | + "disabled": 0, | ||
| 532 | + "type": "user" | ||
| 533 | + }, | ||
| 534 | + { | ||
| 535 | + "id": 107701, | ||
| 536 | + "name": "接待组长", | ||
| 537 | + "checked": 0, | ||
| 538 | + "disabled": 0, | ||
| 539 | + "type": "user" | ||
| 540 | + }, | ||
| 541 | + { | ||
| 542 | + "id": 63252, | ||
| 543 | + "name": "接待组长", | ||
| 544 | + "checked": 0, | ||
| 545 | + "disabled": 0, | ||
| 546 | + "type": "user" | ||
| 547 | + }, | ||
| 548 | + { | ||
| 549 | + "id": 281923, | ||
| 550 | + "name": "接待组组长", | ||
| 551 | + "checked": 0, | ||
| 552 | + "disabled": 0, | ||
| 553 | + "type": "user" | ||
| 554 | + }, | ||
| 555 | + { | ||
| 556 | + "id": 492459, | ||
| 557 | + "name": "金刚组", | ||
| 558 | + "checked": 0, | ||
| 559 | + "disabled": 0, | ||
| 560 | + "type": "user" | ||
| 561 | + }, | ||
| 562 | + { | ||
| 563 | + "id": 492892, | ||
| 564 | + "name": "金叶青", | ||
| 565 | + "checked": 0, | ||
| 566 | + "disabled": 0, | ||
| 567 | + "type": "user" | ||
| 568 | + }, | ||
| 569 | + { | ||
| 570 | + "id": 799613, | ||
| 571 | + "name": "净弘", | ||
| 572 | + "checked": 0, | ||
| 573 | + "disabled": 0, | ||
| 574 | + "type": "user" | ||
| 575 | + }, | ||
| 576 | + { | ||
| 577 | + "id": 87342, | ||
| 578 | + "name": "净耘", | ||
| 579 | + "checked": 0, | ||
| 580 | + "disabled": 0, | ||
| 581 | + "type": "user" | ||
| 582 | + }, | ||
| 583 | + { | ||
| 584 | + "id": 493232, | ||
| 585 | + "name": "究悟法师、甄志儒", | ||
| 586 | + "checked": 0, | ||
| 587 | + "disabled": 0, | ||
| 588 | + "type": "user" | ||
| 589 | + }, | ||
| 590 | + { | ||
| 591 | + "id": 501880, | ||
| 592 | + "name": "客房前台1", | ||
| 593 | + "checked": 0, | ||
| 594 | + "disabled": 0, | ||
| 595 | + "type": "user" | ||
| 596 | + }, | ||
| 597 | + { | ||
| 598 | + "id": 501882, | ||
| 599 | + "name": "客房前台2", | ||
| 600 | + "checked": 0, | ||
| 601 | + "disabled": 0, | ||
| 602 | + "type": "user" | ||
| 603 | + }, | ||
| 604 | + { | ||
| 605 | + "id": 484570, | ||
| 606 | + "name": "客房组长", | ||
| 607 | + "checked": 0, | ||
| 608 | + "disabled": 0, | ||
| 609 | + "type": "user" | ||
| 610 | + }, | ||
| 611 | + { | ||
| 612 | + "id": 493236, | ||
| 613 | + "name": "李敏", | ||
| 614 | + "checked": 0, | ||
| 615 | + "disabled": 0, | ||
| 616 | + "type": "user" | ||
| 617 | + }, | ||
| 618 | + { | ||
| 619 | + "id": 107706, | ||
| 620 | + "name": "礼仪组长", | ||
| 621 | + "checked": 0, | ||
| 622 | + "disabled": 0, | ||
| 623 | + "type": "user" | ||
| 624 | + }, | ||
| 625 | + { | ||
| 626 | + "id": 493072, | ||
| 627 | + "name": "刘杏初", | ||
| 628 | + "checked": 0, | ||
| 629 | + "disabled": 0, | ||
| 630 | + "type": "user" | ||
| 631 | + }, | ||
| 632 | + { | ||
| 633 | + "id": 493046, | ||
| 634 | + "name": "梅从如", | ||
| 635 | + "checked": 0, | ||
| 636 | + "disabled": 0, | ||
| 637 | + "type": "user" | ||
| 638 | + }, | ||
| 639 | + { | ||
| 640 | + "id": 97952, | ||
| 641 | + "name": "美业静心接待", | ||
| 642 | + "checked": 0, | ||
| 643 | + "disabled": 0, | ||
| 644 | + "type": "user" | ||
| 645 | + }, | ||
| 646 | + { | ||
| 647 | + "id": 137903, | ||
| 648 | + "name": "男营员大组长", | ||
| 649 | + "checked": 0, | ||
| 650 | + "disabled": 0, | ||
| 651 | + "type": "user" | ||
| 652 | + }, | ||
| 653 | + { | ||
| 654 | + "id": 137904, | ||
| 655 | + "name": "女营员大组长", | ||
| 656 | + "checked": 0, | ||
| 657 | + "disabled": 0, | ||
| 658 | + "type": "user" | ||
| 659 | + }, | ||
| 660 | + { | ||
| 661 | + "id": 493211, | ||
| 662 | + "name": "钱蓉华", | ||
| 663 | + "checked": 0, | ||
| 664 | + "disabled": 0, | ||
| 665 | + "type": "user" | ||
| 666 | + }, | ||
| 667 | + { | ||
| 668 | + "id": 493213, | ||
| 669 | + "name": "钱蓉华", | ||
| 670 | + "checked": 0, | ||
| 671 | + "disabled": 0, | ||
| 672 | + "type": "user" | ||
| 673 | + }, | ||
| 674 | + { | ||
| 675 | + "id": 493205, | ||
| 676 | + "name": "钱英姿", | ||
| 677 | + "checked": 0, | ||
| 678 | + "disabled": 0, | ||
| 679 | + "type": "user" | ||
| 680 | + }, | ||
| 681 | + { | ||
| 682 | + "id": 281922, | ||
| 683 | + "name": "寝室组组长", | ||
| 684 | + "checked": 0, | ||
| 685 | + "disabled": 0, | ||
| 686 | + "type": "user" | ||
| 687 | + }, | ||
| 688 | + { | ||
| 689 | + "id": 71986, | ||
| 690 | + "name": "入住", | ||
| 691 | + "checked": 0, | ||
| 692 | + "disabled": 0, | ||
| 693 | + "type": "user" | ||
| 694 | + }, | ||
| 695 | + { | ||
| 696 | + "id": 120454, | ||
| 697 | + "name": "善晨", | ||
| 698 | + "checked": 0, | ||
| 699 | + "disabled": 0, | ||
| 700 | + "type": "user" | ||
| 701 | + }, | ||
| 702 | + { | ||
| 703 | + "id": 119569, | ||
| 704 | + "name": "善珉", | ||
| 705 | + "checked": 0, | ||
| 706 | + "disabled": 0, | ||
| 707 | + "type": "user" | ||
| 708 | + }, | ||
| 709 | + { | ||
| 710 | + "id": 202515, | ||
| 711 | + "name": "善宁", | ||
| 712 | + "checked": 0, | ||
| 713 | + "disabled": 0, | ||
| 714 | + "type": "user" | ||
| 715 | + }, | ||
| 716 | + { | ||
| 717 | + "id": 94881, | ||
| 718 | + "name": "善滢", | ||
| 719 | + "checked": 0, | ||
| 720 | + "disabled": 0, | ||
| 721 | + "type": "user" | ||
| 722 | + }, | ||
| 723 | + { | ||
| 724 | + "id": 484110, | ||
| 725 | + "name": "善园", | ||
| 726 | + "checked": 0, | ||
| 727 | + "disabled": 0, | ||
| 728 | + "type": "user" | ||
| 729 | + }, | ||
| 730 | + { | ||
| 731 | + "id": 493198, | ||
| 732 | + "name": "邵鸿良", | ||
| 733 | + "checked": 0, | ||
| 734 | + "disabled": 0, | ||
| 735 | + "type": "user" | ||
| 736 | + }, | ||
| 737 | + { | ||
| 738 | + "id": 689571, | ||
| 739 | + "name": "沈娟娟", | ||
| 740 | + "checked": 0, | ||
| 741 | + "disabled": 0, | ||
| 742 | + "type": "user" | ||
| 743 | + }, | ||
| 744 | + { | ||
| 745 | + "id": 493224, | ||
| 746 | + "name": "沈云华", | ||
| 747 | + "checked": 0, | ||
| 748 | + "disabled": 0, | ||
| 749 | + "type": "user" | ||
| 750 | + }, | ||
| 751 | + { | ||
| 752 | + "id": 107714, | ||
| 753 | + "name": "视听组长", | ||
| 754 | + "checked": 0, | ||
| 755 | + "disabled": 0, | ||
| 756 | + "type": "user" | ||
| 757 | + }, | ||
| 758 | + { | ||
| 759 | + "id": 493218, | ||
| 760 | + "name": "水果组", | ||
| 761 | + "checked": 0, | ||
| 762 | + "disabled": 0, | ||
| 763 | + "type": "user" | ||
| 764 | + }, | ||
| 765 | + { | ||
| 766 | + "id": 71982, | ||
| 767 | + "name": "退房", | ||
| 768 | + "checked": 0, | ||
| 769 | + "disabled": 0, | ||
| 770 | + "type": "user" | ||
| 771 | + }, | ||
| 772 | + { | ||
| 773 | + "id": 137912, | ||
| 774 | + "name": "外地大组长", | ||
| 775 | + "checked": 0, | ||
| 776 | + "disabled": 0, | ||
| 777 | + "type": "user" | ||
| 778 | + }, | ||
| 779 | + { | ||
| 780 | + "id": 689575, | ||
| 781 | + "name": "王金凤", | ||
| 782 | + "checked": 0, | ||
| 783 | + "disabled": 0, | ||
| 784 | + "type": "user" | ||
| 785 | + }, | ||
| 786 | + { | ||
| 787 | + "id": 493226, | ||
| 788 | + "name": "惟麟", | ||
| 789 | + "checked": 0, | ||
| 790 | + "disabled": 0, | ||
| 791 | + "type": "user" | ||
| 792 | + }, | ||
| 793 | + { | ||
| 794 | + "id": 104065, | ||
| 795 | + "name": "惟灵", | ||
| 796 | + "checked": 0, | ||
| 797 | + "disabled": 0, | ||
| 798 | + "type": "user" | ||
| 799 | + }, | ||
| 800 | + { | ||
| 801 | + "id": 493203, | ||
| 802 | + "name": "惟兴", | ||
| 803 | + "checked": 0, | ||
| 804 | + "disabled": 0, | ||
| 805 | + "type": "user" | ||
| 806 | + }, | ||
| 807 | + { | ||
| 808 | + "id": 107711, | ||
| 809 | + "name": "文宣组长", | ||
| 810 | + "checked": 0, | ||
| 811 | + "disabled": 0, | ||
| 812 | + "type": "user" | ||
| 813 | + }, | ||
| 814 | + { | ||
| 815 | + "id": 493066, | ||
| 816 | + "name": "吴黎平", | ||
| 817 | + "checked": 0, | ||
| 818 | + "disabled": 0, | ||
| 819 | + "type": "user" | ||
| 820 | + }, | ||
| 821 | + { | ||
| 822 | + "id": 42556, | ||
| 823 | + "name": "悟般", | ||
| 824 | + "checked": 0, | ||
| 825 | + "disabled": 0, | ||
| 826 | + "type": "user" | ||
| 827 | + }, | ||
| 828 | + { | ||
| 829 | + "id": 72300, | ||
| 830 | + "name": "悟柘", | ||
| 831 | + "checked": 0, | ||
| 832 | + "disabled": 0, | ||
| 833 | + "type": "user" | ||
| 834 | + }, | ||
| 835 | + { | ||
| 836 | + "id": 107720, | ||
| 837 | + "name": "物资组长", | ||
| 838 | + "checked": 0, | ||
| 839 | + "disabled": 0, | ||
| 840 | + "type": "user" | ||
| 841 | + }, | ||
| 842 | + { | ||
| 843 | + "id": 548473, | ||
| 844 | + "name": "西仓库运营组长", | ||
| 845 | + "checked": 0, | ||
| 846 | + "disabled": 0, | ||
| 847 | + "type": "user" | ||
| 848 | + }, | ||
| 849 | + { | ||
| 850 | + "id": 36137, | ||
| 851 | + "name": "西园管理员2", | ||
| 852 | + "checked": 0, | ||
| 853 | + "disabled": 0, | ||
| 854 | + "type": "user" | ||
| 855 | + }, | ||
| 856 | + { | ||
| 857 | + "id": 632930, | ||
| 858 | + "name": "西园物资1", | ||
| 859 | + "checked": 0, | ||
| 860 | + "disabled": 0, | ||
| 861 | + "type": "user" | ||
| 862 | + }, | ||
| 863 | + { | ||
| 864 | + "id": 107710, | ||
| 865 | + "name": "洗碗组长", | ||
| 866 | + "checked": 0, | ||
| 867 | + "disabled": 0, | ||
| 868 | + "type": "user" | ||
| 869 | + }, | ||
| 870 | + { | ||
| 871 | + "id": 263263, | ||
| 872 | + "name": "系统管理员", | ||
| 873 | + "checked": 0, | ||
| 874 | + "disabled": 0, | ||
| 875 | + "type": "user" | ||
| 876 | + }, | ||
| 877 | + { | ||
| 878 | + "id": 493230, | ||
| 879 | + "name": "夏威、甄志儒", | ||
| 880 | + "checked": 0, | ||
| 881 | + "disabled": 0, | ||
| 882 | + "type": "user" | ||
| 883 | + }, | ||
| 884 | + { | ||
| 885 | + "id": 493215, | ||
| 886 | + "name": "心俨", | ||
| 887 | + "checked": 0, | ||
| 888 | + "disabled": 0, | ||
| 889 | + "type": "user" | ||
| 890 | + }, | ||
| 891 | + { | ||
| 892 | + "id": 493052, | ||
| 893 | + "name": "许琳琳", | ||
| 894 | + "checked": 0, | ||
| 895 | + "disabled": 0, | ||
| 896 | + "type": "user" | ||
| 897 | + }, | ||
| 898 | + { | ||
| 899 | + "id": 493050, | ||
| 900 | + "name": "杨彩芳、张素红、祝莺", | ||
| 901 | + "checked": 0, | ||
| 902 | + "disabled": 0, | ||
| 903 | + "type": "user" | ||
| 904 | + }, | ||
| 905 | + { | ||
| 906 | + "id": 493070, | ||
| 907 | + "name": "杨为芳", | ||
| 908 | + "checked": 0, | ||
| 909 | + "disabled": 0, | ||
| 910 | + "type": "user" | ||
| 911 | + }, | ||
| 912 | + { | ||
| 913 | + "id": 493191, | ||
| 914 | + "name": "杨小秋、胡关荣", | ||
| 915 | + "checked": 0, | ||
| 916 | + "disabled": 0, | ||
| 917 | + "type": "user" | ||
| 918 | + }, | ||
| 919 | + { | ||
| 920 | + "id": 107716, | ||
| 921 | + "name": "医务组长", | ||
| 922 | + "checked": 0, | ||
| 923 | + "disabled": 0, | ||
| 924 | + "type": "user" | ||
| 925 | + }, | ||
| 926 | + { | ||
| 927 | + "id": 362770, | ||
| 928 | + "name": "义工管理员", | ||
| 929 | + "checked": 0, | ||
| 930 | + "disabled": 0, | ||
| 931 | + "type": "user" | ||
| 932 | + }, | ||
| 933 | + { | ||
| 934 | + "id": 161847, | ||
| 935 | + "name": "艺智研习社", | ||
| 936 | + "checked": 0, | ||
| 937 | + "disabled": 0, | ||
| 938 | + "type": "user" | ||
| 939 | + }, | ||
| 940 | + { | ||
| 941 | + "id": 107712, | ||
| 942 | + "name": "迎请组长", | ||
| 943 | + "checked": 0, | ||
| 944 | + "disabled": 0, | ||
| 945 | + "type": "user" | ||
| 946 | + }, | ||
| 947 | + { | ||
| 948 | + "id": 689582, | ||
| 949 | + "name": "俞婷", | ||
| 950 | + "checked": 0, | ||
| 951 | + "disabled": 0, | ||
| 952 | + "type": "user" | ||
| 953 | + }, | ||
| 954 | + { | ||
| 955 | + "id": 493238, | ||
| 956 | + "name": "云水轩", | ||
| 957 | + "checked": 0, | ||
| 958 | + "disabled": 0, | ||
| 959 | + "type": "user" | ||
| 960 | + }, | ||
| 961 | + { | ||
| 962 | + "id": 493209, | ||
| 963 | + "name": "张伟娥", | ||
| 964 | + "checked": 0, | ||
| 965 | + "disabled": 0, | ||
| 966 | + "type": "user" | ||
| 967 | + }, | ||
| 968 | + { | ||
| 969 | + "id": 493054, | ||
| 970 | + "name": "张伟民、黄叶根", | ||
| 971 | + "checked": 0, | ||
| 972 | + "disabled": 0, | ||
| 973 | + "type": "user" | ||
| 974 | + }, | ||
| 975 | + { | ||
| 976 | + "id": 493222, | ||
| 977 | + "name": "照唤", | ||
| 978 | + "checked": 0, | ||
| 979 | + "disabled": 0, | ||
| 980 | + "type": "user" | ||
| 981 | + }, | ||
| 982 | + { | ||
| 983 | + "id": 532683, | ||
| 984 | + "name": "照熙法师", | ||
| 985 | + "checked": 0, | ||
| 986 | + "disabled": 0, | ||
| 987 | + "type": "user" | ||
| 988 | + }, | ||
| 989 | + { | ||
| 990 | + "id": 104064, | ||
| 991 | + "name": "智凡", | ||
| 992 | + "checked": 0, | ||
| 993 | + "disabled": 0, | ||
| 994 | + "type": "user" | ||
| 995 | + }, | ||
| 996 | + { | ||
| 997 | + "id": 94882, | ||
| 998 | + "name": "智宜", | ||
| 999 | + "checked": 0, | ||
| 1000 | + "disabled": 0, | ||
| 1001 | + "type": "user" | ||
| 1002 | + }, | ||
| 1003 | + { | ||
| 1004 | + "id": 101171, | ||
| 1005 | + "name": "智贞", | ||
| 1006 | + "checked": 0, | ||
| 1007 | + "disabled": 0, | ||
| 1008 | + "type": "user" | ||
| 1009 | + }, | ||
| 1010 | + { | ||
| 1011 | + "id": 493220, | ||
| 1012 | + "name": "朱文娟、孙勤", | ||
| 1013 | + "checked": 0, | ||
| 1014 | + "disabled": 0, | ||
| 1015 | + "type": "user" | ||
| 1016 | + }, | ||
| 1017 | + { | ||
| 1018 | + "id": 107721, | ||
| 1019 | + "name": "主持组长", | ||
| 1020 | + "checked": 0, | ||
| 1021 | + "disabled": 0, | ||
| 1022 | + "type": "user" | ||
| 1023 | + }, | ||
| 1024 | + { | ||
| 1025 | + "id": 79125, | ||
| 1026 | + "name": "组长", | ||
| 1027 | + "checked": 0, | ||
| 1028 | + "disabled": 0, | ||
| 1029 | + "type": "user" | ||
| 1030 | + }, | ||
| 1031 | + { | ||
| 1032 | + "id": 285053, | ||
| 1033 | + "name": "组长001", | ||
| 1034 | + "checked": 0, | ||
| 1035 | + "disabled": 0, | ||
| 1036 | + "type": "user" | ||
| 1037 | + }, | ||
| 1038 | + { | ||
| 1039 | + "id": 285054, | ||
| 1040 | + "name": "组长002", | ||
| 1041 | + "checked": 0, | ||
| 1042 | + "disabled": 0, | ||
| 1043 | + "type": "user" | ||
| 1044 | + }, | ||
| 1045 | + { | ||
| 1046 | + "id": 285055, | ||
| 1047 | + "name": "组长003", | ||
| 1048 | + "checked": 0, | ||
| 1049 | + "disabled": 0, | ||
| 1050 | + "type": "user" | ||
| 1051 | + }, | ||
| 1052 | + { | ||
| 1053 | + "id": 285056, | ||
| 1054 | + "name": "组长004", | ||
| 1055 | + "checked": 0, | ||
| 1056 | + "disabled": 0, | ||
| 1057 | + "type": "user" | ||
| 1058 | + } | ||
| 1059 | + ], | ||
| 1060 | + "children": [ | ||
| 1061 | + { | ||
| 1062 | + "id": 492081, | ||
| 1063 | + "name": "营员", | ||
| 1064 | + "parent_id": 0, | ||
| 1065 | + "sort": 99, | ||
| 1066 | + "checked": 0, | ||
| 1067 | + "disabled": 0, | ||
| 1068 | + "type": "dept", | ||
| 1069 | + "user": [ | ||
| 1070 | + { | ||
| 1071 | + "id": 792959, | ||
| 1072 | + "name": "jack", | ||
| 1073 | + "checked": 0, | ||
| 1074 | + "disabled": 0, | ||
| 1075 | + "type": "user" | ||
| 1076 | + } | ||
| 1077 | + ], | ||
| 1078 | + "children": [ | ||
| 1079 | + { | ||
| 1080 | + "id": 137571, | ||
| 1081 | + "name": "男10组", | ||
| 1082 | + "parent_id": 492081, | ||
| 1083 | + "sort": null, | ||
| 1084 | + "checked": 0, | ||
| 1085 | + "disabled": 0, | ||
| 1086 | + "type": "dept", | ||
| 1087 | + "user": [ | ||
| 1088 | + { | ||
| 1089 | + "id": 137918, | ||
| 1090 | + "name": "10组寝室长", | ||
| 1091 | + "checked": 0, | ||
| 1092 | + "disabled": 0, | ||
| 1093 | + "type": "user" | ||
| 1094 | + }, | ||
| 1095 | + { | ||
| 1096 | + "id": 137912, | ||
| 1097 | + "name": "外地大组长", | ||
| 1098 | + "checked": 0, | ||
| 1099 | + "disabled": 0, | ||
| 1100 | + "type": "user" | ||
| 1101 | + } | ||
| 1102 | + ] | ||
| 1103 | + }, | ||
| 1104 | + { | ||
| 1105 | + "id": 137572, | ||
| 1106 | + "name": "男11组", | ||
| 1107 | + "parent_id": 492081, | ||
| 1108 | + "sort": null, | ||
| 1109 | + "checked": 0, | ||
| 1110 | + "disabled": 0, | ||
| 1111 | + "type": "dept", | ||
| 1112 | + "user": [ | ||
| 1113 | + { | ||
| 1114 | + "id": 137919, | ||
| 1115 | + "name": "11组寝室长", | ||
| 1116 | + "checked": 0, | ||
| 1117 | + "disabled": 0, | ||
| 1118 | + "type": "user" | ||
| 1119 | + }, | ||
| 1120 | + { | ||
| 1121 | + "id": 137912, | ||
| 1122 | + "name": "外地大组长", | ||
| 1123 | + "checked": 0, | ||
| 1124 | + "disabled": 0, | ||
| 1125 | + "type": "user" | ||
| 1126 | + } | ||
| 1127 | + ] | ||
| 1128 | + }, | ||
| 1129 | + { | ||
| 1130 | + "id": 137573, | ||
| 1131 | + "name": "男12组", | ||
| 1132 | + "parent_id": 492081, | ||
| 1133 | + "sort": null, | ||
| 1134 | + "checked": 0, | ||
| 1135 | + "disabled": 0, | ||
| 1136 | + "type": "dept", | ||
| 1137 | + "user": [ | ||
| 1138 | + { | ||
| 1139 | + "id": 137922, | ||
| 1140 | + "name": "12组寝室长", | ||
| 1141 | + "checked": 0, | ||
| 1142 | + "disabled": 0, | ||
| 1143 | + "type": "user" | ||
| 1144 | + }, | ||
| 1145 | + { | ||
| 1146 | + "id": 137912, | ||
| 1147 | + "name": "外地大组长", | ||
| 1148 | + "checked": 0, | ||
| 1149 | + "disabled": 0, | ||
| 1150 | + "type": "user" | ||
| 1151 | + } | ||
| 1152 | + ] | ||
| 1153 | + }, | ||
| 1154 | + { | ||
| 1155 | + "id": 137574, | ||
| 1156 | + "name": "男13组", | ||
| 1157 | + "parent_id": 492081, | ||
| 1158 | + "sort": null, | ||
| 1159 | + "checked": 0, | ||
| 1160 | + "disabled": 0, | ||
| 1161 | + "type": "dept", | ||
| 1162 | + "user": [ | ||
| 1163 | + { | ||
| 1164 | + "id": 137923, | ||
| 1165 | + "name": "13组寝室长", | ||
| 1166 | + "checked": 0, | ||
| 1167 | + "disabled": 0, | ||
| 1168 | + "type": "user" | ||
| 1169 | + }, | ||
| 1170 | + { | ||
| 1171 | + "id": 137912, | ||
| 1172 | + "name": "外地大组长", | ||
| 1173 | + "checked": 0, | ||
| 1174 | + "disabled": 0, | ||
| 1175 | + "type": "user" | ||
| 1176 | + } | ||
| 1177 | + ] | ||
| 1178 | + }, | ||
| 1179 | + { | ||
| 1180 | + "id": 121362, | ||
| 1181 | + "name": "男1组", | ||
| 1182 | + "parent_id": 492081, | ||
| 1183 | + "sort": null, | ||
| 1184 | + "checked": 0, | ||
| 1185 | + "disabled": 0, | ||
| 1186 | + "type": "dept", | ||
| 1187 | + "user": [ | ||
| 1188 | + { | ||
| 1189 | + "id": 121361, | ||
| 1190 | + "name": "1组寝室长", | ||
| 1191 | + "checked": 0, | ||
| 1192 | + "disabled": 0, | ||
| 1193 | + "type": "user" | ||
| 1194 | + }, | ||
| 1195 | + { | ||
| 1196 | + "id": 137903, | ||
| 1197 | + "name": "男营员大组长", | ||
| 1198 | + "checked": 0, | ||
| 1199 | + "disabled": 0, | ||
| 1200 | + "type": "user" | ||
| 1201 | + } | ||
| 1202 | + ] | ||
| 1203 | + }, | ||
| 1204 | + { | ||
| 1205 | + "id": 121363, | ||
| 1206 | + "name": "男2组", | ||
| 1207 | + "parent_id": 492081, | ||
| 1208 | + "sort": null, | ||
| 1209 | + "checked": 0, | ||
| 1210 | + "disabled": 0, | ||
| 1211 | + "type": "dept", | ||
| 1212 | + "user": [ | ||
| 1213 | + { | ||
| 1214 | + "id": 121366, | ||
| 1215 | + "name": "2组寝室长", | ||
| 1216 | + "checked": 0, | ||
| 1217 | + "disabled": 0, | ||
| 1218 | + "type": "user" | ||
| 1219 | + }, | ||
| 1220 | + { | ||
| 1221 | + "id": 137903, | ||
| 1222 | + "name": "男营员大组长", | ||
| 1223 | + "checked": 0, | ||
| 1224 | + "disabled": 0, | ||
| 1225 | + "type": "user" | ||
| 1226 | + } | ||
| 1227 | + ] | ||
| 1228 | + }, | ||
| 1229 | + { | ||
| 1230 | + "id": 121364, | ||
| 1231 | + "name": "男3组", | ||
| 1232 | + "parent_id": 492081, | ||
| 1233 | + "sort": null, | ||
| 1234 | + "checked": 0, | ||
| 1235 | + "disabled": 0, | ||
| 1236 | + "type": "dept", | ||
| 1237 | + "user": [ | ||
| 1238 | + { | ||
| 1239 | + "id": 121367, | ||
| 1240 | + "name": "3组寝室长", | ||
| 1241 | + "checked": 0, | ||
| 1242 | + "disabled": 0, | ||
| 1243 | + "type": "user" | ||
| 1244 | + }, | ||
| 1245 | + { | ||
| 1246 | + "id": 137903, | ||
| 1247 | + "name": "男营员大组长", | ||
| 1248 | + "checked": 0, | ||
| 1249 | + "disabled": 0, | ||
| 1250 | + "type": "user" | ||
| 1251 | + } | ||
| 1252 | + ] | ||
| 1253 | + }, | ||
| 1254 | + { | ||
| 1255 | + "id": 121365, | ||
| 1256 | + "name": "男4组", | ||
| 1257 | + "parent_id": 492081, | ||
| 1258 | + "sort": null, | ||
| 1259 | + "checked": 0, | ||
| 1260 | + "disabled": 0, | ||
| 1261 | + "type": "dept", | ||
| 1262 | + "user": [ | ||
| 1263 | + { | ||
| 1264 | + "id": 121368, | ||
| 1265 | + "name": "4组寝室长", | ||
| 1266 | + "checked": 0, | ||
| 1267 | + "disabled": 0, | ||
| 1268 | + "type": "user" | ||
| 1269 | + }, | ||
| 1270 | + { | ||
| 1271 | + "id": 137903, | ||
| 1272 | + "name": "男营员大组长", | ||
| 1273 | + "checked": 0, | ||
| 1274 | + "disabled": 0, | ||
| 1275 | + "type": "user" | ||
| 1276 | + } | ||
| 1277 | + ] | ||
| 1278 | + }, | ||
| 1279 | + { | ||
| 1280 | + "id": 137565, | ||
| 1281 | + "name": "男5组", | ||
| 1282 | + "parent_id": 492081, | ||
| 1283 | + "sort": null, | ||
| 1284 | + "checked": 0, | ||
| 1285 | + "disabled": 0, | ||
| 1286 | + "type": "dept", | ||
| 1287 | + "user": [ | ||
| 1288 | + { | ||
| 1289 | + "id": 137913, | ||
| 1290 | + "name": "5组寝室长", | ||
| 1291 | + "checked": 0, | ||
| 1292 | + "disabled": 0, | ||
| 1293 | + "type": "user" | ||
| 1294 | + }, | ||
| 1295 | + { | ||
| 1296 | + "id": 137903, | ||
| 1297 | + "name": "男营员大组长", | ||
| 1298 | + "checked": 0, | ||
| 1299 | + "disabled": 0, | ||
| 1300 | + "type": "user" | ||
| 1301 | + } | ||
| 1302 | + ] | ||
| 1303 | + }, | ||
| 1304 | + { | ||
| 1305 | + "id": 137575, | ||
| 1306 | + "name": "女14组", | ||
| 1307 | + "parent_id": 492081, | ||
| 1308 | + "sort": null, | ||
| 1309 | + "checked": 0, | ||
| 1310 | + "disabled": 0, | ||
| 1311 | + "type": "dept", | ||
| 1312 | + "user": [ | ||
| 1313 | + { | ||
| 1314 | + "id": 137924, | ||
| 1315 | + "name": "14组寝室长", | ||
| 1316 | + "checked": 0, | ||
| 1317 | + "disabled": 0, | ||
| 1318 | + "type": "user" | ||
| 1319 | + }, | ||
| 1320 | + { | ||
| 1321 | + "id": 137912, | ||
| 1322 | + "name": "外地大组长", | ||
| 1323 | + "checked": 0, | ||
| 1324 | + "disabled": 0, | ||
| 1325 | + "type": "user" | ||
| 1326 | + } | ||
| 1327 | + ] | ||
| 1328 | + }, | ||
| 1329 | + { | ||
| 1330 | + "id": 137576, | ||
| 1331 | + "name": "女15组", | ||
| 1332 | + "parent_id": 492081, | ||
| 1333 | + "sort": null, | ||
| 1334 | + "checked": 0, | ||
| 1335 | + "disabled": 0, | ||
| 1336 | + "type": "dept", | ||
| 1337 | + "user": [ | ||
| 1338 | + { | ||
| 1339 | + "id": 137925, | ||
| 1340 | + "name": "15组寝室长", | ||
| 1341 | + "checked": 0, | ||
| 1342 | + "disabled": 0, | ||
| 1343 | + "type": "user" | ||
| 1344 | + }, | ||
| 1345 | + { | ||
| 1346 | + "id": 137912, | ||
| 1347 | + "name": "外地大组长", | ||
| 1348 | + "checked": 0, | ||
| 1349 | + "disabled": 0, | ||
| 1350 | + "type": "user" | ||
| 1351 | + } | ||
| 1352 | + ] | ||
| 1353 | + }, | ||
| 1354 | + { | ||
| 1355 | + "id": 137577, | ||
| 1356 | + "name": "女16组", | ||
| 1357 | + "parent_id": 492081, | ||
| 1358 | + "sort": null, | ||
| 1359 | + "checked": 0, | ||
| 1360 | + "disabled": 0, | ||
| 1361 | + "type": "dept", | ||
| 1362 | + "user": [ | ||
| 1363 | + { | ||
| 1364 | + "id": 137926, | ||
| 1365 | + "name": "16组寝室长", | ||
| 1366 | + "checked": 0, | ||
| 1367 | + "disabled": 0, | ||
| 1368 | + "type": "user" | ||
| 1369 | + }, | ||
| 1370 | + { | ||
| 1371 | + "id": 137912, | ||
| 1372 | + "name": "外地大组长", | ||
| 1373 | + "checked": 0, | ||
| 1374 | + "disabled": 0, | ||
| 1375 | + "type": "user" | ||
| 1376 | + } | ||
| 1377 | + ] | ||
| 1378 | + }, | ||
| 1379 | + { | ||
| 1380 | + "id": 137578, | ||
| 1381 | + "name": "女17组", | ||
| 1382 | + "parent_id": 492081, | ||
| 1383 | + "sort": null, | ||
| 1384 | + "checked": 0, | ||
| 1385 | + "disabled": 0, | ||
| 1386 | + "type": "dept", | ||
| 1387 | + "user": [ | ||
| 1388 | + { | ||
| 1389 | + "id": 137927, | ||
| 1390 | + "name": "17组寝室长", | ||
| 1391 | + "checked": 0, | ||
| 1392 | + "disabled": 0, | ||
| 1393 | + "type": "user" | ||
| 1394 | + }, | ||
| 1395 | + { | ||
| 1396 | + "id": 137912, | ||
| 1397 | + "name": "外地大组长", | ||
| 1398 | + "checked": 0, | ||
| 1399 | + "disabled": 0, | ||
| 1400 | + "type": "user" | ||
| 1401 | + } | ||
| 1402 | + ], | ||
| 1403 | + "children": [ | ||
| 1404 | + { | ||
| 1405 | + "id": 492848, | ||
| 1406 | + "name": "消杀组", | ||
| 1407 | + "parent_id": 137578, | ||
| 1408 | + "sort": null, | ||
| 1409 | + "checked": 0, | ||
| 1410 | + "disabled": 0, | ||
| 1411 | + "type": "dept", | ||
| 1412 | + "user": [ | ||
| 1413 | + { | ||
| 1414 | + "id": 72298, | ||
| 1415 | + "name": "慧俨", | ||
| 1416 | + "checked": 0, | ||
| 1417 | + "disabled": 0, | ||
| 1418 | + "type": "user" | ||
| 1419 | + } | ||
| 1420 | + ] | ||
| 1421 | + } | ||
| 1422 | + ] | ||
| 1423 | + }, | ||
| 1424 | + { | ||
| 1425 | + "id": 137566, | ||
| 1426 | + "name": "女6组", | ||
| 1427 | + "parent_id": 492081, | ||
| 1428 | + "sort": null, | ||
| 1429 | + "checked": 0, | ||
| 1430 | + "disabled": 0, | ||
| 1431 | + "type": "dept", | ||
| 1432 | + "user": [ | ||
| 1433 | + { | ||
| 1434 | + "id": 137914, | ||
| 1435 | + "name": "6组寝室长", | ||
| 1436 | + "checked": 0, | ||
| 1437 | + "disabled": 0, | ||
| 1438 | + "type": "user" | ||
| 1439 | + }, | ||
| 1440 | + { | ||
| 1441 | + "id": 137904, | ||
| 1442 | + "name": "女营员大组长", | ||
| 1443 | + "checked": 0, | ||
| 1444 | + "disabled": 0, | ||
| 1445 | + "type": "user" | ||
| 1446 | + } | ||
| 1447 | + ] | ||
| 1448 | + }, | ||
| 1449 | + { | ||
| 1450 | + "id": 137568, | ||
| 1451 | + "name": "女7组", | ||
| 1452 | + "parent_id": 492081, | ||
| 1453 | + "sort": null, | ||
| 1454 | + "checked": 0, | ||
| 1455 | + "disabled": 0, | ||
| 1456 | + "type": "dept", | ||
| 1457 | + "user": [ | ||
| 1458 | + { | ||
| 1459 | + "id": 137915, | ||
| 1460 | + "name": "7组寝室长", | ||
| 1461 | + "checked": 0, | ||
| 1462 | + "disabled": 0, | ||
| 1463 | + "type": "user" | ||
| 1464 | + }, | ||
| 1465 | + { | ||
| 1466 | + "id": 137904, | ||
| 1467 | + "name": "女营员大组长", | ||
| 1468 | + "checked": 0, | ||
| 1469 | + "disabled": 0, | ||
| 1470 | + "type": "user" | ||
| 1471 | + } | ||
| 1472 | + ] | ||
| 1473 | + }, | ||
| 1474 | + { | ||
| 1475 | + "id": 137569, | ||
| 1476 | + "name": "女8组", | ||
| 1477 | + "parent_id": 492081, | ||
| 1478 | + "sort": null, | ||
| 1479 | + "checked": 0, | ||
| 1480 | + "disabled": 0, | ||
| 1481 | + "type": "dept", | ||
| 1482 | + "user": [ | ||
| 1483 | + { | ||
| 1484 | + "id": 137916, | ||
| 1485 | + "name": "8组寝室长", | ||
| 1486 | + "checked": 0, | ||
| 1487 | + "disabled": 0, | ||
| 1488 | + "type": "user" | ||
| 1489 | + }, | ||
| 1490 | + { | ||
| 1491 | + "id": 137904, | ||
| 1492 | + "name": "女营员大组长", | ||
| 1493 | + "checked": 0, | ||
| 1494 | + "disabled": 0, | ||
| 1495 | + "type": "user" | ||
| 1496 | + } | ||
| 1497 | + ] | ||
| 1498 | + }, | ||
| 1499 | + { | ||
| 1500 | + "id": 137570, | ||
| 1501 | + "name": "女9组", | ||
| 1502 | + "parent_id": 492081, | ||
| 1503 | + "sort": null, | ||
| 1504 | + "checked": 0, | ||
| 1505 | + "disabled": 0, | ||
| 1506 | + "type": "dept", | ||
| 1507 | + "user": [ | ||
| 1508 | + { | ||
| 1509 | + "id": 137917, | ||
| 1510 | + "name": "9组寝室长", | ||
| 1511 | + "checked": 0, | ||
| 1512 | + "disabled": 0, | ||
| 1513 | + "type": "user" | ||
| 1514 | + }, | ||
| 1515 | + { | ||
| 1516 | + "id": 137904, | ||
| 1517 | + "name": "女营员大组长", | ||
| 1518 | + "checked": 0, | ||
| 1519 | + "disabled": 0, | ||
| 1520 | + "type": "user" | ||
| 1521 | + } | ||
| 1522 | + ] | ||
| 1523 | + } | ||
| 1524 | + ] | ||
| 1525 | + }, | ||
| 1526 | + { | ||
| 1527 | + "id": 107693, | ||
| 1528 | + "name": "安保组", | ||
| 1529 | + "parent_id": 0, | ||
| 1530 | + "sort": null, | ||
| 1531 | + "checked": 0, | ||
| 1532 | + "disabled": 0, | ||
| 1533 | + "type": "dept", | ||
| 1534 | + "user": [ | ||
| 1535 | + { | ||
| 1536 | + "id": 107715, | ||
| 1537 | + "name": "安保组长", | ||
| 1538 | + "checked": 0, | ||
| 1539 | + "disabled": 0, | ||
| 1540 | + "type": "user" | ||
| 1541 | + } | ||
| 1542 | + ] | ||
| 1543 | + }, | ||
| 1544 | + { | ||
| 1545 | + "id": 64261, | ||
| 1546 | + "name": "餐饮组", | ||
| 1547 | + "parent_id": 0, | ||
| 1548 | + "sort": null, | ||
| 1549 | + "checked": 0, | ||
| 1550 | + "disabled": 0, | ||
| 1551 | + "type": "dept", | ||
| 1552 | + "user": [ | ||
| 1553 | + { | ||
| 1554 | + "id": 792964, | ||
| 1555 | + "name": "hooke", | ||
| 1556 | + "checked": 0, | ||
| 1557 | + "disabled": 0, | ||
| 1558 | + "type": "user" | ||
| 1559 | + }, | ||
| 1560 | + { | ||
| 1561 | + "id": 107702, | ||
| 1562 | + "name": "餐饮组长", | ||
| 1563 | + "checked": 0, | ||
| 1564 | + "disabled": 0, | ||
| 1565 | + "type": "user" | ||
| 1566 | + }, | ||
| 1567 | + { | ||
| 1568 | + "id": 71293, | ||
| 1569 | + "name": "道雯", | ||
| 1570 | + "checked": 0, | ||
| 1571 | + "disabled": 0, | ||
| 1572 | + "type": "user" | ||
| 1573 | + } | ||
| 1574 | + ] | ||
| 1575 | + }, | ||
| 1576 | + { | ||
| 1577 | + "id": 107691, | ||
| 1578 | + "name": "插花组", | ||
| 1579 | + "parent_id": 0, | ||
| 1580 | + "sort": null, | ||
| 1581 | + "checked": 0, | ||
| 1582 | + "disabled": 0, | ||
| 1583 | + "type": "dept", | ||
| 1584 | + "user": [ | ||
| 1585 | + { | ||
| 1586 | + "id": 107713, | ||
| 1587 | + "name": "插花组长", | ||
| 1588 | + "checked": 0, | ||
| 1589 | + "disabled": 0, | ||
| 1590 | + "type": "user" | ||
| 1591 | + } | ||
| 1592 | + ] | ||
| 1593 | + }, | ||
| 1594 | + { | ||
| 1595 | + "id": 107684, | ||
| 1596 | + "name": "场地组", | ||
| 1597 | + "parent_id": 0, | ||
| 1598 | + "sort": null, | ||
| 1599 | + "checked": 0, | ||
| 1600 | + "disabled": 0, | ||
| 1601 | + "type": "dept", | ||
| 1602 | + "user": [ | ||
| 1603 | + { | ||
| 1604 | + "id": 107707, | ||
| 1605 | + "name": "场地组长", | ||
| 1606 | + "checked": 0, | ||
| 1607 | + "disabled": 0, | ||
| 1608 | + "type": "user" | ||
| 1609 | + } | ||
| 1610 | + ] | ||
| 1611 | + }, | ||
| 1612 | + { | ||
| 1613 | + "id": 107697, | ||
| 1614 | + "name": "传灯组", | ||
| 1615 | + "parent_id": 0, | ||
| 1616 | + "sort": null, | ||
| 1617 | + "checked": 0, | ||
| 1618 | + "disabled": 0, | ||
| 1619 | + "type": "dept", | ||
| 1620 | + "user": [ | ||
| 1621 | + { | ||
| 1622 | + "id": 107717, | ||
| 1623 | + "name": "传灯组长", | ||
| 1624 | + "checked": 0, | ||
| 1625 | + "disabled": 0, | ||
| 1626 | + "type": "user" | ||
| 1627 | + } | ||
| 1628 | + ] | ||
| 1629 | + }, | ||
| 1630 | + { | ||
| 1631 | + "id": 72299, | ||
| 1632 | + "name": "法务组", | ||
| 1633 | + "parent_id": 0, | ||
| 1634 | + "sort": null, | ||
| 1635 | + "checked": 0, | ||
| 1636 | + "disabled": 0, | ||
| 1637 | + "type": "dept", | ||
| 1638 | + "user": [ | ||
| 1639 | + { | ||
| 1640 | + "id": 107705, | ||
| 1641 | + "name": "法务组长", | ||
| 1642 | + "checked": 0, | ||
| 1643 | + "disabled": 0, | ||
| 1644 | + "type": "user" | ||
| 1645 | + }, | ||
| 1646 | + { | ||
| 1647 | + "id": 359538, | ||
| 1648 | + "name": "会务组长", | ||
| 1649 | + "checked": 0, | ||
| 1650 | + "disabled": 0, | ||
| 1651 | + "type": "user" | ||
| 1652 | + }, | ||
| 1653 | + { | ||
| 1654 | + "id": 72298, | ||
| 1655 | + "name": "慧俨", | ||
| 1656 | + "checked": 0, | ||
| 1657 | + "disabled": 0, | ||
| 1658 | + "type": "user" | ||
| 1659 | + } | ||
| 1660 | + ] | ||
| 1661 | + }, | ||
| 1662 | + { | ||
| 1663 | + "id": 104066, | ||
| 1664 | + "name": "皈依组", | ||
| 1665 | + "parent_id": 0, | ||
| 1666 | + "sort": null, | ||
| 1667 | + "checked": 0, | ||
| 1668 | + "disabled": 0, | ||
| 1669 | + "type": "dept", | ||
| 1670 | + "user": [ | ||
| 1671 | + { | ||
| 1672 | + "id": 792968, | ||
| 1673 | + "name": "whj", | ||
| 1674 | + "checked": 0, | ||
| 1675 | + "disabled": 0, | ||
| 1676 | + "type": "user" | ||
| 1677 | + }, | ||
| 1678 | + { | ||
| 1679 | + "id": 107704, | ||
| 1680 | + "name": "皈依组长", | ||
| 1681 | + "checked": 0, | ||
| 1682 | + "disabled": 0, | ||
| 1683 | + "type": "user" | ||
| 1684 | + }, | ||
| 1685 | + { | ||
| 1686 | + "id": 119569, | ||
| 1687 | + "name": "善珉", | ||
| 1688 | + "checked": 0, | ||
| 1689 | + "disabled": 0, | ||
| 1690 | + "type": "user" | ||
| 1691 | + }, | ||
| 1692 | + { | ||
| 1693 | + "id": 104065, | ||
| 1694 | + "name": "惟灵", | ||
| 1695 | + "checked": 0, | ||
| 1696 | + "disabled": 0, | ||
| 1697 | + "type": "user" | ||
| 1698 | + }, | ||
| 1699 | + { | ||
| 1700 | + "id": 104064, | ||
| 1701 | + "name": "智凡", | ||
| 1702 | + "checked": 0, | ||
| 1703 | + "disabled": 0, | ||
| 1704 | + "type": "user" | ||
| 1705 | + } | ||
| 1706 | + ] | ||
| 1707 | + }, | ||
| 1708 | + { | ||
| 1709 | + "id": 107685, | ||
| 1710 | + "name": "行堂组", | ||
| 1711 | + "parent_id": 0, | ||
| 1712 | + "sort": null, | ||
| 1713 | + "checked": 0, | ||
| 1714 | + "disabled": 0, | ||
| 1715 | + "type": "dept", | ||
| 1716 | + "user": [ | ||
| 1717 | + { | ||
| 1718 | + "id": 107702, | ||
| 1719 | + "name": "餐饮组长", | ||
| 1720 | + "checked": 0, | ||
| 1721 | + "disabled": 0, | ||
| 1722 | + "type": "user" | ||
| 1723 | + }, | ||
| 1724 | + { | ||
| 1725 | + "id": 107708, | ||
| 1726 | + "name": "行堂组长", | ||
| 1727 | + "checked": 0, | ||
| 1728 | + "disabled": 0, | ||
| 1729 | + "type": "user" | ||
| 1730 | + } | ||
| 1731 | + ] | ||
| 1732 | + }, | ||
| 1733 | + { | ||
| 1734 | + "id": 107690, | ||
| 1735 | + "name": "后厨组", | ||
| 1736 | + "parent_id": 0, | ||
| 1737 | + "sort": null, | ||
| 1738 | + "checked": 0, | ||
| 1739 | + "disabled": 0, | ||
| 1740 | + "type": "dept", | ||
| 1741 | + "user": [ | ||
| 1742 | + { | ||
| 1743 | + "id": 107702, | ||
| 1744 | + "name": "餐饮组长", | ||
| 1745 | + "checked": 0, | ||
| 1746 | + "disabled": 0, | ||
| 1747 | + "type": "user" | ||
| 1748 | + }, | ||
| 1749 | + { | ||
| 1750 | + "id": 107719, | ||
| 1751 | + "name": "后厨组长", | ||
| 1752 | + "checked": 0, | ||
| 1753 | + "disabled": 0, | ||
| 1754 | + "type": "user" | ||
| 1755 | + } | ||
| 1756 | + ] | ||
| 1757 | + }, | ||
| 1758 | + { | ||
| 1759 | + "id": 107698, | ||
| 1760 | + "name": "机动组", | ||
| 1761 | + "parent_id": 0, | ||
| 1762 | + "sort": null, | ||
| 1763 | + "checked": 0, | ||
| 1764 | + "disabled": 0, | ||
| 1765 | + "type": "dept", | ||
| 1766 | + "user": [ | ||
| 1767 | + { | ||
| 1768 | + "id": 792966, | ||
| 1769 | + "name": "waj", | ||
| 1770 | + "checked": 0, | ||
| 1771 | + "disabled": 0, | ||
| 1772 | + "type": "user" | ||
| 1773 | + }, | ||
| 1774 | + { | ||
| 1775 | + "id": 107718, | ||
| 1776 | + "name": "机动组长", | ||
| 1777 | + "checked": 0, | ||
| 1778 | + "disabled": 0, | ||
| 1779 | + "type": "user" | ||
| 1780 | + } | ||
| 1781 | + ] | ||
| 1782 | + }, | ||
| 1783 | + { | ||
| 1784 | + "id": 107686, | ||
| 1785 | + "name": "拣菜组", | ||
| 1786 | + "parent_id": 0, | ||
| 1787 | + "sort": null, | ||
| 1788 | + "checked": 0, | ||
| 1789 | + "disabled": 0, | ||
| 1790 | + "type": "dept", | ||
| 1791 | + "user": [ | ||
| 1792 | + { | ||
| 1793 | + "id": 107702, | ||
| 1794 | + "name": "餐饮组长", | ||
| 1795 | + "checked": 0, | ||
| 1796 | + "disabled": 0, | ||
| 1797 | + "type": "user" | ||
| 1798 | + }, | ||
| 1799 | + { | ||
| 1800 | + "id": 107889, | ||
| 1801 | + "name": "拣菜组长", | ||
| 1802 | + "checked": 0, | ||
| 1803 | + "disabled": 0, | ||
| 1804 | + "type": "user" | ||
| 1805 | + } | ||
| 1806 | + ] | ||
| 1807 | + }, | ||
| 1808 | + { | ||
| 1809 | + "id": 64260, | ||
| 1810 | + "name": "接待组", | ||
| 1811 | + "parent_id": 0, | ||
| 1812 | + "sort": null, | ||
| 1813 | + "checked": 0, | ||
| 1814 | + "disabled": 0, | ||
| 1815 | + "type": "dept", | ||
| 1816 | + "user": [ | ||
| 1817 | + { | ||
| 1818 | + "id": 792962, | ||
| 1819 | + "name": "spring", | ||
| 1820 | + "checked": 0, | ||
| 1821 | + "disabled": 0, | ||
| 1822 | + "type": "user" | ||
| 1823 | + }, | ||
| 1824 | + { | ||
| 1825 | + "id": 141006, | ||
| 1826 | + "name": "电话义工", | ||
| 1827 | + "checked": 0, | ||
| 1828 | + "disabled": 0, | ||
| 1829 | + "type": "user" | ||
| 1830 | + }, | ||
| 1831 | + { | ||
| 1832 | + "id": 158014, | ||
| 1833 | + "name": "皈依接待", | ||
| 1834 | + "checked": 0, | ||
| 1835 | + "disabled": 0, | ||
| 1836 | + "type": "user" | ||
| 1837 | + }, | ||
| 1838 | + { | ||
| 1839 | + "id": 107701, | ||
| 1840 | + "name": "接待组长", | ||
| 1841 | + "checked": 0, | ||
| 1842 | + "disabled": 0, | ||
| 1843 | + "type": "user" | ||
| 1844 | + }, | ||
| 1845 | + { | ||
| 1846 | + "id": 63252, | ||
| 1847 | + "name": "接待组长", | ||
| 1848 | + "checked": 0, | ||
| 1849 | + "disabled": 0, | ||
| 1850 | + "type": "user" | ||
| 1851 | + }, | ||
| 1852 | + { | ||
| 1853 | + "id": 97952, | ||
| 1854 | + "name": "美业静心接待", | ||
| 1855 | + "checked": 0, | ||
| 1856 | + "disabled": 0, | ||
| 1857 | + "type": "user" | ||
| 1858 | + }, | ||
| 1859 | + { | ||
| 1860 | + "id": 36137, | ||
| 1861 | + "name": "西园管理员2", | ||
| 1862 | + "checked": 0, | ||
| 1863 | + "disabled": 0, | ||
| 1864 | + "type": "user" | ||
| 1865 | + }, | ||
| 1866 | + { | ||
| 1867 | + "id": 94882, | ||
| 1868 | + "name": "智宜", | ||
| 1869 | + "checked": 0, | ||
| 1870 | + "disabled": 0, | ||
| 1871 | + "type": "user" | ||
| 1872 | + } | ||
| 1873 | + ] | ||
| 1874 | + }, | ||
| 1875 | + { | ||
| 1876 | + "id": 64263, | ||
| 1877 | + "name": "客房组", | ||
| 1878 | + "parent_id": 0, | ||
| 1879 | + "sort": null, | ||
| 1880 | + "checked": 0, | ||
| 1881 | + "disabled": 0, | ||
| 1882 | + "type": "dept", | ||
| 1883 | + "user": [ | ||
| 1884 | + { | ||
| 1885 | + "id": 71986, | ||
| 1886 | + "name": "入住", | ||
| 1887 | + "checked": 0, | ||
| 1888 | + "disabled": 0, | ||
| 1889 | + "type": "user" | ||
| 1890 | + }, | ||
| 1891 | + { | ||
| 1892 | + "id": 71982, | ||
| 1893 | + "name": "退房", | ||
| 1894 | + "checked": 0, | ||
| 1895 | + "disabled": 0, | ||
| 1896 | + "type": "user" | ||
| 1897 | + }, | ||
| 1898 | + { | ||
| 1899 | + "id": 42556, | ||
| 1900 | + "name": "悟般", | ||
| 1901 | + "checked": 0, | ||
| 1902 | + "disabled": 0, | ||
| 1903 | + "type": "user" | ||
| 1904 | + } | ||
| 1905 | + ] | ||
| 1906 | + }, | ||
| 1907 | + { | ||
| 1908 | + "id": 107683, | ||
| 1909 | + "name": "礼仪组", | ||
| 1910 | + "parent_id": 0, | ||
| 1911 | + "sort": null, | ||
| 1912 | + "checked": 0, | ||
| 1913 | + "disabled": 0, | ||
| 1914 | + "type": "dept", | ||
| 1915 | + "user": [ | ||
| 1916 | + { | ||
| 1917 | + "id": 107706, | ||
| 1918 | + "name": "礼仪组长", | ||
| 1919 | + "checked": 0, | ||
| 1920 | + "disabled": 0, | ||
| 1921 | + "type": "user" | ||
| 1922 | + } | ||
| 1923 | + ] | ||
| 1924 | + }, | ||
| 1925 | + { | ||
| 1926 | + "id": 107694, | ||
| 1927 | + "name": "视听组", | ||
| 1928 | + "parent_id": 0, | ||
| 1929 | + "sort": null, | ||
| 1930 | + "checked": 0, | ||
| 1931 | + "disabled": 0, | ||
| 1932 | + "type": "dept", | ||
| 1933 | + "user": [ | ||
| 1934 | + { | ||
| 1935 | + "id": 107714, | ||
| 1936 | + "name": "视听组长", | ||
| 1937 | + "checked": 0, | ||
| 1938 | + "disabled": 0, | ||
| 1939 | + "type": "user" | ||
| 1940 | + } | ||
| 1941 | + ] | ||
| 1942 | + }, | ||
| 1943 | + { | ||
| 1944 | + "id": 107688, | ||
| 1945 | + "name": "文宣组", | ||
| 1946 | + "parent_id": 0, | ||
| 1947 | + "sort": null, | ||
| 1948 | + "checked": 0, | ||
| 1949 | + "disabled": 0, | ||
| 1950 | + "type": "dept", | ||
| 1951 | + "user": [ | ||
| 1952 | + { | ||
| 1953 | + "id": 107711, | ||
| 1954 | + "name": "文宣组长", | ||
| 1955 | + "checked": 0, | ||
| 1956 | + "disabled": 0, | ||
| 1957 | + "type": "user" | ||
| 1958 | + } | ||
| 1959 | + ] | ||
| 1960 | + }, | ||
| 1961 | + { | ||
| 1962 | + "id": 107699, | ||
| 1963 | + "name": "物资组", | ||
| 1964 | + "parent_id": 0, | ||
| 1965 | + "sort": null, | ||
| 1966 | + "checked": 0, | ||
| 1967 | + "disabled": 0, | ||
| 1968 | + "type": "dept", | ||
| 1969 | + "user": [ | ||
| 1970 | + { | ||
| 1971 | + "id": 107720, | ||
| 1972 | + "name": "物资组长", | ||
| 1973 | + "checked": 0, | ||
| 1974 | + "disabled": 0, | ||
| 1975 | + "type": "user" | ||
| 1976 | + } | ||
| 1977 | + ] | ||
| 1978 | + }, | ||
| 1979 | + { | ||
| 1980 | + "id": 83253, | ||
| 1981 | + "name": "西园1组", | ||
| 1982 | + "parent_id": 0, | ||
| 1983 | + "sort": null, | ||
| 1984 | + "checked": 0, | ||
| 1985 | + "disabled": 0, | ||
| 1986 | + "type": "dept", | ||
| 1987 | + "user": [ | ||
| 1988 | + { | ||
| 1989 | + "id": 83246, | ||
| 1990 | + "name": "场地自检", | ||
| 1991 | + "checked": 0, | ||
| 1992 | + "disabled": 0, | ||
| 1993 | + "type": "user" | ||
| 1994 | + } | ||
| 1995 | + ] | ||
| 1996 | + }, | ||
| 1997 | + { | ||
| 1998 | + "id": 107687, | ||
| 1999 | + "name": "洗碗组", | ||
| 2000 | + "parent_id": 0, | ||
| 2001 | + "sort": null, | ||
| 2002 | + "checked": 0, | ||
| 2003 | + "disabled": 0, | ||
| 2004 | + "type": "dept", | ||
| 2005 | + "user": [ | ||
| 2006 | + { | ||
| 2007 | + "id": 107702, | ||
| 2008 | + "name": "餐饮组长", | ||
| 2009 | + "checked": 0, | ||
| 2010 | + "disabled": 0, | ||
| 2011 | + "type": "user" | ||
| 2012 | + }, | ||
| 2013 | + { | ||
| 2014 | + "id": 107710, | ||
| 2015 | + "name": "洗碗组长", | ||
| 2016 | + "checked": 0, | ||
| 2017 | + "disabled": 0, | ||
| 2018 | + "type": "user" | ||
| 2019 | + } | ||
| 2020 | + ] | ||
| 2021 | + }, | ||
| 2022 | + { | ||
| 2023 | + "id": 82717, | ||
| 2024 | + "name": "修学服务中心", | ||
| 2025 | + "parent_id": 0, | ||
| 2026 | + "sort": null, | ||
| 2027 | + "checked": 0, | ||
| 2028 | + "disabled": 0, | ||
| 2029 | + "type": "dept", | ||
| 2030 | + "user": [ | ||
| 2031 | + { | ||
| 2032 | + "id": 792970, | ||
| 2033 | + "name": "djz", | ||
| 2034 | + "checked": 0, | ||
| 2035 | + "disabled": 0, | ||
| 2036 | + "type": "user" | ||
| 2037 | + }, | ||
| 2038 | + { | ||
| 2039 | + "id": 82984, | ||
| 2040 | + "name": "xhuixue", | ||
| 2041 | + "checked": 0, | ||
| 2042 | + "disabled": 0, | ||
| 2043 | + "type": "user" | ||
| 2044 | + }, | ||
| 2045 | + { | ||
| 2046 | + "id": 82985, | ||
| 2047 | + "name": "慧雪", | ||
| 2048 | + "checked": 0, | ||
| 2049 | + "disabled": 0, | ||
| 2050 | + "type": "user" | ||
| 2051 | + } | ||
| 2052 | + ] | ||
| 2053 | + }, | ||
| 2054 | + { | ||
| 2055 | + "id": 107696, | ||
| 2056 | + "name": "医务组", | ||
| 2057 | + "parent_id": 0, | ||
| 2058 | + "sort": null, | ||
| 2059 | + "checked": 0, | ||
| 2060 | + "disabled": 0, | ||
| 2061 | + "type": "dept", | ||
| 2062 | + "user": [ | ||
| 2063 | + { | ||
| 2064 | + "id": 107716, | ||
| 2065 | + "name": "医务组长", | ||
| 2066 | + "checked": 0, | ||
| 2067 | + "disabled": 0, | ||
| 2068 | + "type": "user" | ||
| 2069 | + } | ||
| 2070 | + ] | ||
| 2071 | + }, | ||
| 2072 | + { | ||
| 2073 | + "id": 79124, | ||
| 2074 | + "name": "营员组长", | ||
| 2075 | + "parent_id": 0, | ||
| 2076 | + "sort": null, | ||
| 2077 | + "checked": 0, | ||
| 2078 | + "disabled": 0, | ||
| 2079 | + "type": "dept", | ||
| 2080 | + "user": [ | ||
| 2081 | + { | ||
| 2082 | + "id": 79125, | ||
| 2083 | + "name": "组长", | ||
| 2084 | + "checked": 0, | ||
| 2085 | + "disabled": 0, | ||
| 2086 | + "type": "user" | ||
| 2087 | + } | ||
| 2088 | + ] | ||
| 2089 | + }, | ||
| 2090 | + { | ||
| 2091 | + "id": 107689, | ||
| 2092 | + "name": "迎请组", | ||
| 2093 | + "parent_id": 0, | ||
| 2094 | + "sort": null, | ||
| 2095 | + "checked": 0, | ||
| 2096 | + "disabled": 0, | ||
| 2097 | + "type": "dept", | ||
| 2098 | + "user": [ | ||
| 2099 | + { | ||
| 2100 | + "id": 107712, | ||
| 2101 | + "name": "迎请组长", | ||
| 2102 | + "checked": 0, | ||
| 2103 | + "disabled": 0, | ||
| 2104 | + "type": "user" | ||
| 2105 | + } | ||
| 2106 | + ] | ||
| 2107 | + }, | ||
| 2108 | + { | ||
| 2109 | + "id": 107700, | ||
| 2110 | + "name": "主持组", | ||
| 2111 | + "parent_id": 0, | ||
| 2112 | + "sort": null, | ||
| 2113 | + "checked": 0, | ||
| 2114 | + "disabled": 0, | ||
| 2115 | + "type": "dept", | ||
| 2116 | + "user": [ | ||
| 2117 | + { | ||
| 2118 | + "id": 107721, | ||
| 2119 | + "name": "主持组长", | ||
| 2120 | + "checked": 0, | ||
| 2121 | + "disabled": 0, | ||
| 2122 | + "type": "user" | ||
| 2123 | + } | ||
| 2124 | + ] | ||
| 2125 | + } | ||
| 2126 | + ] | ||
| 2127 | + } | ||
| 2128 | +] |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-08-29 14:31:20 | 2 | * @Date: 2022-08-29 14:31:20 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-05-29 14:19:52 | 4 | + * @LastEditTime: 2024-05-31 00:19:33 |
| 5 | * @FilePath: /data-table/src/components/TreeField/index.vue | 5 | * @FilePath: /data-table/src/components/TreeField/index.vue |
| 6 | * @Description: 树形组件 | 6 | * @Description: 树形组件 |
| 7 | --> | 7 | --> |
| ... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
| 15 | <van-popup | 15 | <van-popup |
| 16 | v-model:show="showBottom" | 16 | v-model:show="showBottom" |
| 17 | position="bottom" | 17 | position="bottom" |
| 18 | - :style="{ height: '80vh' }" | 18 | + :style="{ height: '90vh' }" |
| 19 | > | 19 | > |
| 20 | <div v-if="!is_search" class="search-box" @click="onSearchFocus"> | 20 | <div v-if="!is_search" class="search-box" @click="onSearchFocus"> |
| 21 | <van-icon name="search" size="1.1rem" /> 点击搜索 | 21 | <van-icon name="search" size="1.1rem" /> 点击搜索 |
| ... | @@ -26,21 +26,29 @@ | ... | @@ -26,21 +26,29 @@ |
| 26 | </template> | 26 | </template> |
| 27 | </van-field> | 27 | </van-field> |
| 28 | 28 | ||
| 29 | - <div> | 29 | + <div class="select-box"> |
| 30 | - {{ value }} | 30 | + <div class="select-item" v-for="(dept) in checkedGroup.dept" :key="dept.id"> |
| 31 | + {{ dept.name }} <van-icon @click="onRemoveDeptTag(dept)" name="close" /> | ||
| 32 | + </div> | ||
| 33 | + <div class="select-item" v-for="(role) in checkedGroup.role" :key="role.id"> | ||
| 34 | + {{ role.name }} <van-icon @click="onRemoveRoleTag(role)" name="close" /> | ||
| 35 | + </div> | ||
| 36 | + <div class="select-item" v-for="(user) in checkedGroup.user" :key="user.id"> | ||
| 37 | + {{ user.name }} <van-icon @click="onRemoveUserTag(user)" name="close" /> | ||
| 38 | + </div> | ||
| 31 | </div> | 39 | </div> |
| 32 | 40 | ||
| 33 | - <div v-if="!is_search" class="tab-tree-container"> | 41 | + <div v-show="!is_search" class="tab-tree-container"> |
| 34 | - <van-tabs :color="styleColor.baseColor" v-model:active="tabActive" @click-tab="onClickTab" style="margin-bottom: 1rem;"> | 42 | + <van-tabs ref="tabRef" :color="styleColor.baseColor" v-model:active="tabActive" @click-tab="onClickTab" style="margin-bottom: 1rem;"> |
| 35 | - <van-tab title="组织结构"></van-tab> | 43 | + <van-tab title="组织结构" :name="0"></van-tab> |
| 36 | - <van-tab title="角色"></van-tab> | 44 | + <van-tab title="角色" :name="1"></van-tab> |
| 37 | - <van-tab title="成员"></van-tab> | 45 | + <van-tab title="成员" :name="2"></van-tab> |
| 38 | </van-tabs> | 46 | </van-tabs> |
| 39 | 47 | ||
| 40 | - <div v-if="tabActive === 0" style="padding: 0 0 1rem 1rem;"> | 48 | + <div v-show="tabActive === 0" style="padding: 0 0 1rem 1rem;"> |
| 41 | <Vtree | 49 | <Vtree |
| 42 | - ref="orgTreeRef" | 50 | + ref="deptTreeRef" |
| 43 | - v-model="select_org_value" | 51 | + v-model="select_dept_value" |
| 44 | checkable | 52 | checkable |
| 45 | titleField="name" | 53 | titleField="name" |
| 46 | keyField="id" | 54 | keyField="id" |
| ... | @@ -51,6 +59,7 @@ | ... | @@ -51,6 +59,7 @@ |
| 51 | :defaultExpandAll="false" | 59 | :defaultExpandAll="false" |
| 52 | @search="searchMethod" | 60 | @search="searchMethod" |
| 53 | @checked-change="checkedChangeMethod" | 61 | @checked-change="checkedChangeMethod" |
| 62 | + style=" height: 60vh; overflow: scroll;" | ||
| 54 | > | 63 | > |
| 55 | <span slot="empty">暂无数据</span> | 64 | <span slot="empty">暂无数据</span> |
| 56 | </Vtree> | 65 | </Vtree> |
| ... | @@ -59,14 +68,23 @@ | ... | @@ -59,14 +68,23 @@ |
| 59 | <div v-if="tabActive === 1" style="padding: 0 0 1rem 1rem;"> | 68 | <div v-if="tabActive === 1" style="padding: 0 0 1rem 1rem;"> |
| 60 | <van-checkbox-group | 69 | <van-checkbox-group |
| 61 | v-model="role_checked" | 70 | v-model="role_checked" |
| 71 | + @change="roleChangeMethod" | ||
| 62 | > | 72 | > |
| 63 | - <van-checkbox v-for="(role, index) in roleList" :key="index" :name="role.id" shape="square" icon-size="13px" :checked-color="styleColor.baseColor" style="margin-bottom: 0.5rem;">{{ role.name }}</van-checkbox> | 73 | + <van-checkbox |
| 74 | + v-for="(role, index) in roleList" | ||
| 75 | + :key="index" | ||
| 76 | + :name="role.id" | ||
| 77 | + shape="square" | ||
| 78 | + icon-size="13px" | ||
| 79 | + :checked-color="styleColor.baseColor" | ||
| 80 | + style="margin-bottom: 0.5rem;" | ||
| 81 | + >{{ role.name }}</van-checkbox> | ||
| 64 | </van-checkbox-group> | 82 | </van-checkbox-group> |
| 65 | </div> | 83 | </div> |
| 66 | 84 | ||
| 67 | <div v-if="tabActive === 2" style="padding: 0 0 0 1rem;"> | 85 | <div v-if="tabActive === 2" style="padding: 0 0 0 1rem;"> |
| 68 | <van-row gutter=""> | 86 | <van-row gutter=""> |
| 69 | - <van-col span="10" style="border-right: 1px solid #eee; height: 70vh; max-height: 60vh; overflow: scroll;"> | 87 | + <van-col span="10" style="border-right: 1px solid #eee; height: 60vh; overflow: scroll;"> |
| 70 | <Vtree | 88 | <Vtree |
| 71 | ref="memberTreeRef" | 89 | ref="memberTreeRef" |
| 72 | v-model="select_member_value" | 90 | v-model="select_member_value" |
| ... | @@ -76,38 +94,94 @@ | ... | @@ -76,38 +94,94 @@ |
| 76 | :expandOnFilter="false" | 94 | :expandOnFilter="false" |
| 77 | :showCheckedButton="false" | 95 | :showCheckedButton="false" |
| 78 | @update:modelValue="() => {}" | 96 | @update:modelValue="() => {}" |
| 97 | + @click="onNodeClick" | ||
| 79 | > | 98 | > |
| 80 | <span slot="empty">暂无数据</span> | 99 | <span slot="empty">暂无数据</span> |
| 81 | </Vtree> | 100 | </Vtree> |
| 82 | </van-col> | 101 | </van-col> |
| 83 | <van-col span="14"> | 102 | <van-col span="14"> |
| 84 | - <!-- {{ select_member_value }} --> | ||
| 85 | <van-checkbox-group | 103 | <van-checkbox-group |
| 86 | v-model="member_checked" | 104 | v-model="member_checked" |
| 87 | style="padding: 0 0 1rem 1rem;" | 105 | style="padding: 0 0 1rem 1rem;" |
| 106 | + @change="onMemberChange" | ||
| 88 | > | 107 | > |
| 89 | - <van-checkbox v-for="(member, index) in memberList" :key="index" :name="member.id" shape="square" icon-size="13px" :checked-color="styleColor.baseColor" style="margin-bottom: 0.5rem;">{{ member.name }}</van-checkbox> | 108 | + <van-checkbox |
| 109 | + | ||
| 110 | + @click="onCheckMemberChange(member, $event)" | ||
| 111 | + v-for="(member, index) in memberList" | ||
| 112 | + :id="member.id" | ||
| 113 | + :type="member.type" | ||
| 114 | + :text="member.name" | ||
| 115 | + :key="index" | ||
| 116 | + :name="member.id" | ||
| 117 | + shape="square" | ||
| 118 | + icon-size="13px" | ||
| 119 | + :checked-color="styleColor.baseColor" style="margin-bottom: 0.5rem;">{{ member.name }}</van-checkbox> | ||
| 90 | </van-checkbox-group> | 120 | </van-checkbox-group> |
| 91 | </van-col> | 121 | </van-col> |
| 92 | </van-row> | 122 | </van-row> |
| 93 | </div> | 123 | </div> |
| 94 | </div> | 124 | </div> |
| 95 | 125 | ||
| 96 | - <div v-else class="search-container"> | 126 | + <div v-show="is_search" class="search-container"> |
| 127 | + <van-checkbox-group | ||
| 128 | + v-model="search_result_checked" | ||
| 129 | + style="padding: 0 0 1rem 1rem;" | ||
| 130 | + @change="onSearchResultChange" | ||
| 131 | + > | ||
| 97 | <div> | 132 | <div> |
| 98 | <p>部门</p> | 133 | <p>部门</p> |
| 99 | - <div>1</div> | 134 | + <div> |
| 135 | + <van-checkbox | ||
| 136 | + @click="onSearchDeptChange(dept, $event)" | ||
| 137 | + v-for="(dept) in user_dept_role.dept" | ||
| 138 | + :id="dept.id" | ||
| 139 | + :type="dept.type" | ||
| 140 | + :text="dept.name" | ||
| 141 | + :key="dept.id" | ||
| 142 | + :name="dept.id" | ||
| 143 | + shape="square" icon-size="13px" :checked-color="styleColor.baseColor" style="margin-bottom: 0.5rem;"> | ||
| 144 | + {{ dept.name }} | ||
| 145 | + </van-checkbox> | ||
| 146 | + </div> | ||
| 100 | </div> | 147 | </div> |
| 101 | <div> | 148 | <div> |
| 102 | <p>角色</p> | 149 | <p>角色</p> |
| 103 | - <div>2</div> | 150 | + <div> |
| 151 | + <van-checkbox | ||
| 152 | + @click="onSearchRoleChange(role, $event)" | ||
| 153 | + v-for="(role) in user_dept_role.role" | ||
| 154 | + :id="role.id" | ||
| 155 | + :type="role.type" | ||
| 156 | + :text="role.name" | ||
| 157 | + :key="role.id" | ||
| 158 | + :name="role.id" | ||
| 159 | + shape="square" icon-size="13px" :checked-color="styleColor.baseColor" style="margin-bottom: 0.8rem;"> | ||
| 160 | + {{ role.name }} | ||
| 161 | + </van-checkbox> | ||
| 162 | + </div> | ||
| 104 | </div> | 163 | </div> |
| 105 | <div> | 164 | <div> |
| 106 | <p>成员</p> | 165 | <p>成员</p> |
| 107 | - <div>3</div> | 166 | + <div> |
| 167 | + <van-checkbox | ||
| 168 | + @click="onSearchUserChange(user, $event)" | ||
| 169 | + v-for="(user) in user_dept_role.user" | ||
| 170 | + :id="user.id" | ||
| 171 | + :type="user.type" | ||
| 172 | + :text="user.name" | ||
| 173 | + :key="user.id" | ||
| 174 | + :name="user.id" | ||
| 175 | + shape="square" icon-size="13px" :checked-color="styleColor.baseColor" style="margin-bottom: 0.5rem;"> | ||
| 176 | + {{ user.name }} | ||
| 177 | + </van-checkbox> | ||
| 108 | </div> | 178 | </div> |
| 109 | </div> | 179 | </div> |
| 110 | 180 | ||
| 181 | + {{ search_result_checked }} | ||
| 182 | + </van-checkbox-group> | ||
| 183 | + </div> | ||
| 184 | + | ||
| 111 | </van-popup> | 185 | </van-popup> |
| 112 | 186 | ||
| 113 | </div> | 187 | </div> |
| ... | @@ -118,6 +192,11 @@ import { styleColor } from "@/constant.js"; | ... | @@ -118,6 +192,11 @@ import { styleColor } from "@/constant.js"; |
| 118 | // 大家可以根据需要是否引入VTreeNode, VTreeSearch, VTreeDrop | 192 | // 大家可以根据需要是否引入VTreeNode, VTreeSearch, VTreeDrop |
| 119 | import Vtree, { VTreeNode, VTreeSearch, VTreeDrop } from '@wsfe/vue-tree' | 193 | import Vtree, { VTreeNode, VTreeSearch, VTreeDrop } from '@wsfe/vue-tree' |
| 120 | import '@wsfe/vue-tree/style.css'; | 194 | import '@wsfe/vue-tree/style.css'; |
| 195 | +import role_list from './flow_role_list.json' | ||
| 196 | +import dept_list from './flow_dept_list.json' | ||
| 197 | +// import user_dept_role from './user_dept_role.json' | ||
| 198 | +import $ from 'jquery'; | ||
| 199 | +import _ from 'lodash'; | ||
| 121 | 200 | ||
| 122 | const props = defineProps({ | 201 | const props = defineProps({ |
| 123 | item: Object, | 202 | item: Object, |
| ... | @@ -143,38 +222,21 @@ const onCancel = () => { | ... | @@ -143,38 +222,21 @@ const onCancel = () => { |
| 143 | search_value.value = ''; | 222 | search_value.value = ''; |
| 144 | }; | 223 | }; |
| 145 | 224 | ||
| 146 | -const tabActive = ref(2); | 225 | +const tabRef = ref(null); |
| 147 | -const select_org_value = ref(); | 226 | +const tabActive = ref(0); |
| 148 | -const orgTreeRef = ref(); | 227 | +const select_dept_value = ref(); |
| 228 | +const deptTreeRef = ref(); | ||
| 149 | const role_checked = ref([]); | 229 | const role_checked = ref([]); |
| 150 | -const roleList = ref([{ | 230 | +const roleList = ref([]); |
| 151 | - id: 'a', | ||
| 152 | - name: '法务组长', | ||
| 153 | -}, { | ||
| 154 | - id: 'b', | ||
| 155 | - name: '接待组长', | ||
| 156 | -}, { | ||
| 157 | - id: 'c', | ||
| 158 | - name: '场地管理', | ||
| 159 | -}]); | ||
| 160 | const select_member_value = ref(); | 231 | const select_member_value = ref(); |
| 161 | const memberTreeRef = ref(); | 232 | const memberTreeRef = ref(); |
| 162 | const member_checked = ref([]); | 233 | const member_checked = ref([]); |
| 163 | -const memberList = ref([{ | 234 | +const memberList = ref([]); |
| 164 | - id: 'a', | ||
| 165 | - name: '法务组长', | ||
| 166 | -}, { | ||
| 167 | - id: 'b', | ||
| 168 | - name: '接待组长', | ||
| 169 | -}, { | ||
| 170 | - id: 'c', | ||
| 171 | - name: '场地管理', | ||
| 172 | -}]); | ||
| 173 | 235 | ||
| 174 | const onClickTab = ({ title }) => { // tab点击事件 | 236 | const onClickTab = ({ title }) => { // tab点击事件 |
| 175 | if (title === '组织结构') { | 237 | if (title === '组织结构') { |
| 176 | nextTick(() => { | 238 | nextTick(() => { |
| 177 | - orgListReset(); | 239 | + deptListReset(); |
| 178 | }); | 240 | }); |
| 179 | } | 241 | } |
| 180 | if (title === '角色') { | 242 | if (title === '角色') { |
| ... | @@ -235,56 +297,399 @@ const testData = [{ | ... | @@ -235,56 +297,399 @@ const testData = [{ |
| 235 | id: 52 | 297 | id: 52 |
| 236 | }] | 298 | }] |
| 237 | }] | 299 | }] |
| 238 | -}] | 300 | +}]; |
| 301 | + | ||
| 302 | +const checkedGroup = ref({ | ||
| 303 | + dept: [], | ||
| 304 | + role: [], | ||
| 305 | + user: [] | ||
| 306 | +}); | ||
| 307 | + | ||
| 308 | +// 使用watch进行深度监听 | ||
| 309 | +watch( | ||
| 310 | + checkedGroup, | ||
| 311 | + (newCheckedGroup, oldCheckedGroup, onInvalidate) => { | ||
| 312 | + // console.log('checkedGroup changed:', newCheckedGroup); | ||
| 313 | + // role_checked.value = newCheckedGroup.role.map(item => item.id); | ||
| 314 | + // 如果需要在下次更新前清理副作用,可以使用onInvalidate | ||
| 315 | + // onInvalidate(() => { | ||
| 316 | + // console.log('Watch invalidated'); | ||
| 317 | + // }); | ||
| 318 | + }, | ||
| 319 | + { | ||
| 320 | + deep: true, // 深度监听 | ||
| 321 | + immediate: true, // 立即触发回调 | ||
| 322 | + } | ||
| 323 | +); | ||
| 239 | 324 | ||
| 240 | onMounted(() => { | 325 | onMounted(() => { |
| 241 | props.item.value = props.item.component_props.default; | 326 | props.item.value = props.item.component_props.default; |
| 242 | 327 | ||
| 243 | // TODO:获取数据 | 328 | // TODO:获取数据 |
| 244 | - memberTreeRef.value.setData(testData); | 329 | + deptTreeRef.value.setData(role_list); |
| 245 | // 默认展开第一个 | 330 | // 默认展开第一个 |
| 246 | - memberTreeRef.value.setExpand(1, true) | 331 | + deptTreeRef.value.setExpand(35697, true) |
| 332 | + // memberTreeRef.value.setData(testData); | ||
| 333 | + // // 默认展开第一个 | ||
| 334 | + // memberTreeRef.value.setExpand(1, true) | ||
| 247 | }); | 335 | }); |
| 248 | 336 | ||
| 249 | const searchMethod = (value) => { | 337 | const searchMethod = (value) => { |
| 250 | console.log(value) | 338 | console.log(value) |
| 251 | } | 339 | } |
| 252 | 340 | ||
| 253 | -const checkedChangeMethod = (value) => { | 341 | +const checkedChangeMethod = (arr) => { |
| 254 | - console.log(value) | 342 | + let list = []; |
| 255 | - // console.log(orgTreeRef.value.getCheckedNodes()) | 343 | + arr.forEach((item) => { |
| 344 | + list.push({ | ||
| 345 | + id: item.id, | ||
| 346 | + name: item.name | ||
| 347 | + }) | ||
| 348 | + }) | ||
| 349 | + // console.log(deptTreeRef.value.getCheckedNodes()) | ||
| 350 | + // checkedGroup.value.dept = []; | ||
| 351 | + checkedGroup.value.dept = list; | ||
| 256 | } | 352 | } |
| 257 | 353 | ||
| 258 | const is_search = ref(false); // 默认不显示搜索框 | 354 | const is_search = ref(false); // 默认不显示搜索框 |
| 259 | 355 | ||
| 260 | const onSearchBlur = () => { // 搜索框失去焦点 | 356 | const onSearchBlur = () => { // 搜索框失去焦点 |
| 261 | - | 357 | + // search_result_checked.value = [] |
| 262 | } | 358 | } |
| 359 | + | ||
| 263 | const onSearchFocus = () => { // 搜索框获取焦点 | 360 | const onSearchFocus = () => { // 搜索框获取焦点 |
| 264 | is_search.value = true; | 361 | is_search.value = true; |
| 265 | nextTick(() => { | 362 | nextTick(() => { |
| 266 | searchInputRef.value.focus() | 363 | searchInputRef.value.focus() |
| 267 | }) | 364 | }) |
| 365 | + // 角色选中 | ||
| 366 | + let dept = checkedGroup.value.dept.map(item => item.id); | ||
| 367 | + let role = checkedGroup.value.role.map(item => item.id); | ||
| 368 | + let user = checkedGroup.value.user.map(item => item.id); | ||
| 369 | + search_result_checked.value = [...dept, ...role, ...user]; | ||
| 268 | } | 370 | } |
| 269 | 371 | ||
| 270 | -const onCloseSearch = () => { | 372 | +const onCloseSearch = () => { // 搜索关闭按钮 |
| 373 | + tabActive.value = 0 | ||
| 271 | is_search.value = false; | 374 | is_search.value = false; |
| 375 | + // 组织结构勾选状态还原 | ||
| 376 | + deptTreeRef.value?.setCheckedKeys(checkedGroup.value.dept.map(item => item.id), true); | ||
| 377 | + // console.warn(checkedGroup.value.role); | ||
| 378 | + // 角色选中 | ||
| 379 | + role_checked.value = checkedGroup.value.role.map(item => item.id); | ||
| 380 | + // | ||
| 381 | + member_checked.value = checkedGroup.value.user.map(item => item.id) | ||
| 272 | } | 382 | } |
| 273 | 383 | ||
| 274 | const searchInputRef = ref(null); | 384 | const searchInputRef = ref(null); |
| 275 | 385 | ||
| 276 | -const orgListReset = () => { // 组织重置列表 | 386 | +const deptListReset = () => { // 组织重置列表 |
| 277 | - orgTreeRef.value.setData(testData); | 387 | + deptTreeRef.value.setData(role_list); |
| 278 | 388 | ||
| 279 | - orgTreeRef.value.setExpand(1, true) | 389 | + deptTreeRef.value.setExpand(35697, true) |
| 280 | } | 390 | } |
| 281 | const roleListReset = () => { | 391 | const roleListReset = () => { |
| 282 | - | 392 | + roleList.value = dept_list; |
| 283 | } | 393 | } |
| 284 | const memberListReset = () => { | 394 | const memberListReset = () => { |
| 285 | - memberTreeRef.value.setData(testData); | 395 | + memberTreeRef.value.setData(role_list); |
| 396 | + | ||
| 397 | + memberTreeRef.value.setExpand(35697, true) | ||
| 398 | +} | ||
| 399 | + | ||
| 400 | +const onNodeClick = (node) => { | ||
| 401 | + // console.warn(node); | ||
| 402 | + console.warn(checkedGroup.value.user); | ||
| 403 | + // console.warn(node.user); | ||
| 404 | + memberList.value = node.user; | ||
| 405 | + member_checked.value = checkedGroup.value.user.map(item => item.id) | ||
| 406 | +} | ||
| 407 | + | ||
| 408 | +const roleChangeMethod = (val) => { // 角色多选组点击回调 | ||
| 409 | + let list = []; | ||
| 410 | + roleList.value.forEach((item) => { | ||
| 411 | + val.forEach((v) => { | ||
| 412 | + if (item.id === v) { | ||
| 413 | + list.push({ | ||
| 414 | + id: v, | ||
| 415 | + name: item.name | ||
| 416 | + }) | ||
| 417 | + } | ||
| 418 | + }) | ||
| 419 | + }); | ||
| 420 | + // | ||
| 421 | + // checkedGroup.value.role = []; | ||
| 422 | + checkedGroup.value.role = list; | ||
| 423 | +} | ||
| 286 | 424 | ||
| 287 | - memberTreeRef.value.setExpand(1, true) | 425 | +const onChange = (val) => { |
| 426 | + console.warn(memberList.value); | ||
| 427 | +} | ||
| 428 | + | ||
| 429 | +const roleTreeList = ref(role_list); | ||
| 430 | + | ||
| 431 | +const onMemberChange = (val) => { // 成员多选组点击回调 | ||
| 432 | + // memberList.value.forEach(item => { | ||
| 433 | + // if (val.includes(item.id)) { | ||
| 434 | + // item.checked = true; | ||
| 435 | + // } else { | ||
| 436 | + // item.checked = false; | ||
| 437 | + // } | ||
| 438 | + // }); | ||
| 439 | + | ||
| 440 | + // checkedGroup.value.user = member_checked.value; | ||
| 441 | +} | ||
| 442 | + | ||
| 443 | +const onRemoveDeptTag = (dept) => { // 移除部门标签 | ||
| 444 | + // 移除选中框显示 | ||
| 445 | + const index = checkedGroup.value.dept.indexOf(dept); | ||
| 446 | + checkedGroup.value.dept.splice(index, 1); | ||
| 447 | + // 组织结构移除对应ID | ||
| 448 | + deptTreeRef.value?.setChecked(dept.id, false); | ||
| 449 | + // 移除搜索结果选中显示 | ||
| 450 | + const idx = search_result_checked.value.indexOf(dept); | ||
| 451 | + search_result_checked.value.splice(idx, 1); | ||
| 452 | +} | ||
| 453 | + | ||
| 454 | +const onRemoveRoleTag = (role) => { // 移除角色标签 | ||
| 455 | + const index = checkedGroup.value.role.indexOf(role); | ||
| 456 | + checkedGroup.value.role.splice(index, 1); | ||
| 457 | + // | ||
| 458 | + const idx = role_checked.value.indexOf(role); | ||
| 459 | + role_checked.value.splice(index, 1); | ||
| 460 | + // 移除搜索结果选中显示 | ||
| 461 | + const i = search_result_checked.value.indexOf(role); | ||
| 462 | + search_result_checked.value.splice(i, 1); | ||
| 463 | +} | ||
| 464 | + | ||
| 465 | +const onRemoveUserTag = (user) => { // 移除成员标签 | ||
| 466 | + console.warn(user); | ||
| 467 | + const index = checkedGroup.value.user.indexOf(user); | ||
| 468 | + checkedGroup.value.user.splice(index, 1); | ||
| 469 | + // | ||
| 470 | + const idx = member_checked.value.indexOf(user); | ||
| 471 | + member_checked.value.splice(index, 1); | ||
| 472 | + // 移除搜索结果选中显示 | ||
| 473 | + const i = search_result_checked.value.indexOf(user); | ||
| 474 | + search_result_checked.value.splice(i, 1); | ||
| 475 | +} | ||
| 476 | + | ||
| 477 | +const user_dept_role = ref({ | ||
| 478 | + "dept": [ | ||
| 479 | + { | ||
| 480 | + "type": "dept", | ||
| 481 | + "name": "男10组", | ||
| 482 | + "id": 137571 | ||
| 483 | + }, { | ||
| 484 | + "type": "dept", | ||
| 485 | + "name": "主持组", | ||
| 486 | + "id": 107700 | ||
| 487 | + } | ||
| 488 | + ], | ||
| 489 | + "role": [ | ||
| 490 | + { | ||
| 491 | + "type": "role", | ||
| 492 | + "name": "八关斋戒", | ||
| 493 | + "id": 624337 | ||
| 494 | + }, | ||
| 495 | + { | ||
| 496 | + "id": 82983, | ||
| 497 | + "name": "场地管理", | ||
| 498 | + "type": "role" | ||
| 499 | + } | ||
| 500 | + ], | ||
| 501 | + "user": [ | ||
| 502 | + { | ||
| 503 | + "id": 137918, | ||
| 504 | + "name": "10组寝室长", | ||
| 505 | + "type": "user" | ||
| 506 | + }, | ||
| 507 | + { | ||
| 508 | + "id": 137919, | ||
| 509 | + "name": "11组寝室长", | ||
| 510 | + "type": "user" | ||
| 511 | + } | ||
| 512 | + ] | ||
| 513 | +}); | ||
| 514 | + | ||
| 515 | +const search_result_checked = ref([]); | ||
| 516 | + | ||
| 517 | +// watch( | ||
| 518 | +// search_result_checked | ||
| 519 | +// ,(newVal, oldVal) => { | ||
| 520 | +// console.warn(newVal); | ||
| 521 | +// console.warn(oldVal); | ||
| 522 | +// }, { | ||
| 523 | +// deep: true, | ||
| 524 | +// }) | ||
| 525 | + | ||
| 526 | +const onSearchResultChange = (val) => { // 监听搜索结果集点击回调,结果集为选中项 | ||
| 527 | + // console.warn(val); | ||
| 528 | + // val.forEach((item) => { // 把选中项合并到显示框中 | ||
| 529 | + // if (item.type === 'dept') { // 部门 | ||
| 530 | + // checkedGroup.value.dept.push(item); | ||
| 531 | + // checkedGroup.value.dept = _.uniqBy(checkedGroup.value.dept, 'id'); | ||
| 532 | + // } | ||
| 533 | + // if (item.type === 'role') { // 角色 | ||
| 534 | + // checkedGroup.value.role.push(item); | ||
| 535 | + // checkedGroup.value.role = _.uniqBy(checkedGroup.value.role, 'id'); | ||
| 536 | + // } | ||
| 537 | + // if (item.type === 'user') { // 成员 | ||
| 538 | + // checkedGroup.value.user.push(item); | ||
| 539 | + // checkedGroup.value.user = _.uniqBy(checkedGroup.value.user, 'id'); | ||
| 540 | + // } | ||
| 541 | + // }); | ||
| 542 | +} | ||
| 543 | + | ||
| 544 | +const onSearchDeptChange = (val, evt) => { | ||
| 545 | + nextTick(() => { | ||
| 546 | + let checked = false; | ||
| 547 | + let id = ''; | ||
| 548 | + let name = ''; | ||
| 549 | + let type = ''; | ||
| 550 | + if ($(evt.target).attr('aria-checked') === undefined) { | ||
| 551 | + checked = $(evt.target).parents('.van-checkbox').attr('aria-checked'); | ||
| 552 | + id = $(evt.target).parents('.van-checkbox').attr('id'); | ||
| 553 | + name = $(evt.target).parents('.van-checkbox').attr('text'); | ||
| 554 | + type = $(evt.target).parents('.van-checkbox').attr('type'); | ||
| 555 | + } else { | ||
| 556 | + checked = $(evt.target).attr('aria-checked'); | ||
| 557 | + id = $(evt.target).attr('id'); | ||
| 558 | + name = $(evt.target).attr('text'); | ||
| 559 | + type = $(evt.target).attr('type'); | ||
| 560 | + } | ||
| 561 | + let obj = { | ||
| 562 | + id: +id, | ||
| 563 | + name, | ||
| 564 | + type | ||
| 565 | + } | ||
| 566 | + checkedGroup.value.dept.push(obj); | ||
| 567 | + checkedGroup.value.dept = _.uniqBy(checkedGroup.value.dept, 'id'); | ||
| 568 | + // | ||
| 569 | + if (checked === 'false') { | ||
| 570 | + if (val.type === 'dept') { | ||
| 571 | + console.warn(obj); | ||
| 572 | + const index = checkedGroup.value.dept.findIndex(dept => dept.id === obj.id); | ||
| 573 | + checkedGroup.value.dept.splice(index, 1); | ||
| 574 | + // 移除搜索结果选中显示 | ||
| 575 | + // const idx = search_result_checked.value.indexOf(obj); | ||
| 576 | + // search_result_checked.value.splice(idx, 1); | ||
| 577 | + // 组织结构移除对应ID | ||
| 578 | + deptTreeRef.value?.setChecked(obj.id, false); | ||
| 579 | + } | ||
| 580 | + } | ||
| 581 | + }) | ||
| 582 | +} | ||
| 583 | +const onSearchRoleChange = (val, evt) => { | ||
| 584 | + nextTick(() => { | ||
| 585 | + let checked = false; | ||
| 586 | + let id = ''; | ||
| 587 | + let name = ''; | ||
| 588 | + let type = ''; | ||
| 589 | + if ($(evt.target).attr('aria-checked') === undefined) { | ||
| 590 | + checked = $(evt.target).parents('.van-checkbox').attr('aria-checked'); | ||
| 591 | + id = $(evt.target).parents('.van-checkbox').attr('id'); | ||
| 592 | + name = $(evt.target).parents('.van-checkbox').attr('text'); | ||
| 593 | + type = $(evt.target).parents('.van-checkbox').attr('type'); | ||
| 594 | + } else { | ||
| 595 | + checked = $(evt.target).attr('aria-checked'); | ||
| 596 | + id = $(evt.target).attr('id'); | ||
| 597 | + name = $(evt.target).attr('text'); | ||
| 598 | + type = $(evt.target).attr('type'); | ||
| 599 | + } | ||
| 600 | + let obj = { | ||
| 601 | + id: +id, | ||
| 602 | + name, | ||
| 603 | + type | ||
| 604 | + } | ||
| 605 | + checkedGroup.value.role.push(obj); | ||
| 606 | + checkedGroup.value.role = _.uniqBy(checkedGroup.value.role, 'id'); | ||
| 607 | + // | ||
| 608 | + if (checked === 'false') { | ||
| 609 | + if (val.type === 'role') { | ||
| 610 | + const index = checkedGroup.value.role.findIndex(role => role.id === obj.id); | ||
| 611 | + checkedGroup.value.role.splice(index, 1); | ||
| 612 | + // const idx = role_checked.value.indexOf(obj); | ||
| 613 | + // role_checked.value.splice(index, 1); | ||
| 614 | + // 移除搜索结果选中显示 | ||
| 615 | + // const i = search_result_checked.value.indexOf(obj); | ||
| 616 | + // search_result_checked.value.splice(i, 1); | ||
| 617 | + } | ||
| 618 | + } | ||
| 619 | + }) | ||
| 620 | +} | ||
| 621 | +const onSearchUserChange = (val, evt) => { | ||
| 622 | + nextTick(() => { | ||
| 623 | + let checked = false; | ||
| 624 | + let id = ''; | ||
| 625 | + let name = ''; | ||
| 626 | + let type = ''; | ||
| 627 | + if ($(evt.target).attr('aria-checked') === undefined) { | ||
| 628 | + checked = $(evt.target).parents('.van-checkbox').attr('aria-checked'); | ||
| 629 | + id = $(evt.target).parents('.van-checkbox').attr('id'); | ||
| 630 | + name = $(evt.target).parents('.van-checkbox').attr('text'); | ||
| 631 | + type = $(evt.target).parents('.van-checkbox').attr('type'); | ||
| 632 | + } else { | ||
| 633 | + checked = $(evt.target).attr('aria-checked'); | ||
| 634 | + id = $(evt.target).attr('id'); | ||
| 635 | + name = $(evt.target).attr('text'); | ||
| 636 | + type = $(evt.target).attr('type'); | ||
| 637 | + } | ||
| 638 | + let obj = { | ||
| 639 | + id: +id, | ||
| 640 | + name, | ||
| 641 | + type | ||
| 642 | + } | ||
| 643 | + checkedGroup.value.user.push(obj); | ||
| 644 | + checkedGroup.value.user = _.uniqBy(checkedGroup.value.user, 'id'); | ||
| 645 | + // | ||
| 646 | + if (checked === 'false') { | ||
| 647 | + if (val.type === 'user') { | ||
| 648 | + const index = checkedGroup.value.user.findIndex(user => user.id === obj.id); | ||
| 649 | + checkedGroup.value.user.splice(index, 1); | ||
| 650 | + // // | ||
| 651 | + // const idx = member_checked.value.indexOf(obj); | ||
| 652 | + // member_checked.value.splice(index, 1); | ||
| 653 | + // // 移除搜索结果选中显示 | ||
| 654 | + // const i = search_result_checked.value.indexOf(obj); | ||
| 655 | + // search_result_checked.value.splice(i, 1); | ||
| 656 | + } | ||
| 657 | + } | ||
| 658 | + }) | ||
| 659 | +} | ||
| 660 | + | ||
| 661 | +const onCheckMemberChange = (val, evt) => { | ||
| 662 | + nextTick(() => { | ||
| 663 | + let checked = false; | ||
| 664 | + let id = ''; | ||
| 665 | + let name = ''; | ||
| 666 | + let type = ''; | ||
| 667 | + if ($(evt.target).attr('aria-checked') === undefined) { | ||
| 668 | + checked = $(evt.target).parents('.van-checkbox').attr('aria-checked'); | ||
| 669 | + id = $(evt.target).parents('.van-checkbox').attr('id'); | ||
| 670 | + name = $(evt.target).parents('.van-checkbox').attr('text'); | ||
| 671 | + type = $(evt.target).parents('.van-checkbox').attr('type'); | ||
| 672 | + } else { | ||
| 673 | + checked = $(evt.target).attr('aria-checked'); | ||
| 674 | + id = $(evt.target).attr('id'); | ||
| 675 | + name = $(evt.target).attr('text'); | ||
| 676 | + type = $(evt.target).attr('type'); | ||
| 677 | + } | ||
| 678 | + let obj = { | ||
| 679 | + id: +id, | ||
| 680 | + name, | ||
| 681 | + type | ||
| 682 | + } | ||
| 683 | + checkedGroup.value.user.push(obj); | ||
| 684 | + checkedGroup.value.user = _.uniqBy(checkedGroup.value.user, 'id'); | ||
| 685 | + // | ||
| 686 | + if (checked === 'false') { | ||
| 687 | + if (val.type === 'user') { | ||
| 688 | + const index = checkedGroup.value.user.indexOf(val); | ||
| 689 | + checkedGroup.value.user.splice(index, 1); | ||
| 690 | + } | ||
| 691 | + } | ||
| 692 | + }) | ||
| 288 | } | 693 | } |
| 289 | </script> | 694 | </script> |
| 290 | 695 | ||
| ... | @@ -339,4 +744,27 @@ const memberListReset = () => { | ... | @@ -339,4 +744,27 @@ const memberListReset = () => { |
| 339 | :deep(.ctree-tree-node__title_selected) { | 744 | :deep(.ctree-tree-node__title_selected) { |
| 340 | background-color: #f8e2cb; | 745 | background-color: #f8e2cb; |
| 341 | } | 746 | } |
| 747 | + | ||
| 748 | +.select-box { | ||
| 749 | + height: 4rem; | ||
| 750 | + border: 1px dashed #dfdfdf; | ||
| 751 | + margin: 0 1rem; | ||
| 752 | + overflow: scroll; | ||
| 753 | + border-radius: 5px; | ||
| 754 | + padding: 0.5rem; | ||
| 755 | + display: flex; | ||
| 756 | + flex-wrap: wrap; | ||
| 757 | + .select-item { | ||
| 758 | + margin-right: 5px; | ||
| 759 | + margin-bottom: 5px; | ||
| 760 | + font-size: 0.85rem; | ||
| 761 | + padding: 5px 8px; | ||
| 762 | + background-color: #C2915F; | ||
| 763 | + color: #fff; | ||
| 764 | + height: 1.2rem; | ||
| 765 | + display: flex; | ||
| 766 | + justify-content: center; | ||
| 767 | + align-items: center; | ||
| 768 | + } | ||
| 769 | +} | ||
| 342 | </style> | 770 | </style> | ... | ... |
src/components/TreeField/user_dept_role.json
0 → 100644
| 1 | +{ | ||
| 2 | + "dept": [ | ||
| 3 | + { | ||
| 4 | + "type": "dept", | ||
| 5 | + "name": "男10组", | ||
| 6 | + "id": 137571 | ||
| 7 | + }, { | ||
| 8 | + "type": "dept", | ||
| 9 | + "name": "主持组", | ||
| 10 | + "id": 107700 | ||
| 11 | + } | ||
| 12 | + ], | ||
| 13 | + "role": [ | ||
| 14 | + { | ||
| 15 | + "type": "role", | ||
| 16 | + "name": "八关斋戒", | ||
| 17 | + "id": 624337 | ||
| 18 | + }, | ||
| 19 | + { | ||
| 20 | + "id": 82983, | ||
| 21 | + "name": "场地管理", | ||
| 22 | + "checked": 0, | ||
| 23 | + "disabled": 0, | ||
| 24 | + "type": "role" | ||
| 25 | + } | ||
| 26 | + ], | ||
| 27 | + "user": [ | ||
| 28 | + { | ||
| 29 | + "id": 137918, | ||
| 30 | + "name": "10组寝室长", | ||
| 31 | + "checked": 0, | ||
| 32 | + "disabled": 0, | ||
| 33 | + "type": "user" | ||
| 34 | + }, | ||
| 35 | + { | ||
| 36 | + "id": 137919, | ||
| 37 | + "name": "11组寝室长", | ||
| 38 | + "checked": 0, | ||
| 39 | + "disabled": 0, | ||
| 40 | + "type": "user" | ||
| 41 | + } | ||
| 42 | + ] | ||
| 43 | +} |
-
Please register or login to post a comment