safecheck-client 3.0.32 → 3.0.33-11
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 +133 -133
- package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
- package/src/assets//345/234/260/345/235/200.png +0 -0
- package/src/assets//345/247/223/345/220/215.png +0 -0
- package/src/assets//345/260/217/345/214/272.png +0 -0
- package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
- package/src/assets//345/272/225/346/225/260.png +0 -0
- package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/261/202.png +0 -0
- package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
- package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
- package/src/components/android/AndroidDefectDeal.vue +5 -5
- package/src/components/android/PhoneUpUserinfo.vue +6 -0
- package/src/components/android/SafecheckOrderV.vue +4 -1
- package/src/components/map/checkScreen.vue +1 -1
- package/src/components/planmanage/checkPlanList.vue +3 -3
- package/src/components/planmanage/checkUserList.vue +34 -2
- package/src/components/rongcheng/AspiratedDevices.vue +34 -1
- package/src/components/rongcheng/DefectPaper.vue +4 -1
- package/src/components/rongcheng/SafecheckDevices.vue +34 -1
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -0
- package/src/components/rongcheng/SafecheckUserInfo.vue +17 -0
- package/src/filiale/Util.js +7 -0
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
- package/src/filiale/bayan/android/AddPlanItem.vue +5 -1
- package/src/filiale/bayan/android/SafecheckOrderV.vue +3 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/dexin/android/CasualSave.vue +1050 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
- package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
- package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
- package/src/filiale/dexin/android.js +4 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
- package/src/filiale/fugou/pc/CheckBook.vue +301 -0
- package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
- package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
- package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
- package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
- package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
- package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
- package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
- package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
- package/src/filiale/fugou/pc/checkUserList.vue +20 -120
- package/src/filiale/fugou/pc.js +60 -5
- package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
- package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
- package/src/filiale/jingyang/android.js +4 -0
- package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shexian/pc/PaperList.vue +822 -0
- package/src/filiale/shexian/pc.js +1 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
- package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3321 -3276
- package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
- package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
- package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
- package/src/filiale/wensu/pc/PlanManage.vue +831 -0
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
- package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
- package/src/filiale/wensu/pc/checkUserList.vue +13 -9
- package/src/filiale/wensu/pc.js +1 -0
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/wuhai/pc/PaperList.vue +785 -0
- package/src/filiale/wuhai/pc.js +1 -0
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
- package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
- package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
- package/static/stretch_bottom.png +0 -0
- package/static/stretch_top.png +0 -0
@@ -44,6 +44,17 @@
|
|
44
44
|
<p class="panel-title col-xs-5 text-left font"><b>安检状态:</b></p>
|
45
45
|
<p class="panel-title col-xs-7 text-left input-font">{{ userinfo.f_state }}</p>
|
46
46
|
</div>
|
47
|
+
<div class="col-xs-12" style="padding: 2px 0">
|
48
|
+
<p class="panel-title text-left font" style="width: 23%;float: left"><b>使用类型:</b></p>
|
49
|
+
<v-select
|
50
|
+
:value.sync="f_usetype"
|
51
|
+
v-model="f_usetype"
|
52
|
+
width="67%"
|
53
|
+
placeholder='请选择'
|
54
|
+
:value-single="true"
|
55
|
+
:options="f_usetypes"
|
56
|
+
clear-button></v-select>
|
57
|
+
</div>
|
47
58
|
<div class="col-xs-12" style="margin-left: 20px">
|
48
59
|
<!-- <p class="panel-title col-xs-7 text-left input-font"><a @click="searchDevices(userinfo.f_userinfoid)"></a></p>-->
|
49
60
|
<a class="panel-title col-xs-8 text-left input-font" style="width: 79%;color: blue;text-decoration:underline" v-if="userinfo.f_safecheck_type=='送气类型'" @click="searchDevices(userinfo.f_userinfoid)">设备信息维护</a>
|
@@ -914,6 +925,12 @@
|
|
914
925
|
RadioGroup,
|
915
926
|
Radio
|
916
927
|
},
|
928
|
+
computed: {
|
929
|
+
// 使用类型
|
930
|
+
f_usetypes() {
|
931
|
+
return this.$appdata.getParam('使用类型')
|
932
|
+
}
|
933
|
+
},
|
917
934
|
}
|
918
935
|
</script>
|
919
936
|
|
package/src/filiale/Util.js
CHANGED
@@ -20,6 +20,13 @@ export function getAttendanceState(item, timeToWork, timeToGo) {
|
|
20
20
|
item.f_state = '正常'
|
21
21
|
}
|
22
22
|
|
23
|
+
export function dateAddDay (date, day) {
|
24
|
+
date.setDate(date.getDate() + Number.parseInt(day));
|
25
|
+
let month = date.getMonth()+1
|
26
|
+
let date2 = date.getDate()
|
27
|
+
return date.getFullYear() + '-' + (month<10? '0'+ month : month) + '-' + (date2<10? '0'+ date2 : date2)
|
28
|
+
}
|
29
|
+
|
23
30
|
// 字符串进行解密
|
24
31
|
export function uncompileStr (code) {
|
25
32
|
code = unescape(code)
|
@@ -154,7 +154,8 @@
|
|
154
154
|
</div>
|
155
155
|
<div class="row">
|
156
156
|
<p class="panel-title col-xs-4 text-left font">用户电话</p>
|
157
|
-
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}
|
157
|
+
<p class="panel-title col-xs-8 text-left input-font" style="width: 77%">{{ row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone }}
|
158
|
+
<img src="../../../assets/phone.png" style="width: 6%" v-on:click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_user_phone2 ? row.f_user_phone2 : row.f_user_phone)'></img></p>
|
158
159
|
</div>
|
159
160
|
|
160
161
|
<div class="row">
|
@@ -253,6 +254,9 @@
|
|
253
254
|
}
|
254
255
|
},
|
255
256
|
methods:{
|
257
|
+
makeAPhoneCall(phoneNumber) {
|
258
|
+
this.$androidUtil.makeAPhoneCall(phoneNumber)
|
259
|
+
},
|
256
260
|
scan(){
|
257
261
|
HostApp.__this__=this,
|
258
262
|
HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
|
@@ -751,6 +751,9 @@
|
|
751
751
|
if (this.data[device][item].f_items[i].f_is_defect == true && this.data[device][item].f_items[i].f_path == Vue.nopic) {
|
752
752
|
return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须拍照"
|
753
753
|
}
|
754
|
+
if (this.data[device][item].f_items[i].f_is_defect == true && !this.data[device][item].f_items[i].f_deal_dispose) {
|
755
|
+
return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须选择处理方式"
|
756
|
+
}
|
754
757
|
}
|
755
758
|
}
|
756
759
|
}
|