safecheck-client 4.0.0-6 → 4.0.0-61

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 (99) hide show
  1. package/package.json +1 -1
  2. package/src/components/Util/ImgSelfSafePlus.vue +13 -3
  3. package/src/components/android/AndroidDefectDeal.vue +1 -1
  4. package/src/components/android/AndroidDefectDealBeforeSafe.vue +1 -1
  5. package/src/components/android/AndroidDefectDetails.vue +725 -0
  6. package/src/components/android/BlackUserOnLine.vue +2 -2
  7. package/src/components/android/Insurance/PhoneInsurancePurchase.vue +1 -1
  8. package/src/components/android/PaperFeedback.vue +14 -12
  9. package/src/components/android/PaperFeedbackTemp.vue +2 -2
  10. package/src/components/android/PhoneUpUserinfo.vue +20 -0
  11. package/src/components/android/RelieveRestrict.vue +1 -1
  12. package/src/components/android/Restriction.vue +1 -1
  13. package/src/components/android/SafecheckDevices.vue +47 -2
  14. package/src/components/android/SafecheckOrderV.vue +2 -2
  15. package/src/components/android/SealBind.vue +392 -0
  16. package/src/components/android/SealManage.vue +250 -0
  17. package/src/components/inspections/inspectionFeedback.vue +2 -2
  18. package/src/components/paper/PaperList.vue +34 -6
  19. package/src/components/pc/AddToCheckBook.vue +100 -23
  20. package/src/components/pc/CheckBook.vue +2 -0
  21. package/src/components/pc/CheckBookDetails.vue +6 -39
  22. package/src/components/pc/CheckBookEntry.vue +6 -7
  23. package/src/components/pc/CheckBookList.vue +60 -71
  24. package/src/components/pc/CheckBookSearchArea.vue +20 -24
  25. package/src/components/pc/CheckBookSearchUser.vue +139 -84
  26. package/src/components/pc/CheckBookSearchUserList.vue +1 -2
  27. package/src/components/pc/CheckBookUser.vue +276 -44
  28. package/src/components/pc/NewCheckpaper.vue +14 -8
  29. package/src/components/pc/NewCheckpaperTemp.vue +5 -5
  30. package/src/components/pc/PaperDefectMain.vue +1 -0
  31. package/src/components/planmanage/PlanManage.vue +6 -8
  32. package/src/components/rongcheng/AspPaperFeedback.vue +1 -1
  33. package/src/components/rongcheng/PaperFeedback.vue +2 -2
  34. package/src/components/safecheck/queryManage/CheckBookAll.vue +2 -2
  35. package/src/filiale/ancheng/android/PaperFeedback.vue +2 -2
  36. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  37. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +1 -1
  38. package/src/filiale/bayan/android/PaperFeedback.vue +2 -2
  39. package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
  40. package/src/filiale/hanzhong/android/PaperFeedback.vue +2 -2
  41. package/src/filiale/huatong/android/PaperFeedback.vue +2 -2
  42. package/src/filiale/huayin/android/PaperFeedback.vue +2 -2
  43. package/src/filiale/huayin/android/SafecheckOrderV.vue +1 -1
  44. package/src/filiale/jiaocheng/android/PaperFeedback.vue +2 -2
  45. package/src/filiale/jingyang/android/PaperFeedback.vue +2 -2
  46. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +437 -366
  47. package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +346 -0
  48. package/src/filiale/jinhong/android.js +1 -0
  49. package/src/filiale/kelai/android/AndroidDefectDeal.vue +2 -2
  50. package/src/filiale/kelai/android/PaperFeedback.vue +2 -2
  51. package/src/filiale/kelai/android/RelieveRestrict.vue +1 -1
  52. package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
  53. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +1 -1
  54. package/src/filiale/meihekou/android/AreaPlan.vue +569 -0
  55. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -0
  56. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -0
  57. package/src/filiale/meihekou/android/CurrentCreate.vue +1087 -0
  58. package/src/filiale/meihekou/android/MeterReading.vue +106 -0
  59. package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1276 -0
  60. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2400 -0
  61. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +787 -0
  62. package/src/filiale/meihekou/android.js +19 -0
  63. package/src/filiale/meihekou/pc.js +12 -0
  64. package/src/filiale/pingxiang/android/PaperFeedback.vue +2 -2
  65. package/src/filiale/qianneng/android/PaperFeedback.vue +2 -2
  66. package/src/filiale/rizhao/android/PaperFeedback.vue +2 -2
  67. package/src/filiale/rongchuang/android/PaperFeedback.vue +2 -2
  68. package/src/filiale/shanggao/android/PaperFeedback.vue +2 -2
  69. package/src/filiale/shanxian/android/AndroidDefectDeal.vue +1 -1
  70. package/src/filiale/shanxian/android/PaperFeedback.vue +2 -2
  71. package/src/filiale/shexian/android/AndroidDefectDeal.vue +1 -1
  72. package/src/filiale/shexian/android/PaperFeedback.vue +2 -2
  73. package/src/filiale/shimen/android/PaperFeedback.vue +2 -2
  74. package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +1 -1
  75. package/src/filiale/tongchuan/android/PaperFeedback.vue +2 -2
  76. package/src/filiale/weinan/android/SafecheckOrderV.vue +3 -3
  77. package/src/filiale/wenxi/android/PaperFeedback.vue +3 -3
  78. package/src/filiale/wuan/android/PaperFeedback.vue +2 -2
  79. package/src/filiale/wuhai/android/PaperFeedback.vue +2 -2
  80. package/src/filiale/xiangyuanzhongai/android/SafecheckDevices.vue +20 -1
  81. package/src/filiale/xiangyuanzhongai/android/SafecheckOrderV.vue +2282 -0
  82. package/src/filiale/xiangyuanzhongai/android/SafecheckUserInfo.vue +786 -0
  83. package/src/filiale/xiangyuanzhongai/android.js +2 -0
  84. package/src/filiale/xiangyuanzhongai/pc/DefectListNew.vue +663 -0
  85. package/src/filiale/xiangyuanzhongai/pc/PaperList.vue +795 -0
  86. package/src/filiale/xiangyuanzhongai/pc.js +2 -0
  87. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +2 -2
  88. package/src/filiale/yongzhou/android/PaperFeedback.vue +2 -2
  89. package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +1 -1
  90. package/src/filiale/yuansheng/android/PaperFeedback.vue +2 -2
  91. package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +2 -2
  92. package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -0
  93. package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2 -0
  94. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  95. package/src/filiale/yunchengminsheng/android.js +1 -0
  96. package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +16 -5
  97. package/src/filiale/zhongsheng/android/PaperFeedback.vue +2 -2
  98. package/src/filiale/zhoukou/android/PaperFeedback.vue +2 -2
  99. package/src/safecheck-android.js +3 -0
@@ -2,15 +2,15 @@
2
2
  <div id='checkbookEntry' class="flex-row binary">
3
3
  <div class="binary-left">
4
4
  <tabset v-ref:tabs :close="false" class="nav-tabss">
5
- <tab header="小区查询">
6
- <check-book-search-area @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-area>
7
- </tab>
8
- <tab header="单位查询">
9
- <check-book-search-unit @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-unit>
10
- </tab>
11
5
  <tab header="用户查询">
12
6
  <check-book-search-user @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-user>
13
7
  </tab>
8
+ <!-- <tab header="小区查询">-->
9
+ <!-- <check-book-search-area @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-area>-->
10
+ <!-- </tab>-->
11
+ <!-- <tab header="单位查询">-->
12
+ <!-- <check-book-search-unit @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-unit>-->
13
+ <!-- </tab>-->
14
14
  </tabset>
15
15
  </div>
16
16
  <div class="binary-right">
@@ -38,7 +38,6 @@
38
38
  methods: {
39
39
  setBookList(val){
40
40
  console.log("555555")
41
- // console.log("66666",val)
42
41
  this.bookList = val
43
42
  },
44
43
  setBookAll(val){
@@ -16,41 +16,41 @@
16
16
  </role-selector-safe>
17
17
  </div>
18
18
  <div :class="$parent.$parent.style">
19
- <label class="font_normal_body">片区名称</label>
19
+ <label class="font_normal_body">安检册名称</label>
20
20
  <v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
21
21
  :value-single="true" style="width: 60%"
22
22
  class="select_list select"
23
- :options='$parent.$parent.checkBooks' placeholder='片区名称'
23
+ :options='$parent.$parent.checkBooks' placeholder='安检册名称'
24
24
  close-on-select
25
25
  condition="tcb.id ='{}'"></v-select>
26
26
  </div>
27
- <!-- <div :class="$parent.$parent.style">-->
28
- <!-- <label class="font_normal_body">表册类型</label>-->
29
- <!-- <v-select :value.sync="model.f_check_book_type" v-model='model.f_check_book_type'-->
30
- <!-- :value-single="true" style="width: 60%"-->
31
- <!-- class="select_list select"-->
32
- <!-- :options='$parent.$parent.bookTypes' placeholder='表册类型'-->
33
- <!-- close-on-select-->
34
- <!-- condition="tcb.f_check_book_type ='{}'"></v-select>-->
35
- <!-- </div>-->
36
- <!-- <div :class="$parent.$parent.style">-->
37
- <!-- <label class="font_normal_body">用户类型</label>-->
38
- <!-- <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'-->
39
- <!-- :value-single="true" style="width: 60%"-->
40
- <!-- class="select_list select"-->
41
- <!-- :options='$parent.$parent.userTypes' placeholder='用户类型'-->
42
- <!-- close-on-select-->
43
- <!-- condition="tcb.f_user_type ='{}'"></v-select>-->
44
- <!-- </div>-->
27
+ <!-- <div :class="$parent.$parent.style">-->
28
+ <!-- <label class="font_normal_body">表册类型</label>-->
29
+ <!-- <v-select :value.sync="model.f_check_book_type" v-model='model.f_check_book_type'-->
30
+ <!-- :value-single="true" style="width: 60%"-->
31
+ <!-- class="select_list select"-->
32
+ <!-- :options='$parent.$parent.bookTypes' placeholder='表册类型'-->
33
+ <!-- close-on-select-->
34
+ <!-- condition="tcb.f_check_book_type ='{}'"></v-select>-->
35
+ <!-- </div>-->
36
+ <!-- <div :class="$parent.$parent.style">-->
37
+ <!-- <label class="font_normal_body">用户类型</label>-->
38
+ <!-- <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'-->
39
+ <!-- :value-single="true" style="width: 60%"-->
40
+ <!-- class="select_list select"-->
41
+ <!-- :options='$parent.$parent.userTypes' placeholder='用户类型'-->
42
+ <!-- close-on-select-->
43
+ <!-- condition="tcb.f_user_type ='{}'"></v-select>-->
44
+ <!-- </div>-->
45
45
  <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
46
46
  <button type="button" class="button_search button_spacing" @click="search()">查询</button>
47
- <button type="button" class="button_new button_spacing" @click="$parent.$parent.add()">新增片区</button>
48
- <button type="button" class="button_new button_spacing" @click="$parent.$parent.showModal = true">片区用户管理</button>
47
+ <button type="button" class="button_new button_spacing" @click="$parent.$parent.add()">新增安检册</button>
48
+ <button type="button" class="button_new button_spacing" @click="$parent.$parent.showModal = true">安检册用户管理</button>
49
49
  <div style="float: right" class="button_spacing"
50
50
  v-show="$parent.$parent.$parent.showItem ||$parent.$parent.$parent.showItemUser"
51
51
  :class="{'button_shrink_left':$parent.$parent.$parent.showItemAll,'button_shrink_right':!$parent.$parent.$parent.showItemAll}"
52
52
  @click="($parent.$parent.$parent.showItem =false) || ($parent.$parent.$parent.showItemUser =false)"></div>
53
- </div>
53
+ </div>
54
54
 
55
55
 
56
56
  </div>
@@ -69,26 +69,26 @@
69
69
  </role-selector-safe>
70
70
  </div>
71
71
  <div :class="$parent.$parent.style">
72
- <label class="font_normal_body">片区名</label>
72
+ <label class="font_normal_body">安检册名</label>
73
73
  <v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
74
74
  :value-single="true" style="width: 60%"
75
75
  class="select_list select"
76
- :options='$parent.$parent.checkBooks' placeholder='片区名称'
76
+ :options='$parent.$parent.checkBooks' placeholder='安检册名称'
77
77
  close-on-select
78
78
  condition="tcb.id ='{}'"></v-select>
79
79
  </div>
80
80
  <div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
81
81
  <button type="button" class="button_search button_spacing" @click="search()">查询</button>
82
- <button type="button" class="button_new button_spacing" @click="$parent.$parent.add()">新增片区</button>
83
- <button type="button" class="button_new button_spacing" @click="$parent.$parent.showModal = true">片区用户管理</button>
82
+ <button type="button" class="button_new button_spacing" @click="$parent.$parent.add()">新增安检册</button>
83
+ <button type="button" class="button_new button_spacing" @click="$parent.$parent.showModal = true">安检册用户管理</button>
84
84
  <div style="float: right" class="button_spacing"
85
85
  v-show="$parent.$parent.$parent.showItem ||$parent.$parent.$parent.showItemUser"
86
86
  :class="{'button_shrink_left':$parent.$parent.$parent.showItemAll,'button_shrink_right':!$parent.$parent.$parent.showItemAll}"
87
87
  @click="($parent.$parent.$parent.showItem =false) || ($parent.$parent.$parent.showItemUser =false)"></div>
88
- <!-- <div style="float: right" class="button_spacing"-->
89
- <!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
90
- <!-- @click="$parent.$parent.hidden()">-->
91
- <!-- </div>-->
88
+ <!-- <div style="float: right" class="button_spacing"-->
89
+ <!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
90
+ <!-- @click="$parent.$parent.hidden()">-->
91
+ <!-- </div>-->
92
92
  </div>
93
93
 
94
94
  </div>
@@ -102,11 +102,11 @@
102
102
  <nobr>所属安检员</nobr>
103
103
  </th>
104
104
  <th>
105
- <nobr>片区名称</nobr>
105
+ <nobr>安检册名称</nobr>
106
106
  </th>
107
- <!-- <th>-->
108
- <!-- <nobr>片区类型</nobr>-->
109
- <!-- </th>-->
107
+ <!-- <th>-->
108
+ <!-- <nobr>安检册类型</nobr>-->
109
+ <!-- </th>-->
110
110
  <th>
111
111
  <nobr>用户类型</nobr>
112
112
  </th>
@@ -116,15 +116,8 @@
116
116
  <th>
117
117
  <nobr>创建人</nobr>
118
118
  </th>
119
-
120
- <th>
121
- <nobr>执行日期</nobr>
122
- </th>
123
- <th>
124
- <nobr>执行周期</nobr>
125
- </th>
126
119
  <th>
127
- <nobr>小区/单位数量</nobr>
120
+ <nobr>用户数量</nobr>
128
121
  </th>
129
122
  <th>
130
123
  <nobr>已下发</nobr>
@@ -132,38 +125,36 @@
132
125
  <th>
133
126
  <nobr>未下发</nobr>
134
127
  </th>
135
- <th>
128
+ <!-- <th>
136
129
  <nobr>已检</nobr>
137
130
  </th>
138
131
  <th>
139
132
  <nobr>未检</nobr>
140
- </th>
141
- <!-- <th v-show="$parent.$parent.$parent.showCaoZuo">-->
142
- <!-- <nobr>操作</nobr>-->
143
- <!-- </th>-->
133
+ </th>-->
134
+ <!-- <th v-show="$parent.$parent.$parent.showCaoZuo">-->
135
+ <!-- <nobr>操作</nobr>-->
136
+ <!-- </th>-->
144
137
  </tr>
145
138
  </template>
146
139
  <template partial='body'>
147
140
  <td style="text-align: center;">{{ row.f_checker_name }}</td>
148
141
  <td style="text-align: center;">{{ row.f_check_book_name }}</td>
149
- <!-- <td style="text-align: center;">{{ row.f_check_book_type }}</td>-->
142
+ <!-- <td style="text-align: center;">{{ row.f_check_book_type }}</td>-->
150
143
  <td style="text-align: center;">{{ row.f_user_type }}</td>
151
144
  <td style="text-align: center;">{{ row.f_create_date }}</td>
152
145
  <td style="text-align: center;">{{ row.f_create_person }}</td>
153
- <td style="text-align: center;">{{ row.f_run_date }}</td>
154
- <td style="text-align: center;">{{ row.f_around_time }}{{ row.f_around_unit }}</td>
155
- <td style="text-align: center;"><button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link"><b>{{row.f_user_type==='民用'?row.num2:row.num3}}</b></button></td>
146
+ <td style="text-align: center;"><button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link"><b>{{row.num}}</b></button></td>
156
147
  <td style="text-align: center;">{{ row.xiafa }}</td>
157
148
  <td style="text-align: center;">{{ row.f_user_type =='民用'?row.num-row.xiafa:row.num4-row.xiafa }}</td>
158
- <td style="text-align: center;">{{ row.yijian }}</td>
159
- <td style="text-align: center;">{{ row.weijian }}</td>
160
- <!-- <td v-show="row.f_check_book_type!='小区'" style="text-align: center;"><button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.send(row)'>下发</button></td>-->
149
+ <!-- <td style="text-align: center;">{{ row.yijian }}</td>
150
+ <td style="text-align: center;">{{ row.weijian }}</td>-->
151
+ <!-- <td v-show="row.f_check_book_type!='小区'" style="text-align: center;"><button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.send(row)'>下发</button></td>-->
161
152
  </template>
162
153
  </data-grid>
163
154
  </criteria-paged>
164
155
  <modal :show.sync="showModal" :backdrop="false" id="checkbookEntryShow">
165
156
  <article slot="modal-body" class="modal-body">
166
- <check-book-entry v-if="showModal" @select-changed="selectedEntry"></check-book-entry>
157
+ <check-book-entry v-if="showModal" @select-changed="selectedEntry" :showtype="showtype"></check-book-entry>
167
158
  </article>
168
159
  <footer slot="modal-footer">
169
160
  </footer>
@@ -278,10 +269,10 @@ export default {
278
269
  }, {resolveMsg: null, rejectMsg: null}).then(res => {
279
270
  this.checkBooks.push({label: '全部', value: ''})
280
271
  res.data.forEach(ress => {
281
- this.checkBooks.push({
282
- label: ress.f_check_book_name,
283
- value: ress.id
284
- })
272
+ this.checkBooks.push({
273
+ label: ress.f_check_book_name,
274
+ value: ress.id
275
+ })
285
276
  })
286
277
  })
287
278
  },
@@ -298,12 +289,12 @@ export default {
298
289
  //tag
299
290
  let http = new HttpResetClass()
300
291
  http.load('POST', 'api/af-safecheck/logic/safeEntity', {data:{tableName:'t_check_book',entityData:this.checkBook}},
301
- {resolveMsg: '更新片区信息成功', rejectMsg: '保存片区信息成功'}).then(res=>{
302
- if (res.data.code===200){
303
- this.$showMessage('修改成功')
304
- this.showModal = false
305
- this.checkBook= {}
306
- }
292
+ {resolveMsg: '更新安检册信息成功', rejectMsg: '保存安检册信息成功'}).then(res=>{
293
+ if (res.data.code===200){
294
+ this.$showMessage('修改成功')
295
+ this.showModal = false
296
+ this.checkBook= {}
297
+ }
307
298
  })
308
299
  },
309
300
  cancel () {
@@ -318,9 +309,7 @@ export default {
318
309
  // //tag
319
310
  this.$parent.showItem = false
320
311
  this.$parent.showItemUser = false
321
- if(this.model.f_filialeids){
322
- args.condition += ` and f_orgid in ${this.model.f_filialeids}`
323
- }
312
+ args.condition += ` and f_orgid in ${this.model.f_filialeids}`
324
313
  args.condition += ` and tcb.f_user_type ='${this.showtype}' `
325
314
  return this.model.search(args.condition, args.model)
326
315
  },
@@ -334,9 +323,9 @@ export default {
334
323
  let upAddress = `update t_user_address set f_check_book_id = null where f_check_book_id = '${val.id}'`
335
324
  let delCheckBook= `delete from t_check_book where id ='${val.id}'`
336
325
  await http.load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: upAddress}},
337
- {resolveMsg: null, rejectMsg: '删除片区失败'})
326
+ {resolveMsg: null, rejectMsg: '删除安检册失败'})
338
327
  await http.load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: delCheckBook}},
339
- {resolveMsg: null, rejectMsg: '删除片区失败'})
328
+ {resolveMsg: null, rejectMsg: '删除安检册失败'})
340
329
  this.$showMessage('删除成功')
341
330
  this.$refs.paged.$refs.criteria.search()
342
331
  }catch (e) {
@@ -21,7 +21,7 @@
21
21
  :value-single="true" style="width: 60%"
22
22
  class="select_list select"
23
23
  @change="$parent.$parent.changeState"
24
- :options='$parent.$parent.isCheckBook' placeholder='有无所属片区'
24
+ :options='$parent.$parent.isCheckBook' placeholder='有无所属安检册'
25
25
  close-on-select
26
26
  condition="{}"></v-select>
27
27
  </div>
@@ -45,22 +45,19 @@
45
45
  <nobr><input type="checkbox" v-model="$parent.$parent.$parent.bookAll"></input>全选</nobr>
46
46
  </th>
47
47
  <th>
48
- <nobr>省/市/区</nobr>
48
+ <nobr>区/县</nobr>
49
49
  </th>
50
50
  <th>
51
- <nobr>街道</nobr>
51
+ <nobr>街道/乡镇</nobr>
52
52
  </th>
53
53
  <th>
54
- <nobr>片区/管理站</nobr>
54
+ <nobr>片区/行政村</nobr>
55
55
  </th>
56
56
  <th>
57
- <nobr>小区(单位)名称</nobr>
57
+ <nobr>小区/自然村</nobr>
58
58
  </th>
59
59
  <th>
60
- <nobr>小区(单位)地址</nobr>
61
- </th>
62
- <th>
63
- <nobr>所属片区</nobr>
60
+ <nobr>所属安检册</nobr>
64
61
  </th>
65
62
  </tr>
66
63
  </template>
@@ -72,9 +69,8 @@
72
69
  </td>
73
70
  <td style="text-align: center">{{ row.f_pcd }}</td>
74
71
  <td style="text-align: center">{{ row.f_street }}</td>
75
- <td style="text-align: center">{{ row.f_slice_area }}</td>
72
+ <td style="text-align: center">{{ row.f_community_name }}</td>
76
73
  <td style="text-align: center">{{ row.f_residential_area }}</td>
77
- <td style="text-align: center">{{ row.f_area_address }}</td>
78
74
  <td style="text-align: center">{{ row.f_check_book_name }}</td>
79
75
  </template>
80
76
  </data-grid>
@@ -83,7 +79,7 @@
83
79
  <modal :show.sync="showModal" :backdrop="false">
84
80
  <div slot="modal-header" class="modal-header">
85
81
  <h4 class="modal-title">
86
- 创建片区
82
+ 创建安检册
87
83
  </h4>
88
84
  </div>
89
85
  <div slot="modal-body" class="modal-body">
@@ -100,7 +96,7 @@
100
96
  </role-selector-safe>
101
97
  </div>
102
98
  <div class="form-group col-sm-6" style="margin-top: 20px">
103
- <label class="font_normal_body">片区名</label>
99
+ <label class="font_normal_body">安检册名</label>
104
100
  <input type="text" class="input_search" v-model="checkBook.f_check_book_name"
105
101
  style="width: 60%" >
106
102
  </div>
@@ -195,11 +191,11 @@ import * as Util from '../../components/Util'
195
191
  import bus from "../../bus";
196
192
 
197
193
  export default {
198
- title: '片区管理',
194
+ title: '安检册管理',
199
195
  data () {
200
196
  let model = new PagedList('api/af-safecheck/sql/safe_singleTable_OrderBy', 20,{
201
- items: "'ta.*,tcb.f_check_book_name'",
202
- tablename: "'t_area ta left join t_check_book tcb on ta.f_check_book_id=tcb.id'",
197
+ items: "'ta.f_residential_area,ta.id,tcb.f_check_book_name,tcm.f_community_name,tcm.f_street'",
198
+ tablename: "'t_area ta left join t_check_book tcb on ta.f_check_book_id=tcb.id left join t_community tcm on ta.f_community_id = tcm.id'",
203
199
  orderitem: "'id desc'"
204
200
  })
205
201
  return {
@@ -262,7 +258,7 @@ export default {
262
258
  methods: {
263
259
  async ok2() {
264
260
  if (!this.selectBook) {
265
- this.$showMessage('请选择片区')
261
+ this.$showMessage('请选择安检册')
266
262
  return
267
263
  }
268
264
  if (this.isSearch && (this.bookAll || this.bookList.length > 0) && this.model.rows.length > 0) {
@@ -299,7 +295,7 @@ export default {
299
295
  },
300
296
  async ok3() {
301
297
  if (!this.selectBook) {
302
- this.$showMessage('请选择片区')
298
+ this.$showMessage('请选择安检册')
303
299
  return
304
300
  }
305
301
  if (this.isSearch && (this.bookAll || this.bookList.length > 0) && this.model.rows.length > 0) {
@@ -350,7 +346,7 @@ export default {
350
346
  },
351
347
  addUser () {
352
348
  if (!this.isCreateBook) {
353
- this.$showMessage('请选择查询未划分片区的用户')
349
+ this.$showMessage('请选择查询未划分安检册的用户')
354
350
  return
355
351
  }
356
352
  if (this.isSearch && (this.bookAll || this.bookList.length > 0) && this.model.rows.length > 0) {
@@ -362,7 +358,7 @@ export default {
362
358
  },
363
359
  upUser () {
364
360
  if (!this.isChangeBook) {
365
- this.$showMessage('请选择查询已划分片区的用户')
361
+ this.$showMessage('请选择查询已划分安检册的用户')
366
362
  return
367
363
  }
368
364
  if (this.isSearch && (this.bookAll || this.bookList.length > 0) && this.model.rows.length > 0) {
@@ -374,7 +370,7 @@ export default {
374
370
  },
375
371
  async delUser () {
376
372
  if (!this.isChangeBook) {
377
- this.$showMessage('请选择查询已划分片区的用户')
373
+ this.$showMessage('请选择查询已划分安检册的用户')
378
374
  return
379
375
  }
380
376
  if (this.isSearch && (this.bookAll || this.bookList.length > 0) && this.model.rows.length > 0) {
@@ -400,8 +396,8 @@ export default {
400
396
  AND ( tuf.f_table_state= '正常' OR tuf.f_table_state= '停用' )
401
397
  AND ${userCondition}`
402
398
  await new HttpResetClass().load('POST', 'api/af-safecheck/logic/runSQL', {data: {sql: delUser}},
403
- {resolveMsg: null, rejectMsg: '删除片区失败'})
404
- this.$showMessage('从片区删除所选用户成功')
399
+ {resolveMsg: null, rejectMsg: '删除安检册失败'})
400
+ this.$showMessage('从安检册删除所选用户成功')
405
401
  this.selectBook = ''
406
402
  this.bookAll = false
407
403
  this.bookList = []
@@ -413,7 +409,7 @@ export default {
413
409
  },
414
410
  beforeCreateBook () {
415
411
  if (!this.isCreateBook) {
416
- this.$showMessage('请选择查询未划分片区的用户')
412
+ this.$showMessage('请选择查询未划分安检册的用户')
417
413
  return
418
414
  }
419
415
  if (this.isSearch && (this.bookAll || this.bookList.length > 0) && this.model.rows.length > 0) {