safecheck-client 3.0.33-113 → 3.0.33-115

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.
@@ -28,11 +28,11 @@
28
28
  placeholder='小区'
29
29
  class="select select_list"
30
30
  :value.sync="model.f_residential_area"
31
- :value-single="true"
32
31
  :options='$parent.$parent.residentialareas'
32
+ :multiple='true'
33
33
  v-model="model.f_residential_area"
34
- condition="f_residential_area = '{}'"
35
- close-on-select clear-button></v-select>
34
+ condition="f_residential_area in {}"
35
+ ></v-select>
36
36
  </div>
37
37
  <div :class="$parent.$parent.style">
38
38
  <label class="font_normal_body">地&emsp;&emsp;址</label>
@@ -202,7 +202,7 @@
202
202
  :format="'yyyy-MM-dd'"
203
203
  :show-rest-button="reset"
204
204
  v-model="model.f_gas_start"
205
- condition="f_gas_date >= '{}'"
205
+ condition="f_uservent_date >= '{}'"
206
206
  >
207
207
  </datepicker>
208
208
  </div>
@@ -215,7 +215,7 @@
215
215
  :disabled-days-of-week="[]"
216
216
  :format="'yyyy-MM-dd'"
217
217
  :show-rest-button="reset"
218
- condition="f_gas_date <= '{}'"
218
+ condition="f_uservent_date <= '{}'"
219
219
  v-model="model.f_gas_end">
220
220
  </datepicker>
221
221
  </div>
@@ -247,33 +247,16 @@
247
247
  </datepicker>
248
248
  </div>
249
249
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
250
- <label class="font_normal_body">通气开始</label>
251
- <datepicker
252
- :value.sync="model.f_gas_start"
253
- placeholder='开始时间' style="width: 60%"
254
- :disabled-days-of-week="[]"
255
- :format="'yyyy-MM-dd'"
256
- :show-rest-button="reset"
257
- v-model="model.f_gas_start"
258
- condition="f_gas_date > ='{} 00:00:00'">
259
- </datepicker>
260
- </div>
261
- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
262
- <label class="font_normal_body">通气结束</label>
263
- <datepicker
264
- :value.sync="model.f_gas_end"
265
- placeholder='结束时间' style="width: 60%"
266
- :disabled-days-of-week="[]"
267
- :format="'yyyy-MM-dd'"
268
- :show-rest-button="reset"
269
- v-model="model.f_gas_end"
270
- condition="f_gas_date <= '{} 23:59:59'">
271
- </datepicker>
272
- </div>
273
- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
274
- <label class="font_normal_body">安检册</label>
275
- <input style="width: 60%" type="text" class="input_search" v-model="model.f_check_book_name" id="f_check_book_name"
276
- placeholder="安检册" condition="f_check_book_name like '%{}%'">
250
+ <label class="font_normal_body">安&ensp;检&ensp;册</label>
251
+ <v-select id="f_check_book_name"
252
+ placeholder='安检册'
253
+ class="select select_list"
254
+ :value.sync="model.f_check_book_name"
255
+ :options='$parent.$parent.checkbooknames'
256
+ :multiple='true'
257
+ v-model="model.f_check_book_name"
258
+ condition="f_check_book_name in {}"
259
+ ></v-select>
277
260
  </div>
278
261
  </div>
279
262
 
@@ -307,12 +290,6 @@
307
290
 
308
291
  </div>
309
292
  <div class="row" v-show="$parent.$parent.$parent.showItem">
310
- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
311
- <label class="font_normal_body">小&emsp;&emsp;区</label>
312
- <input style="width: 60%" type="text" class="input_search" v-model="model.f_residential_area"
313
-
314
- placeholder="小区" condition="f_residential_area like '%{}%'">
315
- </div>
316
293
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
317
294
  <label class="font_normal_body">地&emsp;&emsp;址</label>
318
295
  <input style="width: 60%" type="text" class="input_search" v-model="model.f_address"
@@ -406,7 +383,7 @@
406
383
  :format="'yyyy-MM-dd'"
407
384
  :show-rest-button="reset"
408
385
  v-model="model.f_gas_start"
409
- condition="f_defect_content >= '{}'"
386
+ condition="f_uservent_date >= '{}'"
410
387
  >
411
388
  </datepicker>
412
389
  </div>
@@ -419,7 +396,7 @@
419
396
  :disabled-days-of-week="[]"
420
397
  :format="'yyyy-MM-dd'"
421
398
  :show-rest-button="reset"
422
- condition="f_gas_date <= '{}'"
399
+ condition="f_uservent_date <= '{}'"
423
400
  v-model="model.f_gas_end">
424
401
  </datepicker>
425
402
  </div>
@@ -546,7 +523,7 @@
546
523
  {{row.f_last_check_state!='入户' ? '': (row.f_last_check_result == '无隐患' ? '无问题' : row.f_last_check_result) }}
547
524
  </td>
548
525
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_createfile_date }}</td>
549
- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gas_date }}</td>
526
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_uservent_date }}</td>
550
527
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center" v-show="$parent.$parent.$parent.showcode">
551
528
  <button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.searchInfo(row.f_userinfo_code)' >点击</button>
552
529
  </td>
@@ -628,7 +605,7 @@ export default {
628
605
  'f_last_check_state': '安检状态',
629
606
  'f_last_check_result': '安检结果',
630
607
  'f_createfile_date': '建档日期',
631
- 'f_gas_date': '通气日期'
608
+ 'f_uservent_date': '通气日期'
632
609
  },
633
610
  model: new PagedList('rs/sql/根据安检员查询用户档案', 20, {
634
611
  orderitem: "'f_last_check_date'",
@@ -673,6 +650,7 @@ export default {
673
650
  creatPlanWay: '',
674
651
  sliceArea: [],
675
652
  residentialareas: [],
653
+ checkbooknames: [],
676
654
  cbcs:[],
677
655
  cbc:[],
678
656
  pcds:[]
@@ -707,6 +685,7 @@ export default {
707
685
  this.Mreadibook(`('${this.$login.f.orgid}')`)
708
686
  this.getAllMeterBook(`('${this.$login.f.orgid}')`)
709
687
  this.getresidentialarea()
688
+ this.getcheckbookname()
710
689
  },
711
690
  methods: {
712
691
  //查询二维码
@@ -811,6 +790,27 @@ export default {
811
790
 
812
791
  })
813
792
  },
793
+ getcheckbookname(){
794
+ new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
795
+ items: 'f_check_book_name',
796
+ tablename: 't_check_book',
797
+ condition: ` f_orgid = '${this.$login.f.orgid}'`,
798
+ groupitem: 'f_check_book_name',
799
+ }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
800
+ this.checkbooknames=[]
801
+ this.checkbooknames.push({
802
+ label:'全部',
803
+ value:''
804
+ })
805
+ res.data.forEach(ress=>{
806
+ this.checkbooknames.push({
807
+ label:ress.f_check_book_name,
808
+ value:ress.f_check_book_name
809
+ })
810
+ })
811
+
812
+ })
813
+ },
814
814
  // 获取县域分公司内容
815
815
  getfengongsi() {
816
816
  let val = {
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('siyang')
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()
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
+ })