ucservice 1.3.4 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25857,6 +25857,25 @@ let account = {
25857
25857
  }
25858
25858
  }
25859
25859
  },
25860
+ updateDeptDataPermission: {
25861
+ //更新账号通讯录权限
25862
+ url: '/scooper-core-rest/data/system/permisions/pmDataRPermManage/updatePmDataRPerm',
25863
+ requestParam: {
25864
+ accId: '',
25865
+ deptOrgCodes: '' //a:*代表完整的通讯录
25866
+
25867
+ },
25868
+ responseParam: {
25869
+ code: '',
25870
+ //返回结果状态码
25871
+ message: '',
25872
+ systemTime: '',
25873
+ //yyyy-MM-dd HH:mm:ss
25874
+ data: {
25875
+ obj: 0
25876
+ }
25877
+ }
25878
+ },
25860
25879
  getAccountDetailNet: {
25861
25880
  //查询帐号详情
25862
25881
 
@@ -30499,6 +30518,21 @@ const accountOp = sip => {
30499
30518
  }, '', net.method);
30500
30519
  });
30501
30520
  },
30521
+ updateDeptPerm: function (param) {
30522
+ let net = account_net_url.updateDeptDataPermission;
30523
+ return new Promise((resolve, reject) => {
30524
+ loadJson(server_ + net.url, { ...param
30525
+ }, function (ret) {
30526
+ if (ret.code == 0) {
30527
+ console.log("账号通讯录权限更新完成", ret.code);
30528
+ resolve(ret);
30529
+ } else {
30530
+ console.log("账号通讯录权限更新失败", ret.code);
30531
+ reject(ret.code);
30532
+ }
30533
+ }, '', net.method);
30534
+ });
30535
+ },
30502
30536
  resetPwd: function (param) {
30503
30537
  let net = account_net_url.resetPwdNet;
30504
30538
  return new Promise((resolve, reject) => {
Binary file