safecheck-client 3.0.30-35 → 3.0.30-37

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,7 +1,7 @@
1
1
  {
2
2
  "name": "safecheck-client",
3
3
  "//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
4
- "version": "3.0.30-35",
4
+ "version": "3.0.30-37",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -76,16 +76,17 @@
76
76
  import co from 'co'
77
77
  import { HttpResetClass } from 'vue-client'
78
78
 
79
- let select = function * (self) {
79
+ let selectnew = function * (self) {
80
80
  let http = new HttpResetClass()
81
81
  http.load('POST', '/rs/search', {
82
- source: `root.getResourceById($${self.userlogin.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
82
+ source: `root.getResourceById($${self.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
83
83
  userid: self.$login.f.id
84
84
  }, {resolveMsg: null, rejectMsg: null}).then((res) => {
85
+ debugger
85
86
  self.checkers = []
86
87
  //tag
87
88
  res.data.forEach((resRow) => {
88
- if(resRow.orgid == self.$login.f.orgid && resRow.state == '在职'){
89
+ if( resRow.state == '在职'){
89
90
  self.checkers.push({label:resRow.name,value:resRow.id})
90
91
  }
91
92
  })
@@ -130,7 +131,7 @@
130
131
  //tag
131
132
  //tag
132
133
  this.model.f_plan_name=''
133
- let gen = select(this)
134
+ let gen = selectnew(this)
134
135
  return co(gen)
135
136
  },
136
137
  watch: {