system-clients 3.2.90 → 3.2.93

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.90",
3
+ "version": "3.2.93",
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: [], //已初始化页签数组
@@ -611,6 +610,17 @@ let createWaterMark = function (userName) {
611
610
  }
612
611
  },
613
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
+
614
624
  nowDate() {
615
625
  return this.$login.getNowDate()
616
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 {
@@ -167,7 +167,7 @@ export default {
167
167
  for (let row of this.$refs.department.resoptions) {
168
168
  depids.push(row.value)
169
169
  }
170
- let depid = depids.length ? plugin.convertToIn(depids) : ('')
170
+ let depid = depids.length ? plugin.convertToIn(depids) : `('')`
171
171
  condition += " and f_depid in " + depid;
172
172
  }
173
173
  }