safecheck-client 3.0.33-8 → 3.0.33-81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/index.html +6 -2
  2. package/package.json +3 -3
  3. package/src/App.vue +31 -31
  4. package/src/components/Util/ImgSelfSafePlus.vue +12 -10
  5. package/src/components/android/CurrentCreate.vue +1 -1
  6. package/src/components/android/SafecheckOrderV.vue +3 -3
  7. package/src/components/paper/PaperList.vue +5 -4
  8. package/src/components/planmanage/PlanManage.vue +3 -2
  9. package/src/components/planmanage/checkPlanList.vue +2 -1
  10. package/src/components/planmanage/checkUserList.vue +34 -2
  11. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  12. package/src/components/report/HiddenSituation.vue +3 -3
  13. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  14. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  15. package/src/components/rongcheng/DefectPaper.vue +1 -1
  16. package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
  17. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  18. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  19. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  20. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  21. package/src/filiale/Util.js +5 -0
  22. package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
  23. package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -5
  24. package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
  25. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  26. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  27. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  28. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  29. package/src/filiale/fugou/android.js +2 -1
  30. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  31. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  32. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  33. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  34. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  35. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  36. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  37. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  38. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  39. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  40. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  41. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  42. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  43. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  44. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  45. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  46. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  47. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  48. package/src/filiale/jingyang/pc.js +1 -0
  49. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  50. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  51. package/src/filiale/rongchuang/android.js +1 -0
  52. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  53. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  54. package/src/filiale/rongchuang/pc.js +1 -0
  55. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  56. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  57. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  58. package/src/filiale/weinan/android/SafecheckOrderV.vue +75 -26
  59. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  60. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  61. package/src/filiale/weinan/pc.js +1 -0
  62. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
  63. package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -172
  64. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
  65. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +651 -651
  66. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1 -1
  67. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1230 -0
  68. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2832 -2832
  69. package/src/filiale/yangchunboneng/android.js +1 -0
  70. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +28 -1
  71. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1168 -1018
  72. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  73. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  74. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  75. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  76. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  77. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  78. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  79. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  80. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +55 -125
  81. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  82. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  83. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  84. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  85. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  86. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  87. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  88. package/src/filiale/yongzhou/pc.js +4 -0
  89. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -753
  90. package/src/main.js +2 -2
  91. package/src/rongcheng.js +3 -1
@@ -1552,98 +1552,63 @@ export default {
1552
1552
  if (res.code == 200) {
1553
1553
  //tag
1554
1554
  if (!this.onlySave) {
1555
- let codata = this.getAllDefect()
1556
- //获取微信推送内容
1557
- // let WxResult = this.getWeixin(codata)
1558
- let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
1559
- f_check_item_id: this.data.f_check_item_id
1560
- })
1561
- //如果是转维修上传,则不做校验,上传完成后自动转维修
1562
- //tag
1563
- //tag
1564
- if (!this.isToRepair) {
1565
- if (haslivedispose.data.length > 0 && (this.livedispose == 'true' || this.livedispose == true)) {
1566
- //tag
1567
- //tag
1568
- if (!this.isSafeCheckToRepair) {
1569
-
1570
- }
1555
+ let day = this.$appdata.getSingleValue('到访不遇间隔限制') || 7
1556
+ new HttpResetClass().load('POST', 'rs/sql/tel_singleTable_OrderBy', {
1557
+ data: {
1558
+ items: 'count(0) as num',
1559
+ tablename: 't_check_paper',
1560
+ condition: `f_userinfoid = '${this.item.f_userinfoid}' and f_entry_status = '到访不遇' and f_offsite_time BETWEEN DATEADD(DAY, ${day * -1}, GETDATE()) AND GETDATE()`,
1561
+ orderitem: '1'
1571
1562
  }
1572
- }
1573
- //tag
1574
- for (let key in codata) {
1575
- if (key.startsWith("device")) {
1576
- codata[key] = []
1563
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
1564
+ if (res.data[0].num == 0){
1565
+ let codata = this.getAllDefect()
1566
+ let haslivedispose = this.$androidUtil.bzLogic('getLiveDispose', {
1567
+ f_check_item_id: this.data.f_check_item_id
1568
+ })
1569
+ for (let key in codata) {
1570
+ if (key.startsWith("device")) {
1571
+ codata[key] = []
1572
+ }
1573
+ }
1574
+ codata.f_devices = this.f_devices
1575
+ if (this.rowCodata && this.rowCodata.istoRepair == '转维修') {
1576
+ this.rowCodata = Object.assign({}, this.rowCodata, codata)
1577
+ } else {
1578
+ this.rowCodata = codata
1579
+ }
1580
+ let param = {
1581
+ f_check_item_id: this.data.f_check_item_id,
1582
+ f_checker_id: this.data.f_checker_id,
1583
+ row: this.rowCodata
1584
+ }
1585
+ let paramStr = JSON.stringify(param)
1586
+ let subLength = 800
1587
+ for (let i = 0; i < paramStr.length; i += subLength) {
1588
+ HostApp.param_cache(paramStr.substr(i, subLength))
1589
+ }
1590
+ HostApp.__this__ = this
1591
+ HostApp.syncLogic({
1592
+ 'logic': '上传安检信息',
1593
+ 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
1594
+ 'backresult': 1
1595
+ })
1596
+ }else {
1597
+ this.$showMessage('距上次到访不遇时间不足七天,请核实后重新上传')
1577
1598
  }
1578
- }
1579
- //tag}`)
1580
-
1581
- //tag
1582
- // let isStart = true
1583
- // let res
1584
- // for (let i in this.f_devices){
1585
- // res = HostApp.organizeJSON({isStart:isStart,isDevice:true,device:this.f_devices[i]})
1586
- // if(res.code == 200){
1587
- // isStart = false
1588
- // }else{
1589
- // this.$showMessage("上传失败!")
1590
- // return
1591
- // }
1592
- // }
1593
- // let result = HostApp.organizeJSON({
1594
- // isStart:false,
1595
- // isJSON:true,
1596
- // jsonstr:{
1597
- // f_check_item_id: this.data.f_check_item_id,
1598
- // f_checker_id: this.data.f_checker_id,
1599
- // row: codata
1600
- // }
1601
- // })
1602
- codata.f_devices = this.f_devices
1603
- if (this.rowCodata && this.rowCodata.istoRepair == '转维修') {
1604
- this.rowCodata = Object.assign({}, this.rowCodata, codata)
1605
- } else {
1606
- this.rowCodata = codata
1607
- }
1608
- let param = {
1609
- f_check_item_id: this.data.f_check_item_id,
1610
- f_checker_id: this.data.f_checker_id,
1611
- // row: codata
1612
- row: this.rowCodata
1613
- }
1614
- //tag)
1615
- let paramStr = JSON.stringify(param)
1616
- // 多长截断一次
1617
- let subLength = 800
1618
- for (let i = 0; i < paramStr.length; i += subLength) {
1619
- HostApp.param_cache(paramStr.substr(i, subLength))
1620
- }
1621
- HostApp.__this__ = this
1622
- HostApp.syncLogic({
1623
- // logic别名,key必须为logic
1624
- 'logic': '上传安检信息',
1625
- // 回调执行方法名,key必须为callback
1626
- 'callback': 'javascript:HostApp.__this__.uploadCallBack()',
1627
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
1628
- // 执行回调方法传入key为backresult
1629
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
1630
- 'backresult': 1
1631
1599
  })
1632
1600
  } else {
1633
1601
  this.$showMessage('保存成功!')
1634
1602
  if (this.clickBack) {
1635
1603
  this.isStrat = false
1636
1604
  this.$dispatch('confirm')
1637
- //this.$back()
1638
1605
  }
1639
1606
  }
1640
1607
  } else {
1641
1608
  this.$showMessage('保存失败!')
1642
- return
1643
1609
  }
1644
1610
  } else {
1645
1611
  this.$showMessage('服务器内部错误,保存失败!')
1646
- return
1647
1612
  }
1648
1613
  },
1649
1614
  uploadCallBack(jo) {
@@ -2080,74 +2045,74 @@ export default {
2080
2045
  ]
2081
2046
  })
2082
2047
  } else if (this.devices[de].device == "燃气表") {
2083
- this.data['device' + this.devices[de].n].push({
2084
- f_device_type: "燃气表",
2085
- f_items: [
2086
- {
2087
- f_defect_level: null,
2088
- f_device_id: "",
2089
- f_is_defect: "",
2090
- f_item_name: "基表编号",
2091
- f_item_value: this.item.f_plan_meters[i].f_meter_no,
2092
- f_path: "",
2093
- type: "number"
2094
- },
2095
- {
2096
- f_defect_level: null,
2097
- f_device_id: "",
2098
- f_is_defect: "",
2099
- f_item_name: "气表型号",
2100
- f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
2101
- f_path: "",
2102
- type: "string"
2103
- },
2104
- {
2105
- f_defect_level: null,
2106
- f_device_id: "",
2107
- f_is_defect: "",
2108
- f_item_name: "气表品牌",
2109
- f_item_value: this.item.f_plan_meters[i].f_aliasname,
2110
- f_path: "",
2111
- type: "string"
2112
- },
2113
- {
2114
- f_defect_level: null,
2115
- f_device_id: "",
2116
- f_is_defect: "",
2117
- f_item_name: "进气方向",
2118
- f_item_value: this.item.f_plan_meters[i].f_flow_direction,
2119
- f_path: "",
2120
- type: "string"
2121
- },
2122
- {
2123
- f_defect_level: null,
2124
- f_device_id: "",
2125
- f_is_defect: "",
2126
- f_item_name: "上期表读数",
2127
- f_item_value: this.item.f_plan_meters[i].f_prior_reading,
2128
- f_path: "",
2129
- type: "number"
2130
- },
2131
- {
2132
- f_defect_level: null,
2133
- f_device_id: "",
2134
- f_is_defect: "",
2135
- f_item_name: "表箱号",
2136
- f_item_value: this.item.f_plan_meters[i].f_metertitles,
2137
- f_path: "",
2138
- type: "string"
2139
- },
2140
- {
2141
- f_defect_level: null,
2142
- f_device_id: "",
2143
- f_is_defect: "",
2144
- f_item_name: "系统表底数",
2145
- f_item_value: this.item.f_plan_meters[i].f_meter_base,
2146
- f_path: "",
2147
- type: "string"
2148
- }
2149
- ]
2150
- })
2048
+ this.data['device' + this.devices[de].n].push({
2049
+ f_device_type: "燃气表",
2050
+ f_items: [
2051
+ {
2052
+ f_defect_level: null,
2053
+ f_device_id: "",
2054
+ f_is_defect: "",
2055
+ f_item_name: "基表编号",
2056
+ f_item_value: this.item.f_plan_meters[i].f_meter_no,
2057
+ f_path: "",
2058
+ type: "number"
2059
+ },
2060
+ {
2061
+ f_defect_level: null,
2062
+ f_device_id: "",
2063
+ f_is_defect: "",
2064
+ f_item_name: "气表型号",
2065
+ f_item_value: this.item.f_plan_meters[i].f_diaphgram_size,
2066
+ f_path: "",
2067
+ type: "string"
2068
+ },
2069
+ {
2070
+ f_defect_level: null,
2071
+ f_device_id: "",
2072
+ f_is_defect: "",
2073
+ f_item_name: "气表品牌",
2074
+ f_item_value: this.item.f_plan_meters[i].f_aliasname,
2075
+ f_path: "",
2076
+ type: "string"
2077
+ },
2078
+ {
2079
+ f_defect_level: null,
2080
+ f_device_id: "",
2081
+ f_is_defect: "",
2082
+ f_item_name: "进气方向",
2083
+ f_item_value: this.item.f_plan_meters[i].f_flow_direction,
2084
+ f_path: "",
2085
+ type: "string"
2086
+ },
2087
+ {
2088
+ f_defect_level: null,
2089
+ f_device_id: "",
2090
+ f_is_defect: "",
2091
+ f_item_name: "上期表读数",
2092
+ f_item_value: this.item.f_plan_meters[i].f_prior_reading,
2093
+ f_path: "",
2094
+ type: "number"
2095
+ },
2096
+ {
2097
+ f_defect_level: null,
2098
+ f_device_id: "",
2099
+ f_is_defect: "",
2100
+ f_item_name: "表箱号",
2101
+ f_item_value: this.item.f_plan_meters[i].f_metertitles,
2102
+ f_path: "",
2103
+ type: "string"
2104
+ },
2105
+ {
2106
+ f_defect_level: null,
2107
+ f_device_id: "",
2108
+ f_is_defect: "",
2109
+ f_item_name: "系统表底数",
2110
+ f_item_value: this.item.f_plan_meters[i].f_meter_base,
2111
+ f_path: "",
2112
+ type: "string"
2113
+ }
2114
+ ]
2115
+ })
2151
2116
  }
2152
2117
  if (this.devices[de].device == "燃气表" && this.item.f_plan_meters[i].f_collection_type) {
2153
2118
  this.data['device' + this.devices[de].n].forEach(device => {
@@ -2164,123 +2129,123 @@ export default {
2164
2129
  if (this.item.f_plan_meters[i].f_collection_type == '按金额') {
2165
2130
  if (this.item.f_plan_meters[i].f_meter_type.indexOf('物联网') !==-1 ){
2166
2131
  if (!this.data.f_collection_type) {
2167
- this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2168
- delete this.config['燃气表']['items']['累购气量']
2169
- delete this.config['燃气表']['items']['已用金额']
2170
- delete this.config['燃气表']['items']['剩余气量']
2171
- delete this.config['燃气表']['items']['气量异常差值']
2172
- device.f_items.push(
2173
- {
2174
- f_defect_level: null,
2175
- f_device_id: "",
2176
- f_is_defect: "",
2177
- f_item_name: "初始表底",
2178
- isshow: false,
2179
- f_item_value: '',
2180
- f_path: "",
2181
- type: "number"
2182
- },
2183
- {
2184
- f_defect_level: null,
2185
- f_device_id: "",
2186
- f_is_defect: "",
2187
- f_item_name: "累购金额",
2188
- f_item_value: this.item.f_plan_meters[i].f_total_fee,
2189
- f_path: "",
2190
- type: "number"
2191
- },
2192
- {
2193
- f_defect_level: null,
2194
- f_device_id: "",
2195
- f_is_defect: "",
2196
- f_item_name: "已用气量",
2197
- f_item_value: null,
2198
- f_path: "",
2199
- type: "number"
2200
- },
2201
- {
2202
- f_defect_level: null,
2203
- f_device_id: "",
2204
- f_is_defect: "",
2205
- f_item_name: "剩余金额",
2206
- f_item_value: null,
2207
- f_path: "",
2208
- type: "number"
2209
- },
2210
- {
2211
- f_defect_level: null,
2212
- f_device_id: "",
2213
- f_is_defect: "",
2214
- f_item_name: "金额异常差值",
2215
- f_item_value: null,
2216
- f_path: "",
2217
- type: "number"
2218
- }
2219
- )
2220
- //tag)
2221
- }
2132
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2133
+ delete this.config['燃气表']['items']['累购气量']
2134
+ delete this.config['燃气表']['items']['已用金额']
2135
+ delete this.config['燃气表']['items']['剩余气量']
2136
+ delete this.config['燃气表']['items']['气量异常差值']
2137
+ device.f_items.push(
2138
+ {
2139
+ f_defect_level: null,
2140
+ f_device_id: "",
2141
+ f_is_defect: "",
2142
+ f_item_name: "初始表底",
2143
+ isshow: false,
2144
+ f_item_value: '',
2145
+ f_path: "",
2146
+ type: "number"
2147
+ },
2148
+ {
2149
+ f_defect_level: null,
2150
+ f_device_id: "",
2151
+ f_is_defect: "",
2152
+ f_item_name: "累购金额",
2153
+ f_item_value: this.item.f_plan_meters[i].f_total_fee,
2154
+ f_path: "",
2155
+ type: "number"
2156
+ },
2157
+ {
2158
+ f_defect_level: null,
2159
+ f_device_id: "",
2160
+ f_is_defect: "",
2161
+ f_item_name: "已用气量",
2162
+ f_item_value: null,
2163
+ f_path: "",
2164
+ type: "number"
2165
+ },
2166
+ {
2167
+ f_defect_level: null,
2168
+ f_device_id: "",
2169
+ f_is_defect: "",
2170
+ f_item_name: "剩余金额",
2171
+ f_item_value: null,
2172
+ f_path: "",
2173
+ type: "number"
2174
+ },
2175
+ {
2176
+ f_defect_level: null,
2177
+ f_device_id: "",
2178
+ f_is_defect: "",
2179
+ f_item_name: "金额异常差值",
2180
+ f_item_value: null,
2181
+ f_path: "",
2182
+ type: "number"
2183
+ }
2184
+ )
2185
+ //tag)
2186
+ }
2222
2187
  }
2223
2188
  else {
2224
2189
  if (!this.data.f_collection_type) {
2225
- this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2226
- delete this.config['燃气表']['items']['累购气量']
2227
- delete this.config['燃气表']['items']['已用气量']
2228
- delete this.config['燃气表']['items']['剩余气量']
2229
- delete this.config['燃气表']['items']['气量异常差值']
2230
- device.f_items.push(
2231
- {
2232
- f_defect_level: null,
2233
- f_device_id: "",
2234
- f_is_defect: "",
2235
- f_item_name: "初始表底",
2236
- isshow: false,
2237
- f_item_value: '',
2238
- f_path: "",
2239
- type: "number"
2240
- },
2241
- {
2242
- f_defect_level: null,
2243
- f_device_id: "",
2244
- f_is_defect: "",
2245
- f_item_name: "累购金额",
2246
- f_item_value: this.item.f_plan_meters[i].f_total_fee,
2247
- f_path: "",
2248
- type: "number"
2249
- },
2250
- {
2251
- f_defect_level: null,
2252
- f_device_id: "",
2253
- f_is_defect: "",
2254
- f_item_name: "已用金额",
2255
- f_item_value: null,
2256
- f_path: "",
2257
- type: "number"
2258
- },
2259
- {
2260
- f_defect_level: null,
2261
- f_device_id: "",
2262
- f_is_defect: "",
2263
- f_item_name: "剩余金额",
2264
- f_item_value: null,
2265
- f_path: "",
2266
- type: "number"
2267
- },
2268
- {
2269
- f_defect_level: null,
2270
- f_device_id: "",
2271
- f_is_defect: "",
2272
- f_item_name: "金额异常差值",
2273
- f_item_value: null,
2274
- f_path: "",
2275
- type: "number"
2276
- }
2277
- )
2278
- //tag)
2279
- }
2190
+ this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2191
+ delete this.config['燃气表']['items']['累购气量']
2192
+ delete this.config['燃气表']['items']['已用气量']
2193
+ delete this.config['燃气表']['items']['剩余气量']
2194
+ delete this.config['燃气表']['items']['气量异常差值']
2195
+ device.f_items.push(
2196
+ {
2197
+ f_defect_level: null,
2198
+ f_device_id: "",
2199
+ f_is_defect: "",
2200
+ f_item_name: "初始表底",
2201
+ isshow: false,
2202
+ f_item_value: '',
2203
+ f_path: "",
2204
+ type: "number"
2205
+ },
2206
+ {
2207
+ f_defect_level: null,
2208
+ f_device_id: "",
2209
+ f_is_defect: "",
2210
+ f_item_name: "累购金额",
2211
+ f_item_value: this.item.f_plan_meters[i].f_total_fee,
2212
+ f_path: "",
2213
+ type: "number"
2214
+ },
2215
+ {
2216
+ f_defect_level: null,
2217
+ f_device_id: "",
2218
+ f_is_defect: "",
2219
+ f_item_name: "已用金额",
2220
+ f_item_value: null,
2221
+ f_path: "",
2222
+ type: "number"
2223
+ },
2224
+ {
2225
+ f_defect_level: null,
2226
+ f_device_id: "",
2227
+ f_is_defect: "",
2228
+ f_item_name: "剩余金额",
2229
+ f_item_value: null,
2230
+ f_path: "",
2231
+ type: "number"
2232
+ },
2233
+ {
2234
+ f_defect_level: null,
2235
+ f_device_id: "",
2236
+ f_is_defect: "",
2237
+ f_item_name: "金额异常差值",
2238
+ f_item_value: null,
2239
+ f_path: "",
2240
+ type: "number"
2241
+ }
2242
+ )
2243
+ //tag)
2244
+ }
2280
2245
  }
2281
2246
  }
2282
2247
  else if (this.item.f_plan_meters[i].f_collection_type == '按气量') {
2283
- if (!this.data.f_collection_type) {
2248
+ if (!this.data.f_collection_type) {
2284
2249
  this.data.f_collection_type = this.item.f_plan_meters[i].f_collection_type
2285
2250
  delete this.config['燃气表']['items']['累购金额']
2286
2251
  delete this.config['燃气表']['items']['已用金额']
@@ -0,0 +1,59 @@
1
+ <template>
2
+ <div id="unit" class="flex-row" :class="{'binary':showItem}">
3
+ <!-- <section>-->
4
+
5
+ <div :class="{'basic-main':!showItem,'binary-left':showItem}" >
6
+ <select-check-plan @select-changed="selected" :style="style" :style2="style2" @checkstatus-changed="checkstatusChange" v-ref:check></select-check-plan>
7
+ </div>
8
+ <div class="binary-right" v-show="showItem">
9
+ <div class="flex">
10
+ <check-detail v-if='$refs.check && $refs.check.selected' :check='$refs.check.selected' :checkstatus="checkstatus" :checkstart="$refs.check.f_check_start" :checkend="$refs.check.f_check_end"
11
+ v-ref:detail></check-detail>
12
+ </div>
13
+ </div>
14
+
15
+ <!-- </section>-->
16
+ </div>
17
+ </template>
18
+
19
+ <script>
20
+ import SelectCheckPlan from './SelectCheckPlan'
21
+ import CheckDetail from './../../../components/checkplan/CheckDetail'
22
+
23
+ export default {
24
+ title: '安检员考核',
25
+ props: ['f'],
26
+ components: {SelectCheckPlan, CheckDetail},
27
+ data() {
28
+ return {
29
+ showItem: false,
30
+ checkstatus: null,
31
+ style:'col-sm-2 form-group',
32
+ style2:'col-sm-4 form-group'
33
+ }
34
+ },
35
+ methods: {
36
+ selected(row) {
37
+ // //tag
38
+ this.showItem = true
39
+ },
40
+ checkstatusChange(val){
41
+ this.checkstatus = val
42
+ }
43
+ }
44
+ }
45
+ </script>
46
+ <style>
47
+ .form-input-group label {
48
+ text-align: right;
49
+ width: auto;
50
+ }
51
+
52
+ .datapanel {
53
+ color: #333;
54
+ background-color: white;
55
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
56
+ padding: 5px 7px 5px 7px;
57
+ border-radius: 10px;
58
+ }
59
+ </style>
@@ -197,7 +197,7 @@
197
197
  style="width: 60%" placeholder="距上次安检天数" >
198
198
  </div>
199
199
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
200
- <label class="font_normal_body">到访不遇次数</label>
200
+ <label class="font_normal_body">到访次数</label>
201
201
  <input type="number" class="input_search" v-model="model.f_check_version"
202
202
  style="width: 60%" placeholder="到访不遇次数">
203
203
  </div>