safecheck-client 3.0.35-53 → 3.0.35-55

Sign up to get free protection for your applications and to get access to all the features.
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.35-53",
4
+ "version": "3.0.35-55",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -165,18 +165,16 @@
165
165
  ready() {
166
166
  new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
167
167
  data: {
168
- items: '*',
169
- tablename: 't_userinfo',
170
- condition: `f_userinfo_id = '${this.model.f_userinfo_id}'`,
168
+ items: 'tu.*',
169
+ tablename: 't_userinfo ui left join t_userfees tu on tu.f_userinfo_id=ui.f_userinfo_id and tu.f_state = \'有效\'',
170
+ condition: `ui.f_userinfo_id = '${this.model.f_userinfo_id}'`,
171
171
  orderitem: '1'
172
172
  }
173
173
  }).then(response => {
174
- this.model = Object.assign({}, this.model, response.data[0])
175
- // if(response.data[0].f_ins_stop_date && new Date(response.data[0].f_ins_stop_date) >= new Date() && response.data[0].f_ins_stop_date != Util.toStandardDateString()){
176
- // this.$showMessage('当前保险未过期,请核验后再处理。')
177
- // this.isCommit = true
178
- // }
179
- this.model.f_last_insexpiration_date = response.data[0].f_ins_stop_date
174
+ if (response.data.length > 0) {
175
+ this.model = Object.assign({}, this.model, response.data[0])
176
+ this.model.f_last_insexpiration_date = response.data[0].f_expiration_date
177
+ }
180
178
  })
181
179
  this.model.f_money = ''
182
180
  this.model.f_fee_type = ''