safecheck-client 3.0.32-19 → 3.0.32-20
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.
- package/package.json +3 -3
- package/src/filiale/fugou/pc/CheckBookDetails.vue +6 -6
- package/src/filiale/fugou/pc/CheckBookEntry.vue +6 -6
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +17 -21
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +12 -2
- package/src/filiale/fugou/pc.js +3 -0
- package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
- package/src/main.js +1 -1
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "safecheck-client",
|
3
3
|
"//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
|
4
|
-
"version": "3.0.32-
|
4
|
+
"version": "3.0.32-20",
|
5
5
|
"description": "安检模块 前端组件",
|
6
6
|
"author": "丁新 <417755458@qq.com>",
|
7
7
|
"license": "ISC",
|
@@ -103,13 +103,13 @@
|
|
103
103
|
"sketch-vue3": "^1.0.0",
|
104
104
|
"style": "0.0.3",
|
105
105
|
"style-loader": "^0.20.3",
|
106
|
-
"system-clients": "3.2.
|
106
|
+
"system-clients": "3.2.98",
|
107
107
|
"system-phone": "1.2.100",
|
108
108
|
"telephone-clients": "1.1.27",
|
109
109
|
"terser-webpack-plugin-legacy": "^1.2.5",
|
110
110
|
"url-loader": "^0.5.7",
|
111
111
|
"vue-amap": "0.5.10",
|
112
|
-
"vue-client": "1.24.
|
112
|
+
"vue-client": "1.24.160",
|
113
113
|
"vue-hot-reload-api": "^1.2.0",
|
114
114
|
"vue-html-loader": "^1.0.0",
|
115
115
|
"vue-loader": "^8.2.1",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<validator name='v'>
|
4
4
|
<form class="form-horizontal" novalidate>
|
5
5
|
<ul class="nav nav-tabs" style="margin-bottom: 10px">
|
6
|
-
<li class="active"><a href="#"
|
6
|
+
<li class="active"><a href="#">安检册信息</a></li>
|
7
7
|
</ul>
|
8
8
|
<div class="row" style="margin-top: 10px">
|
9
9
|
<div class="col-sm-12 form-group" style="margin: 0">
|
@@ -38,7 +38,7 @@
|
|
38
38
|
close-on-select></v-select>
|
39
39
|
</div>
|
40
40
|
<div class="form-group col-sm-6" style="margin-top: 20px" :class="[$v.f_check_book_name.required ? 'has-error' : '']">
|
41
|
-
<label class="font_normal_body"
|
41
|
+
<label class="font_normal_body">安检册名称</label>
|
42
42
|
<input type="text" class="input_search" v-model="checkBook.f_check_book_name"
|
43
43
|
style="width: 60%" v-validate:f_check_book_name='{ required: true }'>
|
44
44
|
</div>
|
@@ -150,7 +150,7 @@ export default {
|
|
150
150
|
},
|
151
151
|
confirm () {
|
152
152
|
if(!this.checkBook.f_check_book_name){
|
153
|
-
this.$showMessage('
|
153
|
+
this.$showMessage('请填写安检册名称')
|
154
154
|
return
|
155
155
|
}
|
156
156
|
// if(!this.checkBook.f_check_book_type){
|
@@ -168,15 +168,15 @@ export default {
|
|
168
168
|
console.log('checkbook', this.checkBook)
|
169
169
|
let http = new HttpResetClass()
|
170
170
|
http.load('POST', 'rs/logic/safeEntity', {data: {tableName: 't_check_book', entityData: this.checkBook}},
|
171
|
-
{resolveMsg: '
|
171
|
+
{resolveMsg: '保存安检册信息成功', rejectMsg: '保存安检册信息失败'}).then(res => {
|
172
172
|
if (res.data.code === 200) {
|
173
|
-
this.$showMessage('
|
173
|
+
this.$showMessage('保存安检册信息成功',['confirm']).then(res=>{
|
174
174
|
if (res==='confirm'){
|
175
175
|
bus.$emit('fresh-main')
|
176
176
|
}
|
177
177
|
})
|
178
178
|
}else{
|
179
|
-
this.$showMessage('
|
179
|
+
this.$showMessage('保存安检册信息失败')
|
180
180
|
}
|
181
181
|
})
|
182
182
|
},
|
@@ -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">
|
@@ -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
|
48
|
+
<nobr>区/县</nobr>
|
49
49
|
</th>
|
50
50
|
<th>
|
51
|
-
<nobr
|
51
|
+
<nobr>街道/乡镇</nobr>
|
52
52
|
</th>
|
53
53
|
<th>
|
54
|
-
<nobr
|
54
|
+
<nobr>安检册/管理站</nobr>
|
55
55
|
</th>
|
56
56
|
<th>
|
57
|
-
<nobr
|
57
|
+
<nobr>小区(单位)</nobr>
|
58
58
|
</th>
|
59
59
|
<th>
|
60
|
-
<nobr
|
61
|
-
</th>
|
62
|
-
<th>
|
63
|
-
<nobr>所属片区</nobr>
|
60
|
+
<nobr>所属安检册</nobr>
|
64
61
|
</th>
|
65
62
|
</tr>
|
66
63
|
</template>
|
@@ -74,7 +71,6 @@
|
|
74
71
|
<td style="text-align: center">{{ row.f_street }}</td>
|
75
72
|
<td style="text-align: center">{{ row.f_slice_area }}</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"
|
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,7 +191,7 @@ 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('rs/sql/safe_singleTable_OrderBy', 20,{
|
201
197
|
items: "'ta.*,tcb.f_check_book_name'",
|
@@ -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', 'rs/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) {
|
@@ -16,9 +16,9 @@
|
|
16
16
|
style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
|
17
17
|
</div>
|
18
18
|
<div class="form-group col-sm-3">
|
19
|
-
<label class="font_normal_body"
|
19
|
+
<label class="font_normal_body">用气性质</label>
|
20
20
|
<input type="text" class="input_search" v-model="model.f_residential_area"
|
21
|
-
style="width: 60%" placeholder="
|
21
|
+
style="width: 60%" placeholder="用气性质" condition="f_residential_area like '%{}%'">
|
22
22
|
</div>
|
23
23
|
<div class="form-group col-sm-3">
|
24
24
|
<button class="button_spacing button_search" @click="search()">查询</button>
|
@@ -41,6 +41,16 @@
|
|
41
41
|
close-on-select
|
42
42
|
condition="f_user_type ='{}'"></v-select>
|
43
43
|
</div>
|
44
|
+
<div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
|
45
|
+
<label class="font_normal_body">用气类型</label>
|
46
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
47
|
+
style="width: 60%" placeholder="用气类型" condition="f_residential_area like '%{}%'">
|
48
|
+
</div>
|
49
|
+
<div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
|
50
|
+
<label class="font_normal_body">用户标签</label>
|
51
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
52
|
+
style="width: 60%" placeholder="用户标签" condition="f_residential_area like '%{}%'">
|
53
|
+
</div>
|
44
54
|
<div class="col-sm-3 form-group" style="margin-bottom: 0px" v-show="$parent.$parent.criteriaShow">
|
45
55
|
<label class="font_normal_body">公  司</label>
|
46
56
|
<right-tree-safe @re-res="$parent.$parent.getResm" v-model="model.f_orgid" condition="f_orgid in {}"></right-tree-safe>
|
package/src/filiale/fugou/pc.js
CHANGED
@@ -25,6 +25,9 @@ let specialComp = {
|
|
25
25
|
'check-book': (resolve) => {
|
26
26
|
require(['./pc/CheckBook'], resolve)
|
27
27
|
},
|
28
|
+
'check-book-list': (resolve) => {
|
29
|
+
require(['./pc/CheckBookList'], resolve)
|
30
|
+
},
|
28
31
|
'check-book-user': (resolve) => {
|
29
32
|
require(['./pc/CheckBookUser'], resolve)
|
30
33
|
},
|