safecheck-client 3.0.32-3 → 3.0.32-5

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,16 +1,16 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from "vue";
3
-
4
- //手机特殊目录注册到该文件中
5
- let specialComp = {
6
- 'new-check-paper': (resolve) => { require(['./pc/NewCheckpaper'], resolve) },
7
- 'safe-defect-paper-new': (resolve) => { require(['./pc/DefectPaperNew'], resolve) },
8
- 'safe-defect-list-new': (resolve) => { require(['./pc/DefectListNew'], resolve) },
9
- 'paper-defect-main': (resolve) => { require(['./pc/PaperDefectMain'], resolve) },
10
- 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
11
- }
12
- exports.specialComp = specialComp
13
-
14
-
15
-
16
-
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ //手机特殊目录注册到该文件中
5
+ let specialComp = {
6
+ 'new-check-paper': (resolve) => { require(['./pc/NewCheckpaper'], resolve) },
7
+ 'safe-defect-paper-new': (resolve) => { require(['./pc/DefectPaperNew'], resolve) },
8
+ 'safe-defect-list-new': (resolve) => { require(['./pc/DefectListNew'], resolve) },
9
+ 'paper-defect-main': (resolve) => { require(['./pc/PaperDefectMain'], resolve) },
10
+ 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
11
+ }
12
+ exports.specialComp = specialComp
13
+
14
+
15
+
16
+
@@ -49,15 +49,15 @@
49
49
  </div>
50
50
  <div class="row" v-show="!$parent.$parent.$parent.showItem">
51
51
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
52
- <label class="font_normal_body">用户类型</label>
52
+ <label class="font_normal_body">用气类型</label>
53
53
  <v-select id="f_usertype"
54
- placeholder='用户类型'
54
+ placeholder='用气类型'
55
55
  class="select select_list"
56
- :value.sync="model.f_usertype"
56
+ :value.sync="model.f_gasproperties"
57
57
  :value-single="true"
58
- :options='$parent.$parent.usertypes'
59
- v-model="model.f_usertype"
60
- condition="f_user_type = '{}'"
58
+ :options='$parent.$parent.gasproperties'
59
+ v-model="model.f_gasproperties"
60
+ condition="f_gasproperties = '{}'"
61
61
  close-on-select clear-button></v-select>
62
62
  </div>
63
63
  <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
@@ -183,21 +183,21 @@
183
183
  :value-single="true">
184
184
  </v-select>
185
185
  </div>
186
+ <!-- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">-->
187
+ <!-- <label class="font_normal_body">用户性质</label>-->
188
+ <!-- <v-select class="select_list select"-->
189
+ <!-- placeholder='用户性质' style="width: 60%"-->
190
+ <!-- :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
191
+ <!-- :options='$parent.$parent.gasproperties'-->
192
+ <!-- close-on-select clear-button-->
193
+ <!-- condition="f_gasproperties = '{}'"-->
194
+ <!-- :value-single="true">-->
195
+ <!-- </v-select>-->
196
+ <!-- </div>-->
186
197
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
187
- <label class="font_normal_body">用户性质</label>
188
- <v-select class="select_list select"
189
- placeholder='用户性质' style="width: 60%"
190
- :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
191
- :options='$parent.$parent.gasproperties'
192
- close-on-select clear-button
193
- condition="f_gasproperties = '{}'"
194
- :value-single="true">
195
- </v-select>
196
- </div>
197
- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
198
- <label class="font_normal_body">片区</label>
198
+ <label class="font_normal_body">开户网点</label>
199
199
  <v-select class="select_list select"
200
- placeholder='片区' style="width: 60%"
200
+ placeholder='开户网点' style="width: 60%"
201
201
  :value.sync="model.f_outlets" v-model="model.f_outlets"
202
202
  :options='$parent.$parent.userareas'
203
203
  close-on-select clear-button
@@ -251,16 +251,16 @@
251
251
  placeholder="地址" condition="f_address like '%{}%'">
252
252
  </div>
253
253
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
254
- <label class="font_normal_body">用户类型</label>
254
+ <label class="font_normal_body">用气类型</label>
255
255
  <v-select
256
- placeholder='用户类型'
256
+ placeholder='用气类型'
257
257
  class="select select_list"
258
258
 
259
- :value.sync="model.f_usertype"
259
+ :value.sync="model.f_gasproperties"
260
260
  :value-single="true"
261
- :options='$parent.$parent.usertypes'
262
- v-model="model.f_usertype"
263
- condition="f_user_type = '{}'"
261
+ :options='$parent.$parent.gasproperties'
262
+ v-model="model.f_gasproperties"
263
+ condition="f_gasproperties = '{}'"
264
264
  close-on-select clear-button></v-select>
265
265
  </div>
266
266
  <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
@@ -362,7 +362,7 @@
362
362
  <!-- <nobr>气表品牌</nobr>-->
363
363
  <!-- </th>-->
364
364
  <th>
365
- <nobr>用户类型</nobr>
365
+ <nobr>用气类型</nobr>
366
366
  </th>
367
367
  <!-- <th>-->
368
368
  <!-- <nobr>壁挂炉</nobr>-->
@@ -583,13 +583,13 @@ export default {
583
583
  f_defect_content: "CASE WHEN CHARINDEX( '\"result\":\"正常\"', tp.f_defect_content ) > 0 THEN '正常' ELSE replace(replace(replace( replace( RIGHT ( tp.f_defect_content, len( tp.f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END"
584
584
  },
585
585
  excelHeaders: {
586
- //用户编号 用户名称 用户电话 安检次数 用户类型 小区名称 地址 安检日期 安检状态 安检结果
586
+ //用户编号 用户名称 用户电话 安检次数 用气类型 小区名称 地址 安检日期 安检状态 安检结果
587
587
 
588
588
  'f_userinfo_code': '用户编号',
589
589
  'f_user_name': '用户名称',
590
590
  'f_user_phone': '用户电话',
591
591
  'f_meternumber': '用户表号',
592
- 'f_user_type': '用户类型',
592
+ 'f_gasproperties': '用气类型',
593
593
  'f_checker_name': '安检员',
594
594
  'f_residential_area': '小区名称',
595
595
  'f_address': '地址',
@@ -606,7 +606,7 @@ export default {
606
606
  orgstrs: [{label: '全部', value: ''}],
607
607
  checkersid: [],
608
608
  gasproperties:[],
609
- userareas:[],
609
+ userareas:[{label: '全部', value: ''}, ...this.$appdata.getParam('开户网点')],
610
610
  SafeCheckXZ: '',
611
611
  civil: '', //民用安检周期
612
612
  civilian: '', //非民用安检周期
@@ -684,7 +684,7 @@ export default {
684
684
  this.Mreadibook(`('${this.$login.f.orgid}')`)
685
685
  this.getAllMeterBook(`('${this.$login.f.orgid}')`)
686
686
  this.getAllGasproperties()
687
- this.getAllOutlets()
687
+ // this.getAllOutlets()
688
688
  },
689
689
  methods: {
690
690
  async blacklist(){
@@ -920,10 +920,10 @@ export default {
920
920
  }, ...this.$appdata.getParam('安检状态')] : [{label: '全部', value: ''}]
921
921
  },
922
922
  usertypes() {
923
- return this.$appdata.getParam('用户类型') ? [{
923
+ return this.$appdata.getParam('用气类型') ? [{
924
924
  label: '全部',
925
925
  value: ''
926
- }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
926
+ }, ...this.$appdata.getParam('用气类型')] : [{label: '全部', value: ''}]
927
927
  },
928
928
  userstates() {
929
929
  return this.$appdata.getParam('用户状态') ? [{
@@ -1082,25 +1082,25 @@ export default {
1082
1082
  })
1083
1083
  })
1084
1084
  },
1085
- getAllOutlets(){
1086
- this.userareas=[{
1087
- label:'全部',
1088
- value:''
1089
- }]
1090
- new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
1091
- items: 'f_outlets',
1092
- tablename: 't_user_address',
1093
- condition: `1=1`,
1094
- groupitem: 'f_outlets'
1095
- }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
1096
- res.data.forEach(ress=>{
1097
- this.userareas.push({
1098
- label:ress.f_outlets,
1099
- value:ress.f_outlets
1100
- })
1101
- })
1102
- })
1103
- },
1085
+ // getAllOutlets(){
1086
+ // this.userareas=[{
1087
+ // label:'全部',
1088
+ // value:''
1089
+ // }]
1090
+ // new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
1091
+ // items: 'f_outlets',
1092
+ // tablename: 't_user_address',
1093
+ // condition: `1=1`,
1094
+ // groupitem: 'f_outlets'
1095
+ // }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
1096
+ // res.data.forEach(ress=>{
1097
+ // this.userareas.push({
1098
+ // label:ress.f_outlets,
1099
+ // value:ress.f_outlets
1100
+ // })
1101
+ // })
1102
+ // })
1103
+ // },
1104
1104
  getAllMeterBook(val){
1105
1105
  ////tag
1106
1106
  ////tag
@@ -120,9 +120,9 @@ import {HttpResetClass} from 'vue-client'
120
120
  this.allUsers.forEach(user => {
121
121
  // if (resids.indexOf(user.orgid) != -1) {
122
122
  // if (typeof user.name == "string"){
123
- if(user.state == '在职'){
123
+
124
124
  this.users.push({label: user.name, value: user.name})
125
- }
125
+
126
126
 
127
127
  // }
128
128
  // }
@@ -80,6 +80,7 @@
80
80
  {{{ model.data.substring(26,model.data.length-8) }}}
81
81
  </th>
82
82
  </tr>
83
+ <tr style="height: 100px"></tr>
83
84
  </table>
84
85
  </div>
85
86
  </criteria-paged>
@@ -72,6 +72,7 @@
72
72
  {{{ model.data.substring(26,model.data.length-8) }}}
73
73
  </th>
74
74
  </tr>
75
+ <tr style="height: 100px"></tr>
75
76
  </table>
76
77
  </div>
77
78
  </criteria-paged>
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(process.env.SAFE_CHECK);
15
- safecheck('shexian')
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(process.env.SAFE_CHECK);
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
+ })