safecheck-client 3.0.39-1 → 3.0.39-2

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 (30) hide show
  1. package/package.json +1 -1
  2. package/src/components/android/AreaPlan.vue +567 -566
  3. package/src/components/android/SafecheckDevices.vue +1300 -1300
  4. package/src/components/android/SealBind.vue +392 -392
  5. package/src/components/android/SealManage.vue +250 -250
  6. package/src/components/map/checkScreen.vue +920 -920
  7. package/src/filiale/dexin/android/AreaPlan.vue +567 -0
  8. package/src/filiale/dexin/android/SafecheckOrderV.vue +2983 -2983
  9. package/src/filiale/dexin/android.js +21 -20
  10. package/src/filiale/dexin/pc/PlanManage.vue +894 -894
  11. package/src/filiale/dexin/pc.js +15 -15
  12. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  13. package/src/filiale/huayin/android/AddPlanItem.vue +509 -509
  14. package/src/filiale/huayin/android/AreaPlan.vue +572 -572
  15. package/src/filiale/huayin/android/CurrentCreate.vue +1121 -1121
  16. package/src/filiale/huayin/android.js +16 -16
  17. package/src/filiale/huayin/pc/PaperList.vue +635 -635
  18. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1231 -1231
  19. package/src/filiale/tongchuan/android/AddPlanItemset.vue +484 -484
  20. package/src/filiale/tongchuan/android/PaperFeedback.vue +1317 -1317
  21. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +1343 -1343
  22. package/src/filiale/tongchuan/android/SafecheckDevices.vue +1209 -1209
  23. package/src/filiale/tongchuan/android.js +22 -22
  24. package/src/filiale/tongchuan/pc/CheckBookList.vue +377 -377
  25. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +1045 -1045
  26. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +618 -618
  27. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1524 -1524
  28. package/src/filiale/tongchuan/pc/PaperList.vue +684 -684
  29. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +278 -278
  30. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1136 -1136
@@ -1,278 +1,278 @@
1
- <template>
2
- <div class="auto select-overspread">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="form-group col-sm-3" >
8
- <label class="font_normal_body">客户编号</label>
9
- <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" placeholder='客户编号'
10
- condition="tui.f_userinfo_code = '{}'" @keyup.enter="search()">
11
- </div>
12
- <div class="form-group col-sm-3">
13
- <label class="font_normal_body">客户名称</label>
14
- <input type="text" class="input_search" v-model="model.f_user_name"
15
- style="width: 60%" placeholder="客户名称" condition="tui.f_user_name like '%{}%'">
16
- </div>
17
- <div class="form-group col-sm-3" >
18
- <label class="font_normal_body">地址</label>
19
- <input type="text" class="input_search" v-model="model.f_address"
20
- style="width: 60%" placeholder="地址" condition="tua.f_address like '%{}%'">
21
- </div>
22
- <div class="form-group col-sm-3" >
23
- <label class="font_normal_body">小区名称</label>
24
- <input type="text" class="input_search" v-model="model.f_residential_area"
25
- style="width: 60%" placeholder="小区名称" condition="tua.f_residential_area like '%{}%'">
26
- </div>
27
- </div>
28
- <div class="row">
29
- <div class="form-group col-sm-3" >
30
- <label class="font_normal_body">客户类型</label>
31
- <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
32
- :value-single="true" style="width: 60%"
33
- class="select_list select"
34
- :options='$parent.$parent.userTypes' placeholder='客户类型'
35
- close-on-select
36
- condition="tuf.f_user_type ='{}'"></v-select>
37
- </div>
38
- <div class="form-group col-sm-3">
39
- <label class="font_normal_body">首次通气开始</label>
40
- <datepicker
41
- :value.sync="model.f_gas_start"
42
- placeholder='首次通气开始' style="width: 60%"
43
- :disabled-days-of-week="[]"
44
- :format="'yyyy-MM-dd'"
45
- :show-rest-button="reset"
46
- v-model="model.f_gas_start"
47
- condition="tui.f_uservent_date > ='{} 00:00:00'">
48
- </datepicker>
49
- </div>
50
- <div class="form-group col-sm-3">
51
- <label class="font_normal_body">首次通气结束</label>
52
- <datepicker
53
- :value.sync="model.f_gas_end"
54
- placeholder='首次通气结束' style="width: 60%"
55
- :disabled-days-of-week="[]"
56
- :format="'yyyy-MM-dd'"
57
- :show-rest-button="reset"
58
- v-model="model.f_gas_end"
59
- condition="tui.f_uservent_date <= '{} 23:59:59'">
60
- </datepicker>
61
- </div>
62
- </div>
63
- <div class="row">
64
- <div class="form-group col-sm-2 button-range" >
65
- <export-excel-safe v-if="$parent.$parent.excelStart"
66
- :data="$parent.$parent.searchData"
67
- :field="$parent.$parent.excelHeaders"
68
- :choose-col="true"
69
- sqlurl="rs/logic/SafeExportExcel" sql-name="getUserByCheckBook" template-name='安检册明细'></export-excel-safe>
70
- <button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
71
- <button class="button_spacing button_search-1" @click='$parent.$parent.removes()' v-if="$parent.$parent.bookList.length>0 && $parent.$parent.$parent.removeStart" >移出安检册</button>
72
- </div>
73
- </div>
74
- </div>
75
- </criteria>
76
- <data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
77
- <template partial='head' >
78
- <tr>
79
- <th>
80
- <nobr><input type="checkbox" v-model="$parent.$parent.$parent.checkAll"></input>全选</nobr>
81
- </th>
82
- <th><nobr>序号</nobr></th>
83
- <th><nobr>用户编号</nobr></th>
84
- <th><nobr>用户姓名</nobr></th>
85
- <th><nobr>用户电话</nobr></th>
86
- <th><nobr>用户地址</nobr></th>
87
- <th><nobr>首次通气日期</nobr></th>
88
- <th v-if="$parent.$parent.$parent.removeStart"><nobr>操作</nobr></th>
89
- </tr>
90
- </template>
91
- <template partial='body' >
92
- <tr >
93
- <td style="text-align: center">
94
- <nobr><input type="checkbox" :checked="$parent.$parent.$parent.checkModel(row)"
95
- @change="$parent.$parent.$parent.checkChange(row, $event)"></input>
96
- </nobr>
97
- </td>
98
- <td style="text-align:center;">{{$index+1}}</td>
99
- <td style="text-align:center">{{row.f_userinfo_code}}</td>
100
- <td style="text-align:center">{{row.f_user_name}}</td>
101
- <td style="text-align:center">{{row.f_user_phone}}</td>
102
- <td style="text-align:center">{{row.f_address}}</td>
103
- <td style="text-align:center">{{row.f_uservent_date}}</td>
104
- <td style="text-align: center" v-if="$parent.$parent.$parent.removeStart">
105
- <button class="button_spacing button_search-1" @click='$parent.$parent.$parent.remove(row)'>移出安检册</button>
106
- </td>
107
- </tr>
108
- </template>
109
- <template partial='foot'></template>
110
- </data-grid>
111
- </criteria-paged>
112
- </div>
113
- </template>
114
-
115
- <script>
116
- import {PagedList} from 'vue-client'
117
- import bus from "../../../bus";
118
-
119
- export default {
120
- title: '安检记录列表',
121
- props: ['row'],
122
- data() {
123
- return {
124
- checkAll: false,
125
- rowdata: this.row,
126
- bookList: [],
127
- searchData: {
128
- condition: "1=1"
129
- },
130
- excelHeaders: {
131
- 'f_userinfo_code': '客户编号',
132
- 'f_user_name': '客户姓名',
133
- 'f_user_phone': '客户电话',
134
- 'f_address': '客户地址',
135
- 'f_uservent_date': '首次通气日期'
136
- },
137
- userTypes: [{label: '全部', value: ''}, {label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
138
- model: new PagedList('rs/sql/getUserByCheckBook', 50)
139
- }
140
- },
141
- ready() {
142
- if (this.row) {
143
- let condition = ''
144
- if (this.row.id) {
145
-
146
- condition = `tua.f_check_book_id ='${this.row.id}'`
147
- } else {
148
- condition = `1=1`
149
- }
150
-
151
- // if(this.row.f_check_book_type1=='小区'){
152
- // this.model.url = 'rs/sql/getUserByCheckBook'
153
- // condition = `ta.f_check_book_id =${this.row.f_check_book_id} and ta.id=${this.row.id}`
154
- // }else{
155
- // this.model.url = 'rs/sql/getUserByCheckBookCompany'
156
- // condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
157
- // }
158
- this.model.search(condition)
159
- this.searchData.condition = condition
160
- //只显示用户页面
161
- this.row.f_check_book_type = '用户'
162
- }
163
- },
164
- watch: {
165
- 'checkAll'(val) {
166
- if (!val) {
167
- this.bookList = []
168
- }
169
- //如果是全选,则查询这个安检册下的用户
170
-
171
- if (val) {
172
- //遍历this.model.rows
173
- this.model.rows.forEach(res => {
174
- this.bookList.push(res.f_userinfo_id)
175
- })
176
- }
177
- },
178
- 'row'(val) {
179
- if (val) {
180
- this.rowdata = val
181
- let condition = ''
182
- condition = `tua.f_check_book_id ='${val.id}'`
183
- // if(this.row.f_check_book_type1=='小区'){
184
- // condition = `ta.f_check_book_id =${val.f_check_book_id} and ta.id=${val.id}`
185
- // }else{
186
- // condition = `tc.f_check_book_id =${val.f_check_book_id} and tc.id=${val.id}`
187
- // }
188
- this.model.search(condition)
189
- }
190
- }
191
- },
192
- methods: {
193
- setCheckAll() {
194
- this.checkAll = this.checkAll ? false : true;
195
- // 全选改变后,清空选中数据
196
- this.bookList = []
197
- },
198
- checkModel(row) {
199
- if (this.bookList.findIndex(res => res === row.f_userinfo_id) !== -1) {
200
- return true
201
- } else {
202
- return false
203
- }
204
- },
205
- checkChange(row, e) {
206
- if (e.target.checked) {
207
- this.bookList.push(row.f_userinfo_id)
208
- } else {
209
- this.bookList.splice(this.bookList.findIndex(res => res === row.f_userinfo_id), 1)
210
- }
211
- },
212
- removes() {
213
-
214
- if (this.bookList.length === 0) {
215
- this.$showMessage('请选择用户')
216
- return
217
- }
218
- this.$showMessage("确认将用户移出此安检册?", ['confirm']).then(res => {
219
- if (res === 'confirm') {
220
- //for遍历this.bookList,将每个用户移出安检册
221
- var c = "("
222
- for (var i = 0; i < this.bookList.length; i++) {
223
- c += `'${this.bookList[i]}'` + ","
224
- }
225
- //去掉最后一个逗号
226
- c = c.substring(0, c.length - 1)
227
- c += ")"
228
- let data = {
229
- condition: c,
230
- f_book_id: this.row.id
231
- }
232
- this.$http.post('rs/logic/removesCheckBookUser', {data: data}).then(res => {
233
- this.$showMessage('移出成功')
234
- this.$refs.paged.$refs.criteria.search()
235
- })
236
- }
237
- })
238
- },
239
- remove(row) {
240
-
241
- this.$showMessage("确认移出此安检册?", ['confirm']).then(res => {
242
- if (res === 'confirm') {
243
- let data = {
244
- f_userinfo_id: row.f_userinfo_id,
245
- f_book_id: this.row.id
246
- }
247
- this.$http.post('rs/logic/removeUserByCheckBook', {data: data}).then(res => {
248
- this.$showMessage('移出成功')
249
- this.$refs.paged.$refs.criteria.search()
250
- })
251
- }
252
- })
253
- },
254
- selfSearch(args) {
255
- if (this.rowdata.id) {
256
- args.condition += ` and tua.f_check_book_id ='${this.rowdata.id}'`
257
- // if(this.rowdata.f_check_book_type1=='小区'){
258
- // args.condition += `and ta.f_check_book_id =${this.rowdata.f_check_book_id} and ta.id=${this.rowdata.id}`
259
- // }else{
260
- // args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
261
- // }
262
- this.model.search(args.condition)
263
- this.searchData.condition = args.condition
264
- } else {
265
- this.$showMessage('请选择片区')
266
- }
267
- }
268
- },
269
- computed: {
270
- excelStart() {
271
- return this.$login.r.includes('安检册用户导出')
272
- },
273
- removeStart() {
274
- return this.$login.r.includes('用户移出安检册')
275
- }
276
- }
277
- }
278
- </script>
1
+ <template>
2
+ <div class="auto select-overspread">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-3" >
8
+ <label class="font_normal_body">客户编号</label>
9
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" placeholder='客户编号'
10
+ condition="tui.f_userinfo_code = '{}'" @keyup.enter="search()">
11
+ </div>
12
+ <div class="form-group col-sm-3">
13
+ <label class="font_normal_body">客户名称</label>
14
+ <input type="text" class="input_search" v-model="model.f_user_name"
15
+ style="width: 60%" placeholder="客户名称" condition="tui.f_user_name like '%{}%'">
16
+ </div>
17
+ <div class="form-group col-sm-3" >
18
+ <label class="font_normal_body">地址</label>
19
+ <input type="text" class="input_search" v-model="model.f_address"
20
+ style="width: 60%" placeholder="地址" condition="tua.f_address like '%{}%'">
21
+ </div>
22
+ <div class="form-group col-sm-3" >
23
+ <label class="font_normal_body">小区名称</label>
24
+ <input type="text" class="input_search" v-model="model.f_residential_area"
25
+ style="width: 60%" placeholder="小区名称" condition="tua.f_residential_area like '%{}%'">
26
+ </div>
27
+ </div>
28
+ <div class="row">
29
+ <div class="form-group col-sm-3" >
30
+ <label class="font_normal_body">客户类型</label>
31
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
32
+ :value-single="true" style="width: 60%"
33
+ class="select_list select"
34
+ :options='$parent.$parent.userTypes' placeholder='客户类型'
35
+ close-on-select
36
+ condition="tuf.f_user_type ='{}'"></v-select>
37
+ </div>
38
+ <div class="form-group col-sm-3">
39
+ <label class="font_normal_body">首次通气开始</label>
40
+ <datepicker
41
+ :value.sync="model.f_gas_start"
42
+ placeholder='首次通气开始' style="width: 60%"
43
+ :disabled-days-of-week="[]"
44
+ :format="'yyyy-MM-dd'"
45
+ :show-rest-button="reset"
46
+ v-model="model.f_gas_start"
47
+ condition="tui.f_uservent_date > ='{} 00:00:00'">
48
+ </datepicker>
49
+ </div>
50
+ <div class="form-group col-sm-3">
51
+ <label class="font_normal_body">首次通气结束</label>
52
+ <datepicker
53
+ :value.sync="model.f_gas_end"
54
+ placeholder='首次通气结束' style="width: 60%"
55
+ :disabled-days-of-week="[]"
56
+ :format="'yyyy-MM-dd'"
57
+ :show-rest-button="reset"
58
+ v-model="model.f_gas_end"
59
+ condition="tui.f_uservent_date <= '{} 23:59:59'">
60
+ </datepicker>
61
+ </div>
62
+ </div>
63
+ <div class="row">
64
+ <div class="form-group col-sm-2 button-range" >
65
+ <export-excel-safe v-if="$parent.$parent.excelStart"
66
+ :data="$parent.$parent.searchData"
67
+ :field="$parent.$parent.excelHeaders"
68
+ :choose-col="true"
69
+ sqlurl="rs/logic/SafeExportExcel" sql-name="getUserByCheckBook" template-name='安检册明细'></export-excel-safe>
70
+ <button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
71
+ <button class="button_spacing button_search-1" @click='$parent.$parent.removes()' v-if="$parent.$parent.bookList.length>0 && $parent.$parent.$parent.removeStart" >移出安检册</button>
72
+ </div>
73
+ </div>
74
+ </div>
75
+ </criteria>
76
+ <data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
77
+ <template partial='head' >
78
+ <tr>
79
+ <th>
80
+ <nobr><input type="checkbox" v-model="$parent.$parent.$parent.checkAll"></input>全选</nobr>
81
+ </th>
82
+ <th><nobr>序号</nobr></th>
83
+ <th><nobr>用户编号</nobr></th>
84
+ <th><nobr>用户姓名</nobr></th>
85
+ <th><nobr>用户电话</nobr></th>
86
+ <th><nobr>用户地址</nobr></th>
87
+ <th><nobr>首次通气日期</nobr></th>
88
+ <th v-if="$parent.$parent.$parent.removeStart"><nobr>操作</nobr></th>
89
+ </tr>
90
+ </template>
91
+ <template partial='body' >
92
+ <tr >
93
+ <td style="text-align: center">
94
+ <nobr><input type="checkbox" :checked="$parent.$parent.$parent.checkModel(row)"
95
+ @change="$parent.$parent.$parent.checkChange(row, $event)"></input>
96
+ </nobr>
97
+ </td>
98
+ <td style="text-align:center;">{{$index+1}}</td>
99
+ <td style="text-align:center">{{row.f_userinfo_code}}</td>
100
+ <td style="text-align:center">{{row.f_user_name}}</td>
101
+ <td style="text-align:center">{{row.f_user_phone}}</td>
102
+ <td style="text-align:center">{{row.f_address}}</td>
103
+ <td style="text-align:center">{{row.f_uservent_date}}</td>
104
+ <td style="text-align: center" v-if="$parent.$parent.$parent.removeStart">
105
+ <button class="button_spacing button_search-1" @click='$parent.$parent.$parent.remove(row)'>移出安检册</button>
106
+ </td>
107
+ </tr>
108
+ </template>
109
+ <template partial='foot'></template>
110
+ </data-grid>
111
+ </criteria-paged>
112
+ </div>
113
+ </template>
114
+
115
+ <script>
116
+ import {PagedList} from 'vue-client'
117
+ import bus from "../../../bus";
118
+
119
+ export default {
120
+ title: '安检记录列表',
121
+ props: ['row'],
122
+ data() {
123
+ return {
124
+ checkAll: false,
125
+ rowdata: this.row,
126
+ bookList: [],
127
+ searchData: {
128
+ condition: "1=1"
129
+ },
130
+ excelHeaders: {
131
+ 'f_userinfo_code': '客户编号',
132
+ 'f_user_name': '客户姓名',
133
+ 'f_user_phone': '客户电话',
134
+ 'f_address': '客户地址',
135
+ 'f_uservent_date': '首次通气日期'
136
+ },
137
+ userTypes: [{label: '全部', value: ''}, {label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
138
+ model: new PagedList('rs/sql/getUserByCheckBook', 50)
139
+ }
140
+ },
141
+ ready() {
142
+ if (this.row) {
143
+ let condition = ''
144
+ if (this.row.id) {
145
+
146
+ condition = `tua.f_check_book_id ='${this.row.id}'`
147
+ } else {
148
+ condition = `1=1`
149
+ }
150
+
151
+ // if(this.row.f_check_book_type1=='小区'){
152
+ // this.model.url = 'rs/sql/getUserByCheckBook'
153
+ // condition = `ta.f_check_book_id =${this.row.f_check_book_id} and ta.id=${this.row.id}`
154
+ // }else{
155
+ // this.model.url = 'rs/sql/getUserByCheckBookCompany'
156
+ // condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
157
+ // }
158
+ this.model.search(condition)
159
+ this.searchData.condition = condition
160
+ //只显示用户页面
161
+ this.row.f_check_book_type = '用户'
162
+ }
163
+ },
164
+ watch: {
165
+ 'checkAll'(val) {
166
+ if (!val) {
167
+ this.bookList = []
168
+ }
169
+ //如果是全选,则查询这个安检册下的用户
170
+
171
+ if (val) {
172
+ //遍历this.model.rows
173
+ this.model.rows.forEach(res => {
174
+ this.bookList.push(res.f_userinfo_id)
175
+ })
176
+ }
177
+ },
178
+ 'row'(val) {
179
+ if (val) {
180
+ this.rowdata = val
181
+ let condition = ''
182
+ condition = `tua.f_check_book_id ='${val.id}'`
183
+ // if(this.row.f_check_book_type1=='小区'){
184
+ // condition = `ta.f_check_book_id =${val.f_check_book_id} and ta.id=${val.id}`
185
+ // }else{
186
+ // condition = `tc.f_check_book_id =${val.f_check_book_id} and tc.id=${val.id}`
187
+ // }
188
+ this.model.search(condition)
189
+ }
190
+ }
191
+ },
192
+ methods: {
193
+ setCheckAll() {
194
+ this.checkAll = this.checkAll ? false : true;
195
+ // 全选改变后,清空选中数据
196
+ this.bookList = []
197
+ },
198
+ checkModel(row) {
199
+ if (this.bookList.findIndex(res => res === row.f_userinfo_id) !== -1) {
200
+ return true
201
+ } else {
202
+ return false
203
+ }
204
+ },
205
+ checkChange(row, e) {
206
+ if (e.target.checked) {
207
+ this.bookList.push(row.f_userinfo_id)
208
+ } else {
209
+ this.bookList.splice(this.bookList.findIndex(res => res === row.f_userinfo_id), 1)
210
+ }
211
+ },
212
+ removes() {
213
+
214
+ if (this.bookList.length === 0) {
215
+ this.$showMessage('请选择用户')
216
+ return
217
+ }
218
+ this.$showMessage("确认将用户移出此安检册?", ['confirm']).then(res => {
219
+ if (res === 'confirm') {
220
+ //for遍历this.bookList,将每个用户移出安检册
221
+ var c = "("
222
+ for (var i = 0; i < this.bookList.length; i++) {
223
+ c += `'${this.bookList[i]}'` + ","
224
+ }
225
+ //去掉最后一个逗号
226
+ c = c.substring(0, c.length - 1)
227
+ c += ")"
228
+ let data = {
229
+ condition: c,
230
+ f_book_id: this.row.id
231
+ }
232
+ this.$http.post('rs/logic/removesCheckBookUser', {data: data}).then(res => {
233
+ this.$showMessage('移出成功')
234
+ this.$refs.paged.$refs.criteria.search()
235
+ })
236
+ }
237
+ })
238
+ },
239
+ remove(row) {
240
+
241
+ this.$showMessage("确认移出此安检册?", ['confirm']).then(res => {
242
+ if (res === 'confirm') {
243
+ let data = {
244
+ f_userinfo_id: row.f_userinfo_id,
245
+ f_book_id: this.row.id
246
+ }
247
+ this.$http.post('rs/logic/removeUserByCheckBook', {data: data}).then(res => {
248
+ this.$showMessage('移出成功')
249
+ this.$refs.paged.$refs.criteria.search()
250
+ })
251
+ }
252
+ })
253
+ },
254
+ selfSearch(args) {
255
+ if (this.rowdata.id) {
256
+ args.condition += ` and tua.f_check_book_id ='${this.rowdata.id}'`
257
+ // if(this.rowdata.f_check_book_type1=='小区'){
258
+ // args.condition += `and ta.f_check_book_id =${this.rowdata.f_check_book_id} and ta.id=${this.rowdata.id}`
259
+ // }else{
260
+ // args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
261
+ // }
262
+ this.model.search(args.condition)
263
+ this.searchData.condition = args.condition
264
+ } else {
265
+ this.$showMessage('请选择片区')
266
+ }
267
+ }
268
+ },
269
+ computed: {
270
+ excelStart() {
271
+ return this.$login.r.includes('安检册用户导出')
272
+ },
273
+ removeStart() {
274
+ return this.$login.r.includes('用户移出安检册')
275
+ }
276
+ }
277
+ }
278
+ </script>