system-phone 1.2.89 → 1.2.91

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.
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-phone",
3
- "version": "1.2.89",
3
+ "version": "1.2.91",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
@@ -207,6 +207,17 @@
207
207
  // 设置登录人
208
208
  Vue.user = Util.f = ret.data
209
209
  // 对资源菜单进行排序
210
+
211
+
212
+ let viewDetails = await Vue.resetpost(`${this.$androidUtil.getProxyUrl()}/rs/search`, {
213
+ source: 'this.getRights().where(row.getType()==$function$ && row.getPath($name$).indexOf($功能权限$) != -1)',
214
+ userid: Vue.user.id
215
+ }, {resolveMsg: null, rejectMsg: null})
216
+ let r = viewDetails.data
217
+ Vue.user.r = []
218
+ r.forEach(x => Vue.user.r.push(x.name))
219
+
220
+
210
221
  Vue.functions = this.sortFunctions(ret.data.functions)
211
222
  console.log('登陆人信息',JSON.stringify(Vue.user))
212
223
  let userStr