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.
@@ -25848,6 +25848,25 @@ let account = {
25848
25848
  }
25849
25849
  }
25850
25850
  },
25851
+ updateDeptDataPermission: {
25852
+ //更新账号通讯录权限
25853
+ url: '/scooper-core-rest/data/system/permisions/pmDataRPermManage/updatePmDataRPerm',
25854
+ requestParam: {
25855
+ accId: '',
25856
+ deptOrgCodes: '' //a:*代表完整的通讯录
25857
+
25858
+ },
25859
+ responseParam: {
25860
+ code: '',
25861
+ //返回结果状态码
25862
+ message: '',
25863
+ systemTime: '',
25864
+ //yyyy-MM-dd HH:mm:ss
25865
+ data: {
25866
+ obj: 0
25867
+ }
25868
+ }
25869
+ },
25851
25870
  getAccountDetailNet: {
25852
25871
  //查询帐号详情
25853
25872
 
@@ -30490,6 +30509,21 @@ const accountOp = sip => {
30490
30509
  }, '', net.method);
30491
30510
  });
30492
30511
  },
30512
+ updateDeptPerm: function (param) {
30513
+ let net = account_net_url.updateDeptDataPermission;
30514
+ return new Promise((resolve, reject) => {
30515
+ loadJson(server_ + net.url, { ...param
30516
+ }, function (ret) {
30517
+ if (ret.code == 0) {
30518
+ console.log("账号通讯录权限更新完成", ret.code);
30519
+ resolve(ret);
30520
+ } else {
30521
+ console.log("账号通讯录权限更新失败", ret.code);
30522
+ reject(ret.code);
30523
+ }
30524
+ }, '', net.method);
30525
+ });
30526
+ },
30493
30527
  resetPwd: function (param) {
30494
30528
  let net = account_net_url.resetPwdNet;
30495
30529
  return new Promise((resolve, reject) => {
Binary file