safecheck-client 3.0.35-5 → 3.0.35-51
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/bootstrap/less/pager.less +76 -76
- package/src/components/NewDefectList/DefectListNew.vue +617 -617
- package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
- package/src/components/Util/SafecheckUpload.vue +4 -0
- package/src/components/android/CheckPlanDown.vue +1 -1
- package/src/components/android/CivilCurrentCreate.vue +56 -41
- package/src/components/android/NoCivilCurrentCreate.vue +10 -0
- package/src/components/android/PaperFeedback.vue +1 -1
- package/src/components/android/PhoneUpUserinfo.vue +25 -6
- package/src/components/android/PhoneotherInfo.vue +0 -14
- package/src/components/android/PhoneotherInfov3.vue +118 -0
- package/src/components/android/SafecheckDevices.vue +1298 -1298
- package/src/components/android/SafecheckOrderV.vue +2 -529
- package/src/components/pc/AddPlanItemYyChange.vue +743 -0
- package/src/components/pc/NewCheckpaper.vue +1998 -1943
- package/src/components/pc/SecurityCheckLedger.vue +133 -0
- package/src/components/pc/SecurityCheckList.vue +160 -0
- package/src/components/pc/SecurityCheckManage.vue +106 -0
- package/src/components/planmanage/PlanManage.vue +47 -2
- package/src/components/report/CheckPlanAreaList.vue +25 -5
- package/src/components/rongcheng/AddPlanItem.vue +1 -1
- package/src/components/rongcheng/AspiratedAreaPlan.vue +1 -0
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +4 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +12 -4
- package/src/components/rongcheng/CheckSearchUser.vue +1 -1
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/SafecheckUserInfo.vue +12 -12
- package/src/filiale/bayan/android/AddPlanItem.vue +450 -430
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -249
- package/src/filiale/bayan/android/CurrentCreate.vue +10 -0
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +908 -905
- package/src/filiale/bayan/android/SafecheckOrderV.vue +76 -20
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +22 -1
- package/src/filiale/bayan/pc/PlanManage.vue +962 -962
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +6 -1
- package/src/filiale/dexin/pc/DefectListNew.vue +643 -0
- package/src/filiale/dexin/pc/DefectMainNew.vue +63 -0
- package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -0
- package/src/filiale/dexin/pc.js +1 -0
- package/src/filiale/huaran/android/CheckPlanDown.vue +212 -0
- package/src/filiale/huaran/android.js +1 -0
- package/src/filiale/huaran/pc/PaperList.vue +22 -1
- package/src/filiale/huaran/pc/PlanManage.vue +66 -7
- package/src/filiale/huaran/pc/checkUserList.vue +55 -22
- package/src/filiale/huaran/pc.js +1 -0
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
- package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
- package/src/filiale/qianneng/android/SwitchValve.vue +1 -0
- package/src/filiale/rizhao/pc/NewCheckpaper.vue +9 -4
- package/src/filiale/shanxian/android/AddPlanItem.vue +447 -447
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +2979 -2979
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +21 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
- package/src/filiale/siyang/android/PaperFeedback.vue +1514 -0
- package/src/filiale/siyang/android.js +1 -0
- package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -1035
- package/src/filiale/siyang/pc/checkUserList.vue +123 -148
- package/src/filiale/tianke/pc/DefectListNew.vue +10 -3
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +5 -13
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
- package/src/filiale/weinan/android/PaperFeedback.vue +34 -8
- package/src/filiale/weinan/android/SafecheckOrderV.vue +2 -1
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -735
- package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
- package/src/filiale/weinan/pc/NewCheckpaper.vue +20 -0
- package/src/filiale/weinan/pc/checkUserList.vue +712 -712
- package/src/filiale/xilan/android/CurrentCreate.vue +1053 -1067
- package/src/filiale/xilan/android.js +0 -1
- package/src/filiale/xilan/pc/PaperList.vue +795 -0
- package/src/filiale/xilan/pc.js +13 -12
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +642 -642
- package/src/filiale/zhongsheng/android/SafecheckDevices.vue +4 -4
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +33 -1
- package/src/safecheck-android.js +1 -0
- package/src/safecheck.js +12 -0
- package/src/filiale/xilan/android/AddPlanItem.vue +0 -461
@@ -0,0 +1,133 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="flex-row">
|
3
|
+
<div class="basic-main">
|
4
|
+
<criteria-paged :model="model" v-ref:paged>
|
5
|
+
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
|
+
<div class="row">
|
8
|
+
<div class="form-group col-sm-2" >
|
9
|
+
<label class="font_normal_body">小区名称</label>
|
10
|
+
<input type="text" class="input_search" v-model="model.f_residential_area"
|
11
|
+
style="width: 60%" placeholder="小区名称" condition="ta.f_residential_area = '{}'">
|
12
|
+
</div>
|
13
|
+
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
14
|
+
<div style="float: right" class="button_spacing"
|
15
|
+
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
16
|
+
@click="$parent.$parent.hiddenr()"></div>
|
17
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
18
|
+
:field="$parent.$parent.excelHeaders"
|
19
|
+
:choose-col="true"
|
20
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="securityCheckLedger" template-name='安检台账'></export-excel-safe>
|
21
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</criteria>
|
26
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
27
|
+
<template partial='head'>
|
28
|
+
<tr>
|
29
|
+
<th>
|
30
|
+
<nobr>小区名称</nobr>
|
31
|
+
</th>
|
32
|
+
<th>
|
33
|
+
<nobr>小区用户数</nobr>
|
34
|
+
</th>
|
35
|
+
<th>
|
36
|
+
<nobr>所属计划</nobr>
|
37
|
+
</th>
|
38
|
+
<th>
|
39
|
+
<nobr>计划内用户数</nobr>
|
40
|
+
</th>
|
41
|
+
<th>
|
42
|
+
<nobr>计划下发时间</nobr>
|
43
|
+
</th>
|
44
|
+
<th>
|
45
|
+
<nobr>计划执行时间</nobr>
|
46
|
+
</th>
|
47
|
+
<th>
|
48
|
+
<nobr>计划结束时间</nobr>
|
49
|
+
</th>
|
50
|
+
<th>
|
51
|
+
<nobr>执行周期</nobr>
|
52
|
+
</th>
|
53
|
+
<th>
|
54
|
+
<nobr>周期单位</nobr>
|
55
|
+
</th>
|
56
|
+
<th>
|
57
|
+
<nobr>距离下周期时间(天)</nobr>
|
58
|
+
</th>
|
59
|
+
</tr>
|
60
|
+
</template>
|
61
|
+
<template partial='body'>
|
62
|
+
<td style="text-align: center">{{row.f_residential_area}}</td>
|
63
|
+
<td style="text-align: center">{{row.area_num}}</td>
|
64
|
+
<td style="text-align: center">{{row.f_plan_name}}</td>
|
65
|
+
<td style="text-align: center">{{row.plan_num}}</td>
|
66
|
+
<td style="text-align: center">{{row.f_issue_time}}</td>
|
67
|
+
<td style="text-align: center">{{row.first_check_date}}</td>
|
68
|
+
<td style="text-align: center">{{row.f_use_end_time}}</td>
|
69
|
+
<td style="text-align: center">{{row.zq_value}}</td>
|
70
|
+
<td style="text-align: center">{{row.dw_value}}</td>
|
71
|
+
<td :style="{ 'text-align': 'center', color: row.difference_day <= 100 ? 'red' : '' }">{{ row.difference_day }}</td>
|
72
|
+
</template>
|
73
|
+
</data-grid>
|
74
|
+
</criteria-paged>
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
</template>
|
78
|
+
|
79
|
+
<script>
|
80
|
+
import {PagedList} from 'vue-client'
|
81
|
+
|
82
|
+
export default {
|
83
|
+
title: '安检台账',
|
84
|
+
data() {
|
85
|
+
return {
|
86
|
+
model: new PagedList('rs/sql/securityCheckLedger', 20),
|
87
|
+
searchData: {
|
88
|
+
condition: "1=1"
|
89
|
+
},
|
90
|
+
excelHeaders: {
|
91
|
+
'f_residential_area': '小区名称',
|
92
|
+
'area_num': '小区用户数',
|
93
|
+
'f_plan_name': '所属计划',
|
94
|
+
'plan_num': '计划内用户数',
|
95
|
+
'f_issue_time': '计划下发时间',
|
96
|
+
'first_check_date': '计划执行时间',
|
97
|
+
'f_use_end_time': '计划结束时间',
|
98
|
+
'zq_value': '执行周期',
|
99
|
+
'dw_value': '周期单位',
|
100
|
+
'difference_day': '距离下周期时间(天)'
|
101
|
+
}
|
102
|
+
}
|
103
|
+
},
|
104
|
+
methods: {
|
105
|
+
hiddenr() {
|
106
|
+
this.$parent.isdetail = !this.$parent.isdetail
|
107
|
+
},
|
108
|
+
showList(row){
|
109
|
+
row.val = row
|
110
|
+
this.$parent.selected(row)
|
111
|
+
},
|
112
|
+
selfSearch(args) {
|
113
|
+
this.model.search(args.condition, args.model, args.condValue)
|
114
|
+
}
|
115
|
+
},
|
116
|
+
ready() {
|
117
|
+
|
118
|
+
},
|
119
|
+
watch: {
|
120
|
+
'model.condition'(val) {
|
121
|
+
if (val) {
|
122
|
+
this.searchData.condition = val
|
123
|
+
}
|
124
|
+
}
|
125
|
+
},
|
126
|
+
computed: {
|
127
|
+
selected() {
|
128
|
+
return this.$refs.paged.$refs.grid.selected
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
}
|
133
|
+
</script>
|
@@ -0,0 +1,160 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="flex">
|
3
|
+
<criteria-paged :model="model" v-ref:paged :pager="false">
|
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-4" >
|
8
|
+
<label class="font_normal_body">计划名称</label>
|
9
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_plan_name" placeholder='计划名称'
|
10
|
+
condition="f_plan_name = '{}'" @keyup.enter="search()">
|
11
|
+
</div>
|
12
|
+
<!-- <div class="form-group col-sm-4" >-->
|
13
|
+
<!-- <label class="font_normal_body">用户类型</label>-->
|
14
|
+
<!-- <v-select style="width:60% "-->
|
15
|
+
<!-- class="select select_list"-->
|
16
|
+
<!-- :value.sync="model.f_user_type"-->
|
17
|
+
<!-- v-model="model.f_user_type"-->
|
18
|
+
<!-- :options='$parent.$parent.userType'-->
|
19
|
+
<!-- placeholder='用户类型'-->
|
20
|
+
<!-- condition="f_user_type = '{}'"-->
|
21
|
+
<!-- close-on-select>-->
|
22
|
+
<!-- </v-select>-->
|
23
|
+
<!-- </div>-->
|
24
|
+
<!-- <div class="form-group col-sm-4" >-->
|
25
|
+
<!-- <label class="font_normal_body">是否已检</label>-->
|
26
|
+
<!-- <v-select style="width:60% "-->
|
27
|
+
<!-- class="select select_list"-->
|
28
|
+
<!-- :value.sync="model.f_state"-->
|
29
|
+
<!-- v-model="model.f_state"-->
|
30
|
+
<!-- :options='$parent.$parent.checkState'-->
|
31
|
+
<!-- placeholder='是否已检'-->
|
32
|
+
<!-- condition="f_state = '{}'"-->
|
33
|
+
<!-- close-on-select>-->
|
34
|
+
<!-- </v-select>-->
|
35
|
+
<!-- </div>-->
|
36
|
+
<!-- <div class="form-group col-sm-4" >-->
|
37
|
+
<!-- <label class="font_normal_body">安检状态</label>-->
|
38
|
+
<!-- <v-select style="width:60% "-->
|
39
|
+
<!-- class="select select_list"-->
|
40
|
+
<!-- :value.sync="model.f_entry_status"-->
|
41
|
+
<!-- v-model="model.f_entry_status"-->
|
42
|
+
<!-- :options='$parent.$parent.entry_status'-->
|
43
|
+
<!-- placeholder='安检状态'-->
|
44
|
+
<!-- condition="f_entry_status = '{}'"-->
|
45
|
+
<!-- close-on-select>-->
|
46
|
+
<!-- </v-select>-->
|
47
|
+
<!-- </div>-->
|
48
|
+
</div>
|
49
|
+
<!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
|
50
|
+
<!-- <div class="form-group col-sm-4" >-->
|
51
|
+
<!-- <label class="font_normal_body">气表编号</label>-->
|
52
|
+
<!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meternumber" placeholder='气表编号'-->
|
53
|
+
<!-- condition="f_meternumber = '{}'" @keyup.enter="search()">-->
|
54
|
+
<!-- </div>-->
|
55
|
+
<!-- <div class="form-group col-sm-4" >-->
|
56
|
+
<!-- <label class="font_normal_body">气表品牌</label>-->
|
57
|
+
<!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meter_brand" placeholder='气表品牌'-->
|
58
|
+
<!-- condition="f_meter_brand like '%{}%'" @keyup.enter="search()">-->
|
59
|
+
<!-- </div>-->
|
60
|
+
<!-- </div>-->
|
61
|
+
<div class="row">
|
62
|
+
<div class="form-group col-sm-2 button-range" >
|
63
|
+
<button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
|
64
|
+
<!-- <export-excel-safe :data="$parent.$parent.exportParameter"-->
|
65
|
+
<!-- :field="$parent.$parent.excelHeaders"-->
|
66
|
+
<!-- sqlurl="rs/logic/SafeExportExcel" sql-name="getCheckPlanUserList"-->
|
67
|
+
<!-- template-name='安检情况明细' :choose-col="true">-->
|
68
|
+
<!-- </export-excel-safe>-->
|
69
|
+
<!-- <!–展示下方条件或隐藏–>-->
|
70
|
+
<!-- <div class="span" style="float:right;">-->
|
71
|
+
<!-- <div class="button_spacing" style="float: right;margin-left:10px"-->
|
72
|
+
<!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
|
73
|
+
<!-- @click="$parent.$parent.hidden()">-->
|
74
|
+
<!-- </div>-->
|
75
|
+
<!-- </div>-->
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
</criteria>
|
80
|
+
<data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
|
81
|
+
<template partial='head' >
|
82
|
+
<tr>
|
83
|
+
<th><nobr>计划名称</nobr></th>
|
84
|
+
<th>
|
85
|
+
<nobr>计划内用户数</nobr>
|
86
|
+
</th>
|
87
|
+
<th>
|
88
|
+
<nobr>计划下发时间</nobr>
|
89
|
+
</th>
|
90
|
+
<th>
|
91
|
+
<nobr>计划执行时间</nobr>
|
92
|
+
</th>
|
93
|
+
<th>
|
94
|
+
<nobr>计划结束时间</nobr>
|
95
|
+
</th>
|
96
|
+
<th><nobr>入户数</nobr></th>
|
97
|
+
<th><nobr>到访不遇数</nobr></th>
|
98
|
+
<th><nobr>拒检数</nobr></th>
|
99
|
+
<th><nobr>安检率</nobr></th>
|
100
|
+
<th><nobr>入户率</nobr></th>
|
101
|
+
</tr>
|
102
|
+
</template>
|
103
|
+
<template partial='body' >
|
104
|
+
<tr >
|
105
|
+
<td style="text-align:center"><span>{{row.f_plan_name}}</span></td>
|
106
|
+
<td style="text-align:center"><span>{{row.f_plan_name}}</span></td>
|
107
|
+
<td style="text-align:center"><span>{{row.f_issue_time}}</span></td>
|
108
|
+
<td style="text-align:center"><span>{{row.min_f_last_check_date}}</span></td>
|
109
|
+
<td style="text-align:center"><span>{{row.max_f_last_check_date}}</span></td>
|
110
|
+
<td style="text-align:center">{{row.f_ruhu}}</td>
|
111
|
+
<td style="text-align:center">{{row.f_buyu}}</td>
|
112
|
+
<td style="text-align:center">{{row.f_jujian}}</td>
|
113
|
+
<td style="text-align:center">{{row.f_check_bv}}</td>
|
114
|
+
<td style="text-align:center">{{row.f_ruhu_bv}}</td>
|
115
|
+
</tr>
|
116
|
+
</template>
|
117
|
+
<template partial='foot'></template>
|
118
|
+
</data-grid>
|
119
|
+
</criteria-paged>
|
120
|
+
</div>
|
121
|
+
</template>
|
122
|
+
|
123
|
+
<script>
|
124
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
125
|
+
export default {
|
126
|
+
title: '安检情况明细',
|
127
|
+
data () {
|
128
|
+
return {
|
129
|
+
model: new PagedList('rs/sql/securityCheckList', 50, {}),
|
130
|
+
}
|
131
|
+
},
|
132
|
+
props: ['checkrow'],
|
133
|
+
ready () {
|
134
|
+
this.search()
|
135
|
+
// this.getfield = this.config.excelHeaders
|
136
|
+
},
|
137
|
+
methods: {
|
138
|
+
search () {
|
139
|
+
this.$refs.paged.$refs.criteria.search()
|
140
|
+
},
|
141
|
+
async selfSearch (args) {
|
142
|
+
if(!this.checkrow){
|
143
|
+
return
|
144
|
+
}
|
145
|
+
let condition = {
|
146
|
+
condition1: `f_residential_area = '${this.checkrow.f_residential_area}'`,
|
147
|
+
condition2: args.condition
|
148
|
+
}
|
149
|
+
const res = await new HttpResetClass().load('post','/rs/sql/securityCheckList',{data:{condition: condition}})
|
150
|
+
this.model.rows = res.data
|
151
|
+
// this.model.search(condition, args.model)
|
152
|
+
},
|
153
|
+
},
|
154
|
+
watch: {
|
155
|
+
'checkrow' () {
|
156
|
+
this.search()
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
</script>
|
@@ -0,0 +1,106 @@
|
|
1
|
+
<template>
|
2
|
+
<div id="unit" class="flex-row" v-if="listpage" >
|
3
|
+
<div :class="{'basic-main':((!isdetail) && (!usershow)),'binary-left':isdetail||usershow}" >
|
4
|
+
<security-check-ledger1 v-ref:list :row="row" @select-changed="selected"></security-check-ledger1>
|
5
|
+
</div>
|
6
|
+
<div class="binary-right" style="overflow-y: scroll" v-if="isdetail">
|
7
|
+
<security-check-ledger2 :checkrow="checkrow" ></security-check-ledger2>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
</template>
|
11
|
+
<script>
|
12
|
+
import Vue from 'vue'
|
13
|
+
|
14
|
+
export default {
|
15
|
+
title: '安检情况汇总',
|
16
|
+
data () {
|
17
|
+
return {
|
18
|
+
f_userinfo_id: '',
|
19
|
+
f_filialeid: this.$login.f.orgid,
|
20
|
+
config: {
|
21
|
+
isLimit: false, // 限购
|
22
|
+
audit: false, // 启用审核
|
23
|
+
heatingSeason: false, // 采暖季
|
24
|
+
deductionWay: 'cycle' // 'cycle: 周期扣费; day: 日运算扣费; singleHS: 采暖季独立扣费; dayHS: 采暖季日扣费;' 此值不配置默认周期扣费
|
25
|
+
},
|
26
|
+
listpage: true,
|
27
|
+
row: null,
|
28
|
+
checkrow: null,
|
29
|
+
parentData: '',
|
30
|
+
isdetail: false,
|
31
|
+
gasPriceShow: false,
|
32
|
+
usershow: false,
|
33
|
+
// 控制气价信息界面和变更操作记录界面的展示
|
34
|
+
changeView: false,
|
35
|
+
nocivilshow:true,
|
36
|
+
modalshow:false,
|
37
|
+
}
|
38
|
+
},
|
39
|
+
ready () {
|
40
|
+
},
|
41
|
+
methods: {
|
42
|
+
cancel(obj) {
|
43
|
+
this.listpage = true
|
44
|
+
},
|
45
|
+
dealMsg(val) {
|
46
|
+
this.listpage = false
|
47
|
+
this.f_userinfo_id = val.f_userinfo_id
|
48
|
+
},
|
49
|
+
selected (obj) {
|
50
|
+
//tag)
|
51
|
+
//tag)
|
52
|
+
this.checkrow = obj.val
|
53
|
+
this.isdetail = true
|
54
|
+
this.usershow = false
|
55
|
+
this.listpage = true
|
56
|
+
},
|
57
|
+
selected2 (obj) {
|
58
|
+
|
59
|
+
},
|
60
|
+
refresh () {
|
61
|
+
this.row = null
|
62
|
+
this.gasPriceShow = false
|
63
|
+
this.isdetail = false
|
64
|
+
this.usershow =false
|
65
|
+
this.listpage=true
|
66
|
+
this.$refs.list.search()
|
67
|
+
}
|
68
|
+
},
|
69
|
+
events: {
|
70
|
+
'success' (name, row, res) {
|
71
|
+
this.row = row
|
72
|
+
this.gasPriceShow = false
|
73
|
+
this.isdetail = false
|
74
|
+
this.usershow =false
|
75
|
+
this.listpage=true
|
76
|
+
this.$refs.list.search()
|
77
|
+
},
|
78
|
+
'error' (name, row, res) {
|
79
|
+
this.row = row
|
80
|
+
this.gasPriceShow = false
|
81
|
+
this.isdetail = false
|
82
|
+
this.usershow =false
|
83
|
+
this.listpage=true
|
84
|
+
this.$refs.list.search()
|
85
|
+
},
|
86
|
+
'close' (res) {
|
87
|
+
this.row = null
|
88
|
+
this.gasPriceShow = false
|
89
|
+
this.isdetail = false
|
90
|
+
this.usershow =false
|
91
|
+
this.listpage=true
|
92
|
+
},
|
93
|
+
'search' () {
|
94
|
+
this.row = null
|
95
|
+
this.gasPriceShow = false
|
96
|
+
this.isdetail = false
|
97
|
+
this.usershow =false
|
98
|
+
this.listpage=true
|
99
|
+
// this.$refs.list.search()
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
</script>
|
104
|
+
<style>
|
105
|
+
|
106
|
+
</style>
|
@@ -251,6 +251,18 @@
|
|
251
251
|
>
|
252
252
|
</v-select>
|
253
253
|
</div>
|
254
|
+
<div class="form-group col-sm-4" v-show="createPlan.isShare=='是' && ismulchecker">
|
255
|
+
<label class="font_normal_body">安 检 员:</label>
|
256
|
+
<v-select
|
257
|
+
class="select select_list"
|
258
|
+
:value.sync="createPlan.checkers"
|
259
|
+
v-model="createPlan.checkers"
|
260
|
+
:options='checker'
|
261
|
+
placeholder='请选择'
|
262
|
+
:multiple="true"
|
263
|
+
>
|
264
|
+
</v-select>
|
265
|
+
</div>
|
254
266
|
<div class="form-group col-sm-4" v-show="createPlan.isShare=='否'">
|
255
267
|
<label class="font_normal_body">安 检 员:</label>
|
256
268
|
<v-select
|
@@ -350,6 +362,18 @@
|
|
350
362
|
>
|
351
363
|
</v-select>
|
352
364
|
</div>
|
365
|
+
<div class="form-group col-sm-4" v-show="upCheckPlan.isShare=='是' && ismulchecker">
|
366
|
+
<label class="font_normal_body">安 检 员:</label>
|
367
|
+
<v-select
|
368
|
+
class="select select_list"
|
369
|
+
:value.sync="upCheckPlan.checkers"
|
370
|
+
v-model="upCheckPlan.checkers"
|
371
|
+
:options='checker'
|
372
|
+
placeholder='请选择'
|
373
|
+
:multiple="true"
|
374
|
+
>
|
375
|
+
</v-select>
|
376
|
+
</div>
|
353
377
|
<div class="form-group col-sm-4" v-show="upCheckPlan.isShare=='否'">
|
354
378
|
<label class="font_normal_body">安 检 员:</label>
|
355
379
|
<v-select
|
@@ -396,6 +420,7 @@
|
|
396
420
|
title: '计划管理',
|
397
421
|
data() {
|
398
422
|
return {
|
423
|
+
ismulchecker:this.$appdata.getSingleValue('计划安检员多选')?true:false,
|
399
424
|
a:'1',
|
400
425
|
opt:[{label:"按时间降序",value:"按时间降序"},{label:"按时间升序",value:"按时间升序"}],
|
401
426
|
currentorder:'按时间降序',
|
@@ -410,7 +435,9 @@
|
|
410
435
|
f_checker_id:'',
|
411
436
|
isShare:'',
|
412
437
|
f_checker:'',
|
413
|
-
|
438
|
+
f_checkerstr:'',
|
439
|
+
checker:{},
|
440
|
+
checkers:[]
|
414
441
|
},
|
415
442
|
isSend:false,
|
416
443
|
createPlan:{
|
@@ -421,7 +448,9 @@
|
|
421
448
|
f_issued:'否',
|
422
449
|
f_checker_id:null,
|
423
450
|
checker:{},
|
451
|
+
checkers:[],
|
424
452
|
f_checker:null,
|
453
|
+
f_checkerstr:null,
|
425
454
|
f_safecheck_type:'',
|
426
455
|
},
|
427
456
|
planCondition:{},
|
@@ -523,6 +552,12 @@
|
|
523
552
|
return
|
524
553
|
}
|
525
554
|
if(this.createPlan.isShare=="是"){
|
555
|
+
if(this.ismulchecker && this.createPlan.checkers.length > 0){
|
556
|
+
this.createPlan.checkers.forEach((value) => {
|
557
|
+
this.createPlan.f_checkerstr += `${value.name},`
|
558
|
+
})
|
559
|
+
this.createPlan.f_checkerstr = this.createPlan.f_checkerstr.slice(0, -1)
|
560
|
+
}
|
526
561
|
this.createPlan.f_checker_id=null
|
527
562
|
this.createPlan.f_checker=null
|
528
563
|
}else{
|
@@ -545,7 +580,9 @@
|
|
545
580
|
f_issued:'否',
|
546
581
|
f_checker_id:null,
|
547
582
|
checker:{},
|
583
|
+
checkers:[],
|
548
584
|
f_checker:null,
|
585
|
+
f_checkerstr:null,
|
549
586
|
f_safecheck_type:'',
|
550
587
|
f_create_operator:''
|
551
588
|
}
|
@@ -608,7 +645,7 @@
|
|
608
645
|
//按条件查询所有安检计划
|
609
646
|
async loadCheckPlan() {
|
610
647
|
this.isSend=true
|
611
|
-
this.checkplan.check.
|
648
|
+
this.checkplan.check.checkescheckes=[]
|
612
649
|
let fieldValue=''
|
613
650
|
switch(this.currentorder){
|
614
651
|
case "按时间降序":
|
@@ -677,6 +714,12 @@
|
|
677
714
|
console.log(this.upCheckPlan)
|
678
715
|
|
679
716
|
if(this.upCheckPlan.isShare=="是"){
|
717
|
+
if(this.ismulchecker && this.upCheckPlan.checkers.length > 0){
|
718
|
+
this.upCheckPlan.checkers.forEach((value) => {
|
719
|
+
this.upCheckPlan.f_checkerstr += `${value.name},`
|
720
|
+
})
|
721
|
+
this.upCheckPlan.f_checkerstr = this.upCheckPlan.f_checkerstr.slice(0, -1)
|
722
|
+
}
|
680
723
|
this.upCheckPlan.f_checker_id=null
|
681
724
|
this.upCheckPlan.f_checker=null
|
682
725
|
}else{
|
@@ -686,6 +729,8 @@
|
|
686
729
|
this.isSend=true
|
687
730
|
let res=await new HttpResetClass().load("POST", "/rs/logic/updateCheckPlan", {
|
688
731
|
data:{
|
732
|
+
checkers:this.createPlan.checkers,
|
733
|
+
f_checkerstr:this.createPlan.f_checkerstr,
|
689
734
|
f_checker:this.upCheckPlan.f_checker,
|
690
735
|
f_safecheck_type:this.upCheckPlan.f_safecheck_type,
|
691
736
|
f_checker_id:this.upCheckPlan.f_checker_id,
|
@@ -172,12 +172,21 @@
|
|
172
172
|
<td style="text-align:center">{{row.f_buyu}}</td>
|
173
173
|
<td style="text-align:center"><nobr>{{row.f_jujian}}</nobr></td>
|
174
174
|
<td style="text-align:center"><nobr>{{row.f_check_bv}}</nobr></td>
|
175
|
-
<!--<td style="text-align: center;">-->
|
176
|
-
<!--<button class="btn btn-link" @click.stop="$parent.$parent.$parent.showhistory(row)">查看</button>-->
|
177
|
-
<!--</td>-->
|
178
175
|
</tr>
|
179
176
|
</template>
|
180
|
-
<template partial=
|
177
|
+
<template partial="foot">
|
178
|
+
<tr>
|
179
|
+
<td style="text-align:center"><strong>合计:</strong></td>
|
180
|
+
<td style="text-align:center" :colspan="$parent.$parent.$parent.nameForSql.length"></td>
|
181
|
+
<td style="text-align:center"><strong>{{model.sums.f_plan_total}}</strong></td>
|
182
|
+
<td style="text-align:center"><strong>{{model.sums.f_weijian}}</strong></td>
|
183
|
+
<td style="text-align:center"><nobr><strong>{{model.sums.f_yijian}}</strong></nobr></td>
|
184
|
+
<td style="text-align:center"><nobr><strong>{{model.sums.f_ruhu}}</strong></nobr></td>
|
185
|
+
<td style="text-align:center"><nobr><strong>{{model.sums.f_buyu}}</strong></nobr></td>
|
186
|
+
<td style="text-align:center"><nobr><strong>{{model.sums.f_jujian}}</strong></nobr></td>
|
187
|
+
<td style="text-align:center"><strong>{{model.sums.f_plan_total>0?(model.sums.f_yijian/model.sums.f_plan_total*100).toFixed(2)+'%':0}}</strong></td>
|
188
|
+
</tr >
|
189
|
+
</template>
|
181
190
|
</data-grid>
|
182
191
|
</criteria-paged>
|
183
192
|
</div>
|
@@ -194,7 +203,7 @@
|
|
194
203
|
export default {
|
195
204
|
data () {
|
196
205
|
return {
|
197
|
-
model: new PagedList('rs/sql/getCheckPlanAreaList', 99999),
|
206
|
+
model: new PagedList('rs/sql/getCheckPlanAreaList', 99999,{},{f_plan_total:'',f_weijian:'',f_yijian:'',f_ruhu:'',f_buyu:'',f_jujian:''}),
|
198
207
|
// 公司下拉
|
199
208
|
curorgid: [this.$login.f.orgid],
|
200
209
|
row: {},
|
@@ -437,7 +446,18 @@
|
|
437
446
|
}
|
438
447
|
//tag
|
439
448
|
this.model.rows=JSON.parse(JSON.stringify(temp))
|
449
|
+
},
|
450
|
+
'model.rows.length'() {
|
451
|
+
// 如果查询无结果,将合计置为0
|
452
|
+
if(this.model.rows.length < 1){
|
453
|
+
this.model.sums.f_plan_total = 0
|
454
|
+
this.model.sums.f_weijian = 0
|
455
|
+
this.model.sums.f_yijian = 0
|
456
|
+
this.model.sums.f_ruhu = 0
|
457
|
+
this.model.sums.f_buyu = 0
|
458
|
+
this.model.sums.f_jujian = 0
|
440
459
|
}
|
460
|
+
}
|
441
461
|
},
|
442
462
|
computed:{
|
443
463
|
exportParameter(){
|
@@ -168,7 +168,7 @@
|
|
168
168
|
</div>
|
169
169
|
<div class="col-xs-12">
|
170
170
|
<p class="panel-title col-xs-5 text-left font"><b>隐患情况:</b></p>
|
171
|
-
<p class="panel-title col-xs-7 text-left input-font">{{ row.
|
171
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ row.f_defect_text }}</p>
|
172
172
|
</div>
|
173
173
|
</div>
|
174
174
|
</div>
|
@@ -334,6 +334,7 @@
|
|
334
334
|
</div>
|
335
335
|
<div slot="modal-footer" class="modal-footer">
|
336
336
|
<button type="button" class="btn btn-default" @click="uploadPic">上传</button>
|
337
|
+
<button type="button" class="btn btn-default" @click="imgUpModalShow = false">取消</button>
|
337
338
|
</div>
|
338
339
|
</modal>
|
339
340
|
<!--<back-page :need-back='true' @flag="$back()"></back-page>-->
|
@@ -456,6 +456,10 @@
|
|
456
456
|
let temp = getFile.data[i].f_downloadpath
|
457
457
|
if (temp) {
|
458
458
|
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
459
|
+
if (temp.startsWith('E:')){
|
460
|
+
URL = `rs/image/file/${getFile.data[i].f_filename}`
|
461
|
+
}
|
462
|
+
console.log(URL)
|
459
463
|
getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
|
460
464
|
}
|
461
465
|
}
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<p class="panel-title text-left input-font" style="width: 79%">{{ userinfo.f_address }}</p>
|
33
33
|
</div>
|
34
34
|
<div class="col-xs-12" style="margin-left: 20px">
|
35
|
-
<p class="panel-title col-xs-7 text-left input-font"><a @click="
|
35
|
+
<p class="panel-title col-xs-7 text-left input-font"><a @click="upuserinfo(userinfo.f_userinfoid)">设备信息维护</a></p>
|
36
36
|
</div>
|
37
37
|
<!--<div class="col-xs-12">
|
38
38
|
<p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>
|
@@ -157,13 +157,21 @@
|
|
157
157
|
})
|
158
158
|
this.$parent.$parent.$goto('phone-sell-info', {f_userinfo_id: f_userinfo_id})
|
159
159
|
},
|
160
|
-
searchDevices(f_userinfo_id) {
|
160
|
+
// searchDevices(f_userinfo_id) {
|
161
|
+
// this.$dispatch('gotoson', {
|
162
|
+
// _this: this.$parent.$parent,
|
163
|
+
// title: '设备查看',
|
164
|
+
// safe: false
|
165
|
+
// })
|
166
|
+
// this.$parent.$parent.$goto('PhoneDevicesInfo', {f_userinfo_id: f_userinfo_id,f_user_type:this.userinfo.f_check_type})
|
167
|
+
// },
|
168
|
+
upuserinfo (f_userinfo_id) {
|
161
169
|
this.$dispatch('gotoson', {
|
162
170
|
_this: this.$parent.$parent,
|
163
|
-
title: '
|
171
|
+
title: '档案信息变更',
|
164
172
|
safe: false
|
165
173
|
})
|
166
|
-
this.$parent.$parent.$goto('
|
174
|
+
this.$parent.$parent.$goto('PhoneUpUserinfo', {f_userinfo_id: f_userinfo_id, f_source: '安检'})
|
167
175
|
},
|
168
176
|
cameraCallBack(prop, fileName) {
|
169
177
|
HostApp.__this__.$set(prop, fileName + '?' + Math.random())
|
@@ -644,7 +644,7 @@ export default {
|
|
644
644
|
//args.condition += " and ( f_last_check_date > '"+ args.model.f_check_end + " 23:59:00' or f_last_check_date < '"+ args.model.f_check_start + " 00:00:00' or f_last_check_date is null)"
|
645
645
|
} else if(this.SafeCheckXZ == '未入户') {
|
646
646
|
args.condition += " and r < 1"
|
647
|
-
args.condition += " and f_last_check_state != '入户'"
|
647
|
+
// args.condition += " and f_last_check_state != '入户'"
|
648
648
|
con1 += ` and f_offsite_time > '${args.model.f_check_start}' and f_offsite_time < '${args.model.f_check_end}'`
|
649
649
|
con2 += ` and f_offsite_time > '${args.model.f_check_start}' and f_offsite_time < '${args.model.f_check_end}'`
|
650
650
|
if(args.model.f_check_state=='到访不遇'){
|
@@ -1786,7 +1786,7 @@ export default {
|
|
1786
1786
|
this.$set('data.f_user_name', this.item.f_user_name)
|
1787
1787
|
this.$set('data.f_user_phone', this.item.f_user_phone)
|
1788
1788
|
this.$set('data.f_used_name', this.item.f_plan_meters[0].f_used_name)
|
1789
|
-
this.$set('data.f_rent_phone',this.item.
|
1789
|
+
this.$set('data.f_rent_phone',this.item.f_rent_phone)
|
1790
1790
|
this.$set('data.f_remark', '')
|
1791
1791
|
this.$set('data.f_user_phone2',this.item.f_plan_meters[0].f_user_phone2)
|
1792
1792
|
this.$set('data.f_userinfoid', this.item.f_userinfoid)
|