Commit Graph
1895 Commits
Author SHA1 Message Date
liugang ad92b1e83f * userUI: add a iframe to check update of zentao. 2023-11-27 13:54:13 +08:00
liugang 8160368d62 * user: move the setReferer method from control to zen. 2023-11-27 13:31:17 +08:00
liugang e9b5107551 * userControl: refactor the unbind method. 2023-11-27 10:45:59 +08:00
liugang a3d18d32ef * userControl: refactor the unlock method. 2023-11-27 10:45:34 +08:00
liugang ef4ccc3c9a * userControl: refactor the delete method. 2023-11-27 10:44:39 +08:00
liugang 9c1447fbd0 - userUI: remove unused code. 2023-11-27 10:43:52 +08:00
liugang d23ff1b127 * userModel: log detail history when edit a user. 2023-11-27 10:12:28 +08:00
liugang d85b68088f * userModel: rename the batchEdit method to batchUpdate and refactor it. 2023-11-27 10:11:50 +08:00
liugang 72d1ddd38d * userUI: refactor the batch edit page. 2023-11-27 10:11:03 +08:00
liugang 50b3487938 * userUI: modify column width in batch create page. 2023-11-27 10:10:40 +08:00
liugang 2e7b40c0b6 + userZen: add method to check posted data before batch edit users. 2023-11-27 10:10:07 +08:00
liugang a67e369a38 + userControl: return error if it occurs before batch create users. 2023-11-27 10:08:14 +08:00
liugang 8e76727ef9 * userConfig: modify configuration items of the batch edit form. 2023-11-27 10:07:37 +08:00
liugang 5f54e86f06 * userUI: add a hidden column of the type field in batch create page. 2023-11-25 17:27:26 +08:00
liugang 0e958bace2 + userUI: import md5.js in batch create page. 2023-11-25 17:26:18 +08:00
liugang 8f511fec56 * userUI: display the company component when edit a outside user. 2023-11-25 17:25:17 +08:00
liugang 1bd46e6297 * userModel: return after rollback database operation. 2023-11-25 17:24:37 +08:00
liugang a1e75fc17e * userModel: remove unused $type parameter of batchCreate method. 2023-11-25 17:23:49 +08:00
liugang d039550b36 + userJS: fix error of calling undefined javascript variable. 2023-11-25 17:23:07 +08:00
liugang 5bebe62312 * userControl: remove unused parameter. 2023-11-25 17:22:11 +08:00
liugang 362aceba40 + userConfig: add configuration item of the type field in the batch create form. 2023-11-25 17:21:05 +08:00
liugang 24e45ddb26 - userUI: remove empty line. 2023-11-25 17:06:31 +08:00
liugang 6272879690 + userUI: add javascript variable and bind event on the batchChangeRole function. 2023-11-25 16:36:32 +08:00
liugang 22a4e13f54 + userJS: add function comment. 2023-11-25 16:35:26 +08:00
liugang 3e365eadba + userJS: add function to change the permission group according to the role. 2023-11-25 16:34:56 +08:00
liugang 9b4b0a11d9 + userModel: add a method to get users by id list. 2023-11-25 16:11:15 +08:00
liugang dc2a614dbc * user: remove unused verifyRand field. 2023-11-25 16:10:13 +08:00
liugang 9f44b2482a * user: move the hidden input out of form. 2023-11-25 16:09:58 +08:00
liugang 1c278a17ec * userModel: refactor code to remove unavailable contact fields from required fields when edit a user. 2023-11-25 14:52:52 +08:00
liugang f6148b9346 * userJS: refactor javascript functions in batch create user page. 2023-11-25 14:41:07 +08:00
liugang e630799279 * userModel: smiplify code to process required fields when create a user. 2023-11-25 14:38:48 +08:00
liugang 38758ce5fe * userModel: create a company when the user type is outside and passed the new property. 2023-11-25 14:37:02 +08:00
liugang e2d65ba85a * userModel: call the rollback method in parent class instead of the rollback method in dao class. 2023-11-25 14:34:03 +08:00
liugang 81141199b1 * userControl: refactor the batchCreate method. 2023-11-25 14:31:33 +08:00
liugang 6c615c496a * userModel: refactor the batchCreate method. 2023-11-25 14:29:19 +08:00
liugang 16220c52bf * userUI: refactor the batch create page. 2023-11-25 14:27:32 +08:00
liugang dffe6a94e2 * userZen: only fetch groups of current vision. 2023-11-25 14:27:02 +08:00
liugang bd04474e9b + userZen: add a method to check posted data before batch create users. 2023-11-25 14:26:03 +08:00
liugang af47ecb797 + userZen: add a method to prepare custom fields. 2023-11-25 14:25:14 +08:00
liugang d913f9b7cb * userZen: add a method to check current user's password. 2023-11-25 14:23:58 +08:00
liugang ff58d3f639 * user: set default hidden class according to user type. 2023-11-25 14:20:31 +08:00
liugang 19d535e165 * user: add $type parameter when create a user. 2023-11-25 14:12:02 +08:00
liugang 653e8a3f75 * user: modify configuration items of batch create form. 2023-11-25 14:10:40 +08:00
liugang 62237f4f55 - user: remove unused functions in edit.ui.js. 2023-11-24 14:19:30 +08:00
liugang 039f352225 * user: bind the click event of submit button on the encryptPassword function. 2023-11-24 14:18:29 +08:00
liugang 1bec24a424 + user: add comment to the computePasswordStrength function in common.ui.js. 2023-11-24 14:17:16 +08:00
liugang b5e06dcc97 * user: refactor the toggleNew function in common.ui.js. 2023-11-24 14:16:34 +08:00
liugang 54e234b2e3 * user: sort functions in common.ui.js. 2023-11-24 14:15:52 +08:00
liugang d490f4c8bf * user: refactor the changeVision function in common.ui.js. 2023-11-24 14:14:23 +08:00
liugang 1e2e129e97 - user: remove unused code in common.ui.js. 2023-11-24 14:13:01 +08:00