safecheck-client 3.0.30-9 → 3.0.30-90

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 (102) hide show
  1. package/examples/SafePlan-liaoyuan/App.vue +3 -1
  2. package/package.json +4 -3
  3. package/src/App.vue +2 -2
  4. package/src/components/DefectDealMain/DefectListNew.vue +5 -5
  5. package/src/components/Util.js +15 -0
  6. package/src/components/android/AddPlanItem.vue +5 -2
  7. package/src/components/android/AreaPlan.vue +2 -2
  8. package/src/components/android/CurrentCreate.vue +3 -2
  9. package/src/components/android/CurrentCreate_new.vue +563 -559
  10. package/src/components/android/PaperFeedback.vue +4 -2
  11. package/src/components/android/SafecheckOrderV.vue +2 -2
  12. package/src/components/android/UploadPage.vue +13 -123
  13. package/src/components/paper/PaperList.vue +9 -2
  14. package/src/components/paper/PlanChooser.vue +8 -6
  15. package/src/components/pc/Edit.vue +126 -0
  16. package/src/components/pc/LodopFuncs.js +159 -0
  17. package/src/components/pc/NewCheckpaper.vue +9 -5
  18. package/src/components/pc/PaperEdit.vue +151 -0
  19. package/src/components/pc/PrintData.vue +243 -0
  20. package/src/components/pc/PrintTable.vue +241 -0
  21. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +3 -0
  22. package/src/components/report/NoCheckplanSafecheck.vue +0 -2
  23. package/src/components/rongcheng/CheckCurrentCreate.vue +8 -0
  24. package/src/components/rongcheng/PaperStatem.vue +42 -1
  25. package/src/components/rongcheng/PhoneUpUserinfo.vue +149 -199
  26. package/src/components/rongcheng/SafecheckOrderV.vue +8 -0
  27. package/src/components/rongcheng/SafecheckUserInfo.vue +419 -0
  28. package/src/components/rongcheng/report/CheckPlanAreaList.vue +21 -3
  29. package/src/filiale/ankangyihua/pc/checkUserList.vue +1 -0
  30. package/src/filiale/bayan/android/CurrentCreate.vue +1 -1
  31. package/src/filiale/bayan/android/Edit.vue +132 -0
  32. package/src/filiale/bayan/android/SafecheckOrderV.vue +2 -2
  33. package/src/filiale/bayan/android/SafecheckUserInfo.vue +6 -1
  34. package/src/filiale/bayan/android.js +2 -1
  35. package/src/filiale/fugou/android/AddPlanItem.vue +413 -0
  36. package/src/filiale/fugou/android.js +10 -0
  37. package/src/filiale/fugou/pc/DefectMainNew.vue +63 -0
  38. package/src/filiale/fugou/pc/DefectPaperNew.vue +1081 -0
  39. package/src/filiale/fugou/pc/PaperDefectMain.vue +890 -0
  40. package/src/filiale/fugou/pc/PaperList.vue +46 -0
  41. package/src/filiale/fugou/pc/checkUserList.vue +824 -0
  42. package/src/filiale/fugou/pc.js +5 -1
  43. package/src/filiale/hanzhong/android/SafecheckDevices.vue +24 -24
  44. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2 -2
  45. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +1 -1
  46. package/src/filiale/hanzhong/pc/NewCheckpaper.vue +1923 -0
  47. package/src/filiale/hanzhong/pc.js +4 -1
  48. package/src/filiale/huatong/android/CurrentCreate.vue +564 -564
  49. package/src/filiale/huatong/android/SafecheckOrderV.vue +8 -0
  50. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -0
  51. package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -0
  52. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
  53. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -0
  54. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +780 -0
  55. package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
  56. package/src/filiale/kelai/android.js +1 -0
  57. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -0
  58. package/src/filiale/liaoyuan/android.js +1 -0
  59. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
  60. package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
  61. package/src/filiale/qianneng/pc/PaperList.vue +6 -0
  62. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +6 -0
  63. package/src/filiale/tianke/pc/checkScreen.vue +4 -4
  64. package/src/filiale/tianke/pc/cq.jpg +0 -0
  65. package/src/filiale/tianke/pc/qy.jpg +0 -0
  66. package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
  67. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +371 -401
  68. package/src/filiale/wensu/android/AndroidDefectDeal.vue +321 -366
  69. package/src/filiale/wensu/android/AndroidDefectDealItems.vue +480 -0
  70. package/src/filiale/wensu/android.js +1 -0
  71. package/src/filiale/wensu/pc/CheckSearchUser.vue +64 -0
  72. package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
  73. package/src/filiale/wensu/pc/NewCheckpaper.vue +1936 -0
  74. package/src/filiale/wensu/pc/RoleSelector.vue +4 -1
  75. package/src/filiale/wensu/pc/checkUserList.vue +50 -0
  76. package/src/filiale/wensu/pc.js +2 -1
  77. package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
  78. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2069 -2041
  79. package/src/filiale/wuhai/pc/NewCheckpaper.vue +26 -24
  80. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
  81. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +19 -0
  82. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1092 -0
  83. package/src/filiale/yongzhou/pc/LodopFuncs.js +159 -0
  84. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +252 -0
  85. package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
  86. package/src/filiale/yongzhou/pc/PrintData.vue +243 -0
  87. package/src/filiale/yongzhou/pc/PrintTable.vue +241 -0
  88. package/src/filiale/yongzhou/pc/communityDetail.vue +35 -12
  89. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +28 -14
  90. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +28 -14
  91. package/src/filiale/yongzhou/pc/safeDetail.vue +43 -15
  92. package/src/filiale/yongzhou/pc/safeStatistics.vue +16 -6
  93. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +81 -27
  94. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +56 -26
  95. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +16 -6
  96. package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
  97. package/src/filiale/yongzhou/pc.js +17 -12
  98. package/src/filiale/zhongsheng/android/CurrentCreate.vue +540 -536
  99. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
  100. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
  101. package/src/main.js +1 -1
  102. 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>
@@ -182,6 +191,8 @@ export default {
182
191
  condition: "1=1",
183
192
  orgid: this.$login.f.orgid
184
193
  },
194
+ print_model:{},
195
+ user_types: [{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
185
196
  excelHeaders:{
186
197
  'f_residential_area': '小区名称',
187
198
  'month1': '1月',
@@ -196,20 +207,39 @@ export default {
196
207
  'month10': '10月',
197
208
  'month11': '11月',
198
209
  'month12': '12月',
210
+ 'countarea':'小计'
199
211
  },
200
212
  printshow: false,
201
- 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'],
202
214
  sumsmodel: {},
203
215
  }
204
216
  },
205
217
  ready() {
206
- this.model.search('1=1')
218
+ // this.model.search('1=1')
207
219
  },
208
220
  methods: {
209
- selfSearch(args) {
210
- this.model.search(args.condition, args.model, args.condValue)
221
+ async selfSearch(args) {
222
+ await this.model.search(args.condition, args.model, args.condValue)
211
223
  this.searchData.condition = args.condition
212
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
213
243
  },
214
244
  getRes(obj) {
215
245
  //tag
@@ -226,7 +256,7 @@ export default {
226
256
  },
227
257
  computed: {
228
258
  getstart() {
229
- 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 : ''}`
230
260
  },
231
261
  }
232
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