system-clients 3.2.89 → 3.2.92

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-clients",
3
- "version": "3.2.89",
3
+ "version": "3.2.92",
4
4
  "description": "系统基础框架",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -259,7 +259,6 @@ let createWaterMark = function (userName) {
259
259
  qrCode:false,
260
260
  isManger: false,
261
261
  show: false,
262
- orgpathnames: `${this.$login.f.orgs}-${this.$login.f.deps}-${this.$login.f.name}`,
263
262
  systemname: '客服系统',
264
263
  date: this.$login.toStandardDateString(),
265
264
  tabs: [], //已初始化页签数组
@@ -601,13 +600,27 @@ let createWaterMark = function (userName) {
601
600
  usertelephone: this.$login.f.f_user_telephone
602
601
  }
603
602
  // todo v4
604
- await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
603
+ try {
604
+ await this.$resetget('api/af-system/user/logout', {resolveMsg: '退出成功', rejectMsg: null})
605
+ }catch(e){
606
+ }
605
607
  window.location.reload()
606
608
  }
607
609
  })
608
610
  }
609
611
  },
610
612
  computed: {
613
+ orgpathnames(){
614
+ let names = this.$login.f.name
615
+ if(this.$login.f.deps){
616
+ names = `${this.$login.f.deps}-${names}`
617
+ }
618
+ if(this.$login.f.orgs){
619
+ names = `${this.$login.f.orgs}-${names}`
620
+ }
621
+ return names
622
+ },
623
+
611
624
  nowDate() {
612
625
  return this.$login.getNowDate()
613
626
  }
@@ -80,6 +80,9 @@
80
80
  //找到跟节点
81
81
  ergodicList (val,parentname) {
82
82
  if(val.children.length > 0 ){
83
+ if (val.name !== '组织机构'){
84
+ this.resoptions.push({label: parentname === '组织机构' ? val.name : val.name+' - '+parentname, value: val.id})
85
+ }
83
86
  parentname=parentname+val.name
84
87
  this.treetoList(val,parentname)
85
88
  }else {
@@ -295,7 +295,7 @@ export default {
295
295
  username: this.$login.f.name,
296
296
  usertelephone: this.$login.f.f_user_telephone
297
297
  }
298
- await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
298
+ await this.$resetpost('api/af-system/user/logout', data, {resolveMsg: '退出成功', rejectMsg: null})
299
299
  window.location.reload()
300
300
  }
301
301
  })