safecheck-client 3.0.35-44 → 3.0.35-47

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,19 @@
13
13
  v-model="model.f_checker_id">
14
14
  </role-selector-safe>
15
15
  </div>
16
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}" >
17
+ <label class="font_normal_body">安检员状态</label>
18
+ <v-select
19
+ :value.sync="model.f_checker_state"
20
+ :options='$parent.$parent.checkertates'
21
+ placeholder='安检员状态'
22
+ close-on-select
23
+ style="width:60% "
24
+ class="select select_list"
25
+ v-model='model.f_checker_state'
26
+ >
27
+ </v-select>
28
+ </div>
16
29
  <div :class="{'form-group col-sm-3':$parent.$parent.$parent.showItem,'form-group col-sm-2':!$parent.$parent.$parent.showItem}">
17
30
  <label class="font_normal_body">计划起始</label>
18
31
  <datepicker
@@ -167,6 +180,7 @@
167
180
  }, {plannum: '', ruhu: '', jujian: '', daofang: '',no_plan_num:'',noruhu:'',nodaofang:'',nojujian:'',ruhu_total:'',daofang_total:'',jujian_total:'',total_sum:''})
168
181
  model.f_filialeids = '('+this.$login.f.orgid+')'
169
182
  return {
183
+ checkertates: [{label: '在职', value: '在职'}, {label: '离职', value: '离职'}],
170
184
  excelHeaders:{
171
185
  'f_checker': '安检员',
172
186
  'plannum': '计划总数',
@@ -232,6 +246,13 @@
232
246
  condition3 += ` AND f_checker = '${this.$refs.paged.$refs.cri.model.f_checker_id}' `
233
247
  condition2 += ` AND f_checker_name = '${this.$refs.paged.$refs.cri.model.f_checker_id}' `
234
248
  }
249
+ if (this.$refs.paged.$refs.cri.model.f_checker_state !=''){
250
+ condition3 += ` AND tu.state= '${this.$refs.paged.$refs.cri.model.f_checker_state}' `
251
+ condition2 += ` AND tu.state= '${this.$refs.paged.$refs.cri.model.f_checker_state}' `
252
+ }else{
253
+ condition3 += ` AND tu.state= '在职' `
254
+ condition2 += ` AND tu.state= '在职' `
255
+ }
235
256
  this.model.f_start_time=this.f_start_time
236
257
  this.model.f_end_time=this.f_end_time
237
258
  this.model.condition1=condition1
package/src/main.js CHANGED
@@ -11,7 +11,7 @@ all()
11
11
  var Verificationfalg = false
12
12
  system(Verificationfalg)
13
13
  // system()
14
- safecheck('bayan')
14
+ safecheck('huaran')
15
15
  // safecheck('rizhao')
16
16
  require('./bootstrap/less/bootstrap.less')
17
17
  require('./expandcss.less')