safecheck-client 3.0.33-13 → 3.0.33-130

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 (145) hide show
  1. package/index.html +6 -2
  2. package/package.json +3 -3
  3. package/src/App.vue +31 -31
  4. package/src/components/Util/ImgSelfSafePlus.vue +12 -10
  5. package/src/components/Util.js +7 -0
  6. package/src/components/android/CurrentCreate.vue +1 -1
  7. package/src/components/android/SafecheckDevices.vue +2 -0
  8. package/src/components/android/SafecheckOrderV.vue +15 -11
  9. package/src/components/android/SwitchValve.vue +1 -1
  10. package/src/components/map/checkScreen.vue +27 -21
  11. package/src/components/paper/PlanChooser.vue +4 -2
  12. package/src/components/planmanage/PlanManage.vue +14 -4
  13. package/src/components/planmanage/checkPlanList.vue +2 -1
  14. package/src/components/planmanage/checkUserList.vue +2 -0
  15. package/src/components/report/CheckPlanCountChartArea.vue +120 -120
  16. package/src/components/report/HiddenSituation.vue +3 -3
  17. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  18. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  19. package/src/components/rongcheng/DefectPaper.vue +1 -1
  20. package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
  21. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  22. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  23. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  24. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  25. package/src/components/safecheckNew/PaperList.vue +785 -0
  26. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  27. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  28. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  29. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  30. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  31. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
  32. package/src/filiale/Util.js +5 -0
  33. package/src/filiale/baiyin/android.js +9 -0
  34. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  35. package/src/filiale/baiyin/pc.js +13 -0
  36. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  37. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  38. package/src/filiale/bayan/android/SafecheckOrderV.vue +2855 -2853
  39. package/src/filiale/bayan/android/SafecheckUserInfo.vue +863 -811
  40. package/src/filiale/bayan/android.js +1 -0
  41. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  42. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  43. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  44. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  45. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  46. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  47. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  48. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  49. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  50. package/src/filiale/bayan/pc/PaperList.vue +899 -792
  51. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  52. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  53. package/src/filiale/bayan/pc.js +6 -0
  54. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  55. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  56. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  57. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  58. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  59. package/src/filiale/fugou/android.js +2 -1
  60. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  61. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  62. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  63. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  64. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  65. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  66. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  67. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  68. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  69. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  70. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  71. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  72. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  73. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  74. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  75. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  76. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  77. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  78. package/src/filiale/jingyang/pc.js +1 -0
  79. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  80. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  81. package/src/filiale/liaoyuan/pc.js +2 -1
  82. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  83. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  84. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  85. package/src/filiale/rongchuang/android.js +1 -0
  86. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  87. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  88. package/src/filiale/rongchuang/pc.js +1 -0
  89. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  90. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  91. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  92. package/src/filiale/siyang/android.js +11 -0
  93. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  94. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  95. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  96. package/src/filiale/siyang/pc/checkUserList.vue +781 -0
  97. package/src/filiale/siyang/pc.js +15 -0
  98. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  99. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  100. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  101. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  102. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  103. package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
  104. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  105. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  106. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  107. package/src/filiale/weinan/pc.js +1 -0
  108. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1076 -1076
  109. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +84 -63
  110. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  111. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  112. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
  113. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  114. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
  115. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
  116. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
  117. package/src/filiale/yangchunboneng/android.js +1 -0
  118. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  119. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  120. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  121. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
  122. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  123. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  124. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  125. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  126. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  127. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  128. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  129. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  130. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  131. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  132. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  133. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  134. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  135. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  136. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  137. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  138. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  139. package/src/filiale/yongzhou/pc.js +4 -0
  140. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  141. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  142. package/src/main.js +33 -33
  143. package/src/rongcheng.js +3 -1
  144. package/src/safecheck-android.js +6 -0
  145. package/src/safecheck.js +3 -0
@@ -1,120 +1,120 @@
1
- <template>
2
- <div id='app' class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.search' class="search_area" v-ref:criteria>
5
- <div novalidate class="form-inline auto" partial>
6
- <div class="row">
7
- <div class="col-sm-4 form-group">
8
- <role-selector-safe
9
- role-name="安检员"
10
- role-lable="安&ensp;检&ensp;员"
11
- @re-res="$parent.$parent.getRes"
12
- :value.sync="model.f_checker_id"
13
- v-model="model.f_checker_id"
14
- condition="f_checker_name = '{}'">
15
- </role-selector-safe>
16
- </div>
17
- <div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
18
- <label class="font_normal_body">小区名称</label>
19
- <input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area" placeholder='小区名称'
20
- condition="f_residential_area like '%{}%'" v-next-el="cx" v-el:qjmc>
21
- </div>
22
- <div class="col-sm-2 form-group">
23
- <label for="startDate" class="font_normal_body">开始日期:</label>
24
- <datepicker id="startDate" placeholder="开始日期"
25
- v-model="model.startDate"
26
- :value.sync="model.startDate"
27
- style="width: 60%;"
28
- :disabled-days-of-Week="[]"
29
- :format="'yyyy-MM-dd HH:mm:ss'"
30
- :show-reset-button="reset">
31
- </datepicker>
32
- </div>
33
- <div class="col-sm-2 form-group">
34
- <label for="endDate" class="font_normal_body">结束日期:</label>
35
- <datepicker id="endDate" placeholder="结束日期"
36
- v-model="model.endDate"
37
- :value.sync="model.endDate"
38
- :disabled-days-of-Week="[]"
39
- style="width: 60%;"
40
- :format="'yyyy-MM-dd HH:mm:ss'"
41
- :show-reset-button="reset">
42
- </datepicker>
43
- </div>
44
- <div class="col-sm-3 form-group" style="margin-top: 8px">
45
- <button class="button_search button_spacing" @click="search()">查询</button>
46
- <report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
47
- <report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
48
- </div>
49
- </div>
50
- </div>
51
- </criteria>
52
- <div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
53
- <table class='tableprint' style="margin: 0px auto">
54
- <thead>
55
- <tr>
56
- <th colspan='5' style="font-weight: normal; text-align: left;">
57
- <h3 style="text-align: center">安检数据报表</h3>
58
- </th>
59
- </tr>
60
- <tr>
61
- <th colspan='5' style="font-weight: normal; text-align: center;">
62
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
63
- 结束时间:{{ model.model.endDate }}
64
- </th>
65
- </tr>
66
- </thead>
67
- <tr>
68
- <th colspan='5' style="font-weight: normal;">
69
- {{{ model.data.substring(26,model.data.length-8) }}}
70
- </th>
71
- </tr>
72
- </table>
73
- </div>
74
- </criteria-paged>
75
- </div>
76
-
77
- </template>
78
-
79
- <script>
80
- import {DataModel} from 'vue-client'
81
- import * as Util from "../Util";
82
-
83
- export default {
84
- title: '维修员报表',
85
- data() {
86
- let model = new DataModel('/rs/safecheck/report/CheckPlanCountChartArea', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_filialeid: 'this.f_filialeid'})
87
- model.f_filialeid = '(' + this.$login.f.orgid + ')'
88
- return {
89
- filialeNameStr: '',
90
- filialeCodeStr: '',
91
- userid: this.$login.f.id,
92
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
93
- model: model
94
- }
95
- },
96
- methods: {
97
- getRes(obj) {
98
- this.model.f_filialeid = this.$login.convertToIn(obj.resids);
99
- },
100
- search(args){
101
- if (args.model.endDate){
102
- args.condition += ` and f_offsite_time <= '${args.model.endDate}'`
103
- }
104
- if (args.model.startDate){
105
- args.condition += ` and f_offsite_time >= '${args.model.startDate}'`
106
- }
107
- this.model.search(args.condition,args.model)
108
- }
109
- },
110
- ready() {
111
- this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString()+' 00:00:00'
112
- this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString()+' 23:59:59'
113
- },
114
- computed: {
115
- selected() {
116
- return this.$refs.grid.selected
117
- },
118
- }
119
- }
120
- </script>
1
+ <template>
2
+ <div id='app' class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.search' class="search_area" v-ref:criteria>
5
+ <div novalidate class="form-inline auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-4 form-group">
8
+ <role-selector-safe
9
+ role-name="安检员"
10
+ role-lable="安&ensp;检&ensp;员"
11
+ @re-res="$parent.$parent.getRes"
12
+ :value.sync="model.f_checker_id"
13
+ v-model="model.f_checker_id"
14
+ condition="f_checker_name = '{}'">
15
+ </role-selector-safe>
16
+ </div>
17
+ <div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
18
+ <label class="font_normal_body">小区名称</label>
19
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area" placeholder='小区名称'
20
+ condition="f_residential_area like '%{}%'" v-next-el="cx" v-el:qjmc>
21
+ </div>
22
+ <div class="col-sm-2 form-group">
23
+ <label for="startDate" class="font_normal_body">开始日期:</label>
24
+ <datepicker id="startDate" placeholder="开始日期"
25
+ v-model="model.startDate"
26
+ :value.sync="model.startDate"
27
+ style="width: 60%;"
28
+ :disabled-days-of-Week="[]"
29
+ :format="'yyyy-MM-dd HH:mm:ss'"
30
+ :show-reset-button="reset">
31
+ </datepicker>
32
+ </div>
33
+ <div class="col-sm-2 form-group">
34
+ <label for="endDate" class="font_normal_body">结束日期:</label>
35
+ <datepicker id="endDate" placeholder="结束日期"
36
+ v-model="model.endDate"
37
+ :value.sync="model.endDate"
38
+ :disabled-days-of-Week="[]"
39
+ style="width: 60%;"
40
+ :format="'yyyy-MM-dd HH:mm:ss'"
41
+ :show-reset-button="reset">
42
+ </datepicker>
43
+ </div>
44
+ <div class="col-sm-3 form-group" style="margin-top: 8px">
45
+ <button class="button_search button_spacing" @click="search()">查询</button>
46
+ <report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
47
+ <report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </criteria>
52
+ <div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
53
+ <table class='tableprint' style="margin: 0px auto">
54
+ <thead>
55
+ <tr>
56
+ <th colspan='5' style="font-weight: normal; text-align: left;">
57
+ <h3 style="text-align: center">安检数据报表</h3>
58
+ </th>
59
+ </tr>
60
+ <tr>
61
+ <th colspan='5' style="font-weight: normal; text-align: center;">
62
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
63
+ 结束时间:{{ model.model.endDate }}
64
+ </th>
65
+ </tr>
66
+ </thead>
67
+ <tr>
68
+ <th colspan='5' style="font-weight: normal;">
69
+ {{{ model.data.substring(26,model.data.length-8) }}}
70
+ </th>
71
+ </tr>
72
+ </table>
73
+ </div>
74
+ </criteria-paged>
75
+ </div>
76
+
77
+ </template>
78
+
79
+ <script>
80
+ import {DataModel} from 'vue-client'
81
+ import * as Util from "../Util";
82
+
83
+ export default {
84
+ title: '维修员报表',
85
+ data() {
86
+ let model = new DataModel('/rs/safecheck/report/CheckPlanCountChartArea', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_filialeid: 'this.f_filialeid'})
87
+ model.f_filialeid = '(' + this.$login.f.orgid + ')'
88
+ return {
89
+ filialeNameStr: '',
90
+ filialeCodeStr: '',
91
+ userid: this.$login.f.id,
92
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
93
+ model: model
94
+ }
95
+ },
96
+ methods: {
97
+ getRes(obj) {
98
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids);
99
+ },
100
+ search(args){
101
+ if (args.model.endDate){
102
+ args.condition += ` and f_offsite_time <= '${args.model.endDate}'`
103
+ }
104
+ if (args.model.startDate){
105
+ args.condition += ` and f_offsite_time >= '${args.model.startDate}'`
106
+ }
107
+ this.model.search(args.condition,args.model)
108
+ }
109
+ },
110
+ ready() {
111
+ this.$refs.paged.$refs.criteria.model.startDate = Util.toStandardDateString()+' 00:00:00'
112
+ this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString()+' 23:59:59'
113
+ },
114
+ computed: {
115
+ selected() {
116
+ return this.$refs.grid.selected
117
+ },
118
+ }
119
+ }
120
+ </script>
@@ -51,9 +51,9 @@
51
51
  v-model='model.userType'
52
52
  :value.sync="model.userType"
53
53
  :options='$parent.$parent.userTypes'
54
- condition="tuf.f_gasproperties = '{}'"
55
- :value-single="true"
56
- close-on-select clear-button></v-select>
54
+ condition="tuf.f_gasproperties in {} "
55
+ :multiple="true"
56
+ ></v-select>
57
57
  </div>
58
58
  <div class="col-sm-2 form-group" >
59
59
  <label class="font_normal_body">气表类型</label>
@@ -31,6 +31,9 @@
31
31
  <img-self :src="img.f_overall_path" alt="总体送气照片" :width="150" :height="200"></img-self>
32
32
  <!--<img src="../../assets/remove.png" @click="delfile('f_overall_path', img.f_overall_path,index)" class="imgs" style="width: 30px;" alt="">-->
33
33
  </div>
34
+ <div class="img" v-for="row in fileInfoData">
35
+ <img :src="row.f_downloadURL">
36
+ </div>
34
37
  </div>
35
38
  </div>
36
39
  <div class="row text-right div-photo">
@@ -362,6 +365,7 @@
362
365
  title: '用户反馈',
363
366
  data() {
364
367
  return {
368
+ fileInfoData:[],
365
369
  paper:this.$parent.data,
366
370
  printContent:[],
367
371
  radios:[
@@ -432,12 +436,34 @@
432
436
  Url:this.$androidUtil.getProxyUrl()
433
437
  }
434
438
  },
435
- props: ['idx'],
439
+ props: ['idx','item'],
436
440
  components: {
437
441
  RadioGroup,
438
442
  Radio
439
443
  },
440
444
  methods: {
445
+ //获取pc上传的送气全景照片
446
+ getGaspic() {
447
+ let data = {
448
+ tablename: 't_files',
449
+ condition: `f_blobid = '${this.item.id}' order by f_uploaddate desc `
450
+ }
451
+ let http = new HttpResetClass()
452
+ http.load('post', 'rs/sql/singleTable', {data: data}, {
453
+ resolveMsg: null,
454
+ rejectMsg: null
455
+ }).then(getFile=> {
456
+ for (var i = 0; i < getFile.data.length; i++) {
457
+ let temp = getFile.data[i].f_downloadpath
458
+ if (temp) {
459
+ let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
460
+ getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
461
+ }
462
+ }
463
+ this.fileInfoData = []
464
+ this.fileInfoData = getFile.data
465
+ })
466
+ },
441
467
  check(index) {
442
468
  //tag
443
469
  // 先取消所有选中项
@@ -948,6 +974,7 @@
948
974
  }
949
975
  //tag
950
976
  //tag
977
+ this.getGaspic()
951
978
  },
952
979
  watch:{
953
980
  '$parent.isUpload'(val){
@@ -38,7 +38,7 @@
38
38
  <devicesm> </devicesm>
39
39
  </div>
40
40
  <div style="width: 95%;height: 900px;margin-left: 20px;float: left;">
41
- <asp-paper-feedbackm v-bind:paper="this.data" ></asp-paper-feedbackm>
41
+ <asp-paper-feedbackm v-bind:paper="this.data" :item="item" ></asp-paper-feedbackm>
42
42
  </div>
43
43
  </div>
44
44
  </div>
@@ -407,7 +407,7 @@
407
407
  defectType:[],
408
408
  userTypes:[{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
409
409
  defectLeave:'',
410
- defectLeaveList:[{label:'全部',value:''},{label:'一级隐患',value:'一级隐患'},{label:'二级隐患',value:'二级隐患'},{label:'三级隐患',value:'三级隐患'},{label: '其他隐患'}],
410
+ defectLeaveList:[{label:'全部',value:''},{label:'一级隐患',value:'一级隐患'},{label:'二级隐患',value:'二级隐患'},{label:'三级隐患',value:'三级隐患'},{label: '其他隐患',value:'其他隐患'}],
411
411
  thead: '',
412
412
  headData: ['入户状态','用户名','用户电话','用户地址','安检时间','安检员','计划名','是否有隐患','隐患数','一级隐患数','一级隐患','二级隐患数','二级隐患','三级隐患数','三级隐患','其他隐患','隐患内容'],
413
413
  bodyData: ['f_entry_status','f_user_name','f_user_phone','f_address','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','f_fist_count','f_fist_content','f_second_count','f_second_content','f_third_count','f_third_content','f_other_count','f_defect_content'],
@@ -158,6 +158,7 @@
158
158
  <td style="text-align: center">{{row.f_checker_name}}</td>
159
159
  <td style="text-align: center">
160
160
  <button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
161
+ <button class="button_spacing button_search-1" @click="$parent.$parent.$parent.addpic(row)">添加照片</button>
161
162
  <!--<button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"
162
163
  @click="$parent.$parent.$parent.print(row)">
163
164
  打印
@@ -168,6 +169,27 @@
168
169
  </criteria-paged>
169
170
  <check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
170
171
  </div>
172
+ <modal :show.sync="pic" v-ref:modal backdrop="true">
173
+ <header slot="modal-header" class="modal-header">
174
+ 上传照片22
175
+ </header>
176
+ <article slot="modal-body" class="modal-body">
177
+ <div class="from-group">
178
+ <safecheck-file-upload
179
+ :blodid="bolbid"
180
+ :isupload="true"
181
+ :isdelete="true"
182
+ :isusetype="true"
183
+ :isremark="true"
184
+ :takeimg="false"
185
+ isusetype="送气照片"
186
+ ></safecheck-file-upload>
187
+ </div>
188
+ </article>
189
+ <footer slot="modal-footer" class="modal-footer">
190
+ <button type="button" class="btn btn-success" @click='piclose'>关闭</button>
191
+ </footer>
192
+ </modal>
171
193
  </div>
172
194
  </template>
173
195
 
@@ -179,6 +201,7 @@
179
201
  import * as Util from '../Util'
180
202
  import getNowDate from "../../utils/getNowDate";
181
203
  import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
204
+ import safecheckUpload from "../Util/SafecheckUpload.vue";
182
205
 
183
206
  //获取json配置文件
184
207
  let asyncReady = async function (self) {
@@ -209,6 +232,9 @@
209
232
 
210
233
  export default {
211
234
  title: '非民用送气结果查看',
235
+ components: {
236
+ safecheckUpload
237
+ },
212
238
  data() {
213
239
  let model = new PagedList('rs/sql/查找安检单', 20, {
214
240
  f_plan_id: 'this.f_plan_id',
@@ -274,10 +300,18 @@
274
300
  orderFields: {
275
301
  f_offsite_time: 'no'
276
302
  },
303
+ bolbid:null,
304
+ pic:false,
277
305
  }
278
306
  },
279
307
  methods: {
280
-
308
+ piclose(){
309
+ this.pic=false
310
+ },
311
+ addpic(row){
312
+ this.bolbid=row.id
313
+ this.pic=true
314
+ },
281
315
  change(row) {
282
316
  //Vue.$login = {jwt: row.f_checker_id}
283
317
  asyncReady(this).then(() => {
@@ -163,6 +163,7 @@
163
163
  <td style="text-align: center">{{row.f_checker_name}}</td>
164
164
  <td style="text-align: center">
165
165
  <button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
166
+ <button class="button_spacing button_search-1" @click="$parent.$parent.$parent.addpic(row)">添加照片</button>
166
167
  <!--<button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"
167
168
  @click="$parent.$parent.$parent.print(row)">
168
169
  打印
@@ -173,6 +174,26 @@
173
174
  </criteria-paged>
174
175
  <check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
175
176
  </div>
177
+ <modal :show.sync="pic" v-ref:modal backdrop="true">
178
+ <header slot="modal-header" class="modal-header">
179
+ 上传照片
180
+ </header>
181
+ <article slot="modal-body" class="modal-body">
182
+ <div class="from-group">
183
+ <safecheck-file-upload
184
+ :blodid="bolbid"
185
+ :isupload="true"
186
+ :isdelete="true"
187
+ :isusetype="true"
188
+ :isremark="true"
189
+ :takeimg="false"
190
+ ></safecheck-file-upload>
191
+ </div>
192
+ </article>
193
+ <footer slot="modal-footer" class="modal-footer">
194
+ <button type="button" class="btn btn-success" @click='piclose'>关闭</button>
195
+ </footer>
196
+ </modal>
176
197
  </div>
177
198
  </template>
178
199
 
@@ -184,6 +205,7 @@
184
205
  import * as Util from '../Util'
185
206
  import getNowDate from "../../utils/getNowDate";
186
207
  import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
208
+ import safecheckUpload from "../Util/SafecheckUpload.vue";
187
209
 
188
210
  //获取json配置文件
189
211
  let asyncReady = async function (self) {
@@ -214,6 +236,7 @@
214
236
 
215
237
  export default {
216
238
  title: '民用送气结果查看',
239
+ components: {safecheckUpload},
217
240
  data() {
218
241
  let model = new PagedList('rs/sql/查找安检单', 20, {
219
242
  f_plan_id: 'this.f_plan_id',
@@ -230,16 +253,6 @@
230
253
  model.f_no_checkplan = ''
231
254
  model.f_filialeid = this.$login.f.orgid
232
255
  model.f_check_type='民用'
233
- // let searchData={
234
- // f_plan_id: this.model.f_checker_id==undefined?"":this.model.f_checker_id,
235
- // f_approved: this.model.f_approved,
236
- // f_entry_status: this.model.f_entry,
237
- // f_no_checkplan:this.model.f_no_checkplan[0],
238
- // f_filialeid: this.model.f_filialeid,
239
- // //orderitem: this.model.f_offsite_time,
240
- // //condition:this.model.condition
241
- // }
242
- // model.f_subcompany = this.$login.f.f_fengongsi
243
256
  return {
244
257
  searchData: {
245
258
  condition:"1=1",
@@ -276,10 +289,18 @@
276
289
  orderFields: {
277
290
  f_offsite_time: 'no'
278
291
  },
292
+ bolbid:null,
293
+ pic:false,
279
294
  }
280
295
  },
281
296
  methods: {
282
-
297
+ piclose(){
298
+ this.pic=false
299
+ },
300
+ addpic(row){
301
+ this.bolbid=row.id
302
+ this.pic=true
303
+ },
283
304
  change(row) {
284
305
  //Vue.$login = {jwt: row.f_checker_id}
285
306
  asyncReady(this).then(() => {