safecheck-client 3.0.34-24 → 3.0.34-27

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.34-24",
4
+ "version": "3.0.34-27",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -60,7 +60,7 @@ export default {
60
60
  data() {
61
61
  return {
62
62
  model: [],
63
- f_userinfo_id: '373453'
63
+ f_safecheck_code: ''
64
64
  }
65
65
  },
66
66
  methods: {
@@ -68,10 +68,10 @@ export default {
68
68
  let http = new HttpResetClass()
69
69
  http.load('POST', `rs/sql/tel_singleTable_OrderBy`, {
70
70
  data: {
71
- items: "*,CASE WHEN CHARINDEX( '\"result\":\"正常\"', f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END as f_defect_text",
72
- tablename: 't_check_paper',
73
- condition: `f_userinfoid = '${this.f_userinfo_id}'`,
74
- orderitem: 'f_offsite_time desc'
71
+ items: "tcp.*,CASE WHEN CHARINDEX( '\"result\":\"正常\"', f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END as f_defect_text",
72
+ tablename: 't_check_paper tcp left join t_qr_code tqr on tcp.f_userinfoid = tqr.f_userinfo_id',
73
+ condition: `tqr.f_safecheck_code = '${this.f_safecheck_code}'`,
74
+ orderitem: 'tcp.f_offsite_time desc'
75
75
  }
76
76
  }).then((res) => {
77
77
  this.model = res.data
@@ -82,7 +82,7 @@ export default {
82
82
  let url = window.location.href
83
83
  if (url.includes('id')){
84
84
  const urlObj = new URL(url);
85
- this.f_userinfo_id = urlObj.searchParams.get('id')
85
+ this.f_safecheck_code = urlObj.searchParams.get('id')
86
86
  this.getmodel()
87
87
  }else {
88
88
  console.log(window.location.href)
@@ -41,11 +41,11 @@ export default {
41
41
  let QRCode = await new HttpResetClass().load('post',`rs/sql/tel_singleTable_OrderBy`,{data: {
42
42
  items: '*',
43
43
  tablename: 't_qr_code',
44
- condition: `id = '${id}'`,
44
+ condition: `f_head_code = '${id}'`,
45
45
  orderitem: '1'
46
46
  }})
47
47
  if (QRCode && QRCode.data){
48
- this.f_head_pic = `rs/image/file/${QRCode.data.f_head_pic}`
48
+ this.f_head_pic = `/resource/af-revenue/images/${QRCode.data.f_head_pic}`
49
49
  this.f_head_code = QRCode.data.f_head_code
50
50
  this.f_head_name = QRCode.data.f_head_name
51
51
  this.f_head_post = QRCode.data.f_head_post