safecheck-client 3.0.39-8 → 3.0.39-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/package.json +5 -5
- package/src/App.vue +31 -26
- package/src/assets//345/256/232/344/275/215.png +0 -0
- package/src/components/Util/ImgSelfSafePlus.vue +2 -2
- package/src/components/android/AndroidDefectDeal.vue +2 -2
- package/src/components/android/NewCheckpaperAndroid.vue +2 -2
- package/src/components/android/PhoneUpUserinfo.vue +11 -0
- package/src/components/android/rejectInspecCheck.vue +322 -0
- package/src/components/pc/AddPlanItemYyChange.vue +5 -1
- package/src/components/pc/NewCheckpaper.vue +108 -14
- package/src/components/pc/NewCheckpaperTemp.vue +1308 -1295
- package/src/components/pc/PaperDefectMain.vue +1 -1
- package/src/components/pc/RoleSelector.vue +172 -172
- package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +34 -0
- package/src/components/rongcheng/AddPlanItem.vue +344 -344
- package/src/components/rongcheng/CheckCurrentCreate.vue +1081 -1081
- package/src/components/rongcheng/PaperDefectMain.vue +828 -828
- package/src/components/rongcheng/PaperStatem.vue +6 -6
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1 -0
- package/src/filiale/BFshiye/android/AndroidDefectDeal.vue +652 -0
- package/src/filiale/BFshiye/android/PhoneUpUserinfo.vue +3 -1
- package/src/filiale/BFshiye/android/SafecheckUserInfo.vue +2 -2
- package/src/filiale/BFshiye/pc/DefectListNew.vue +637 -0
- package/src/filiale/BFshiye/pc/NewCheckpaper.vue +18 -56
- package/src/filiale/BFshiye/pc/checkUserList.vue +772 -772
- package/src/filiale/BFshiye/pc.js +17 -16
- package/src/filiale/baiyin/android/SafecheckUserInfo.vue +775 -0
- package/src/filiale/baiyin/android.js +12 -11
- package/src/filiale/bayan/pc/NewCheckpaper.vue +2 -2
- package/src/filiale/bayan/pc/SelectAreaReport.vue +1 -0
- package/src/filiale/bayan/pc/SummaryOfSecurityInspectionProgress.vue +7 -7
- package/src/filiale/dexin/android/SafecheckDevicesTemp.vue +1419 -1360
- package/src/filiale/dexin/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/dexin/android/SafecheckOrderVTemp.vue +4 -1
- package/src/filiale/dexin/pc/PaperList.vue +840 -840
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +2 -2
- package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +1 -1
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +6 -1
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +1 -1
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +1 -1
- package/src/filiale/huatong/android/SafecheckOrderV.vue +2 -2
- package/src/filiale/jiaocheng/android/AddPlanItem.vue +20 -0
- package/src/filiale/jiaocheng/android/CurrentCreate.vue +1083 -0
- package/src/filiale/jiaocheng/android.js +1 -0
- package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +18 -1
- package/src/filiale/jiaocheng/pc/NewCheckpaper.vue +64 -4
- package/src/filiale/jiaocheng/pc/PaperList.vue +803 -0
- package/src/filiale/jiaocheng/pc.js +1 -0
- package/src/filiale/jinhuang/android/AddPlanItem.vue +430 -0
- package/src/filiale/jinhuang/android/PhoneUpUserinfo.vue +183 -145
- package/src/filiale/jinhuang/android.js +2 -1
- package/src/filiale/kelai/android/PaperFeedback.vue +1553 -1550
- package/src/filiale/kelai/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/kelai/pc/PaperList.vue +13 -0
- package/src/filiale/kelai/pc/UserInfoAudit.vue +126 -90
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +4 -6
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +7 -7
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +2 -3
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1357 -1270
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +3 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +823 -800
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +1919 -1919
- package/src/filiale/rongchuang/android/AddPlanItemVisitingWithoutMeeting.vue +454 -0
- package/src/filiale/rongchuang/android/AddPlanItemYy.vue +498 -0
- package/src/filiale/rongchuang/android/PhoneUpUserinfo.vue +1262 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1 -1
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +3 -2
- package/src/filiale/rongchuang/android.js +3 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +13 -1
- package/src/filiale/rongchuang/pc/checkPlanList.vue +398 -0
- package/src/filiale/rongchuang/pc.js +18 -17
- package/src/filiale/shanxian/pc/NewCheckpaper.vue +4 -4
- package/src/filiale/siyang/android/PhoneInsurancePurchaseDetail.vue +532 -498
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +888 -889
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +909 -885
- package/src/filiale/tongchuan/pc/AMapTrailShowZk.vue +226 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartAreaByWangGeYuan.vue +137 -0
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +47 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +46 -0
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +34 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +34 -0
- package/src/filiale/tongchuan/pc/PaperList.vue +44 -10
- package/src/filiale/tongchuan/pc/PersonTrack.vue +269 -0
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +42 -2
- package/src/filiale/tongchuan/pc.js +3 -0
- package/src/filiale/wensu/android/SafecheckOrderV.vue +2444 -2444
- package/src/filiale/wensu/android/SafecheckUserInfo.vue +712 -712
- package/src/filiale/wensu/pc/CheckSearchUser.vue +1251 -1251
- package/src/filiale/wenxi/pc/PaperList.vue +9 -3
- package/src/filiale/wuan/android/SafecheckOrderV.vue +2242 -2242
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +659 -659
- package/src/filiale/yangchunboneng/android/AndiroidSecurityAudit.vue +2 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1191 -1191
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +913 -913
- package/src/filiale/yangchunboneng/android.js +21 -21
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +353 -353
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1197 -1197
- package/src/filiale/yangchunboneng/pc/HiddenSituation.vue +171 -171
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1112 -1112
- package/src/filiale/yangchunboneng/pc/PaperList.vue +757 -757
- package/src/filiale/yangchunboneng/pc/SelectCheckPlan.vue +331 -331
- package/src/filiale/yangchunboneng/pc.js +29 -29
- package/src/main.js +33 -33
- package/src/rongcheng.js +319 -319
- package/src/safecheck-android.js +316 -315
- package/yarn-error.log +0 -140
|
@@ -4,6 +4,7 @@ import Vue from "vue";
|
|
|
4
4
|
// 手机特殊目录注册到该文件中
|
|
5
5
|
let specialComp = {
|
|
6
6
|
'safecheck-userinfo': (resolve) => { require(['./android/SafecheckUserInfo'], resolve) },
|
|
7
|
+
'current-create': (resolve) => { require(['./android/CurrentCreate'], resolve) },
|
|
7
8
|
'safecheck-devices': (resolve) => { require(['./android/SafecheckDevices'], resolve) },
|
|
8
9
|
'paper-feedback': (resolve) => { require(['./android/PaperFeedback'], resolve) },
|
|
9
10
|
'add-plan-item': (resolve) => { require(['./android/AddPlanItem'], resolve) }
|
|
@@ -179,6 +179,17 @@
|
|
|
179
179
|
:value-single="true">
|
|
180
180
|
</v-select>
|
|
181
181
|
</div>
|
|
182
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
|
183
|
+
<label class="font_normal_body">用户标签</label>
|
|
184
|
+
<v-select class="select_list select"
|
|
185
|
+
placeholder='用户标签' style="width: 60%"
|
|
186
|
+
:value.sync="model.f_user_nature" v-model="model.f_user_nature"
|
|
187
|
+
:options='$parent.$parent.user_natures'
|
|
188
|
+
close-on-select clear-button
|
|
189
|
+
condition="f_user_nature = '{}'"
|
|
190
|
+
:value-single="true">
|
|
191
|
+
</v-select>
|
|
192
|
+
</div>
|
|
182
193
|
</div>
|
|
183
194
|
|
|
184
195
|
<div class="row" v-show="$parent.$parent.$parent.showItem">
|
|
@@ -363,6 +374,9 @@
|
|
|
363
374
|
<th>
|
|
364
375
|
<nobr>建档日期</nobr>
|
|
365
376
|
</th>
|
|
377
|
+
<th>
|
|
378
|
+
<nobr>用户标签</nobr>
|
|
379
|
+
</th>
|
|
366
380
|
<th>
|
|
367
381
|
<nobr>通气日期</nobr>
|
|
368
382
|
</th>
|
|
@@ -390,6 +404,7 @@
|
|
|
390
404
|
</td>
|
|
391
405
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_createfile_date }}</td>
|
|
392
406
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gas_date }}</td>
|
|
407
|
+
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_user_nature }}</td>
|
|
393
408
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center" v-show="$parent.$parent.$parent.showcode">
|
|
394
409
|
<button class="button_spacing button_search-1" @click.stop='$parent.$parent.$parent.searchInfo(row.f_userinfo_code)' >点击</button>
|
|
395
410
|
</td>
|
|
@@ -470,7 +485,8 @@ export default {
|
|
|
470
485
|
'f_last_check_state': '安检状态',
|
|
471
486
|
'f_last_check_result': '安检结果',
|
|
472
487
|
'f_createfile_date': '建档日期',
|
|
473
|
-
'f_gas_date': '通气日期'
|
|
488
|
+
'f_gas_date': '通气日期',
|
|
489
|
+
'f_user_nature': '用户标签'
|
|
474
490
|
},
|
|
475
491
|
model: new PagedList('rs/sql/根据安检员查询用户档案', 20, {
|
|
476
492
|
orderitem: "'f_last_check_date'",
|
|
@@ -482,6 +498,7 @@ export default {
|
|
|
482
498
|
checkersid: [],
|
|
483
499
|
checkStates:[],
|
|
484
500
|
SafeCheckXZ: '',
|
|
501
|
+
user_natures: this.$appdata.getParam('用户标签'),
|
|
485
502
|
civil: '', //民用安检周期
|
|
486
503
|
civilian: '', //非民用安检周期
|
|
487
504
|
SafeCheckXZs: [{label: '全部', value: ''}, {label: '未安检', value: '未安检'}, {label: '已安检', value: '已安检'}], // 安检筛选选项
|
|
@@ -355,6 +355,10 @@ div {
|
|
|
355
355
|
</tr>
|
|
356
356
|
</tbody>
|
|
357
357
|
</table>
|
|
358
|
+
<div v-show="showButton">
|
|
359
|
+
<button class="button_spacing button_search" @click="auditSuccesss()">通过</button>
|
|
360
|
+
<button class="button_spacing button_search" @click="auditFail()">不通过</button>
|
|
361
|
+
</div>
|
|
358
362
|
</div>
|
|
359
363
|
</div>
|
|
360
364
|
|
|
@@ -422,12 +426,27 @@ div {
|
|
|
422
426
|
<button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
|
|
423
427
|
</footer>
|
|
424
428
|
</modal>
|
|
429
|
+
<modal :show.sync="showModel" :width="'50%'" :backdrop="false">
|
|
430
|
+
<div slot="modal-header" class="modal-header">
|
|
431
|
+
<h4 class="modal-title">
|
|
432
|
+
安检审核备注
|
|
433
|
+
</h4>
|
|
434
|
+
</div>
|
|
435
|
+
<div slot="modal-body" class="modal-body">
|
|
436
|
+
<div class="row">
|
|
437
|
+
<div class="form-group col-sm-4">
|
|
438
|
+
<label class="font_normal_body">审核备注:</label>
|
|
439
|
+
<textarea v-model="message"></textarea>
|
|
440
|
+
</div>
|
|
441
|
+
</div>
|
|
442
|
+
</div>
|
|
443
|
+
<div slot="modal-footer" class="modal-footer" style="text-align: center">
|
|
444
|
+
<button class="button_search" style="margin-right: 15px" @click="auditFailOK()">确定</button>
|
|
445
|
+
<button class="button_search" style="margin-right: 15px" @click="auditFailCancel()">取消</button>
|
|
446
|
+
</div>
|
|
447
|
+
</modal>
|
|
425
448
|
</template>
|
|
426
449
|
<script>
|
|
427
|
-
// import PaperUserm from './PaperUserm'
|
|
428
|
-
// import PaperStatem from './PaperStatem'
|
|
429
|
-
// import Devicesm from './Devicesm'
|
|
430
|
-
// import PaperFeedbackm from './PaperFeedbackm'
|
|
431
450
|
import ObjConfig from '../../../utils/GerJsonObjectConfig'
|
|
432
451
|
import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
|
|
433
452
|
import Radio from 'vue-client/src/vue-strap/src/radioBtn'
|
|
@@ -507,6 +526,9 @@ export default {
|
|
|
507
526
|
props: ['f_plan_id', 'item', 'role'],
|
|
508
527
|
data() {
|
|
509
528
|
return {
|
|
529
|
+
showModel:false,
|
|
530
|
+
showButton:false,
|
|
531
|
+
message:'',
|
|
510
532
|
data: {
|
|
511
533
|
f_devices: [],
|
|
512
534
|
f_defect_content: ''
|
|
@@ -630,6 +652,43 @@ export default {
|
|
|
630
652
|
}
|
|
631
653
|
},
|
|
632
654
|
methods: {
|
|
655
|
+
auditSuccesss() {
|
|
656
|
+
this.loading = true;
|
|
657
|
+
let sql = `update t_check_paper set f_approved_by='${this.$login.f.name}',f_approved_time='${Util.getNowDate()}',f_approved='不通过' where id='${this.item.id}'`
|
|
658
|
+
new HttpResetClass().load('POST', 'rs/logic/runSQL', {data: {sql: sql}}, {
|
|
659
|
+
resolveMsg: '安检审核成功!',
|
|
660
|
+
rejectMsg: '安检审核出错!'
|
|
661
|
+
}).then((res) => {
|
|
662
|
+
this.loading = false;
|
|
663
|
+
this.$back()
|
|
664
|
+
|
|
665
|
+
})
|
|
666
|
+
},
|
|
667
|
+
auditFail() {
|
|
668
|
+
this.showModel = true;
|
|
669
|
+
},
|
|
670
|
+
showAudit() {
|
|
671
|
+
if (this.item.f_approved == '未审核' || !this.item.f_approved) {
|
|
672
|
+
this.showButton = true
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
auditFailOK() {
|
|
676
|
+
this.loading = true;
|
|
677
|
+
let sql = `update t_check_paper set f_approved_by='${this.$login.f.name}',f_approved_time='${Util.getNowDate()}',f_approved='通过' where id='${this.item.id}'`
|
|
678
|
+
new HttpResetClass().load('POST', 'rs/logic/runSQL', {data: {sql: sql}}, {
|
|
679
|
+
resolveMsg: '安检审核成功!',
|
|
680
|
+
rejectMsg: '安检审核出错!'
|
|
681
|
+
}).then((res) => {
|
|
682
|
+
this.loading = false;
|
|
683
|
+
this.message = '';
|
|
684
|
+
this.showModel = false;
|
|
685
|
+
this.$back()
|
|
686
|
+
})
|
|
687
|
+
},
|
|
688
|
+
auditFailCancel() {
|
|
689
|
+
this.showModel = false;
|
|
690
|
+
this.message = '';
|
|
691
|
+
},
|
|
633
692
|
// pdf生成
|
|
634
693
|
reportPdf() {
|
|
635
694
|
// 抓取要截图的div的class名
|
|
@@ -1291,6 +1350,7 @@ export default {
|
|
|
1291
1350
|
}
|
|
1292
1351
|
},
|
|
1293
1352
|
ready() {
|
|
1353
|
+
this.showAudit()
|
|
1294
1354
|
// this.putDevices()
|
|
1295
1355
|
this.newConfig = this.$appdata.getSingleValue('配置中心获取文件')?this.$appdata.getSingleValue('配置中心获取文件'):'否';
|
|
1296
1356
|
if (this.item.f_state != '未检' || this.item.f_no_checkplan == '无计划安检' || this.item.f_no_checkplan == '复检') {
|