safecheck-client 3.0.30-8 → 3.0.30-80

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.
Files changed (87) hide show
  1. package/examples/SafePlan-liaoyuan/App.vue +3 -1
  2. package/package.json +4 -3
  3. package/src/components/Util.js +15 -0
  4. package/src/components/android/AddPlanItem.vue +5 -2
  5. package/src/components/android/AreaPlan.vue +2 -2
  6. package/src/components/android/CurrentCreate.vue +1050 -1049
  7. package/src/components/android/CurrentCreate_new.vue +563 -559
  8. package/src/components/android/PaperFeedback.vue +1481 -1479
  9. package/src/components/android/SafecheckOrderV.vue +2 -2
  10. package/src/components/android/UploadPage.vue +13 -123
  11. package/src/components/paper/PaperList.vue +9 -2
  12. package/src/components/paper/PlanChooser.vue +8 -6
  13. package/src/components/pc/Edit.vue +126 -0
  14. package/src/components/pc/LodopFuncs.js +159 -0
  15. package/src/components/pc/NewCheckpaper.vue +9 -5
  16. package/src/components/pc/PaperEdit.vue +151 -0
  17. package/src/components/pc/PrintData.vue +243 -0
  18. package/src/components/pc/PrintTable.vue +241 -0
  19. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +3 -0
  20. package/src/components/report/NoCheckplanSafecheck.vue +0 -2
  21. package/src/components/rongcheng/CheckCurrentCreate.vue +1070 -1062
  22. package/src/components/rongcheng/PaperStatem.vue +414 -373
  23. package/src/components/rongcheng/PhoneUpUserinfo.vue +1191 -1241
  24. package/src/components/rongcheng/SafecheckOrderV.vue +8 -0
  25. package/src/components/rongcheng/SafecheckUserInfo.vue +988 -569
  26. package/src/components/rongcheng/report/CheckPlanAreaList.vue +21 -3
  27. package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
  28. package/src/filiale/fugou/android.js +10 -0
  29. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1313
  30. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2 -2
  31. package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
  32. package/src/filiale/hanzhong/pc.js +4 -1
  33. package/src/filiale/huatong/android/CurrentCreate.vue +564 -564
  34. package/src/filiale/huatong/android/SafecheckOrderV.vue +8 -0
  35. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
  36. package/src/filiale/jingyang/pc/PaperList.vue +793 -793
  37. package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
  38. package/src/filiale/kelai/android.js +1 -0
  39. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -0
  40. package/src/filiale/liaoyuan/android.js +1 -0
  41. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
  42. package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
  43. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +6 -0
  44. package/src/filiale/tianke/pc/checkScreen.vue +4 -4
  45. package/src/filiale/tianke/pc/cq.jpg +0 -0
  46. package/src/filiale/tianke/pc/qy.jpg +0 -0
  47. package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
  48. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1090
  49. package/src/filiale/wensu/android/AndroidDefectDeal.vue +321 -366
  50. package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
  51. package/src/filiale/wensu/android.js +1 -0
  52. package/src/filiale/wensu/pc/CheckSearchUser.vue +64 -0
  53. package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
  54. package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
  55. package/src/filiale/wensu/pc/RoleSelector.vue +4 -1
  56. package/src/filiale/wensu/pc/checkUserList.vue +50 -0
  57. package/src/filiale/wensu/pc.js +2 -1
  58. package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
  59. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2069 -2041
  60. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1279
  61. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1150 -1150
  62. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
  63. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +19 -0
  64. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1077 -1077
  65. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +849 -849
  66. package/src/filiale/yangchunboneng/pc/PaperList.vue +727 -727
  67. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
  68. package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
  69. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +252 -0
  70. package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
  71. package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
  72. package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
  73. package/src/filiale/yongzhou/pc/communityDetail.vue +35 -12
  74. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +28 -14
  75. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +28 -14
  76. package/src/filiale/yongzhou/pc/safeDetail.vue +43 -15
  77. package/src/filiale/yongzhou/pc/safeStatistics.vue +16 -6
  78. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +88 -29
  79. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +63 -27
  80. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +16 -6
  81. package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
  82. package/src/filiale/yongzhou/pc.js +17 -12
  83. package/src/filiale/zhongsheng/android/CurrentCreate.vue +540 -536
  84. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
  85. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
  86. package/src/main.js +1 -1
  87. package/src/safecheck.js +12 -0
@@ -6,7 +6,7 @@
6
6
  <div partial>
7
7
  <div class="row">
8
8
  <div class="form-group col-sm-4">
9
- <label class="font_normal_body">开始时间:</label>
9
+ <label class="font_normal_body">时间选择:</label>
10
10
  <datepicker
11
11
  placeholder='请选择'
12
12
  style="width:60%"
@@ -16,27 +16,36 @@
16
16
  :show-rest-button="reset"
17
17
  :value.sync="model.start_time"
18
18
  v-model="model.start_time"
19
- condition="tcp.f_upload_date >= '{}-01-01 00:00:00'">
20
- </datepicker>
21
- </div>
22
- <div class="form-group col-sm-4">
23
- <label class="font_normal_body">结束时间:</label>
24
- <datepicker
25
- placeholder='请选择'
26
- :select-year="true"
27
- :disabled-days-of-week="[]"
28
- style="width:60%"
29
- :format="'yyyy'"
30
- :show-rest-button="reset"
31
- :value.sync="model.end_time"
32
- v-model="model.end_time"
33
- condition="tcp.f_upload_date <= '{}-12-31 23:59:59'">
19
+ condition="tcpi.f_last_check_date >= '{}-01-01 00:00:00' and tcpi.f_last_check_date <= '{}-12-31 23:59:59'">
34
20
  </datepicker>
35
21
  </div>
22
+ <!-- <div class="form-group col-sm-4">-->
23
+ <!-- <label class="font_normal_body">结束时间:</label>-->
24
+ <!-- <datepicker-->
25
+ <!-- placeholder='请选择'-->
26
+ <!-- :select-year="true"-->
27
+ <!-- :disabled-days-of-week="[]"-->
28
+ <!-- style="width:60%"-->
29
+ <!-- :format="'yyyy'"-->
30
+ <!-- :show-rest-button="reset"-->
31
+ <!-- :value.sync="model.end_time"-->
32
+ <!-- v-model="model.end_time"-->
33
+ <!-- condition="">-->
34
+ <!-- </datepicker>-->
35
+ <!-- </div>-->
36
36
  <div class="col-sm-4 form-group">
37
37
  <label class="font_normal_body">小区名称:</label>
38
- <input style="width: 60%" class="input_search" v-model="model.f_residential_area" placeholder="请输入小区(可模糊查询)" condition="f_residential_area like '%{}%'">
38
+ <input style="width: 60%" class="input_search" v-model="model.f_residential_area" placeholder="请输入小区(可模糊查询)" condition="tcpi.f_residential_area like '%{}%'">
39
39
  </div>
40
+ <div class="form-group col-sm-4">
41
+ <label class="font_normal_body">用户类型</label>
42
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
43
+ :value-single="true" style="width: 60%"
44
+ class="select_list select"
45
+ :options='$parent.$parent.user_types' placeholder='用户类型'
46
+ close-on-select
47
+ condition="tcpi.f_user_type = '{}'"></v-select>
48
+ </div>
40
49
  <div class="col-sm-4 form-group" style="margin: 0">
41
50
  <role-selector-safe
42
51
  role-name="安检员"
@@ -45,7 +54,7 @@
45
54
  @re-res="$parent.$parent.getRes"
46
55
  :value.sync="model.f_checker_id"
47
56
  v-model="model.f_checker_id"
48
- condition="tcp.f_checker_name = '{}'">
57
+ condition="tcp.f_checker = '{}'">
49
58
  </role-selector-safe>
50
59
  </div>
51
60
  <div style="float: right">
@@ -54,11 +63,11 @@
54
63
  progress="safeGetExportProgress"
55
64
  sqlurl="rs/logic/SafeExportExcel" sql-name="safeStatisticsMonth" template-name='安检报表月' :choose-col="true"></export-excel-safe>
56
65
  </div>
57
- <print-data :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.model"
66
+ <print-data-safe :sum-field="$parent.$parent.excelHeaders" :model="$parent.$parent.print_model"
58
67
  :field="$parent.$parent.excelHeaders"
59
68
  :defaultfield="$parent.$parent.defaultPrint"
60
- titletable="安检报表月" :starthead="$parent.$parent.getstart"
61
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
69
+ :titletable="'安检月报表'" :starthead="$parent.$parent.getstart"
70
+ ></print-data-safe>
62
71
  <button class="button_spacing button_search" @click="search()">查询</button>
63
72
  </div>
64
73
  </div>
@@ -108,6 +117,9 @@
108
117
  <th>
109
118
  <nobr>12月</nobr>
110
119
  </th>
120
+ <th>
121
+ <nobr>小计</nobr>
122
+ </th>
111
123
  </tr>
112
124
  </template>
113
125
  <template partial='body'>
@@ -126,6 +138,7 @@
126
138
  <td style="text-align: center">{{ row.month10 }}</td>
127
139
  <td style="text-align: center">{{ row.month11 }}</td>
128
140
  <td style="text-align: center">{{ row.month12 }}</td>
141
+ <td style="text-align: center">{{ row.countarea }}</td>
129
142
  </template>
130
143
  <template partial="foot">
131
144
  <td style="text-align: center" colspan="2"><span><b>合计:</b></span></td>
@@ -141,6 +154,7 @@
141
154
  <td style="text-align: center">{{ model.sums.month10 }}</td>
142
155
  <td style="text-align: center">{{ model.sums.month11 }}</td>
143
156
  <td style="text-align: center">{{ model.sums.month12 }}</td>
157
+ <td style="text-align: center">{{ model.sums.countarea }}</td>
144
158
  </template>
145
159
  </data-grid>
146
160
  </criteria-paged>
@@ -169,13 +183,16 @@ export default {
169
183
  month9: '',
170
184
  month10: '',
171
185
  month11: '',
172
- month12: ''
186
+ month12: '',
187
+ countarea: ''
173
188
  }),
174
189
  resids:{},
175
190
  searchData:{
176
191
  condition: "1=1",
177
192
  orgid: this.$login.f.orgid
178
193
  },
194
+ print_model:{},
195
+ user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
179
196
  excelHeaders:{
180
197
  'f_residential_area': '小区名称',
181
198
  'month1': '1月',
@@ -190,20 +207,39 @@ export default {
190
207
  'month10': '10月',
191
208
  'month11': '11月',
192
209
  'month12': '12月',
210
+ 'countarea':'小计'
193
211
  },
194
212
  printshow: false,
195
- defaultPrint: ['f_residential_area', 'month1', 'month2', 'month3', 'month4', 'month5', 'month6', 'month7', 'month8', 'month9', 'month10', 'month11', 'month12',],
213
+ defaultPrint: ['f_residential_area', 'month1', 'month2', 'month3', 'month4', 'month5', 'month6', 'month7', 'month8', 'month9', 'month10', 'month11', 'month12','countarea'],
196
214
  sumsmodel: {},
197
215
  }
198
216
  },
199
217
  ready() {
200
- this.model.search('1=1')
218
+ // this.model.search('1=1')
201
219
  },
202
220
  methods: {
203
- selfSearch(args) {
204
- this.model.search(args.condition, args.model, args.condValue)
221
+ async selfSearch(args) {
222
+ await this.model.search(args.condition, args.model, args.condValue)
205
223
  this.searchData.condition = args.condition
206
224
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
225
+ this.print_model = JSON.parse(JSON.stringify(this.$refs.paged.$refs.grid.model))
226
+ this.print_model.rows.push({
227
+ 'f_residential_area': '合计',
228
+ 'month1': this.sumsmodel.month1,
229
+ 'month2': this.sumsmodel.month2,
230
+ 'month3': this.sumsmodel.month3,
231
+ 'month4': this.sumsmodel.month4,
232
+ 'month5': this.sumsmodel.month5,
233
+ 'month6': this.sumsmodel.month6,
234
+ 'month7': this.sumsmodel.month7,
235
+ 'month8': this.sumsmodel.month8,
236
+ 'month9': this.sumsmodel.month9,
237
+ 'month10': this.sumsmodel.month10,
238
+ 'month11': this.sumsmodel.month11,
239
+ 'month12': this.sumsmodel.month12,
240
+ 'countarea':this.sumsmodel.countarea
241
+ })
242
+ this.print_model.totalPage = 0
207
243
  },
208
244
  getRes(obj) {
209
245
  //tag
@@ -220,7 +256,7 @@ export default {
220
256
  },
221
257
  computed: {
222
258
  getstart() {
223
- return `开始时间:${this.$refs.paged.$refs.cri.model.startDate} 结束时间:${this.$refs.paged.$refs.cri.model.endDate}`
259
+ return `时间:${this.$refs.paged.$refs.criteria.model.start_time ? this.$refs.paged.$refs.criteria.model.start_time : ''}`
224
260
  },
225
261
  }
226
262
  }
@@ -35,31 +35,40 @@
35
35
  <input type="text" class="input_search" v-model="model.f_residential_area"
36
36
  style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
37
37
  </div>
38
+ <div class="form-group col-sm-2">
39
+ <label class="font_normal_body">用户类型</label>
40
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
41
+ :value-single="true" style="width: 60%"
42
+ class="select_list select"
43
+ :options='$parent.$parent.user_types' placeholder='用户类型'
44
+ close-on-select
45
+ condition="tcpi.f_user_type = '{}'"></v-select>
46
+ </div>
38
47
  <div class="col-sm-4 form-group" style="margin-top: 8px">
39
48
  <button class="button_search button_spacing" @click="search()">查询</button>
40
- <report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
41
- <report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
49
+ <report-print id='yearPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
50
+ <report-excel id='yearPrint'></report-excel>
42
51
  </div>
43
52
  </div>
44
53
  </div>
45
54
  </criteria>
46
- <div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
55
+ <div partial='list' id='yearPrint' class="list_area" style="overflow-y: scroll">
47
56
  <table class='tableprint' style="margin: 0px auto">
48
57
  <thead>
49
58
  <tr>
50
- <th colspan='5' style="font-weight: normal; text-align: left;">
59
+ <th colspan='12' style="font-weight: normal; text-align: left;">
51
60
  <h3 style="text-align: center">安检年报表</h3>
52
61
  </th>
53
62
  </tr>
54
63
  <tr>
55
- <th colspan='5' style="font-weight: normal; text-align: center;">
64
+ <th colspan='12' style="font-weight: normal; text-align: center;">
56
65
  开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
57
66
  结束时间:{{ model.model.endDate }}
58
67
  </th>
59
68
  </tr>
60
69
  </thead>
61
70
  <tr>
62
- <th colspan='5' style="font-weight: normal;">
71
+ <th colspan='12' style="font-weight: normal;">
63
72
  {{{ model.data.substring(26,model.data.length-8) }}}
64
73
  </th>
65
74
  </tr>
@@ -79,6 +88,7 @@
79
88
  let model = new DataModel('rs/report/safeStatisticsYear', {})
80
89
  // model.f_filialeid = '(' + this.$login.f.orgid + ')'
81
90
  return {
91
+ user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
82
92
  userid: this.$login.f.id,
83
93
  source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
84
94
  model: model
@@ -14,7 +14,10 @@
14
14
  隐患类型明细表民用
15
15
  </button>
16
16
  <button class="button_spacing button_search" @click="showaudio(5)" :class="{color:searchs.search5}">
17
- 安检员明细
17
+ 安检员明细(有计划)
18
+ </button>
19
+ <button class="button_spacing button_search" @click="showaudio(9)" :class="{color:searchs.search9}">
20
+ 安检员明细(无计划)
18
21
  </button>
19
22
  <button class="button_spacing button_search" @click="showaudio(6)" :class="{color:searchs.search6}">
20
23
  安检日报表
@@ -58,6 +61,10 @@
58
61
  <div v-if="searchs.search8">
59
62
  <safe-statistics-year ></safe-statistics-year>
60
63
  </div>
64
+ <!--安检年报表-->
65
+ <div v-if="searchs.search9">
66
+ <no-checkplan-safecheck ></no-checkplan-safecheck>
67
+ </div>
61
68
  </template>
62
69
 
63
70
 
@@ -77,7 +84,8 @@ export default {
77
84
  search5: false,
78
85
  search6: false,
79
86
  search7: false,
80
- search8: false
87
+ search8: false,
88
+ search9: false
81
89
  },
82
90
  currentActiveSearch:''
83
91
  }
@@ -3,18 +3,23 @@ import Vue from "vue";
3
3
 
4
4
  //手机特殊目录注册到该文件中
5
5
  let specialComp = {
6
- "plan-manage":(resolve) => { require(['./pc/PlanManage.vue'], resolve) },
7
- "role-selector-safe":(resolve) => { require(['./pc/RoleSelector.vue'], resolve) },
8
- "check-user-list":(resolve) => { require(['./pc/checkUserList.vue'], resolve) },
9
- "safe-table":(resolve) => { require(['./pc/safeTable.vue'], resolve) },
10
- "safe-detail":(resolve) => { require(['./pc/safeDetail.vue'], resolve) },
11
- "community-detail":(resolve) => { require(['./pc/communityDetail.vue'], resolve) },
12
- "community-type-detail-g":(resolve) => { require(['./pc/communityTypeDetailG.vue'], resolve) },
13
- "community-type-detail-m":(resolve) => { require(['./pc/communityTypeDetailM.vue'], resolve) },
14
- "safe-statistics":(resolve) => { require(['./pc/safeStatistics.vue'], resolve) },
15
- "safe-statistics-day":(resolve) => { require(['./pc/safeStatisticsDay.vue'], resolve) },
16
- "safe-statistics-month":(resolve) => { require(['./pc/safeStatisticsMonth.vue'], resolve) },
17
- "safe-statistics-year":(resolve) => { require(['./pc/safeStatisticsYear.vue'], resolve) },
6
+ "plan-manage":(resolve) => { require(['./pc/PlanManage'], resolve) },
7
+ "role-selector-safe":(resolve) => { require(['./pc/RoleSelector'], resolve) },
8
+ "check-user-list":(resolve) => { require(['./pc/checkUserList'], resolve) },
9
+ 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
10
+ "safe-table":(resolve) => { require(['./pc/safeTable'], resolve) },
11
+ "safe-detail":(resolve) => { require(['./pc/safeDetail'], resolve) },
12
+ 'check-search-user':(resolve) => {require(['./pc/CheckSearchUser'], resolve)},
13
+ "community-detail":(resolve) => { require(['./pc/communityDetail'], resolve) },
14
+ "community-type-detail-g":(resolve) => { require(['./pc/communityTypeDetailG'], resolve) },
15
+ "community-type-detail-m":(resolve) => { require(['./pc/communityTypeDetailM'], resolve) },
16
+ "safe-statistics":(resolve) => { require(['./pc/safeStatistics'], resolve) },
17
+ "safe-statistics-day":(resolve) => { require(['./pc/safeStatisticsDay'], resolve) },
18
+ "safe-statistics-month":(resolve) => { require(['./pc/safeStatisticsMonth'], resolve) },
19
+ "safe-statistics-year":(resolve) => { require(['./pc/safeStatisticsYear'], resolve) },
20
+ "no-checkplan-safecheck":(resolve) => { require(['./pc/NoCheckplanSafecheck'], resolve) },
21
+ "print-data-safe":(resolve) => { require(['./pc/PrintData'], resolve) },
22
+ "print-table-safe":(resolve) => { require(['./pc/PrintTable'], resolve) },
18
23
  }
19
24
  exports.specialComp = specialComp
20
25