safecheck-client 3.0.30-23 → 3.0.30-25

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-23",
4
+ "version": "3.0.30-25",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -289,8 +289,11 @@
289
289
  HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
290
290
  },
291
291
  getCode(){
292
- var datapa = HostApp.getCode().data;
293
- //tag
292
+ let datapa = HostApp.getCode().data;
293
+ let indexnum = datapa.indexOf("]C1")
294
+ if(indexnum != -1){
295
+ datapa = datapa.substring(indexnum+3,datapa.length)
296
+ }
294
297
  this.$refs.paged.$refs.cri.model.f_meternumber=datapa
295
298
  },
296
299
  getCheckTime(){
@@ -79,8 +79,8 @@
79
79
  let select = function * (self) {
80
80
  let http = new HttpResetClass()
81
81
  http.load('POST', '/rs/search', {
82
- source: 'tool.getChildrenOfResName($安检员$)',
83
- userid: self.$login.f.id
82
+ source: `root.getResourceById($${self.userlogin.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
83
+ userid: self.$login.f.id
84
84
  }, {resolveMsg: null, rejectMsg: null}).then((res) => {
85
85
  self.checkers = []
86
86
  //tag