safecheck-client 3.0.30-4 → 3.0.30-41

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 (49) hide show
  1. package/examples/SafePlan-liaoyuan/App.vue +3 -1
  2. package/package.json +4 -3
  3. package/src/components/android/AddPlanItem.vue +5 -2
  4. package/src/components/android/CurrentCreate.vue +1050 -1049
  5. package/src/components/android/CurrentCreate_new.vue +1021 -1017
  6. package/src/components/android/UploadPage.vue +13 -123
  7. package/src/components/paper/PlanChooser.vue +6 -5
  8. package/src/components/pc/Edit.vue +50 -0
  9. package/src/components/pc/NewCheckpaper.vue +9 -5
  10. package/src/components/pc/PaperEdit.vue +148 -0
  11. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +3 -0
  12. package/src/components/querycheckpaper/CheckSearchUser.vue +10 -1
  13. package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -0
  14. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -0
  15. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -0
  16. package/src/filiale/hanzhong/android.js +5 -1
  17. package/src/filiale/huatong/android/SafecheckOrderV.vue +8 -0
  18. package/src/filiale/jingyang/android/PhoneUpUserinfo.vue +34 -34
  19. package/src/filiale/jingyang/pc/PaperList.vue +1 -2
  20. package/src/filiale/kelai/android/AddPlanItem.vue +488 -0
  21. package/src/filiale/kelai/android.js +1 -0
  22. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +1 -1
  23. package/src/filiale/qianneng/android/PaperFeedback.vue +40 -0
  24. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +9 -3
  25. package/src/filiale/tongchuan/android/SafecheckDevices.vue +1 -0
  26. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -0
  27. package/src/filiale/wenxi/pc/DefectPaper.vue +1 -1
  28. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1150 -1150
  29. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +20 -0
  30. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1077 -1077
  31. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +849 -849
  32. package/src/filiale/yangchunboneng/pc/PaperList.vue +727 -727
  33. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +230 -0
  34. package/src/filiale/yongzhou/pc/PaperList.vue +798 -0
  35. package/src/filiale/yongzhou/pc/communityDetail.vue +16 -4
  36. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +8 -6
  37. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +8 -6
  38. package/src/filiale/yongzhou/pc/safeDetail.vue +232 -220
  39. package/src/filiale/yongzhou/pc/safeStatistics.vue +10 -0
  40. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +416 -396
  41. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +248 -231
  42. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +10 -0
  43. package/src/filiale/yongzhou/pc/safeTable.vue +10 -2
  44. package/src/filiale/yongzhou/pc.js +25 -23
  45. package/src/filiale/zhongsheng/android/CurrentCreate.vue +994 -990
  46. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +151 -53
  47. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +14 -0
  48. package/src/main.js +1 -1
  49. package/src/safecheck.js +6 -0
@@ -1,32 +1,4 @@
1
1
  <template>
2
- <!--<div class="app-bg auto">-->
3
- <!--&lt;!&ndash;<tools-page :need-back='true' title="安检计划" @back="back()"></tools-page>&ndash;&gt;-->
4
- <!--<div class="row app-input">-->
5
- <!--<label class="col-xs-12 control-label text-left">{{context}}</label>-->
6
- <!--</div>-->
7
- <!--<div class="row app-btn" style="margin-bottom: -5px;">-->
8
- <!--&lt;!&ndash; <button class="btn btn-primary col-xs-6" @click= "planinfomation()"><span class="glyphicon glyphicon-zoom-in" style="margin-right: 20px;"></span>查询</button> &ndash;&gt;-->
9
-
10
- <!--</div>-->
11
- <!--</div>-->
12
-
13
- <!--<div v-for='row in resultdata' class="app-list auto" @click = "inputMeter(row)">-->
14
- <!--<div class="row" style="color: #00B9F1;">-->
15
- <!--<span class="col-xs-3">户号:</span><span class="col-xs-3">{{row.f_userid}}</span>-->
16
- <!--<span class="col-xs-3">姓名:</span><span class="col-xs-3">{{row.f_username}}</span>-->
17
- <!--</div>-->
18
- <!--<div class="row">-->
19
- <!--<span class="col-xs-3">表号:</span><span class="col-xs-3">{{row.f_meternumber}}</span>-->
20
- <!--<span class="col-xs-3">用户类型:</span><span class="col-xs-3">{{row.f_usertype}}</span>-->
21
- <!--</div>-->
22
- <!--<div class="row">-->
23
- <!--<span class="col-xs-3">地址:</span><span class="col-xs-8">{{row.f_address}}</span>-->
24
- <!--</div>-->
25
- <!--<back-page :need-back='true' @flag="$back()"></back-page>-->
26
- <!--</div>-->
27
- <!--</div>-->
28
-
29
-
30
2
  <div class="auto">
31
3
  <div class="row text-center" style="margin-top: 20px;">
32
4
  <button class="btn btn-primary" style="width: 15%; border-radius: 5px ;" @click= "upload()">上传</button>
@@ -49,17 +21,12 @@
49
21
  <p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_type }}
50
22
  </p>
51
23
  </div>
52
- <!-- <div class="col-xs-6">-->
53
- <!-- <p class="panel-title col-xs-5 text-left font"><b>计划名称:</b></p>-->
54
- <!-- <p class="panel-title col-xs-7 text-left input-font">{{ row.f_plan_name }}</p>-->
55
- <!-- </div>-->
56
24
  <div class="col-xs-12">
57
25
  <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
58
26
  <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}
59
27
  <img src="../../assets/phone.png" style="width: 6%" v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone)'></img>
60
28
  </p>
61
29
  </div>
62
-
63
30
  <div class="col-xs-12">
64
31
  <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户地址:</b></p>
65
32
  <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_address }}</p>
@@ -76,11 +43,6 @@
76
43
  <p class="panel-title col-xs-4 text-left font">有无安检计划</p>
77
44
  <p class="panel-title col-xs-8 text-left input-font">{{ row.f_no_checkplan }}</p>
78
45
  </div>
79
- <!--<div class="row text-right" v-show="row.f_upload_state != '已传'" >-->
80
- <!--<button type="button" class="btn btn-primary yybtn-color" v-on:click.stop.prevent='$parent.$parent.$parent.reserve($index)'>预约</button>&nbsp;-->
81
- <!--<button type="button" class="btn btn-primary qxbtn-color" v-if ='row.f_prearranged_date'-->
82
- <!--v-on:click.stop.prevent='$parent.$parent.$parent.cancelReserve($index, row.id)'>取消预约</button>-->
83
- <!--</div>-->
84
46
  </div>
85
47
  </div>
86
48
  </div>
@@ -88,29 +50,25 @@
88
50
  <div v-if="model.length == 0">
89
51
  暂无数据
90
52
  </div>
91
- <!-- <back-page :need-back='true' @flag="$back()"></back-page>-->
53
+ <work-busy :is-busy="isSend"></work-busy>
92
54
  </div>
93
55
  </template>
94
56
 
95
57
  <script>
96
- import co from 'co'
97
- import Vue from 'vue'
98
- import LocalPathList from './LocalPathList'
99
- import { PagedList } from 'vue-client'
58
+ import $ from "jquery";
100
59
 
101
60
  export default {
102
61
  title:'抄表用户信息',
103
62
  data () {
104
63
  return {
105
64
  model:[],
65
+ isSend:false,
106
66
  context: '',
107
67
  enableButton:false,
108
68
  // 测试用数组
109
69
  result: [{"f_check_item_id":"441e7ecc05bd418494011c1524437a70","f_checker_id":"18518","row":{"f_devices":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]},{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"device0":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]}],"device1":[],"device2":[],"device3":[],"device4":[],"device5":[{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"f_approved_time":null,"f_street":null,"f_client_evaluation":null,"f_defect_urgency":null,"f_repair_approved_time":null,"f_notified_path":null,"f_longitude":null,"f_cutoff_gas":null,"f_approved_by":null,"f_check_item_id":"441e7ecc05bd418494011c1524437a70","f_card_id":null,"f_pic3_path":null,"f_recording1_path":null,"f_remark":null,"f_building":"2号楼","f_room_style":"多层","f_client_suggestion":null,"f_close_valve_path":null,"f_state":"未检","f_defect_registered":null,"f_repaired_uploaded":null,"id":"15eb6a232bd4495485b2a6352a83045d","f_heating_style_":null,"f_heating_style":"热力公司集中供暖","f_complete":null,"f_recording2_path":null,"f_overall_path":null,"f_defect_expand":null,"f_zero_meter":null,"f_defect_notified":null,"f_recording3_path":null,"f_pic1_path":null,"f_SafeToRepair_id":null,"f_residential_area":null,"f_overall2_path":null,"f_cutoff_gas_path":null,"f_usegas":null,"f_stop_service":null,"f_user_phone":"","f_nongasuser_path":"file:///android_asset/nopic.png","f_approved":"未审核","f_unit":"2单元","f_signname":null,"f_sign_imgid":null,"f_no_gas_device":false,"f_check_plan_id":"7b892a031f2f40e99e944e8969d7329c","f_checker_id":"18518","f_prearranged_date":null,"f_noncivil_style":null,"f_check_type":"民用","f_defect_dorm":null,"f_defect_other":null,"f_amr_path":null,"f_orgstr":"1531.1535.18506.18518.","f_close_valve":false,"f_repaired":null,"f_repair_date":null,"f_approved_note":null,"f_orgid":"1531.1535.","f_empty_pipe":null,"f_floor":"1层","f_entry_status":"入户","f_close_adjuster":null,"f_repair_approved_note":null,"f_onsite_time":"2019-04-13 15:18:29","f_repair_approved":"未审核","f_stop_devices":null,"f_ratification_des":null,"f_no_checkplan":"有计划安检","f_repair_approved_by":null,"f_room":"20101号","f_address":"77高新区-怕踢街道-zqxiaoqu2号楼号楼2单元单元1层层20101号室","f_sign_path":null,"f_userinfoid":"548","f_offsite_time":"2019-04-13 15:18:34","f_defect_notfixed":null,"f_subcompany":"中海油.海南分公司","f_notfixed_path":null,"f_close_adjuster_path":null,"f_pic2_path":null,"f_noanswer_path":"file:///android_asset/nopic.png","f_unload_battery":false,"f_latitude":null,"f_usage":null,"f_repairman":null,"f_plan_id":null,"f_user_name":"111","f_checker_name":"测试1","style__":"","style_view_":"","f_entry_class":"success"}}
110
- // {"f_check_item_id":"1d93ee9383c2409f8b16b96c3abdb567","f_checker_id":"18518","row":{"f_devices":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]},{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"device0":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]}],"device1":[],"device2":[],"device3":[],"device4":[],"device5":[{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"f_approved_time":null,"f_street":null,"f_client_evaluation":null,"f_defect_urgency":null,"f_repair_approved_time":null,"f_notified_path":null,"f_longitude":null,"f_cutoff_gas":null,"f_approved_by":null,"f_check_item_id":"441e7ecc05bd418494011c1524437a70","f_card_id":null,"f_pic3_path":null,"f_recording1_path":null,"f_remark":null,"f_building":"2号楼","f_room_style":"多层","f_client_suggestion":null,"f_close_valve_path":null,"f_state":"未检","f_defect_registered":null,"f_repaired_uploaded":null,"id":"15eb6a232bd4495485b2a6352a83045d","f_heating_style_":null,"f_heating_style":"热力公司集中供暖","f_complete":null,"f_recording2_path":null,"f_overall_path":null,"f_defect_expand":null,"f_zero_meter":null,"f_defect_notified":null,"f_recording3_path":null,"f_pic1_path":null,"f_SafeToRepair_id":null,"f_residential_area":null,"f_overall2_path":null,"f_cutoff_gas_path":null,"f_usegas":null,"f_stop_service":null,"f_user_phone":"","f_nongasuser_path":"file:///android_asset/nopic.png","f_approved":"未审核","f_unit":"2单元","f_signname":null,"f_sign_imgid":null,"f_no_gas_device":false,"f_check_plan_id":"7b892a031f2f40e99e944e8969d7329c","f_checker_id":"18518","f_prearranged_date":null,"f_noncivil_style":null,"f_check_type":"民用","f_defect_dorm":null,"f_defect_other":null,"f_amr_path":null,"f_orgstr":"1531.1535.18506.18518.","f_close_valve":false,"f_repaired":null,"f_repair_date":null,"f_approved_note":null,"f_orgid":"1531.1535.","f_empty_pipe":null,"f_floor":"1层","f_entry_status":"入户","f_close_adjuster":null,"f_repair_approved_note":null,"f_onsite_time":"2019-04-13 15:18:29","f_repair_approved":"未审核","f_stop_devices":null,"f_ratification_des":null,"f_no_checkplan":"有计划安检","f_repair_approved_by":null,"f_room":"20101号","f_address":"77高新区-怕踢街道-zqxiaoqu2号楼号楼2单元单元1层层20101号室","f_sign_path":null,"f_userinfoid":"548","f_offsite_time":"2019-04-13 15:18:34","f_defect_notfixed":null,"f_subcompany":"中海油.海南分公司","f_notfixed_path":null,"f_close_adjuster_path":null,"f_pic2_path":null,"f_noanswer_path":"file:///android_asset/nopic.png","f_unload_battery":false,"f_latitude":null,"f_usage":null,"f_repairman":null,"f_plan_id":null,"f_user_name":"111","f_checker_name":"测试1","style__":"","style_view_":"","f_entry_class":"success"}}
111
70
  ]
112
71
  // 获取用户信息数组
113
- // resultdata:[{"f_check_item_id":"441e7ecc05bd418494011c1524437a70","f_checker_id":"18518","row":{"f_devices":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]},{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"device0":[{"f_device_type":"热水器","f_items":[{"f_item_value":"正常","f_is_defect":"","f_item_name":"热水器烟道","f_path":"","id":"0dac97b7715c4177a656b00d1995da24","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"","f_is_defect":"","f_item_name":"热水器品牌","f_path":"","id":"b00231992fac40aa9a8e7d33b9eefbb7","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"string"},{"f_item_value":"卫生间","f_is_defect":"","f_item_name":"安装位置","f_path":"","id":"f5c5ea59791a4bb5b76a58272e776b56","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""},{"f_item_value":"正常","f_is_defect":"","f_item_name":"工作状态","f_path":"","id":"fabaf277bb9c4858948db63b7c55a365","f_defect_level":null,"f_device_id":"20e6dea47ed84ecb88070b3f4c3777b7","type":"selector","selected":""}]}],"device1":[],"device2":[],"device3":[],"device4":[],"device5":[{"f_device_type":"燃气表","f_items":[{"f_item_value":null,"f_is_defect":"","f_item_name":"表号","f_path":"","id":"56cb352415de406783c304ca25ed9be7","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":null,"f_is_defect":"","f_item_name":"表封号","f_path":"","id":"6bc8d49e473b43cb92a8bfc15c5a57bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"0","f_is_defect":"","f_item_name":"累计购气量","f_path":"","id":"a213f5f4092c4d5a96f0d856a13fd0af","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"number"},{"f_item_value":"安然中海油","f_is_defect":"","f_item_name":"表品牌","f_path":"","id":"acc505d987304d689a9801b199527cf8","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"string"},{"f_item_value":"G2.5","f_is_defect":"","f_item_name":"表型号","f_path":"","id":"ceb6c96ca39e4fcf89b26bfc6fa42a45","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""},{"f_item_value":"厨房","f_is_defect":"","f_item_name":"位置","f_path":"","id":"dffeb7d1d4dc4a989a5d333f092416bf","f_defect_level":null,"f_device_id":"3c90473662d54fc689d5da673f45a6bb","type":"selector","selected":""}]}],"f_approved_time":null,"f_street":null,"f_client_evaluation":null,"f_defect_urgency":null,"f_repair_approved_time":null,"f_notified_path":null,"f_longitude":null,"f_cutoff_gas":null,"f_approved_by":null,"f_check_item_id":"441e7ecc05bd418494011c1524437a70","f_card_id":null,"f_pic3_path":null,"f_recording1_path":null,"f_remark":null,"f_building":"2号楼","f_room_style":"多层","f_client_suggestion":null,"f_close_valve_path":null,"f_state":"未检","f_defect_registered":null,"f_repaired_uploaded":null,"id":"15eb6a232bd4495485b2a6352a83045d","f_heating_style_":null,"f_heating_style":"热力公司集中供暖","f_complete":null,"f_recording2_path":null,"f_overall_path":null,"f_defect_expand":null,"f_zero_meter":null,"f_defect_notified":null,"f_recording3_path":null,"f_pic1_path":null,"f_SafeToRepair_id":null,"f_residential_area":null,"f_overall2_path":null,"f_cutoff_gas_path":null,"f_usegas":null,"f_stop_service":null,"f_user_phone":"","f_nongasuser_path":"file:///android_asset/nopic.png","f_approved":"未审核","f_unit":"2单元","f_signname":null,"f_sign_imgid":null,"f_no_gas_device":false,"f_check_plan_id":"7b892a031f2f40e99e944e8969d7329c","f_checker_id":"18518","f_prearranged_date":null,"f_noncivil_style":null,"f_check_type":"民用","f_defect_dorm":null,"f_defect_other":null,"f_amr_path":null,"f_orgstr":"1531.1535.18506.18518.","f_close_valve":false,"f_repaired":null,"f_repair_date":null,"f_approved_note":null,"f_orgid":"1531.1535.","f_empty_pipe":null,"f_floor":"1层","f_entry_status":"入户","f_close_adjuster":null,"f_repair_approved_note":null,"f_onsite_time":"2019-04-13 15:18:29","f_repair_approved":"未审核","f_stop_devices":null,"f_ratification_des":null,"f_no_checkplan":"有计划安检","f_repair_approved_by":null,"f_room":"20101号","f_address":"77高新区-怕踢街道-zqxiaoqu2号楼号楼2单元单元1层层20101号室","f_sign_path":null,"f_userinfoid":"548","f_offsite_time":"2019-04-13 15:18:34","f_defect_notfixed":null,"f_subcompany":"中海油.海南分公司","f_notfixed_path":null,"f_close_adjuster_path":null,"f_pic2_path":null,"f_noanswer_path":"file:///android_asset/nopic.png","f_unload_battery":false,"f_latitude":null,"f_usage":null,"f_repairman":null,"f_plan_id":null,"f_user_name":"111","f_checker_name":"测试1","style__":"","style_view_":"","f_entry_class":"success"}}]
114
72
  }
115
73
  },
116
74
  methods: {
@@ -121,7 +79,6 @@ export default {
121
79
  this.enableButton=true
122
80
  if (row.f_upload_state == '未传' || (row.f_upload_state == '已传' && row.f_state == '未检')) {
123
81
  this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/查询计划项表信息`, {data: {f_userid: row.f_userinfoid}},{resolveMsg: null,rejectMsg: null}).then((response) => {
124
- //tag)
125
82
  row['f_plan_meters'] = response.data
126
83
  let pardate = {
127
84
  _this:this,
@@ -131,15 +88,8 @@ export default {
131
88
  this.$dispatch('gotoson',pardate)
132
89
  this.enableButton=false
133
90
  this.$goto('safecheck-order-v', {f_plan_id: row.f_plan_id, item: row, role: 'inspect',buttonState:false}, 'self', this.refresh)
134
- /*if (row.f_user_type == '民用') {
135
- this.$goto('paper-set', {f_plan_id: row.f_plan_id, item: row, role: 'inspect'}, 'self', this.refresh)
136
- } else {
137
- this.$goto('paper-set-noncivil', {f_plan_id: row.f_plan_id, item: row, role: 'inspect'}, 'self', this.refresh)
138
- }*/
139
91
  }).catch((msg)=>{
140
- //this.$showMessage("网络故障,请稍候再试!")
141
92
  this.enableButton=false
142
- //网络异常调用本地数据
143
93
  let criteria = {
144
94
  items: '*',
145
95
  tablename: 't_plan_item_meter',
@@ -147,9 +97,7 @@ export default {
147
97
  groupitem: 'f_plan_item_id'
148
98
  }
149
99
  let result = HostApp._executeTask({'type':'sql', 'data':{'alias': 'safe_singleTable_GroupBy', 'criteria': criteria}})
150
- //tag)
151
100
  if(result.code == 200){
152
- //tag)
153
101
  row['f_plan_meters'] = result.data.rows
154
102
  let pardate = {
155
103
  _this:this,
@@ -166,121 +114,63 @@ export default {
166
114
  this.enableButton=false
167
115
  }
168
116
  },
169
- // 上传所有未成功上传的数据
170
117
  async uploadAll() {
171
- //tag
172
- //tag
173
- // if(this.model.rows.length <= 0){
174
- // this.model.rows = this.result
175
- // }
176
- //安卓
177
118
  if(this.model.length>0){
178
-
179
-
180
119
  let param = {
181
120
  rows:this.model
182
121
  }
183
122
  let paramStr = JSON.stringify(param)
184
- // 多长截断一次
185
123
  let subLength = 800
186
124
  for (let i = 0; i < paramStr.length; i += subLength) {
187
125
  HostApp.param_cache(paramStr.substr(i, subLength))
188
126
  }
189
127
  HostApp.__this__ = this
190
128
  HostApp.syncLogic({
191
- // logic别名,key必须为logic
192
129
  'logic': 'UploadAll',
193
- // 回调执行方法名,key必须为callback
194
130
  'callback': 'javascript:HostApp.__this__.uploadCallBack()',
195
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
196
- // 执行回调方法传入key为backresult
197
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
198
131
  'backresult': 1
199
132
  })
200
- // if(this.resultdata.length>0){
201
- // let ret = this.$androidUtil.bzLogic('UploadAll', {data: this.resultdata})
202
- // let ret = this.$androidUtil.bzLogic('UploadAll', {rows:this.model})
203
- // HostApp.__this__ = this
204
- // HostApp.logicWithHint({
205
- // // logic别名,key必须为logic
206
- // 'logic': 'UploadAll',
207
- // // 回调执行方法名,key必须为callback
208
- // 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
209
- // // logic执行需要的业务参数
210
- // 'data': {rows:this.model},
211
- // // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
212
- // // 执行回调方法传入key为backresult
213
- // // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
214
- // 'backresult': 1
215
- // })
216
133
  }else{
217
134
  this.$showMessage('暂无可上传数据')
135
+ this.isSend = false
218
136
  return false
219
137
  }
220
138
  },
221
139
  upload(){
140
+ this.saveNoclick()
141
+ this.isSend = true
222
142
  this.uploadAll().then((res)=>{
223
- //tag)
224
143
  this.refresh()
225
144
  })
226
-
145
+ },
146
+ saveNoclick() {
147
+ $("#savebut").addClass("noclickbut");
148
+ setTimeout(function(){
149
+ $("#savebut").removeClass("noclickbut");
150
+ },5000);
227
151
  },
228
152
  uploadCallBack(jo){
229
- //tag)
230
- //tag)
153
+ this.isSend = false
231
154
  if(jo.state == 'ok'){
232
155
  let ret = JSON.parse(jo.result)
233
- //tag)
234
156
  if(ret.state == 0){
235
157
  HostApp.alert(`${ret.successcount}条安检单上传成功,${ret.invalidcount}条安检单已作废,${ret.nocheckcount}条安检单由于网络异常上传失败!,${ret.nocheckcount}条安检单由于pc端计划被调整上传失败!,${ret.imgcount}条安检单由于图片上传失败!`)
236
158
  this.refresh()
237
159
  return true
238
160
  }
239
161
  }
240
-
241
162
  },
242
- // 查询所有未上传斌保存在手机上的数据
243
- // download() {
244
- // //tag
245
- // let res = this.$androidUtil.bzLogic('getCheckPlanInfo',{condition:this.condition})
246
- // //tag
247
- // //tag
248
- //
249
- // if (res.data && res.data.code === 200) {
250
- // //tag
251
- // if (res.data.data.length > 0) {
252
- // this.context = `有${res.data.data.length}条数据未上传,请点击上传按钮,自动上传`
253
- // this.resultdata = [...res.data.data]
254
- // } else {
255
- // // this.resultdata = []
256
- // this.context = '没有未上传数据'
257
- // }
258
- // }
259
- // },
260
163
  refresh() {
261
- //tag
262
- // hard code relationship
263
- //安卓
264
164
  let value = this.$androidUtil.path({alias: 'getCheckPlan', data:{}})
265
165
  if(value.data.length > 0){
266
166
  this.model = value.data
267
167
  }else{
268
168
  this.model = []
269
169
  }
270
- // //PC模拟安卓
271
- // this.$androidUtil.path({alias: 'getCheckPlan', data:{}}).then((value)=>{
272
- // //tag
273
- // if(value.data.length > 0){
274
- // this.model = value.data
275
- // }
276
- // })
277
-
278
170
  },
279
171
  },
280
172
 
281
173
  ready () {
282
- //组件初始化时获取本地未上传用户信息
283
- // this.download()
284
174
  this.refresh()
285
175
  }
286
176
  }
@@ -76,16 +76,17 @@
76
76
  import co from 'co'
77
77
  import { HttpResetClass } from 'vue-client'
78
78
 
79
- let select = function * (self) {
79
+ let selectnew = function * (self) {
80
80
  let http = new HttpResetClass()
81
81
  http.load('POST', '/rs/search', {
82
- source: 'tool.getChildrenOfResName($安检员$)',
83
- userid: self.$login.f.id
82
+ source: `root.getResourceById($${self.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
83
+ userid: self.$login.f.id
84
84
  }, {resolveMsg: null, rejectMsg: null}).then((res) => {
85
+ debugger
85
86
  self.checkers = []
86
87
  //tag
87
88
  res.data.forEach((resRow) => {
88
- if(resRow.orgid == self.$login.f.orgid && resRow.state == '在职'){
89
+ if( resRow.state == '在职'){
89
90
  self.checkers.push({label:resRow.name,value:resRow.id})
90
91
  }
91
92
  })
@@ -130,7 +131,7 @@
130
131
  //tag
131
132
  //tag
132
133
  this.model.f_plan_name=''
133
- let gen = select(this)
134
+ let gen = selectnew(this)
134
135
  return co(gen)
135
136
  },
136
137
  watch: {
@@ -0,0 +1,50 @@
1
+ <template>
2
+ <div>
3
+ <input type="text" v-model="inputText" placeholder="Enter text here">
4
+ <button @click="handleClick">测试</button>
5
+ <iframe v-if="showSketchPage" :src="sketchPageSrc" ref="sketchIframe" id="sketchIframe"
6
+ style="width: 100%; height: 500px;"></iframe>
7
+ </div>
8
+ </template>
9
+
10
+ <script>
11
+ export default {
12
+ name: 'App',
13
+ data() {
14
+ return {
15
+ inputText: '',
16
+ showSketchPage: false,
17
+ sketchPageSrc: '/sketch'
18
+ };
19
+ },
20
+ methods: {
21
+ handleClick() {
22
+ this.showSketchPage = true;
23
+ //this.sketchPageSrc = `/sketch?data=${encodeURIComponent(this.inputText)}`;
24
+
25
+ // 使用 $nextTick 确保 iframe 已经加载到 DOM
26
+ this.$nextTick(() => {
27
+ const sketchIframe = document.getElementById('sketchIframe').contentWindow;
28
+
29
+ // 监听来自 iframe 的消息
30
+ window.addEventListener('message', (event) => {
31
+ if (event.origin !== window.location.origin) {
32
+ return;
33
+ }
34
+ console.log('Message received from sketch:', event.data);
35
+ });
36
+
37
+ // 发送消息到 iframe
38
+ sketchIframe.onload = () => {
39
+ sketchIframe.postMessage(this.inputText, window.location.origin);
40
+ };
41
+ }); // 逻辑空着
42
+ }
43
+ },
44
+
45
+ }
46
+ </script>
47
+
48
+ <style>
49
+ /* 这里可以添加样式 */
50
+ </style>
@@ -1330,13 +1330,17 @@ export default {
1330
1330
  }
1331
1331
  }
1332
1332
  //tag
1333
-
1334
1333
  //tag)
1335
- if (!this.item.f_safecheck_type) {
1334
+ if (!this.item.f_safecheck_type && Vue.config.safecheck.SafecheckType) {
1336
1335
  this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType['年度普检'][this.item.f_check_type]])
1337
- } else {
1338
- if (Vue.config.safecheck.DevicesConfig != undefined)
1339
- this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_check_type]])
1336
+ } else if (Vue.config.safecheck.SafecheckType){
1337
+ this.config = this.extend(this.config, Vue.config.safecheck[Vue.config.safecheck.SafecheckType[this.item.f_safecheck_type][this.item.f_check_type]])
1338
+ }else {
1339
+ if(this.item.f_check_type == '民用'){
1340
+ this.config = this.extend(this.config, Vue.config.safecheck.DevicesConfig)
1341
+ }else {
1342
+ this.config = this.extend(this.config, Vue.config.safecheck.DevicesSetConfig)
1343
+ }
1340
1344
  }
1341
1345
  //遍历安检项配置
1342
1346
  for (let i in this.config) {
@@ -0,0 +1,148 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
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_userinfo_code"
11
+ style="width: 60%" placeholder="用户分类" condition="f_userinfo_code='{}'">
12
+ </div>
13
+ <div class="form-group col-sm-2">
14
+ <label class="font_normal_body">用气单位</label>
15
+ <input type="text" class="input_search" v-model="model.f_user_name"
16
+ style="width: 60%" placeholder="客户名称" condition="f_user_name like '%{}%'">
17
+ </div>
18
+ <div class="form-group col-sm-2">
19
+ <label class="font_normal_body">示意图</label>
20
+ <input type="text" class="input_search" v-model="model.f_user_phone"
21
+ style="width: 60%" placeholder="客户电话" condition="f_user_phone like '%{}%'">
22
+ </div>
23
+ <div class="form-group col-sm-2">
24
+ <label class="font_normal_body">单位编号</label>
25
+ <input type="text" class="input_search" v-model="model.f_meternumber"
26
+ style="width: 60%" placeholder="客户表号" condition="f_meternumber like '%{}%'">
27
+ </div>
28
+ <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
29
+ <export-excel-safe :data="$parent.$parent.searchData"
30
+ :field="$parent.$parent.excelHeaders"
31
+ :choose-col="true"
32
+ sqlurl="rs/logic/SafeExportExcel" sql-name="查找安检单"
33
+ template-name='安检计划明细'></export-excel-safe>
34
+ <button class="button_spacing button_search" @click="$parent.$parent.change()">查询</button>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </criteria>
39
+ <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
40
+ <template partial='head'>
41
+ <tr>
42
+ <th>
43
+ <nobr>是否有示意图</nobr>
44
+ </th>
45
+ <th>
46
+ <nobr>单位编号</nobr>
47
+ </th>
48
+ <th>
49
+ <nobr>单位地址</nobr>
50
+ </th>
51
+ <th>
52
+ <nobr>单位名称</nobr>
53
+ </th>
54
+ <th>
55
+ <nobr>联系人</nobr>
56
+ </th>
57
+ <th>
58
+ <nobr>分公司</nobr>
59
+ </th>
60
+ <th>
61
+ <nobr>示意图id</nobr>
62
+ </th>
63
+ <th>
64
+ <nobr>操作</nobr>
65
+ </th>
66
+ </tr>
67
+ </template>
68
+ <template partial='body'>
69
+
70
+ <td style="text-align: center">{{ row.uptodate }}</td>
71
+ <td style="text-align: center">{{ row.gas_point_id }}</td>
72
+ <td style="text-align: center">{{ row.gas_point_name }}</td>
73
+ <td style="text-align: center">{{ row.title }}</td>
74
+ <td style="text-align: center">{{ row.title12 }}</td>
75
+ <td style="text-align: center">{{ row.title1 }}</td>
76
+ <td style="text-align: center">{{ row.blod_id }}</td>
77
+ <td style="text-align: center">
78
+ <button class="button_spacing button_search-1" @click='change(row)'>查看</button>
79
+ </td>
80
+ </template>
81
+ </data-grid>
82
+ </criteria-paged>
83
+ </div>
84
+ </div>
85
+ <modal :show.sync="showModal" v-ref:modal backdrop="false" :width="1200">
86
+ <div slot="modal-header" class="modal-header">
87
+ <h4 class="modal-title">
88
+ 打开图纸编辑
89
+ </h4>
90
+ </div>
91
+ <div slot="modal-body" class="modal-body">
92
+ <edit></edit>
93
+ </div>
94
+ <div slot="modal-footer" class="modal-footer" style="text-align: center">
95
+ <button class="button_search" @click="cancel">取消</button>
96
+ </div>
97
+ </modal>
98
+ </template>
99
+
100
+ <script>
101
+ import {PagedList} from 'vue-client'
102
+ import Vue from 'vue'
103
+ import co from 'co'
104
+ import * as Util from '../Util'
105
+ import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
106
+
107
+ export default {
108
+ title: '图纸编辑页面',
109
+ data() {
110
+ return {
111
+ searchData: {
112
+ condition: "1=1",
113
+ f_plan_id: "",
114
+ f_approved: '',
115
+ f_entry_status: '',
116
+ f_no_checkplan: '',
117
+ f_filialeid: `('${this.$login.f.orgid}')`
118
+ },
119
+ model: new PagedList('rs/sql/queryPaperEdit', 20, {}),
120
+ excelHeaders: {
121
+ 'uptodate': '是否有示意图',
122
+ 'gas_point_id': '单位编号',
123
+ 'gas_point_name': '单位地址',
124
+ 'title': '单位名称',
125
+ 'title12': '联系人',
126
+ 'title1': '分公司',
127
+ 'blod_id': '示意图id',
128
+ },
129
+ showModal: false,
130
+ }
131
+ },
132
+ methods: {
133
+ change() {
134
+ this.showModal = true
135
+ },
136
+ search() {
137
+ this.$refs.paged.$refs.criteria.search()
138
+ },
139
+ cancel() {
140
+ this.showModal = false
141
+ }
142
+ },
143
+
144
+ ready() {
145
+
146
+ }
147
+ }
148
+ </script>
@@ -106,6 +106,7 @@
106
106
  <th>入户</th>
107
107
  <th>到访不遇</th>
108
108
  <th>拒检</th>
109
+ <th>完成率</th>
109
110
  </tr>
110
111
  </template>
111
112
  <template partial='body'>
@@ -117,6 +118,7 @@
117
118
  <td style="text-align: center">{{row.ruhu}}</td>
118
119
  <td style="text-align: center">{{row.daofang}}</td>
119
120
  <td style="text-align: center">{{row.jujian}}</td>
121
+ <td style="text-align: center">{{row.wclv}}%</td>
120
122
 
121
123
  </template>
122
124
  <template partial="foot">
@@ -128,6 +130,7 @@
128
130
  <td style="text-align: center">{{model.sums.ruhu}}</td>
129
131
  <td style="text-align: center">{{model.sums.daofang}}</td>
130
132
  <td style="text-align: center">{{model.sums.jujian}}</td>
133
+ <td style="text-align: center">{{((model.sums.ruhu +model.sums.daofang+model.sums.jujian)/(model.sums.plannum+model.sums.no_plan_num)*100).toFixed(2)}}%</td>
131
134
  </template>
132
135
  </data-grid>
133
136
  </criteria-paged>
@@ -184,6 +184,11 @@
184
184
  <input type="number" class="input_search" v-model="model.f_check_date"
185
185
  style="width: 60%" placeholder="距上次安检天数" >
186
186
  </div>
187
+ <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
188
+ <label class="font_normal_body">到访不遇次数</label>
189
+ <input type="number" class="input_search" v-model="model.f_check_version"
190
+ style="width: 60%" placeholder="到访不遇次数">
191
+ </div>
187
192
  </div>
188
193
 
189
194
  <div class="row" v-show="$parent.$parent.$parent.showItem">
@@ -756,7 +761,8 @@ export default {
756
761
  }
757
762
  }else {
758
763
  states = ''
759
- } if(args.model.f_check_date){
764
+ }
765
+ if(args.model.f_check_date){
760
766
  const daysBefore = Number(args.model.f_check_date);
761
767
  if ( daysBefore > 0) {
762
768
  // 获取当前日期
@@ -770,6 +776,9 @@ export default {
770
776
  console.error('f_check_date不是一个有效的正整数');
771
777
  }
772
778
  }
779
+ if (args.model.f_check_version){
780
+ con+= ` and f_check_version = '${args.model.f_check_version}'`
781
+ }
773
782
  con += args.model.f_checker_id ? ` and f_checker_name in ${args.model.f_checker_id}` : ' and 1=1'
774
783
  let condition = {
775
784
  condition1: args.condition,