ecinc-cloud-mappaio 9.7.10 → 9.7.11

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.
@@ -1043,7 +1043,7 @@ var actions = {
1043
1043
  commit('SET_TOKEN', window.$auth.getToken());
1044
1044
  commit('SET_LOGIN_USER', loginUser);
1045
1045
  window.$auth.removeTicket();
1046
- window.$user.findUserRolePermissions().then(function (response) {
1046
+ window.$user.findUserRolePermissions(jwtToken).then(function (response) {
1047
1047
  if (response.code === 'success') {
1048
1048
  var data = response.body;
1049
1049
  window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
@@ -55052,11 +55052,17 @@ var user_install = function install(Vue) {
55052
55052
  method: 'get'
55053
55053
  });
55054
55054
  },
55055
- findUserRolePermissions: function findUserRolePermissions() {
55056
- return httpRequest({
55055
+ findUserRolePermissions: function findUserRolePermissions(jwtToken) {
55056
+ var req = {
55057
55057
  url: 'base/resRolePermission/getUserRolePermissions',
55058
55058
  method: 'get'
55059
- });
55059
+ };
55060
+ if (jwtToken) {
55061
+ req.params = {
55062
+ jwtToken: jwtToken
55063
+ };
55064
+ }
55065
+ return httpRequest(req);
55060
55066
  },
55061
55067
  findH5apps: function findH5apps() {
55062
55068
  var searchFields = [{
@@ -1053,7 +1053,7 @@ var actions = {
1053
1053
  commit('SET_TOKEN', window.$auth.getToken());
1054
1054
  commit('SET_LOGIN_USER', loginUser);
1055
1055
  window.$auth.removeTicket();
1056
- window.$user.findUserRolePermissions().then(function (response) {
1056
+ window.$user.findUserRolePermissions(jwtToken).then(function (response) {
1057
1057
  if (response.code === 'success') {
1058
1058
  var data = response.body;
1059
1059
  window.$auth.setProductCode(data['PRODUCT_CODE_LIST'], loginUser.sysCode);
@@ -55062,11 +55062,17 @@ var user_install = function install(Vue) {
55062
55062
  method: 'get'
55063
55063
  });
55064
55064
  },
55065
- findUserRolePermissions: function findUserRolePermissions() {
55066
- return httpRequest({
55065
+ findUserRolePermissions: function findUserRolePermissions(jwtToken) {
55066
+ var req = {
55067
55067
  url: 'base/resRolePermission/getUserRolePermissions',
55068
55068
  method: 'get'
55069
- });
55069
+ };
55070
+ if (jwtToken) {
55071
+ req.params = {
55072
+ jwtToken: jwtToken
55073
+ };
55074
+ }
55075
+ return httpRequest(req);
55070
55076
  },
55071
55077
  findH5apps: function findH5apps() {
55072
55078
  var searchFields = [{