safecheck-client 3.0.33-8 → 3.0.33-81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.html +6 -2
- package/package.json +3 -3
- package/src/App.vue +31 -31
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckOrderV.vue +3 -3
- package/src/components/paper/PaperList.vue +5 -4
- package/src/components/planmanage/PlanManage.vue +3 -2
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +34 -2
- package/src/components/report/CheckPlanCountChartArea.vue +5 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
- package/src/components/rongcheng/PaperListSQ.vue +32 -11
- package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/filiale/Util.js +5 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
- package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -5
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
- package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
- package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
- package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
- package/src/filiale/fugou/pc/PaperList.vue +14 -6
- package/src/filiale/fugou/pc/PlanManage.vue +62 -8
- package/src/filiale/fugou/pc/checkUserList.vue +222 -42
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc.js +1 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/weinan/android/SafecheckOrderV.vue +75 -26
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -172
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +651 -651
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1 -1
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1230 -0
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2832 -2832
- package/src/filiale/yangchunboneng/android.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +28 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1168 -1018
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +55 -125
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
- package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
- package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
- package/src/filiale/yongzhou/pc.js +4 -0
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -753
- package/src/main.js +2 -2
- package/src/rongcheng.js +3 -1
@@ -1552,98 +1552,63 @@ export default {
|
|
1552
1552
|
if (res.code == 200) {
|
1553
1553
|
//tag
|
1554
1554
|
if (!this.onlySave) {
|
1555
|
-
let
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
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
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
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
|
-
|
2084
|
-
|
2085
|
-
|
2086
|
-
|
2087
|
-
|
2088
|
-
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
|
2097
|
-
|
2098
|
-
|
2099
|
-
|
2100
|
-
|
2101
|
-
|
2102
|
-
|
2103
|
-
|
2104
|
-
|
2105
|
-
|
2106
|
-
|
2107
|
-
|
2108
|
-
|
2109
|
-
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2113
|
-
|
2114
|
-
|
2115
|
-
|
2116
|
-
|
2117
|
-
|
2118
|
-
|
2119
|
-
|
2120
|
-
|
2121
|
-
|
2122
|
-
|
2123
|
-
|
2124
|
-
|
2125
|
-
|
2126
|
-
|
2127
|
-
|
2128
|
-
|
2129
|
-
|
2130
|
-
|
2131
|
-
|
2132
|
-
|
2133
|
-
|
2134
|
-
|
2135
|
-
|
2136
|
-
|
2137
|
-
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
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
|
-
|
2168
|
-
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2172
|
-
|
2173
|
-
|
2174
|
-
|
2175
|
-
|
2176
|
-
|
2177
|
-
|
2178
|
-
|
2179
|
-
|
2180
|
-
|
2181
|
-
|
2182
|
-
|
2183
|
-
|
2184
|
-
|
2185
|
-
|
2186
|
-
|
2187
|
-
|
2188
|
-
|
2189
|
-
|
2190
|
-
|
2191
|
-
|
2192
|
-
|
2193
|
-
|
2194
|
-
|
2195
|
-
|
2196
|
-
|
2197
|
-
|
2198
|
-
|
2199
|
-
|
2200
|
-
|
2201
|
-
|
2202
|
-
|
2203
|
-
|
2204
|
-
|
2205
|
-
|
2206
|
-
|
2207
|
-
|
2208
|
-
|
2209
|
-
|
2210
|
-
|
2211
|
-
|
2212
|
-
|
2213
|
-
|
2214
|
-
|
2215
|
-
|
2216
|
-
|
2217
|
-
|
2218
|
-
|
2219
|
-
|
2220
|
-
|
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
|
-
|
2226
|
-
|
2227
|
-
|
2228
|
-
|
2229
|
-
|
2230
|
-
|
2231
|
-
|
2232
|
-
|
2233
|
-
|
2234
|
-
|
2235
|
-
|
2236
|
-
|
2237
|
-
|
2238
|
-
|
2239
|
-
|
2240
|
-
|
2241
|
-
|
2242
|
-
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
|
2250
|
-
|
2251
|
-
|
2252
|
-
|
2253
|
-
|
2254
|
-
|
2255
|
-
|
2256
|
-
|
2257
|
-
|
2258
|
-
|
2259
|
-
|
2260
|
-
|
2261
|
-
|
2262
|
-
|
2263
|
-
|
2264
|
-
|
2265
|
-
|
2266
|
-
|
2267
|
-
|
2268
|
-
|
2269
|
-
|
2270
|
-
|
2271
|
-
|
2272
|
-
|
2273
|
-
|
2274
|
-
|
2275
|
-
|
2276
|
-
|
2277
|
-
|
2278
|
-
|
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
|
-
|
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"
|
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>
|