safecheck-client 3.0.35-6 → 3.0.35-61
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/App.vue +31 -31
- package/src/components/NewDefectList/DefectPaperNew.vue +3 -3
- package/src/components/Util/SafecheckUpload.vue +4 -0
- package/src/components/android/AddPlanItemYy.vue +451 -451
- package/src/components/android/CheckPlanDown.vue +1 -1
- package/src/components/android/CivilCurrentCreate.vue +56 -41
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +7 -9
- package/src/components/android/NoCivilCurrentCreate.vue +10 -0
- package/src/components/android/PaperFeedback.vue +1 -1
- package/src/components/android/PhoneSellInfo.vue +100 -65
- package/src/components/android/PhoneUpUserinfo.vue +25 -6
- package/src/components/android/PhoneotherInfo.vue +0 -14
- package/src/components/android/PhoneotherInfov3.vue +118 -0
- package/src/components/android/SafecheckDevices.vue +2 -2
- package/src/components/android/SafecheckOrderV.vue +2 -529
- package/src/components/android/examples/SafeListExamples.vue +296 -296
- package/src/components/pc/AddPlanItemYyChange.vue +743 -0
- package/src/components/pc/NewCheckpaper.vue +58 -3
- package/src/components/pc/SecurityCheckLedger.vue +143 -0
- package/src/components/pc/SecurityCheckList.vue +160 -0
- package/src/components/pc/SecurityCheckManage.vue +113 -0
- package/src/components/pc/SecurityCheckUser.vue +440 -0
- package/src/components/planmanage/PlanManage.vue +47 -1
- package/src/components/report/CheckPlanAreaList.vue +25 -5
- package/src/components/rongcheng/AddPlanItem.vue +1 -1
- package/src/components/rongcheng/AspiratedAreaPlan.vue +575 -574
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +4 -0
- package/src/components/rongcheng/AspiratedUserInfo.vue +12 -4
- package/src/components/rongcheng/CheckSearchUser.vue +1 -1
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1236
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/SafecheckUserInfo.vue +12 -12
- package/src/components/userfile/InfoModifyModal.vue +1 -0
- package/src/components/userfile/UserInfoAudit.vue +2 -0
- package/src/components/userfile/UserinfoModify.vue +6 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +450 -430
- package/src/filiale/bayan/android/CurrentCreate.vue +10 -0
- package/src/filiale/bayan/android/PhoneUpUserinfo.vue +1380 -1380
- package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -0
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +882 -868
- package/src/filiale/bayan/pc/DefectPaperNew.vue +22 -1
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +6 -1
- package/src/filiale/bayan/pc/usergashistory.vue +149 -0
- package/src/filiale/bayan/pc/usergashistorynian.vue +149 -0
- package/src/filiale/bayan/pc.js +24 -22
- package/src/filiale/dexin/android/SafecheckOrderV.vue +7 -11
- package/src/filiale/dexin/pc/DefectListNew.vue +643 -0
- package/src/filiale/dexin/pc/DefectMainNew.vue +63 -0
- package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -0
- package/src/filiale/dexin/pc.js +1 -0
- package/src/filiale/huaran/android/CheckPlanDown.vue +212 -0
- package/src/filiale/huaran/android.js +1 -0
- package/src/filiale/huaran/pc/PaperList.vue +22 -1
- package/src/filiale/huaran/pc/PlanManage.vue +66 -7
- package/src/filiale/huaran/pc/checkUserList.vue +55 -22
- package/src/filiale/huaran/pc.js +1 -0
- package/src/filiale/minsheng/android/PhoneUpUserinfo.vue +21 -1
- package/src/filiale/qianneng/android/SwitchValve.vue +1 -0
- package/src/filiale/rizhao/pc/NewCheckpaper.vue +10 -5
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +21 -0
- package/src/filiale/shanxian/pc/checkUserList.vue +1 -1
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
- package/src/filiale/siyang/android/PaperFeedback.vue +1514 -0
- package/src/filiale/siyang/android.js +1 -0
- package/src/filiale/siyang/pc/PlanManage.vue +26 -16
- package/src/filiale/siyang/pc/checkUserList.vue +123 -148
- package/src/filiale/tianke/pc/DefectListNew.vue +10 -3
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +5 -13
- package/src/filiale/weinan/android/PaperFeedback.vue +34 -8
- package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +14 -0
- package/src/filiale/weinan/pc/NewCheckpaper.vue +20 -0
- package/src/filiale/weinan/pc/PaperList.vue +14 -1
- package/src/filiale/xilan/android/CurrentCreate.vue +0 -14
- package/src/filiale/xilan/android.js +10 -11
- package/src/filiale/xilan/pc/PaperList.vue +795 -0
- package/src/filiale/xilan/pc.js +1 -0
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +1 -1
- package/src/filiale/zhongsheng/android/SafecheckDevices.vue +4 -4
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +33 -1
- package/src/main.js +1 -1
- package/src/safecheck-android.js +303 -307
- package/src/safecheck.js +15 -0
- package/src/filiale/xilan/android/AddPlanItem.vue +0 -461
package/src/filiale/xilan/pc.js
CHANGED
@@ -275,7 +275,7 @@
|
|
275
275
|
<td style="text-align: center">{{model.sums.f_chaichu}}</td>
|
276
276
|
<td style="text-align: center">{{model.sums.f_tingyong}}</td>
|
277
277
|
<td style="text-align: center">{{model.sums.f_weitongqi}}</td>
|
278
|
-
<td style="text-align: center">{{model.sums.
|
278
|
+
<td style="text-align: center">{{model.sums.f_jujian}}</td>
|
279
279
|
<td style="text-align: center">{{model.sums.f_buyu}}</td>
|
280
280
|
<td style="text-align: center">{{model.sums.f_buyu2}}</td>
|
281
281
|
<td style="text-align: center">{{model.sums.f_buyu3}}</td>
|
@@ -755,11 +755,11 @@ export default {
|
|
755
755
|
if (Number(this.gasDeviation) < 0) {
|
756
756
|
console.log("ww"+JSON.stringify(this.f_items[this.f_gas_aberrant_number.index].f_item_value))
|
757
757
|
if (this.f_items[this.f_gas_aberrant_number.index].f_item_value < Number(this.gasDeviation)) {
|
758
|
-
this.f_items[this.f_gas_aberrant_number.index].f_is_defect = true
|
758
|
+
// this.f_items[this.f_gas_aberrant_number.index].f_is_defect = true
|
759
759
|
}
|
760
760
|
} else {
|
761
761
|
if (Math.abs(this.f_items[this.f_gas_aberrant_number.index].f_item_value) > Number(this.gasDeviation)) {
|
762
|
-
this.f_items[this.f_gas_aberrant_number.index].f_is_defect = false
|
762
|
+
// this.f_items[this.f_gas_aberrant_number.index].f_is_defect = false
|
763
763
|
}
|
764
764
|
}
|
765
765
|
|
@@ -797,7 +797,7 @@ export default {
|
|
797
797
|
//tag ===> ' + JSON.stringify(Number(this.feeDeviation)))
|
798
798
|
// 计算差值是否在范围内
|
799
799
|
if (Math.abs(this.f_items[this.f_fee_aberrant_number.index].f_item_value) > Number(this.feeDeviation)) {
|
800
|
-
this.f_items[this.f_fee_aberrant_number.index].f_is_defect = true
|
800
|
+
// this.f_items[this.f_fee_aberrant_number.index].f_is_defect = true
|
801
801
|
}
|
802
802
|
|
803
803
|
//tag)
|
@@ -825,7 +825,7 @@ export default {
|
|
825
825
|
// 计算差值是否在范围内
|
826
826
|
//tag)
|
827
827
|
if (Math.abs(this.f_items[this.f_meter_aberrant_number1.index].f_item_value) > Number(this.meterbase)) {
|
828
|
-
this.f_items[this.f_meter_aberrant_number1.index].f_is_defect = true
|
828
|
+
// this.f_items[this.f_meter_aberrant_number1.index].f_is_defect = true
|
829
829
|
}
|
830
830
|
|
831
831
|
//tag)
|
@@ -108,6 +108,9 @@
|
|
108
108
|
<label for="f_checker_name">安检员</label>
|
109
109
|
<input type="checkbox" id="f_user_number" value="f_user_number" v-model="$parent.$parent.nameForSql"/>
|
110
110
|
<label for="f_checker_name">档案数量</label>
|
111
|
+
<label style="float: right">计划用户数:{{$parent.$parent.plan_num}}</label>
|
112
|
+
<label style="float: right">已检数:{{$parent.$parent.yes_safe_num}}</label>
|
113
|
+
<label style="float: right">未检数:{{$parent.$parent.no_safe_num}}</label>
|
111
114
|
</div>
|
112
115
|
</div>
|
113
116
|
</div>
|
@@ -198,6 +201,9 @@ export default {
|
|
198
201
|
listflag:false,
|
199
202
|
nameflag:false,
|
200
203
|
criteriaShow: false,
|
204
|
+
plan_num:0,
|
205
|
+
yes_safe_num:0,
|
206
|
+
no_safe_num:0,
|
201
207
|
f_check_start:'',
|
202
208
|
f_check_end:'',
|
203
209
|
planName:[{label: '全部', value: ''}],
|
@@ -307,13 +313,17 @@ export default {
|
|
307
313
|
if (!this.f_orgid) {
|
308
314
|
this.getorg([this.$login.f.orgid])
|
309
315
|
}
|
316
|
+
let condition = '1=1'
|
310
317
|
if (this.f_orgid) {
|
311
318
|
args.condition = `f_filialeid in ${this.f_orgid} and ${args.condition}`
|
319
|
+
condition += ` and tcpi.f_filialeid in ${this.f_orgid}`
|
312
320
|
}
|
313
321
|
if(this.f_check_start){
|
322
|
+
condition += ` and f_plan_year>=${new Date(this.f_check_start).getFullYear()} and f_plan_month>=${new Date(this.f_check_start).getMonth()+1} `
|
314
323
|
args.condition += ` and f_year>=${new Date(this.f_check_start).getFullYear()} and f_month>=${new Date(this.f_check_start).getMonth()+1} `
|
315
324
|
}
|
316
325
|
if(this.f_check_end){
|
326
|
+
condition += ` and f_plan_year<=${new Date(this.f_check_end).getFullYear()} and f_plan_month<=${new Date(this.f_check_end).getMonth()+1} `
|
317
327
|
args.condition += ` and f_year<=${new Date(this.f_check_end).getFullYear()} and f_month<=${new Date(this.f_check_end).getMonth()+1} `
|
318
328
|
}
|
319
329
|
this.$refs.paged.$refs.grid.$el.scrollTop = 0
|
@@ -322,10 +332,32 @@ export default {
|
|
322
332
|
this.$showMessage("请至少选择一项进行汇总")
|
323
333
|
return
|
324
334
|
}
|
335
|
+
if (args.model.f_residential_area){
|
336
|
+
condition += ` and tcpi.f_residential_area like '%${args.model.f_residential_area}%'`
|
337
|
+
}
|
338
|
+
if (args.model.f_plan_name){
|
339
|
+
condition += ` and tcp.id = '${args.model.f_plan_name}'`
|
340
|
+
}
|
325
341
|
this.model.paramSource = {groupName: `'${this.groupNameForSql}'`}
|
326
342
|
this.model.search(args.condition, args.model)
|
343
|
+
this.initNum(condition)
|
344
|
+
},
|
345
|
+
initNum(condition){
|
346
|
+
new HttpResetClass().load('POST', `rs/sql/safe_singleTable_OrderBy`, {
|
347
|
+
data: {
|
348
|
+
items: "count(0) as num,sum(case when f_state = '已检' then 1 else 0 end) as yj,sum(case when f_state = '未检' then 1 else 0 end) as wj",
|
349
|
+
tablename: "t_check_plan_item tcpi left join t_check_plan tcp on tcpi.f_plan_id = tcp.id",
|
350
|
+
condition: `${condition}`,
|
351
|
+
orderitem: "1"
|
352
|
+
}
|
353
|
+
}, {resolveMsg: null, rejectMsg: null}).then(response=>{
|
354
|
+
this.plan_num = response.data[0].num || 0
|
355
|
+
this.yes_safe_num = response.data[0].yj || 0
|
356
|
+
this.no_safe_num = response.data[0].wj || 0
|
357
|
+
}).catch(error=>{
|
358
|
+
debugger
|
359
|
+
})
|
327
360
|
},
|
328
|
-
|
329
361
|
// 拼接groupName1
|
330
362
|
getGroupName1 () {
|
331
363
|
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number']
|