safecheck-client 4.0.2-47 → 4.0.2-49

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.
@@ -1,11 +1,12 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from "vue";
3
-
4
- // 手机特殊目录注册到该文件中
5
- let specialComp = {
6
- 'phone-insurance-record-list': (resolve) => { require(['./android/PhoneInsuranceRecordList.vue'], resolve) },
7
- 'phone-insurance-purchase-detail': (resolve) => { require(['./android/PhoneInsurancePurchaseDetail'], resolve) },
8
- 'current-create': (resolve) => { require(['./android/CurrentCreate'], resolve) }
9
- }
10
- exports.specialComp = specialComp
11
-
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ // 手机特殊目录注册到该文件中
5
+ let specialComp = {
6
+ 'phone-insurance-record-list': (resolve) => { require(['./android/PhoneInsuranceRecordList.vue'], resolve) },
7
+ 'phone-insurance-purchase-detail': (resolve) => { require(['./android/PhoneInsurancePurchaseDetail'], resolve) },
8
+ 'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) },
9
+ 'current-create': (resolve) => { require(['./android/CurrentCreate'], resolve) }
10
+ }
11
+ exports.specialComp = specialComp
12
+
@@ -180,9 +180,14 @@
180
180
  </v-select>
181
181
  </div>
182
182
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
183
- <label class="font_normal_body">两年未入户</label>
183
+ <label class="font_normal_body">年份</label>
184
+ <input type="number" class="input_search" v-model="$parent.$parent.f_year"
185
+ style="width: 60%" placeholder="年份">
186
+ </div>
187
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
188
+ <label class="font_normal_body">{{$parent.$parent.f_year}}年未入户</label>
184
189
  <v-select class="select_list select"
185
- placeholder='两年未入户' style="width: 60%"
190
+ :placeholder="$parent.$parent.f_year + '年未入户'" style="width: 60%"
186
191
  :value.sync="model.is_no_ruhu" v-model="model.is_no_ruhu"
187
192
  :options='$parent.$parent.SafeCheckSXs'
188
193
  close-on-select clear-button
@@ -508,6 +513,7 @@ export default {
508
513
  orgstrs: [{label: '全部', value: ''}],
509
514
  checkersid: [],
510
515
  checkStates:[],
516
+ f_year:2,
511
517
  SafeCheckXZ: '',
512
518
  civil: '', //民用安检周期
513
519
  civilian: '', //非民用安检周期
@@ -823,11 +829,19 @@ export default {
823
829
  con += args.model.f_checker_id ? ` and f_checker_name in ${args.model.f_checker_id}` : ' and 1=1'
824
830
  let condition3 = `1=1`
825
831
  if (args.model.is_no_ruhu){
832
+ if (!this.f_year){
833
+ this.$showMessage('选择未入户时,需选择指定年限')
834
+ return
835
+ }
836
+ if (this.f_year <=0){
837
+ this.$showMessage('年份输入错误')
838
+ return
839
+ }
826
840
  if (args.model.is_no_ruhu == '否'){
827
- condition3 += ` and f_entry_status = '入户' and f_offsite_time >= DATEADD(YEAR, -2, GETDATE()) AND f_offsite_time < GETDATE()`
841
+ condition3 += ` and f_entry_status = '入户' and f_offsite_time >= DATEADD(YEAR, -${this.f_year}, GETDATE()) AND f_offsite_time < GETDATE()`
828
842
  args.condition += ` and aj_count > 0`
829
843
  }else {
830
- condition3 += ` and f_entry_status = '入户' and f_offsite_time >= DATEADD(YEAR, -2, GETDATE()) AND f_offsite_time < GETDATE()`
844
+ condition3 += ` and f_entry_status = '入户' and f_offsite_time >= DATEADD(YEAR, -${this.f_year}, GETDATE()) AND f_offsite_time < GETDATE()`
831
845
  args.condition += ` and aj_count is null`
832
846
  }
833
847
  }
@@ -68,8 +68,8 @@
68
68
  </datepicker>
69
69
  </div>
70
70
 
71
- <div style="float: left;width:60%" class="form-group" v-if="!show && row.type == 'number'" v-show="row.isshow">
72
- <input type="text" class="form-control" maxlength="100" v-model="row.f_item_value" onkeyup="value=value.replace(/[^\d\.]/g,'')" :readonly="row.readonly">
71
+ <div style="float: left;width:60%" class="form-group" v-if="row.type == 'number'" v-show="row.isshow">
72
+ <input type="number" class="form-control" maxlength="100" v-model="row.f_item_value" :readonly="row.readonly">
73
73
  </div>
74
74
  <!--<input type="text" class="form-control" v-model="row.f_content" v-if="!show && row.type == 'string' && row.f_project != '表号'" :disabled="(!(ischecked == '有')) || issee" :readonly="issee">-->
75
75
  <!--<input type="text" class="form-control" v-model="meternum" v-if="!show && row.type == 'string' && row.f_project == '表号' " :disabled="(!(ischecked == '有')) || issee" :readonly="issee" >-->
@@ -682,7 +682,7 @@ export default {
682
682
  return
683
683
  }
684
684
  this.f_items[this.f_total_lcd.index].f_is_defect = false
685
- if (Number(this.f_items[this.f_table_base.index].f_item_value) !== Number(this.f_items[this.f_total_lcd.index].f_item_value)) {
685
+ if (this.f_items[this.f_table_base.index].f_item_value != this.f_items[this.f_total_lcd.index].f_item_value) {
686
686
  this.f_items[this.f_total_lcd.index].f_is_defect = true
687
687
  console.log('有异常')
688
688
  }else{
package/src/main.js CHANGED
@@ -1,33 +1,33 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import { system } from 'system-clients'
5
- import safecheck from './safecheck'
6
- import echarts from 'echarts'
7
- // import safecheck from './rongcheng'
8
-
9
- all()
10
- // 验证码开关赋值
11
- var Verificationfalg = false
12
- system(Verificationfalg)
13
- // system()
14
- safecheck('yunchengminsheng')
15
- // safecheck('rizhao')
16
- require('./bootstrap/less/bootstrap.less')
17
- require('./expandcss.less')
18
-
19
- Vue.prototype.$echarts = echarts
20
- Vue.android = false
21
-
22
- Vue.url = '/SafeCheck/rs/'
23
- if(Vue.android)
24
- Vue.url = Vue.staticUrl
25
- Vue.interval = 1*60*1000
26
- Vue.nopic = 'file:///android_asset/nopic.png'
27
- Vue.mapSetup = false
28
-
29
- /* eslint-disable no-new */
30
- new Vue({
31
- el: 'body',
32
- components: { App }
33
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import { system } from 'system-clients'
5
+ import safecheck from './safecheck'
6
+ import echarts from 'echarts'
7
+ // import safecheck from './rongcheng'
8
+
9
+ all()
10
+ // 验证码开关赋值
11
+ var Verificationfalg = false
12
+ system(Verificationfalg)
13
+ // system()
14
+ safecheck('jinhong')
15
+ // safecheck('rizhao')
16
+ require('./bootstrap/less/bootstrap.less')
17
+ require('./expandcss.less')
18
+
19
+ Vue.prototype.$echarts = echarts
20
+ Vue.android = false
21
+
22
+ Vue.url = '/SafeCheck/rs/'
23
+ if(Vue.android)
24
+ Vue.url = Vue.staticUrl
25
+ Vue.interval = 1*60*1000
26
+ Vue.nopic = 'file:///android_asset/nopic.png'
27
+ Vue.mapSetup = false
28
+
29
+ /* eslint-disable no-new */
30
+ new Vue({
31
+ el: 'body',
32
+ components: { App }
33
+ })