safecheck-client 4.0.2-6 → 4.0.2-62
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/package.json +1 -1
- package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
- package/src/components/android/AndroidNotifiedDeal.vue +417 -0
- package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
- package/src/components/android/SafeRightTree.vue +218 -218
- package/src/components/android/SafecheckDevices.vue +1340 -1340
- package/src/components/android/week/CheckResultSimple.vue +251 -0
- package/src/components/android/week/FirstWeekCheck.vue +275 -0
- package/src/components/android/week/StepHeaderBar.vue +457 -0
- package/src/components/android/week/WeekCheck.vue +209 -0
- package/src/components/android/week/WeekCheckPaper.vue +219 -0
- package/src/components/android/week/WeekCheckPlan.vue +145 -0
- package/src/components/checkplan/SelectCheckPlan.vue +39 -0
- package/src/components/paper/safetyledger.vue +198 -0
- package/src/components/pc/CheckBook.vue +303 -303
- package/src/components/pc/CheckBookArea.vue +146 -146
- package/src/components/pc/CheckBookCompany.vue +144 -144
- package/src/components/pc/CheckBookDetails.vue +161 -161
- package/src/components/pc/CheckBookEntry.vue +60 -60
- package/src/components/pc/CheckBookSearchArea.vue +560 -560
- package/src/components/pc/CheckBookSearchUnit.vue +229 -229
- package/src/components/pc/CheckBookSearchUser.vue +659 -659
- package/src/components/pc/CheckBookSearchUserList.vue +674 -674
- package/src/components/pc/DefectDeal.vue +6 -2
- package/src/components/planmanage/checkUserList.vue +1 -1
- package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
- package/src/components/report/CheckPlanAreaList.vue +53 -7
- package/src/filiale/jinhong/android/AddPlanItem.vue +481 -0
- package/src/filiale/jinhong/android/AndroidDefectDeal.vue +722 -0
- package/src/filiale/jinhong/android/AndroidNotifiedDeal.vue +521 -0
- package/src/filiale/jinhong/android/CurrentCreate.vue +1355 -1313
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
- package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -0
- package/src/filiale/jinhong/android.js +15 -11
- package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +42 -2
- package/src/filiale/jinhong/pc/NewCheckpaper.vue +1958 -0
- package/src/filiale/jinhong/pc/PaperList.vue +5 -1
- package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
- package/src/filiale/jinhong/pc/checkUserList.vue +806 -770
- package/src/filiale/jinhong/pc.js +1 -0
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
- package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
- package/src/filiale/meihekou/android/PaperFeedback.vue +1545 -1542
- package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +27 -28
- package/src/filiale/meihekou/android.js +22 -22
- package/src/filiale/meihekou/pc/CheckDetail.vue +217 -0
- package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
- package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +505 -0
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -1
- package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2051 -2050
- package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1 -0
- package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
- package/src/filiale/meihekou/pc.js +18 -15
- package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
- package/src/filiale/taiyuan/android/AddPlanItem.vue +1 -0
- package/src/filiale/taiyuan/android/SafecheckDevices.vue +1343 -0
- package/src/filiale/taiyuan/android/SafecheckOrderV.vue +17 -17
- package/src/filiale/taiyuan/android.js +1 -0
- package/src/filiale/xinkang/android/SafecheckDevices.vue +2 -2
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +9 -2
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +17 -46
- package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
- package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
- package/src/filiale/xinliansihui/pc.js +13 -0
- package/src/safecheck-android.js +12 -0
- package/src/safecheck.js +3 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="auto clearfix">
|
|
3
|
+
<work-busy :is-busy="isbusy"></work-busy>
|
|
3
4
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
|
4
5
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
|
5
6
|
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
|
@@ -190,7 +191,7 @@
|
|
|
190
191
|
</div>
|
|
191
192
|
</div>
|
|
192
193
|
<div class="col-xs-12 text-center app-row">
|
|
193
|
-
<button class="btn btn-lg btn-font btn-color" style="width: 22%;" type="button" @click="
|
|
194
|
+
<button class="btn btn-lg btn-font btn-color" style="width: 22%;" type="button" @click="check()">提交</button>
|
|
194
195
|
</div>
|
|
195
196
|
</div>
|
|
196
197
|
</template>
|
|
@@ -204,7 +205,7 @@ export default {
|
|
|
204
205
|
data() {
|
|
205
206
|
return {
|
|
206
207
|
create_date: Util.getNowDate(),
|
|
207
|
-
|
|
208
|
+
isbusy: false,
|
|
208
209
|
insurance_types: [{label: '请选择', value: ''}, ...this.$appdata.getParam('险种')],
|
|
209
210
|
insurance_companys: [{label: '请选择', value: ''}, ...this.$appdata.getParam('保险公司')],
|
|
210
211
|
payTypes: [{label: '请选择', value: ''}, ...this.$appdata.getParam('付款方式')],
|
|
@@ -269,6 +270,27 @@ export default {
|
|
|
269
270
|
this.model.f_id_type = '身份证'
|
|
270
271
|
},
|
|
271
272
|
methods: {
|
|
273
|
+
//查询是否在今天已经操作过了
|
|
274
|
+
async check() {
|
|
275
|
+
let http = new HttpResetClass()
|
|
276
|
+
// 获取今天的开始和结束时间
|
|
277
|
+
let startOfDay =Util.toStartDateString() + ' 00:00:00'
|
|
278
|
+
let endOfDay =Util.toEndDateString() + ' 23:59:59'
|
|
279
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
|
|
280
|
+
data: {
|
|
281
|
+
items: 'id',
|
|
282
|
+
tablename: 't_userfees',
|
|
283
|
+
condition: `f_userinfo_id= '${this.model.f_userinfo_id}' and f_state='有效' and f_fee_type='保险收费' and f_operate_date >= '${startOfDay}' and f_operate_date <= '${endOfDay}'`,
|
|
284
|
+
orderitem: 'id'
|
|
285
|
+
}
|
|
286
|
+
}, { resolveMsg: null, rejectMsg: null }).then((res) => {
|
|
287
|
+
if (res.data.length > 0) {
|
|
288
|
+
this.$showMessage('今天已经进行了保险收费,请勿重复操作。')
|
|
289
|
+
} else {
|
|
290
|
+
this.commit()
|
|
291
|
+
}
|
|
292
|
+
})
|
|
293
|
+
},
|
|
272
294
|
async commit() {
|
|
273
295
|
if (!this.model.f_payment) {
|
|
274
296
|
this.$showMessage('收款方式未选择,请选择后重新尝试。')
|
|
@@ -353,6 +375,7 @@ export default {
|
|
|
353
375
|
return
|
|
354
376
|
}
|
|
355
377
|
}
|
|
378
|
+
this.isbusy= true
|
|
356
379
|
commit_data.f_receivable = this.model.f_money
|
|
357
380
|
commit_data.f_operate_date = Util.toStandardTimeString()
|
|
358
381
|
commit_data.f_state = '有效'
|
|
@@ -360,12 +383,14 @@ export default {
|
|
|
360
383
|
commit_data.f_orgname = Vue.user.orgs
|
|
361
384
|
commit_data.f_depid = Vue.user.depids
|
|
362
385
|
commit_data.f_depname = Vue.user.deps
|
|
386
|
+
commit_data.f_fee_type='保险收费'
|
|
363
387
|
await new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/saveInsInfo`, {data: commit_data})
|
|
364
388
|
this.$showMessage('提交成功')
|
|
389
|
+
this.isbusy= false
|
|
365
390
|
this.$back()
|
|
366
391
|
} catch (error) {
|
|
367
392
|
this.$showMessage('提交失败')
|
|
368
|
-
this.
|
|
393
|
+
this.isbusy= false
|
|
369
394
|
}
|
|
370
395
|
},
|
|
371
396
|
changeExpirationDate() {
|