safecheck-client 3.0.33-8 → 3.0.33-81
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/index.html +6 -2
- package/package.json +3 -3
- package/src/App.vue +31 -31
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckOrderV.vue +3 -3
- package/src/components/paper/PaperList.vue +5 -4
- package/src/components/planmanage/PlanManage.vue +3 -2
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +34 -2
- package/src/components/report/CheckPlanCountChartArea.vue +5 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
- package/src/components/rongcheng/PaperListSQ.vue +32 -11
- package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/filiale/Util.js +5 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
- package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -5
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
- package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
- package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
- package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
- package/src/filiale/fugou/pc/PaperList.vue +14 -6
- package/src/filiale/fugou/pc/PlanManage.vue +62 -8
- package/src/filiale/fugou/pc/checkUserList.vue +222 -42
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc.js +1 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/weinan/android/SafecheckOrderV.vue +75 -26
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -172
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +651 -651
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1 -1
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2832 -2832
- package/src/filiale/yangchunboneng/android.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +28 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1168 -1018
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +55 -125
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
- package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
- package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
- package/src/filiale/yongzhou/pc.js +4 -0
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -753
- package/src/main.js +2 -2
- package/src/rongcheng.js +3 -1
@@ -3,7 +3,8 @@ import Vue from "vue";
|
|
3
3
|
|
4
4
|
// 手机特殊目录注册到该文件中
|
5
5
|
let specialComp = {
|
6
|
-
'add-plan-item': (resolve) => { require(['./android/AddPlanItem'], resolve) }
|
6
|
+
'add-plan-item': (resolve) => { require(['./android/AddPlanItem'], resolve) },
|
7
|
+
'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) }
|
7
8
|
}
|
8
9
|
|
9
10
|
exports.specialComp = specialComp
|
@@ -3,11 +3,11 @@
|
|
3
3
|
<div class="auto select-overspread">
|
4
4
|
<validator name='v'>
|
5
5
|
<ul class="nav nav-tabs">
|
6
|
-
<p class="bg-info text-center" style="padding: 8px;"
|
6
|
+
<p class="bg-info text-center" style="padding: 8px;">添加到目标安检册</p>
|
7
7
|
</ul>
|
8
|
-
<div class="form-horizontal select-overspread container-fluid auto" style="margin-top:20px;flex: 1;"
|
8
|
+
<div class="form-horizontal select-overspread container-fluid auto" style="margin-top:20px;flex: 1;">
|
9
9
|
<div class="row" style="text-align: center">
|
10
|
-
|
10
|
+
<p class="text-center" style="padding: 8px;">共{{usernum?usernum:0}}位用户</p>
|
11
11
|
<div class="col-sm-12 form-group" :class="[$v.f_check_book_num.required ? 'has-error' : '']">
|
12
12
|
<label class="font_normal_body" style="width: 26%;">目标安检册</label>
|
13
13
|
<input type="text" v-model="model.f_check_book_num" v-show="false"
|
@@ -18,9 +18,18 @@
|
|
18
18
|
style="width:60%"
|
19
19
|
close-on-select></v-select>
|
20
20
|
</div>
|
21
|
+
<!--
|
22
|
+
<div class="col-sm-6 form-group" :class="[$v.f_invoice_type.required ? 'has-error' : '']">
|
23
|
+
<label class="font_normal_body">发票类型</label>
|
24
|
+
<input type="text" v-model="model.f_invoice_type" v-show="false" v-validate:f_invoice_type='{required: true }'>
|
25
|
+
<v-select :value.sync="model.f_invoice_type" :options='invoiceType' :value-single="true" :search="false"
|
26
|
+
placeholder='发票类型' close-on-select v-model='model.f_invoice_type'>
|
27
|
+
</v-select>
|
28
|
+
</div>
|
29
|
+
-->
|
21
30
|
</div>
|
22
31
|
</div>
|
23
|
-
<div class="row"
|
32
|
+
<div class="row">
|
24
33
|
<div style="float:right;margin-top: 250px;margin-right: 20px;">
|
25
34
|
<button @click="confirm()" class="btn button_search" style="width: 70px" :disabled='!$v.valid'>
|
26
35
|
<span class="glyphicon glyphicon-floppy-disk"></span>保存
|
@@ -30,129 +39,57 @@
|
|
30
39
|
</validator>
|
31
40
|
</div>
|
32
41
|
</div>
|
33
|
-
|
34
42
|
</template>
|
35
43
|
|
36
44
|
<script>
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
created () {
|
54
|
-
},
|
55
|
-
ready () {
|
56
|
-
// this.close()
|
57
|
-
new HttpResetClass().load('POST','rs/sql/safe_singleTable_OrderBy',{data: {
|
58
|
-
items: 'id,f_check_book_name,f_check_book_type,f_user_type',
|
59
|
-
tablename: 't_check_book',
|
60
|
-
condition: `1=1`,
|
61
|
-
orderitem: 'id'
|
62
|
-
}}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
63
|
-
console.log("checkbook", res.data)
|
64
|
-
res.data.forEach(item=>{
|
65
|
-
this.checkbooks.push({
|
66
|
-
f_user_type:item.f_user_type,
|
67
|
-
booktype:item.f_check_book_type,
|
68
|
-
label:item.f_check_book_name,
|
69
|
-
value:item.id
|
70
|
-
})
|
71
|
-
})
|
72
|
-
this.checkbook = this.checkbooks.filter(item=>item.f_user_type==='民用')
|
73
|
-
})
|
74
|
-
},
|
75
|
-
methods: {
|
76
|
-
selectbook(val){
|
77
|
-
|
78
|
-
},
|
79
|
-
close () {
|
80
|
-
|
45
|
+
export default {
|
46
|
+
name: 'AddTobook',
|
47
|
+
props: ['usernum'],
|
48
|
+
data () {
|
49
|
+
return {
|
50
|
+
model: {
|
51
|
+
f_check_book_num: '',
|
52
|
+
f_userinfo_code: '',
|
53
|
+
f_user_state: '',
|
54
|
+
f_operator: this.$login.f.name,
|
55
|
+
f_operatorid: this.$login.f.id,
|
56
|
+
f_orgid: this.$login.f.orgid,
|
57
|
+
f_orgname: this.$login.f.orgs,
|
58
|
+
f_depid: this.$login.f.depids,
|
59
|
+
f_depname: this.$login.f.deps,
|
60
|
+
f_state: '有效'
|
81
61
|
},
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
userCondition = this.$parent.bookCondition
|
99
|
-
}
|
100
|
-
}else if(this.$parent.bookList.length > 0){
|
101
|
-
userCondition = this.$parent.$refs.tabs.active ===0? 'ta.id in (' + this.$parent.bookList.toString() + ')':
|
102
|
-
'tc.id in (' + this.$parent.bookList.toString() + ')'
|
103
|
-
}else{
|
104
|
-
this.$showMessage(this.$parent.$refs.tabs.active===0?'请选择小区':'请选择单位')
|
105
|
-
return;
|
106
|
-
}
|
107
|
-
if(this.$parent.$refs.tabs.active ===0){
|
108
|
-
new HttpResetClass().load('POST', 'rs/logic/updateCheckBook', {data: {f_check_book_id: this.model.f_check_book_num,
|
109
|
-
f_check_book_type:'小区',condition:userCondition}},
|
110
|
-
{resolveMsg: null, rejectMsg: '添加失败'}).then(res=>{
|
111
|
-
if(res && res.data){
|
112
|
-
this.model.f_check_book_num = ""
|
113
|
-
this.$showMessage("本次成功添加"+res.data+"个小区",['confirm']).then(res=>{
|
114
|
-
if(res==='confirm'){
|
115
|
-
console.log("刷新了")
|
116
|
-
bus.$emit('fresh-area')
|
117
|
-
}
|
118
|
-
})
|
119
|
-
}else{
|
120
|
-
this.$showMessage("添加失败")
|
121
|
-
}
|
122
|
-
})
|
123
|
-
}else{
|
124
|
-
new HttpResetClass().load('POST', 'rs/logic/updateCheckBook', {data: {f_check_book_id: this.model.f_check_book_num,
|
125
|
-
f_check_book_type:'单位',condition:userCondition}},
|
126
|
-
{resolveMsg: null, rejectMsg: '添加失败'}).then(res=>{
|
127
|
-
if(res && res.data){
|
128
|
-
this.model.f_check_book_num = ""
|
129
|
-
this.$showMessage("本次成功添加"+res.data+"个单位",['confirm']).then(res=>{
|
130
|
-
if(res==='confirm'){
|
131
|
-
console.log("刷新了")
|
132
|
-
bus.$emit('fresh-area')
|
133
|
-
}
|
134
|
-
})
|
135
|
-
}else{
|
136
|
-
this.$showMessage("添加失败")
|
137
|
-
}
|
138
|
-
})
|
139
|
-
}
|
140
|
-
}
|
62
|
+
checkbook: [],
|
63
|
+
f_orgid: ''
|
64
|
+
}
|
65
|
+
},
|
66
|
+
created () {
|
67
|
+
},
|
68
|
+
async ready () {
|
69
|
+
// await this.$LoadParams.loadMeterBook(this.f_filialeid)
|
70
|
+
this.$refs.paged.$refs.cri.model.performDate = this.$login.toStandardDateString()
|
71
|
+
// this.close()
|
72
|
+
},
|
73
|
+
methods: {
|
74
|
+
selectbook(val){
|
75
|
+
console.log("val",val)
|
76
|
+
this.checkbook=val
|
77
|
+
console.log(" this.checkbook.push(val)", this.checkbook)
|
141
78
|
},
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
this.checkbook = this.checkbooks.filter(item=>item.f_user_type==='民用')
|
146
|
-
}else{
|
147
|
-
this.checkbook = this.checkbooks.filter(item=>item.f_user_type==='非民用')
|
148
|
-
}
|
149
|
-
this.model.f_check_book_num = ''
|
150
|
-
}
|
79
|
+
close () {
|
80
|
+
this.model.f_check_book_num = ''
|
81
|
+
this.$dispatch('add-tobook-refresh')
|
151
82
|
},
|
152
|
-
|
153
|
-
|
83
|
+
confirm () {
|
84
|
+
this.$dispatch('add-tobook-confirm', this.model)
|
154
85
|
}
|
86
|
+
},
|
87
|
+
computed: {
|
88
|
+
// meterbooks () {
|
89
|
+
// return [{label: '移出表册', value: 'null'}, ...this.$GetSaleParam.getMeterBooks()]
|
90
|
+
// }
|
155
91
|
}
|
92
|
+
}
|
156
93
|
</script>
|
157
94
|
|
158
95
|
<style lang="less">
|
@@ -3,18 +3,18 @@
|
|
3
3
|
<div class="binary-left">
|
4
4
|
<tabset v-ref:tabs :close="false" class="nav-tabss">
|
5
5
|
<tab header="用户查询">
|
6
|
-
<check-book-search-user @
|
7
|
-
</tab>
|
8
|
-
<tab header="小区查询">
|
9
|
-
<check-book-search-area @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-area>
|
6
|
+
<check-book-search-user @childre="childre" v-ref:mbpeople_list></check-book-search-user>
|
10
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
11
|
<!-- <tab header="单位查询">-->
|
12
12
|
<!-- <check-book-search-unit @book-list="setBookList" @book-all="setBookAll" @book-condition="setCondition"></check-book-search-unit>-->
|
13
13
|
<!-- </tab>-->
|
14
14
|
</tabset>
|
15
15
|
</div>
|
16
16
|
<div class="binary-right">
|
17
|
-
<add-to-check-book
|
17
|
+
<add-to-check-book v-ref:selectbok :usernum="rowsdata.length" v-if="AddTobookShow"></add-to-check-book>
|
18
18
|
</div>
|
19
19
|
</div>
|
20
20
|
</template>
|
@@ -26,9 +26,9 @@
|
|
26
26
|
title: '添加用户到片区',
|
27
27
|
data () {
|
28
28
|
return {
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
AddTobookShow: true,
|
30
|
+
rowsdata: null,
|
31
|
+
condition: ''
|
32
32
|
}
|
33
33
|
},
|
34
34
|
props: {
|
@@ -41,20 +41,48 @@
|
|
41
41
|
ready () {
|
42
42
|
},
|
43
43
|
methods: {
|
44
|
-
|
45
|
-
|
46
|
-
// console.log("66666",val)
|
47
|
-
this.bookList = val
|
48
|
-
},
|
49
|
-
setBookAll(val){
|
50
|
-
this.bookAll = val
|
51
|
-
},
|
52
|
-
setCondition(val){
|
53
|
-
this.bookCondition = val
|
44
|
+
childre(val){
|
45
|
+
this.$refs.selectbok.selectbook(val)
|
54
46
|
},
|
47
|
+
refresh () {
|
48
|
+
|
49
|
+
}
|
55
50
|
},
|
56
51
|
events: {
|
57
|
-
|
52
|
+
'add-tobook-refresh' () {
|
53
|
+
this.refresh()
|
54
|
+
},
|
55
|
+
'add-tobook-confirm' (model) {
|
56
|
+
this.rowsdata = this.$refs.mbpeople_list.$refs.paged.$refs.grid.getRowData()
|
57
|
+
let msg = '确认将选中的用户全部移入表册?'
|
58
|
+
if (this.rowsdata === null || this.rowsdata.length == 0) {
|
59
|
+
this.$showAlert('请勾选用户!!', 'warning', 3000)
|
60
|
+
} else {
|
61
|
+
let userfilesids = []
|
62
|
+
this.rowsdata.forEach((row) => {
|
63
|
+
userfilesids.push(row.f_userinfo_id + '')
|
64
|
+
})
|
65
|
+
// 变成可以直接使用的格式
|
66
|
+
this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
|
67
|
+
if (res === 'confirm') {
|
68
|
+
this.$resetpost('rs/logic/updateCheckBook', {f_check_book_id: model.f_check_book_num,rowsdata: userfilesids}, {
|
69
|
+
resolveMsg: '保存成功',
|
70
|
+
rejectMsg: '保存失败!'
|
71
|
+
}).then(() => {
|
72
|
+
// 刷新查询
|
73
|
+
this.$refs.mbpeople_list.rowsdata = []
|
74
|
+
this.$refs.mbpeople_list.getmeterbook()
|
75
|
+
this.rowsdata = []
|
76
|
+
this.$parent.meterbookEntryShow = false
|
77
|
+
this.$refs.mbpeople_list.unnullrowdata = []
|
78
|
+
this.$refs.mbpeople_list.radio = []
|
79
|
+
this.refresh()
|
80
|
+
this.$refs.mbpeople_list.$refs.paged.$refs.cri.search()
|
81
|
+
})
|
82
|
+
}
|
83
|
+
})
|
84
|
+
}
|
85
|
+
}
|
58
86
|
}
|
59
87
|
}
|
60
88
|
</script>
|
@@ -117,7 +117,7 @@
|
|
117
117
|
<nobr>创建人</nobr>
|
118
118
|
</th>
|
119
119
|
<th>
|
120
|
-
<nobr
|
120
|
+
<nobr>用户数量</nobr>
|
121
121
|
</th>
|
122
122
|
<th>
|
123
123
|
<nobr>已下发</nobr>
|
@@ -143,7 +143,7 @@
|
|
143
143
|
<td style="text-align: center;">{{ row.f_user_type }}</td>
|
144
144
|
<td style="text-align: center;">{{ row.f_create_date }}</td>
|
145
145
|
<td style="text-align: center;">{{ row.f_create_person }}</td>
|
146
|
-
<td style="text-align: center;"><button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link"><b>{{row.
|
146
|
+
<td style="text-align: center;"><button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link"><b>{{row.num2}}</b></button></td>
|
147
147
|
<td style="text-align: center;">{{ row.xiafa }}</td>
|
148
148
|
<td style="text-align: center;">{{ row.f_user_type =='民用'?row.num-row.xiafa:row.num4-row.xiafa }}</td>
|
149
149
|
<td style="text-align: center;">{{ row.yijian }}</td>
|