safecheck-client 3.0.33-13 → 3.0.33-130
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/Util.js +7 -0
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +2 -0
- package/src/components/android/SafecheckOrderV.vue +15 -11
- package/src/components/android/SwitchValve.vue +1 -1
- package/src/components/map/checkScreen.vue +27 -21
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/planmanage/PlanManage.vue +14 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +2 -0
- package/src/components/report/CheckPlanCountChartArea.vue +120 -120
- 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/components/safecheckNew/PaperList.vue +785 -0
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
- package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
- package/src/components/safecheckNew/android/Recheck.vue +379 -0
- package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
- package/src/filiale/Util.js +5 -0
- package/src/filiale/baiyin/android.js +9 -0
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
- package/src/filiale/baiyin/pc.js +13 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +2855 -2853
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +863 -811
- package/src/filiale/bayan/android.js +1 -0
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
- package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
- package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
- package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
- package/src/filiale/bayan/pc/PaperList.vue +899 -792
- package/src/filiale/bayan/pc/PlanManage.vue +29 -8
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
- package/src/filiale/bayan/pc.js +6 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
- 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/kelai/pc/CheckPlanAreaList.vue +2 -22
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +2 -1
- package/src/filiale/qianneng/pc/PaperList.vue +31 -1
- 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/siyang/android/PhoneRecordInfo.vue +214 -0
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
- package/src/filiale/siyang/android.js +11 -0
- package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/siyang/pc/PaperList.vue +834 -0
- package/src/filiale/siyang/pc/PlanManage.vue +839 -0
- package/src/filiale/siyang/pc/checkUserList.vue +781 -0
- package/src/filiale/siyang/pc.js +15 -0
- package/src/filiale/tianke/pc/checkScreen.vue +36 -31
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
- 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 +6 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
- 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/wenxi/android/PhoneUpUserinfo.vue +1076 -1076
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +84 -63
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
- package/src/filiale/yangchunboneng/android.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- 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 +56 -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/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +33 -33
- package/src/rongcheng.js +3 -1
- package/src/safecheck-android.js +6 -0
- package/src/safecheck.js +3 -0
@@ -900,7 +900,7 @@ export default {
|
|
900
900
|
this.f_items[this.f_measurement_error.index].f_item_value = this.f_items[this.f_mechanical_reading.index].f_item_value - this.f_items[this.f_electronic_reading.index].f_item_value
|
901
901
|
this.f_items[this.f_measurement_error.index].f_item_value = this.f_items[this.f_measurement_error.index].f_item_value.toFixed(3)
|
902
902
|
if (isNaN(this.f_items[this.f_measurement_error.index].f_item_value)) {
|
903
|
-
this.f_items[this.
|
903
|
+
this.f_items[this.f_measurement_error.index].f_item_value = null
|
904
904
|
}
|
905
905
|
// 计算差值是否在范围内
|
906
906
|
//tag)
|
@@ -89,12 +89,12 @@
|
|
89
89
|
<div class="row" style="margin-top: 10px" v-if="row.f_repair_data.dispatchType == '派发给维修员'">
|
90
90
|
<label class="font_normal_body">维 修 员</label>
|
91
91
|
<v-select :value.sync="row.f_repair_data.f_repairman" :value-single="true" :options='repairers'
|
92
|
-
placeholder='
|
92
|
+
placeholder='请选择' close-on-select></v-select>
|
93
93
|
</div>
|
94
94
|
<div class="row" style="margin-top: 10px" v-if="row.f_repair_data.dispatchType == '派发给站点'">
|
95
95
|
<label class="font_normal_body">站    点</label>
|
96
96
|
<v-select :value-single="true" :value.sync="row.f_repair_data.selectedStation" @change="selectclick(row)"
|
97
|
-
:options='childrenOptions' placeholder='
|
97
|
+
:options='childrenOptions' placeholder='请选择' close-on-select></v-select>
|
98
98
|
</div>
|
99
99
|
<div class="row" style="margin-top: 10px">
|
100
100
|
<label class="font_normal_body">备 注</label>
|
@@ -252,7 +252,7 @@ export default {
|
|
252
252
|
"累购金额": { "index": 8, "type": "number", "readonly": true },
|
253
253
|
"已用气量": { "index": 9, "type": "number", "checkmust": false },//基表数
|
254
254
|
"已用金额": { "index": 9, "type": "number", "checkmust": false },
|
255
|
-
"机械读数": { "index": 10, "type": "number", "checkmust":
|
255
|
+
"机械读数": { "index": 10, "type": "number", "checkmust": true },
|
256
256
|
"电子读数": { "index": 12, "type": "number", "checkmust": false },
|
257
257
|
"剩余气量": { "index": 11, "type": "number", "checkmust": false },//累购-已用
|
258
258
|
//显示屏数 --实际剩余气量
|
@@ -1973,6 +1973,7 @@ export default {
|
|
1973
1973
|
// 用户信息
|
1974
1974
|
this.$set('data.f_user_name', this.item.f_user_name)
|
1975
1975
|
this.$set('data.f_rent_phone', this.item.f_rent_phone)
|
1976
|
+
this.$set('data.f_zuhu_phone', this.item.f_zuhu_phone)
|
1976
1977
|
this.$set('data.f_user_phone', this.item.f_user_phone)
|
1977
1978
|
this.$set('data.f_userinfoid', this.item.f_userinfoid)
|
1978
1979
|
this.$set('data.f_address', this.item.f_address)
|
@@ -1986,7 +1987,7 @@ export default {
|
|
1986
1987
|
this.$set('data.f_unit', this.item.f_unit)
|
1987
1988
|
this.$set('data.f_ins_stop_date', this.item.f_plan_meters[0].f_ins_stop_date)
|
1988
1989
|
this.$set('data.f_zhongdian', this.item.f_plan_meters[0].f_zhongdian)
|
1989
|
-
this.$set('data.
|
1990
|
+
this.$set('data.f_audit_comments', this.item.f_plan_meters[0].f_audit_comments)
|
1990
1991
|
this.$set('data.f_gas_date', this.item.f_plan_meters[0].f_gas_date)
|
1991
1992
|
this.$set('data.f_gas_pointsnumber', this.item.f_plan_meters[0].f_gas_pointsnumber)
|
1992
1993
|
//tag
|
@@ -2562,6 +2563,16 @@ export default {
|
|
2562
2563
|
}
|
2563
2564
|
//tag)
|
2564
2565
|
}
|
2566
|
+
if (this.item.f_plan_meters && this.item.f_plan_meters[0]){
|
2567
|
+
this.$set('data.f_ins_stop_date', this.item.f_plan_meters[0].f_ins_stop_date)
|
2568
|
+
this.$set('data.f_zhongdian', this.item.f_plan_meters[0].f_zhongdian)
|
2569
|
+
this.$set('data.f_audit_comments', this.item.f_plan_meters[0].f_audit_comments)
|
2570
|
+
this.$set('data.f_gas_date', this.item.f_plan_meters[0].f_gas_date)
|
2571
|
+
this.$set('data.f_gas_pointsnumber', this.item.f_plan_meters[0].f_gas_pointsnumber)
|
2572
|
+
this.$set('data.f_userfiles_id', this.item.f_plan_meters[0].f_userfiles_id)
|
2573
|
+
this.$set('data.f_valve_state', this.item.f_plan_meters[0].f_valve_state)
|
2574
|
+
this.$set('data.f_off_valve_reason', this.item.f_plan_meters[0].f_off_valve_reason)
|
2575
|
+
}
|
2565
2576
|
} else {
|
2566
2577
|
//tag
|
2567
2578
|
this.init()
|
@@ -32,6 +32,16 @@
|
|
32
32
|
v-model="userinfo.f_user_phone"/>
|
33
33
|
|
34
34
|
</div>
|
35
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
36
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>备用电话:</b></p>
|
37
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_rent_phone }}
|
38
|
+
</p>
|
39
|
+
</div>
|
40
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
41
|
+
<p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>租户电话:</b></p>
|
42
|
+
<p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_zuhu_phone }}
|
43
|
+
</p>
|
44
|
+
</div>
|
35
45
|
<!-- <div class="col-xs-12" style="padding: 2px 0" v-if="updateuserphone&&(userinfo.planmeterss.f_aliasname=='机表')">-->
|
36
46
|
<!-- <p class="panel-title text-left font" style="width: 23%;float: left"><b>机表表号:</b></p>-->
|
37
47
|
<!-- <input class="panel-title text-left input-font" style="width: 53%" value="{{ userinfo.f_meter_no }}" v-model="userinfo.f_meter_no"/>-->
|
@@ -606,12 +616,6 @@ export default {
|
|
606
616
|
if( this.$parent.$parent.item.f_offsite_time){
|
607
617
|
this.$set('last_check_date', this.$parent.$parent.item.f_offsite_time)
|
608
618
|
this.$set('last_check_state', this.$parent.$parent.item.f_entry_status)
|
609
|
-
if(this.$parent.$parent.item.f_plan_meters.length>0){
|
610
|
-
this.$set('f_meters[0].f_meter_no', this.$parent.$parent.item.f_plan_meters[0].f_meter_no)
|
611
|
-
this.$set('userinfo.f_gas_date', this.$parent.$parent.item.f_plan_meters[0].f_gas_date)
|
612
|
-
this.$set('userinfo.f_gas_pointsnumber', this.$parent.$parent.item.f_plan_meters[0].f_gas_pointsnumber)
|
613
|
-
this.$set('userinfo.f_ins_stop_date', this.$parent.$parent.item.f_plan_meters[0].f_ins_stop_date)
|
614
|
-
}
|
615
619
|
if (this.$parent.$parent.item.f_defect_content) {
|
616
620
|
let checkResult = JSON.parse(this.$parent.$parent.item.f_defect_content)
|
617
621
|
this.$set('last_check_result', checkResult.result)
|
@@ -621,6 +625,12 @@ export default {
|
|
621
625
|
this.$set('last_check_data.data', [])
|
622
626
|
}
|
623
627
|
}
|
628
|
+
if(this.$parent.$parent.item.f_plan_meters && this.$parent.$parent.item.f_plan_meters.length>0){
|
629
|
+
this.$set('f_meters[0].f_meter_no', this.$parent.$parent.item.f_plan_meters[0].f_meter_no)
|
630
|
+
this.$set('userinfo.f_gas_date', this.$parent.$parent.item.f_plan_meters[0].f_gas_date)
|
631
|
+
this.$set('userinfo.f_gas_pointsnumber', this.$parent.$parent.item.f_plan_meters[0].f_gas_pointsnumber)
|
632
|
+
this.$set('userinfo.f_ins_stop_date', this.$parent.$parent.item.f_plan_meters[0].f_ins_stop_date)
|
633
|
+
}
|
624
634
|
this.$set('upUserinfoSta', '否')
|
625
635
|
this.upUserinfoSta = this.$appdata.getSingleValue('安检修改档案信息')
|
626
636
|
|
@@ -14,6 +14,7 @@ let specialComp = {
|
|
14
14
|
'DailyworkloadQueryNew': (resolve) => { require(['./android/DailyworkloadQueryNew'], resolve) },
|
15
15
|
'new-check-paper-android': (resolve) => { require(['./android/NewCheckpaperAndroid'], resolve) },
|
16
16
|
'safe-history-look': (resolve) => { require(['./android/safeHistoryLook'], resolve) },
|
17
|
+
'PhoneUpUserinfo': (resolve) => { require(['./android/PhoneUpUserinfo.vue'], resolve) },
|
17
18
|
}
|
18
19
|
|
19
20
|
exports.specialComp = specialComp
|
@@ -109,10 +109,10 @@
|
|
109
109
|
<!-- <nobr>未下发</nobr>-->
|
110
110
|
<!-- </th>-->
|
111
111
|
<th>
|
112
|
-
<nobr
|
112
|
+
<nobr>已入户</nobr>
|
113
113
|
</th>
|
114
114
|
<th>
|
115
|
-
<nobr
|
115
|
+
<nobr>未入户</nobr>
|
116
116
|
</th>
|
117
117
|
</tr>
|
118
118
|
</template>
|
@@ -127,8 +127,8 @@
|
|
127
127
|
<td style="text-align: center;"><button @click.stop="$parent.$parent.$parent.details(row)" class="btn btn-link"><b>{{row.num}}</b></button></td>
|
128
128
|
<!-- <td style="text-align: center;">{{ row.xiafa }}</td>-->
|
129
129
|
<!-- <td style="text-align: center;">{{ row.f_user_type =='民用'?row.num-row.xiafa:row.num4-row.xiafa }}</td>-->
|
130
|
-
<td style="text-align: center;">{{ row.
|
131
|
-
<td style="text-align: center;">{{ row.
|
130
|
+
<td style="text-align: center;">{{ row.num3 }}</td>
|
131
|
+
<td style="text-align: center;">{{ row.num4 }}</td>
|
132
132
|
</template>
|
133
133
|
</data-grid>
|
134
134
|
</criteria-paged>
|
@@ -5,22 +5,17 @@
|
|
5
5
|
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
6
6
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
7
7
|
<div class="row">
|
8
|
-
<div class="form-group col-sm-
|
8
|
+
<div class="form-group col-sm-4">
|
9
9
|
<label class="font_normal_body">客户编号</label>
|
10
10
|
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
11
11
|
style="width: 60%" placeholder="客户编号" condition="f_userinfo_code='{}'">
|
12
12
|
</div>
|
13
|
-
<div class="form-group col-sm-
|
13
|
+
<div class="form-group col-sm-4">
|
14
14
|
<label class="font_normal_body">客户名称</label>
|
15
15
|
<input type="text" class="input_search" v-model="model.f_user_name"
|
16
16
|
style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
|
17
17
|
</div>
|
18
|
-
<div class="form-group col-sm-
|
19
|
-
<label class="font_normal_body">地址</label>
|
20
|
-
<input type="text" class="input_search" v-model="model.f_address"
|
21
|
-
style="width: 60%" placeholder="地址" condition="f_address like '%{}%'">
|
22
|
-
</div>
|
23
|
-
<div class="form-group col-sm-3">
|
18
|
+
<div class="form-group col-sm-4">
|
24
19
|
<button class="button_spacing button_search" @click="search()">查询</button>
|
25
20
|
<div style="float: right" class="button_spacing"
|
26
21
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
@@ -28,17 +23,17 @@
|
|
28
23
|
</div>
|
29
24
|
</div>
|
30
25
|
<div class="row">
|
31
|
-
<div class="form-group col-sm-
|
26
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
27
|
+
<label class="font_normal_body">地  址</label>
|
28
|
+
<input type="text" class="input_search" v-model="model.f_address"
|
29
|
+
style="width: 60%" placeholder="地址" condition="f_address like '%{}%'">
|
30
|
+
</div>
|
31
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
32
32
|
<label class="font_normal_body">小区名称</label>
|
33
33
|
<input type="text" class="input_search" v-model="model.f_residential_area"
|
34
34
|
style="width: 60%" placeholder="小区名称" condition="f_residential_area like '%{}%'">
|
35
35
|
</div>
|
36
|
-
<div class="form-group col-sm-
|
37
|
-
<label class="font_normal_body">地址</label>
|
38
|
-
<input type="text" class="input_search" v-model="model.f_address"
|
39
|
-
style="width: 60%" placeholder="地址" condition="f_address like '%{}%'">
|
40
|
-
</div>
|
41
|
-
<div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
|
36
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
42
37
|
<label class="font_normal_body">客户类型</label>
|
43
38
|
<v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
|
44
39
|
:value-single="true" style="width: 60%"
|
@@ -47,23 +42,20 @@
|
|
47
42
|
close-on-select
|
48
43
|
condition="f_user_type ='{}'"></v-select>
|
49
44
|
</div>
|
50
|
-
<div class="col-sm-
|
45
|
+
<div class="col-sm-4 form-group" style="margin-bottom: 0px" v-show="$parent.$parent.criteriaShow">
|
51
46
|
<label class="font_normal_body">公  司</label>
|
52
47
|
<right-tree-safe @re-res="$parent.$parent.getResm" v-model="model.f_orgid" condition="ui.f_orgid in {}"></right-tree-safe>
|
53
48
|
</div>
|
54
|
-
|
55
|
-
|
56
|
-
<div class="form-group col-sm-3" v-show="$parent.$parent.criteriaShow">
|
57
|
-
<label class="font_normal_body">安检册名称</label>
|
49
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
50
|
+
<label class="font_normal_body">安 检 册</label>
|
58
51
|
<v-select :value.sync="model.f_check_book_id" v-model='model.f_check_book_id'
|
59
52
|
:value-single="true" style="width: 60%"
|
60
53
|
class="select_list select"
|
61
54
|
:options='$parent.$parent.checkBooks' placeholder='安检册名称'
|
62
55
|
close-on-select
|
63
56
|
condition="f_check_book_id ='{}'"></v-select>
|
64
|
-
|
65
57
|
</div>
|
66
|
-
<div class="form-group col-sm-
|
58
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
67
59
|
<label class="font_normal_body">是否在册</label>
|
68
60
|
<v-select :value.sync="model.f_is_checkbook" v-model='model.f_is_checkbook'
|
69
61
|
:value-single="true" style="width: 60%"
|
@@ -74,6 +66,54 @@
|
|
74
66
|
condition="{}"></v-select>
|
75
67
|
</div>
|
76
68
|
</div>
|
69
|
+
<div class="row">
|
70
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
71
|
+
<label class="font_normal_body">通气开始</label>
|
72
|
+
<datepicker
|
73
|
+
:value.sync="model.f_gas_date_str"
|
74
|
+
style="width: 60%"
|
75
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
76
|
+
v-model="model.f_gas_date_str"
|
77
|
+
condition="f_uservent_date > '{}'"
|
78
|
+
>
|
79
|
+
</datepicker>
|
80
|
+
</div>
|
81
|
+
<div class="form-group col-sm-4" v-show="$parent.$parent.criteriaShow">
|
82
|
+
<label class="font_normal_body">通气结束</label>
|
83
|
+
<datepicker
|
84
|
+
:value.sync="model.f_gas_date_end"
|
85
|
+
style="width: 60%"
|
86
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
87
|
+
v-model="model.f_gas_date_end"
|
88
|
+
condition="f_uservent_date < '{}'"
|
89
|
+
>
|
90
|
+
</datepicker>
|
91
|
+
</div>
|
92
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
93
|
+
<label class="font_normal_body">开始时间</label>
|
94
|
+
<datepicker
|
95
|
+
:value.sync="model.f_check_start"
|
96
|
+
placeholder='首次通气时间' style="width: 60%"
|
97
|
+
:disabled-days-of-week="[]"
|
98
|
+
:format="'yyyy-MM-dd'"
|
99
|
+
:show-rest-button="reset"
|
100
|
+
v-model="model.f_check_start"
|
101
|
+
condition="f_uservent_date > ='{} 00:00:00'">
|
102
|
+
</datepicker>
|
103
|
+
</div>
|
104
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
|
105
|
+
<label class="font_normal_body">结束时间</label>
|
106
|
+
<datepicker
|
107
|
+
:value.sync="model.f_check_end"
|
108
|
+
placeholder='首次通气时间' style="width: 60%"
|
109
|
+
:disabled-days-of-week="[]"
|
110
|
+
:format="'yyyy-MM-dd'"
|
111
|
+
:show-rest-button="reset"
|
112
|
+
v-model="model.f_check_end"
|
113
|
+
condition="f_uservent_date <= '{} 23:59:59'">
|
114
|
+
</datepicker>
|
115
|
+
</div>
|
116
|
+
</div>
|
77
117
|
</div>
|
78
118
|
</criteria>
|
79
119
|
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
@@ -100,6 +140,9 @@
|
|
100
140
|
<th>
|
101
141
|
<nobr>客户地址</nobr>
|
102
142
|
</th>
|
143
|
+
<th>
|
144
|
+
<nobr>首次通气时间</nobr>
|
145
|
+
</th>
|
103
146
|
<th>
|
104
147
|
<nobr>所属安检册</nobr>
|
105
148
|
</th>
|
@@ -117,6 +160,7 @@
|
|
117
160
|
<td style="text-align: center">{{ row.f_user_phone }}</td>
|
118
161
|
<td style="text-align: center">{{ row.f_residential_area }}</td>
|
119
162
|
<td style="text-align: center">{{ row.f_address }}</td>
|
163
|
+
<td style="text-align: center">{{ row.f_uservent_date }}</td>
|
120
164
|
<td style="text-align: center">{{ row.f_check_book_name }}</td>
|
121
165
|
</template>
|
122
166
|
</data-grid>
|
@@ -582,16 +626,16 @@ export default {
|
|
582
626
|
bus.$off('fresh-user')
|
583
627
|
},
|
584
628
|
ready () {
|
585
|
-
bus.$on('fresh-user',()=>{
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
})
|
591
|
-
this.$refs.paged.$refs.criteria.model.f_is_checkbook = 'f_check_book_name is null'
|
592
|
-
//tag
|
593
|
-
// this.init=true
|
594
|
-
this.freshCheckBook()
|
629
|
+
// bus.$on('fresh-user',()=>{
|
630
|
+
// console.log("进入方法")
|
631
|
+
// this.bookAll = false
|
632
|
+
// this.bookList = []
|
633
|
+
// this.$refs.paged.$refs.criteria.search()
|
634
|
+
// })
|
635
|
+
// this.$refs.paged.$refs.criteria.model.f_is_checkbook = 'f_check_book_name is null'
|
636
|
+
// //tag
|
637
|
+
// // this.init=true
|
638
|
+
// this.freshCheckBook()
|
595
639
|
}
|
596
640
|
}
|
597
641
|
</script>
|
@@ -7,9 +7,65 @@
|
|
7
7
|
<div class="form-group col-sm-3" >
|
8
8
|
<label class="font_normal_body">客户编号</label>
|
9
9
|
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" placeholder='客户编号'
|
10
|
-
condition="f_userinfo_code = '{}'" @keyup.enter="search()">
|
10
|
+
condition="tui.f_userinfo_code = '{}'" @keyup.enter="search()">
|
11
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="f_gas_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="f_gas_date <= '{} 23:59:59'">
|
60
|
+
</datepicker>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
<div class="row">
|
12
64
|
<div class="form-group col-sm-2 button-range" >
|
65
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
66
|
+
:field="$parent.$parent.excelHeaders"
|
67
|
+
:choose-col="true"
|
68
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="getUserByCheckBook" template-name='安检册明细'></export-excel-safe>
|
13
69
|
<button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
|
14
70
|
<button class="button_spacing button_search-1" @click='$parent.$parent.removes()' v-if="$parent.$parent.bookList.length>0" >移出安检册</button>
|
15
71
|
</div>
|
@@ -27,6 +83,7 @@
|
|
27
83
|
<th><nobr>用户姓名</nobr></th>
|
28
84
|
<th><nobr>用户电话</nobr></th>
|
29
85
|
<th><nobr>用户地址</nobr></th>
|
86
|
+
<th><nobr>通气日期</nobr></th>
|
30
87
|
<th><nobr>操作</nobr></th>
|
31
88
|
</tr>
|
32
89
|
</template>
|
@@ -42,6 +99,7 @@
|
|
42
99
|
<td style="text-align:center">{{row.f_user_name}}</td>
|
43
100
|
<td style="text-align:center">{{row.f_user_phone}}</td>
|
44
101
|
<td style="text-align:center">{{row.f_address}}</td>
|
102
|
+
<td style="text-align:center">{{row.f_gas_date}}</td>
|
45
103
|
<td style="text-align: center">
|
46
104
|
<button class="button_spacing button_search-1" @click='$parent.$parent.$parent.remove(row)'>移出安检册</button>
|
47
105
|
</td>
|
@@ -65,6 +123,17 @@ export default {
|
|
65
123
|
checkAll:false,
|
66
124
|
rowdata: this.row,
|
67
125
|
bookList: [],
|
126
|
+
searchData: {
|
127
|
+
condition: "1=1"
|
128
|
+
},
|
129
|
+
excelHeaders: {
|
130
|
+
'f_userinfo_code': '客户编号',
|
131
|
+
'f_user_name': '客户姓名',
|
132
|
+
'f_user_phone':'客户电话',
|
133
|
+
'f_address': '客户地址',
|
134
|
+
'f_gas_date': '通气日期'
|
135
|
+
},
|
136
|
+
userTypes: [{label: '全部', value: ''},{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
68
137
|
model: new PagedList('rs/sql/getUserByCheckBook', 50)
|
69
138
|
}
|
70
139
|
},
|
@@ -86,6 +155,7 @@ export default {
|
|
86
155
|
// condition = `tc.f_check_book_id =${this.row.f_check_book_id} and tc.id=${this.row.id}`
|
87
156
|
// }
|
88
157
|
this.model.search(condition)
|
158
|
+
this.searchData.condition = condition
|
89
159
|
//只显示用户页面
|
90
160
|
this.row.f_check_book_type='用户'
|
91
161
|
}
|
@@ -189,6 +259,7 @@ export default {
|
|
189
259
|
// args.condition += `and tc.f_check_book_id =${this.rowdata.f_check_book_id} and tc.id=${this.rowdata.id}`
|
190
260
|
// }
|
191
261
|
this.model.search(args.condition)
|
262
|
+
this.searchData.condition = args.condition
|
192
263
|
} else {
|
193
264
|
this.$showMessage('请选择片区')
|
194
265
|
}
|