telephone-clients 3.0.103 → 3.0.104-1
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 +3 -3
- package/src/App.vue +7 -9
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/Util/RightTreeSafe.vue +2 -2
- package/src/components/Util/RightTreeSafeDep.vue +350 -0
- package/src/components/android/AddMyTask.vue +7 -0
- package/src/components/guoxin/VisitInfo.vue +0 -11
- package/src/components/pc/NewRepairPaper.vue +3 -3
- package/src/components/pc/RepairsWork.vue +22 -2
- package/src/components/pc/RoleSelectorDep.vue +158 -0
- package/src/components/pc/TelFindUser.vue +1 -1
- package/src/components/pc/TelListener.vue +47 -16
- package/src/components/pc/VisitInfo.vue +0 -10
- package/src/components/pc/WorkCenter.vue +1 -1
- package/src/components/pc/WorkCenterList.vue +1 -1
- package/src/components/pc/WorkHistory.vue +20 -2
- package/src/components/pc/WorkListAll.vue +1 -1
- package/src/components/pc/WorkListAllNew.vue +10 -3
- package/src/components/pc/WorkListNew.vue +712 -706
- package/src/components/pc/olddata/OldWorkList.vue +193 -0
- package/src/components/telreport/RepairsDetailsReport.vue +98 -0
- package/src/components/telreport/TableFaultReport.vue +96 -0
- package/src/components/telreport/Traffic.vue +3 -3
- package/src/components/telreport/TrafficClassificationReport.vue +134 -0
- package/src/components/temp/ChangemeterInfo.vue +75 -87
- package/src/components/temp/DeviceInfo.vue +80 -82
- package/src/components/temp/HandplanInfo.vue +2 -2
- package/src/components/temp/InfoTable.vue +5 -2
- package/src/components/temp/MetereadInfo.vue +1 -4
- package/src/components/temp/OldRepairList.vue +100 -0
- package/src/components/temp/RepairList.vue +2 -2
- package/src/components/weinan/Console.vue +1 -1
- package/src/components/weinan/RecordList.vue +2 -2
- package/src/components/weinan/SiteSend.vue +2 -2
- package/src/components/weinan/SiteSendWeixiu.vue +7 -16
- package/src/components/weinan/StandWorkWeixiu.vue +1 -1
- package/src/components/weinan/WorkList.vue +73 -0
- package/src/components/weinan/WorkListAll.vue +90 -14
- package/src/components/weinan/WorkListWeixiu.vue +1 -1
- package/src/components/workorder/CompletedRepair.vue +269 -183
- package/src/components/workorder/FaultAll.vue +826 -826
- package/src/components/workorder/PhoneStandWork.vue +354 -354
- package/src/components/workorder/PhoneUpDetail.vue +3 -0
- package/src/components/workorder/RepairDetails.vue +12 -2
- package/src/components/workorder/RepairFirstV.vue +1 -1
- package/src/components/workorder/RepairOrderV.vue +1446 -1446
- package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
- package/src/filiale/furuike/pc/Seekwork.vue +352 -352
- package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
- package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
- package/src/filiale/kelai/android/AppTakePic.vue +143 -0
- package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
- package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
- package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
- package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
- package/src/filiale/kelai/telephone.js +9 -8
- package/src/filiale/kelai/telephoneAndroid.js +3 -1
- package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
- package/src/filiale/qianneng/android/FaultAll.vue +883 -883
- package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
- package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
- package/src/filiale/qianneng/android/TemporarySingle.vue +537 -512
- package/src/filiale/qianneng/android/chargesList.vue +161 -161
- package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -248
- package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
- package/src/filiale/qianneng/pc/NewRepairPaper.vue +4 -4
- package/src/filiale/qianneng/pc/RepairsWork.vue +12 -2
- package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
- package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
- package/src/filiale/qianneng/pc/changetable.vue +273 -0
- package/src/filiale/qianneng/telephone.js +22 -20
- package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
- package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
- package/src/filiale/rizhao/pc/Traffic.vue +3 -3
- package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
- package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
- package/src/filiale/rongcheng/FaultAll.vue +3 -3
- package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
- package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
- package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
- package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
- package/src/filiale/shanxian/pc/WorkList.vue +1 -1
- package/src/filiale/shanxian/telephone.js +13 -12
- package/src/filiale/shexian/android/AddMyTask.vue +7 -0
- package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
- package/src/filiale/shexian/android/FaultAll.vue +847 -0
- package/src/filiale/shexian/android/Outlay.vue +182 -165
- package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
- package/src/filiale/shexian/android/RepairInfo.vue +1 -0
- package/src/filiale/shexian/pc/QueryVisitHistory.vue +237 -0
- package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
- package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
- package/src/filiale/shexian/pc/WorkList.vue +782 -740
- package/src/filiale/shexian/pc/WorkListAllNew.vue +75 -67
- package/src/filiale/shexian/telephone.js +21 -18
- package/src/filiale/shexian/telephoneAndroid.js +32 -26
- package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
- package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
- package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
- package/src/filiale/wenxi/android/FailureShow.vue +61 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1053 -0
- package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
- package/src/filiale/wenxi/android/RepairOrderV.vue +805 -1419
- package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
- package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
- package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
- package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
- package/src/filiale/wenxi/pc/GasWork.vue +747 -0
- package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
- package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
- package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
- package/src/filiale/wenxi/telephone.js +4 -6
- package/src/filiale/wenxi/telephoneAndroid.js +4 -1
- package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
- package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
- package/src/filiale/yuncheng/telephone.js +12 -0
- package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
- package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
- package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
- package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
- package/src/filiale/zhongsheng/telephone.js +23 -23
- package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
- package/src/main.js +1 -1
- package/src/telephone.js +16 -0
- package/src/weinan.js +6 -0
- package/src/filiale/wenxi/pc/WorkListAll.vue +0 -647
|
@@ -1,165 +1,195 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="select-overspread repair-bg auto" style="padding-bottom:5px;">
|
|
3
3
|
<!--<validator name='v' @valid="$emit('valid')" @invalid="$emit('invalid')">-->
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
4
|
+
<div class="bq-parent" v-if="shutype == 'heng'">
|
|
5
|
+
<blockquote class="blockquote">
|
|
6
|
+
<p><span>用户基本信息</span><a @click="mute()" style="float:right" href="javascript:void(0)"
|
|
7
|
+
class="repair-mute-class"><img src="../../../assets/novoice.png" width="25px;"
|
|
8
|
+
alt=""><span style="margin-left:10px;color: #304A66">关闭声音</span></a>
|
|
9
|
+
</p>
|
|
10
|
+
</blockquote>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="panel panel-default auto repair-info-content">
|
|
13
|
+
<div class="panel-body">
|
|
14
|
+
<!-- 维修相关时间 -->
|
|
15
|
+
<div v-if="data" class="row repair-info-content auto">
|
|
16
|
+
<!--<div class="col-xs-12 col-sm-12 col-md-12 form-input-group">-->
|
|
17
|
+
<!--<label class="control-label">-->
|
|
18
|
+
<!--<nobr>维修日期:</nobr>-->
|
|
19
|
+
<!--</label>-->
|
|
20
|
+
<!--<span>{{data.f_date}}</span>-->
|
|
21
|
+
<!--</div>-->
|
|
22
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group">
|
|
23
|
+
<label class="control-label">
|
|
24
|
+
<nobr>到达时间:</nobr>
|
|
25
|
+
</label>
|
|
26
|
+
<span>{{ data.f_date_come }}</span>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group" v-if="data.f_date_leave">
|
|
29
|
+
<label class="control-label">
|
|
30
|
+
<nobr>离开时间:</nobr>
|
|
31
|
+
</label>
|
|
32
|
+
<span>{{ data.f_date_leave }}</span>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<!-- 用户基信息内容 -->
|
|
36
|
+
<div v-if="model" class="auto repair-info-content compatible">
|
|
37
|
+
<div class="row auto">
|
|
38
|
+
<!-- <div class="{{shuclass}}">
|
|
39
|
+
<label class=" lb-left text-justify">客户编号</label>
|
|
40
|
+
<span v-if="show" style="font-weight:bold">{{model.f_userinfo_code}}</span>
|
|
41
|
+
<input type="text" class="form-control" v-model="model.f_userinfo_code" v-if="!show" readonly>
|
|
42
|
+
<!–<button type="button" name="button" class="btn btn-primary" @click="findUserByCardId(model.f_userinfo_code)"–>
|
|
43
|
+
<!–v-if="!show">查找–>
|
|
44
|
+
<!–</button>–>
|
|
45
|
+
</div>-->
|
|
46
|
+
<div class="{{shuclass}}">
|
|
47
|
+
<label class=" lb-left text-justify">姓名</label>
|
|
48
|
+
<span v-if="show" style="font-weight:bold">{{ model.f_user_name }}</span>
|
|
49
|
+
<template v-if="!show">
|
|
50
|
+
<input :disabled="worktype == '报修单'" type="text" class="form-control" v-model="model.f_user_name"
|
|
51
|
+
:readonly="issee">
|
|
52
|
+
</template>
|
|
53
|
+
</div>
|
|
54
|
+
<div v-show="false" class="{{shuclass}}"
|
|
55
|
+
v-if="!((worktype == '置换通气单'||worktype == '安装单') && model.f_user_type == '非民用')">
|
|
56
|
+
<label class="lb-left text-justify">客户类型</label>
|
|
57
|
+
<input type="text" class="form-control" v-model="model.f_user_type" readonly v-if="!show">
|
|
58
|
+
<span v-if="show" style="font-weight:bold">{{ model.f_user_type }}</span>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="{{shuclass}}" v-if="((worktype == '置换通气单'||worktype == '安装单') && model.f_user_type == '民用')">
|
|
61
|
+
<label class="lb-left text-justify">用气性质</label>
|
|
62
|
+
<input type="text" class="form-control" v-model="model.f_gasproperties" readonly v-if="!show">
|
|
63
|
+
<span v-if="show" style="font-weight:bold">{{ model.f_gasproperties }}</span>
|
|
64
|
+
</div>
|
|
65
|
+
<div v-show="false" class="{{shuclass}}"
|
|
66
|
+
v-if="(worktype == '置换通气单'||worktype == '安装单') && model.f_user_type == '非民用'">
|
|
67
|
+
<label class="lb-left text-justify">客户类型</label>
|
|
68
|
+
<input type="text" class="form-control" v-model="model.f_user_type" readonly v-if="!show">
|
|
69
|
+
<span v-if="show" style="font-weight:bold">{{ model.f_user_type }}</span>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="{{shuclass}}" v-if="(worktype == '置换通气单'||worktype == '安装单') && model.f_user_type == '非民用'">
|
|
72
|
+
<label class="lb-left text-justify">用气性质</label>
|
|
73
|
+
<input type="text" class="form-control" v-model="model.f_gasproperties" readonly v-if="!show">
|
|
74
|
+
<span v-if="show" style="font-weight:bold">{{ model.f_gasproperties }}</span>
|
|
75
|
+
</div>
|
|
76
|
+
<!-- <div class="{{shuclass}}">-->
|
|
77
|
+
<!-- <label class=" lb-left text-justify" >来电电话</label>-->
|
|
78
|
+
<!-- <span v-if="show" style="font-weight:bold">{{model.f_linkphone}}</span>-->
|
|
79
|
+
<!-- <template v-if="!show">-->
|
|
80
|
+
<!-- <input type="text" class="form-control" v-model="model.f_linkphone" readonly>-->
|
|
81
|
+
<!-- </template>-->
|
|
82
|
+
<!-- </div>-->
|
|
83
|
+
<div class="{{shuclass}}">
|
|
84
|
+
<label class=" lb-left text-justify">联系电话</label>
|
|
85
|
+
<span v-if="show" style="font-weight:bold">{{ model.f_user_phone }}</span>
|
|
86
|
+
<template v-if="!show">
|
|
87
|
+
<input type="text" class="form-control" v-model="model.f_user_phone" :readonly="issee"
|
|
88
|
+
onkeyup="value=value.replace(/[^\d\.]/g,'')">
|
|
89
|
+
</template>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-xs-12 col-sm-12 col-md-6 form-input-group">
|
|
92
|
+
<label class=" lb-left text-justify">地址</label>
|
|
93
|
+
<span v-if="show" style="font-weight:bold">{{ model.f_address }}</span>
|
|
94
|
+
<template v-if="!show">
|
|
95
|
+
<textarea :disabled="worktype == '报修单'" type="text" class="form-control" v-model="model.f_address"
|
|
96
|
+
readonly></textarea>
|
|
97
|
+
</template>
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
<!-- 置换通气单配置选项 -->
|
|
101
|
+
<div class="{{shuclass}}" v-if="worktype == '置换通气单'||worktype == '安装单'">
|
|
102
|
+
<label class=" lb-left text-justify">身份证号</label>
|
|
103
|
+
<span v-if="show" style="font-weight:bold">{{ model.f_shenfenzheng }}</span>
|
|
104
|
+
<template v-if="!show">
|
|
105
|
+
<input type="text" class="form-control" v-model="model.f_shenfenzheng" :readonly="issee">
|
|
106
|
+
</template>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="{{shuclass}}" v-if="(worktype == '置换通气单'||worktype == '安装单') && isshenfenzheng">
|
|
109
|
+
<span style="font-size:10px;color: red">输入的身份证号长度不对,或者号码不符合规定!</span>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="{{shuclass}}" v-if="worktype == '置换通气单'">
|
|
112
|
+
<label class=" lb-left text-justify">燃气具</label>
|
|
113
|
+
<span
|
|
114
|
+
style="font-weight:bold">{{ $parent.$parent.$parent.$parent.tabs[0].props.service.f_gasstoves }}</span>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="{{shuclass}}" v-if="worktype == '置换通气单'">
|
|
117
|
+
<label class=" lb-left text-justify">热水器</label>
|
|
118
|
+
<span
|
|
119
|
+
style="font-weight:bold">{{ $parent.$parent.$parent.$parent.tabs[0].props.service.f_waterheater }}</span>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="{{shuclass}}" v-if="worktype == '置换通气单'">
|
|
122
|
+
<label class=" lb-left text-justify">壁挂炉</label>
|
|
123
|
+
<span
|
|
124
|
+
style="font-weight:bold">{{ $parent.$parent.$parent.$parent.tabs[0].props.service.f_wallhangingfurnace }}</span>
|
|
24
125
|
</div>
|
|
25
|
-
<div class="col-xs-12 col-sm-12 col-md-12 form-input-group" v-if="data.f_date_leave">
|
|
26
|
-
<label class="control-label">
|
|
27
|
-
<nobr>离开时间:</nobr>
|
|
28
|
-
</label>
|
|
29
|
-
<span>{{data.f_date_leave}}</span>
|
|
30
|
-
</div>
|
|
31
126
|
</div>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
127
|
+
<div class="row">
|
|
128
|
+
<!-- <div class="{{shuclass}}" v-if="worktype == '置换通气单'||worktype == '安装单'">-->
|
|
129
|
+
<!-- <label class="lb-left text-justify">住户类型</label>-->
|
|
130
|
+
<!-- <span v-if="show" style="font-weight:bold">{{model.f_house_type}}</span>-->
|
|
131
|
+
<!-- <v-select :value="model.f_house_type" :value-single="true"-->
|
|
132
|
+
<!-- :options='housetype' placeholder='请选择'-->
|
|
133
|
+
<!-- close-on-select v-if="!show"-->
|
|
134
|
+
<!-- v-on:change="housetypechange"-->
|
|
135
|
+
<!-- :disabled="issee">-->
|
|
136
|
+
<!-- </v-select>-->
|
|
137
|
+
<!-- </div>-->
|
|
138
|
+
<!-- <div class="{{shuclass}}" v-if="worktype == '置换通气单'">
|
|
139
|
+
<label class="lb-left text-justify">住户备注</label>
|
|
140
|
+
<span v-if="show" style="font-weight:bold">{{model.f_remarks}}</span>
|
|
141
|
+
<input type="text" class="form-control" v-model="model.f_remarks" v-if="!show" :readonly="issee">
|
|
42
142
|
</div>-->
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
<!-- <input type="text" class="form-control" v-model="model.f_linkphone" readonly>-->
|
|
75
|
-
<!-- </template>-->
|
|
76
|
-
<!-- </div>-->
|
|
77
|
-
<div class="{{shuclass}}">
|
|
78
|
-
<label class=" lb-left text-justify" >联系电话</label>
|
|
79
|
-
<span v-if="show" style="font-weight:bold">{{model.f_user_phone}}</span>
|
|
80
|
-
<template v-if="!show">
|
|
81
|
-
<input type="text" class="form-control" v-model="model.f_user_phone" :readonly="issee" onkeyup="value=value.replace(/[^\d\.]/g,'')">
|
|
82
|
-
</template>
|
|
83
|
-
</div>
|
|
84
|
-
<div class="col-xs-12 col-sm-12 col-md-6 form-input-group">
|
|
85
|
-
<label class=" lb-left text-justify" >地址</label>
|
|
86
|
-
<span v-if="show" style="font-weight:bold">{{model.f_address}}</span>
|
|
87
|
-
<template v-if="!show">
|
|
88
|
-
<textarea :disabled="worktype == '报修单'" type="text" class="form-control" v-model="model.f_address" readonly></textarea>
|
|
89
|
-
</template>
|
|
90
|
-
</div>
|
|
91
|
-
|
|
92
|
-
<!-- 置换通气单配置选项 -->
|
|
93
|
-
<div class="{{shuclass}}" v-if="worktype == '置换通气单'||worktype == '安装单'">
|
|
94
|
-
<label class=" lb-left text-justify" >身份证号</label>
|
|
95
|
-
<span v-if="show" style="font-weight:bold">{{model.f_shenfenzheng}}</span>
|
|
96
|
-
<template v-if="!show">
|
|
97
|
-
<input type="text" class="form-control" v-model="model.f_shenfenzheng" :readonly="issee">
|
|
98
|
-
</template>
|
|
99
|
-
</div>
|
|
100
|
-
<div class="{{shuclass}}" v-if="(worktype == '置换通气单'||worktype == '安装单') && isshenfenzheng">
|
|
101
|
-
<span style="font-size:10px;color: red">输入的身份证号长度不对,或者号码不符合规定!</span>
|
|
102
|
-
</div>
|
|
143
|
+
<!--报修特殊配置选项 -->
|
|
144
|
+
<div class="{{shuclass}}"
|
|
145
|
+
v-if="worktype == '报修单' && noExp && meterinfo && meterinfo.f_collection_type == '按气量'">
|
|
146
|
+
<label class="lb-left text-justify">累购气量</label>
|
|
147
|
+
<input type="text" class="form-control" v-model="meterinfo.f_total_gas" :disabled="show"
|
|
148
|
+
:readonly="issee">
|
|
149
|
+
</div>
|
|
150
|
+
<div class="{{shuclass}}"
|
|
151
|
+
v-if="worktype == '报修单' && noExp && meterinfo && meterinfo.f_collection_type == '按金额'">
|
|
152
|
+
<label class="lb-left text-justify">累购金额</label>
|
|
153
|
+
<input type="text" class="form-control" v-model="meterinfo.f_total_fee" :disabled="show"
|
|
154
|
+
:readonly="issee">
|
|
155
|
+
</div>
|
|
156
|
+
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
157
|
+
<label class="lb-left text-justify">气表品牌</label>
|
|
158
|
+
<input type="text" class="form-control" v-model="meterinfo.f_meter_brand" :disabled="show"
|
|
159
|
+
:readonly="issee">
|
|
160
|
+
</div>
|
|
161
|
+
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
162
|
+
<label class="lb-left text-justify">气表型号</label>
|
|
163
|
+
<input type="text" class="form-control" v-model="meterinfo.f_meter_style" :disabled="show"
|
|
164
|
+
:readonly="issee">
|
|
165
|
+
</div>
|
|
166
|
+
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
167
|
+
<label class="lb-left text-justify">左右表</label>
|
|
168
|
+
<input type="text" class="form-control" v-model="meterinfo.f_aroundmeter" :disabled="show"
|
|
169
|
+
:readonly="issee">
|
|
170
|
+
</div>
|
|
171
|
+
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
172
|
+
<label class="lb-left text-justify">安装位置</label>
|
|
173
|
+
<input type="text" class="form-control" v-model="meterinfo.f_position" :disabled="show" :readonly="issee">
|
|
103
174
|
</div>
|
|
104
|
-
<div class="
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
<!-- :disabled="issee">-->
|
|
113
|
-
<!-- </v-select>-->
|
|
114
|
-
<!-- </div>-->
|
|
115
|
-
<!-- <div class="{{shuclass}}" v-if="worktype == '置换通气单'">
|
|
116
|
-
<label class="lb-left text-justify">住户备注</label>
|
|
117
|
-
<span v-if="show" style="font-weight:bold">{{model.f_remarks}}</span>
|
|
118
|
-
<input type="text" class="form-control" v-model="model.f_remarks" v-if="!show" :readonly="issee">
|
|
119
|
-
</div>-->
|
|
120
|
-
<!--报修特殊配置选项 -->
|
|
121
|
-
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp && meterinfo && meterinfo.f_collection_type == '按气量'">
|
|
122
|
-
<label class="lb-left text-justify">累购气量</label>
|
|
123
|
-
<input type="text" class="form-control" v-model="meterinfo.f_total_gas" :disabled="show" :readonly="issee">
|
|
124
|
-
</div>
|
|
125
|
-
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp && meterinfo && meterinfo.f_collection_type == '按金额'">
|
|
126
|
-
<label class="lb-left text-justify">累购金额</label>
|
|
127
|
-
<input type="text" class="form-control" v-model="meterinfo.f_total_fee" :disabled="show" :readonly="issee">
|
|
128
|
-
</div>
|
|
129
|
-
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
130
|
-
<label class="lb-left text-justify">气表品牌</label>
|
|
131
|
-
<input type="text" class="form-control" v-model="meterinfo.f_meter_brand" :disabled="show" :readonly="issee">
|
|
132
|
-
</div>
|
|
133
|
-
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
134
|
-
<label class="lb-left text-justify">气表型号</label>
|
|
135
|
-
<input type="text" class="form-control" v-model="meterinfo.f_meter_style" :disabled="show" :readonly="issee">
|
|
136
|
-
</div>
|
|
137
|
-
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
138
|
-
<label class="lb-left text-justify">左右表</label>
|
|
139
|
-
<input type="text" class="form-control" v-model="meterinfo.f_aroundmeter" :disabled="show" :readonly="issee">
|
|
140
|
-
</div>
|
|
141
|
-
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
142
|
-
<label class="lb-left text-justify">安装位置</label>
|
|
143
|
-
<input type="text" class="form-control" v-model="meterinfo.f_position" :disabled="show" :readonly="issee">
|
|
144
|
-
</div>
|
|
145
|
-
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
146
|
-
<label class="lb-left text-justify">表号</label>
|
|
147
|
-
<input type="text" class="form-control" v-model="meterinfo.f_meternumber" :disabled="show" :readonly="issee">
|
|
148
|
-
</div>
|
|
149
|
-
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
150
|
-
<label class="lb-left text-justify">气表初始底数</label>
|
|
151
|
-
<input type="text" class="form-control" v-model="model.f_initial_base" :disabled="show" :readonly="issee">
|
|
152
|
-
</div>
|
|
175
|
+
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
176
|
+
<label class="lb-left text-justify">表号</label>
|
|
177
|
+
<input type="text" class="form-control" v-model="meterinfo.f_meternumber" :disabled="show"
|
|
178
|
+
:readonly="issee">
|
|
179
|
+
</div>
|
|
180
|
+
<div class="{{shuclass}}" v-if="worktype == '报修单' && noExp">
|
|
181
|
+
<label class="lb-left text-justify">气表初始底数</label>
|
|
182
|
+
<input type="text" class="form-control" v-model="model.f_initial_base" :disabled="show" :readonly="issee">
|
|
153
183
|
</div>
|
|
154
184
|
</div>
|
|
155
185
|
</div>
|
|
156
186
|
</div>
|
|
187
|
+
</div>
|
|
157
188
|
<!--</validator>-->
|
|
158
189
|
</div>
|
|
159
190
|
</template>
|
|
160
191
|
<script>
|
|
161
|
-
import * as Util from '../../../components/Util'
|
|
162
|
-
import Vue from 'vue'
|
|
192
|
+
import * as Util from '../../../components/Util'
|
|
163
193
|
import {HttpResetClass} from "vue-client";
|
|
164
194
|
|
|
165
195
|
|
|
@@ -168,20 +198,20 @@ import * as Util from '../../../components/Util'
|
|
|
168
198
|
data() {
|
|
169
199
|
return {
|
|
170
200
|
telphoneValid: '/^((0\\d{2,3}-\\d{7,8})|(1[3584]\\d{9}))$/',
|
|
171
|
-
watchtype
|
|
172
|
-
gasdirection
|
|
173
|
-
watchhull
|
|
174
|
-
ictype
|
|
175
|
-
meterstyle:[],
|
|
176
|
-
shuclass:'col-xs-6 col-sm-6 col-md-6 form-input-group mg8',
|
|
177
|
-
isshenfenzheng:false,
|
|
201
|
+
watchtype: this.$appdata.getParam('表型'),
|
|
202
|
+
gasdirection: this.$appdata.getParam('进气方向'),
|
|
203
|
+
watchhull: this.$appdata.getParam('表封'),
|
|
204
|
+
ictype: this.$appdata.getParam('IC卡类型'),
|
|
205
|
+
meterstyle: [],
|
|
206
|
+
shuclass: 'col-xs-6 col-sm-6 col-md-6 form-input-group mg8',
|
|
207
|
+
isshenfenzheng: false,
|
|
178
208
|
noExp: false,
|
|
179
209
|
meterinfo: {}
|
|
180
210
|
}
|
|
181
211
|
},
|
|
182
212
|
props: {
|
|
183
|
-
issee:'',
|
|
184
|
-
worktype:{
|
|
213
|
+
issee: '',
|
|
214
|
+
worktype: {
|
|
185
215
|
type: String,
|
|
186
216
|
default: '报修单'
|
|
187
217
|
},
|
|
@@ -193,16 +223,12 @@ import * as Util from '../../../components/Util'
|
|
|
193
223
|
type: Object
|
|
194
224
|
},
|
|
195
225
|
// 工单信息
|
|
196
|
-
repair:{
|
|
226
|
+
repair: {
|
|
197
227
|
type: Object
|
|
198
228
|
},
|
|
199
|
-
savevalid:{
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
sum:{
|
|
203
|
-
|
|
204
|
-
},
|
|
205
|
-
user:{
|
|
229
|
+
savevalid: {},
|
|
230
|
+
sum: {},
|
|
231
|
+
user: {
|
|
206
232
|
type: Object
|
|
207
233
|
},
|
|
208
234
|
show: {
|
|
@@ -213,25 +239,25 @@ import * as Util from '../../../components/Util'
|
|
|
213
239
|
data: {
|
|
214
240
|
type: Object
|
|
215
241
|
},
|
|
216
|
-
shutype:'heng'
|
|
242
|
+
shutype: 'heng'
|
|
217
243
|
},
|
|
218
244
|
methods: {
|
|
219
|
-
housetypechange(val){
|
|
220
|
-
if(val){
|
|
245
|
+
housetypechange(val) {
|
|
246
|
+
if (val) {
|
|
221
247
|
this.model.f_house_type = val
|
|
222
248
|
}
|
|
223
249
|
},
|
|
224
|
-
usertypeschange(val){
|
|
250
|
+
usertypeschange(val) {
|
|
225
251
|
this.model.f_npuser_type = val
|
|
226
252
|
},
|
|
227
|
-
gasbrandchange(val){
|
|
253
|
+
gasbrandchange(val) {
|
|
228
254
|
this.model.f_gasbrand_id = val
|
|
229
255
|
let ret = this.$TelGetSaleParam.getGasbrand()
|
|
230
256
|
//tag
|
|
231
257
|
let rs = new Array()
|
|
232
|
-
if(this.model.f_gasbrand_id) {
|
|
258
|
+
if (this.model.f_gasbrand_id) {
|
|
233
259
|
ret.forEach((item, index) => {
|
|
234
|
-
if(this.model.f_gasbrand_id == item.value.id) {
|
|
260
|
+
if (this.model.f_gasbrand_id == item.value.id) {
|
|
235
261
|
this.model.f_gasbrand_name = item.label
|
|
236
262
|
item.value.gasmodel.forEach((item1, index1) => {
|
|
237
263
|
rs.push({label: item1.label, value: item1.value.id})
|
|
@@ -241,17 +267,17 @@ import * as Util from '../../../components/Util'
|
|
|
241
267
|
}
|
|
242
268
|
this.meterstyle = rs
|
|
243
269
|
},
|
|
244
|
-
gasmodelchange(val){
|
|
245
|
-
if(val == undefined || val == ''){
|
|
270
|
+
gasmodelchange(val) {
|
|
271
|
+
if (val == undefined || val == '') {
|
|
246
272
|
return
|
|
247
273
|
}
|
|
248
274
|
this.model.f_gasmodel_id = val
|
|
249
275
|
let ret = this.$TelGetSaleParam.getGasbrand()
|
|
250
|
-
if(this.model.f_gasbrand_id && this.model.f_gasmodel_id) {
|
|
276
|
+
if (this.model.f_gasbrand_id && this.model.f_gasmodel_id) {
|
|
251
277
|
ret.forEach((item, index) => {
|
|
252
|
-
if(this.model.f_gasbrand_id == item.value.id) {
|
|
278
|
+
if (this.model.f_gasbrand_id == item.value.id) {
|
|
253
279
|
item.value.gasmodel.forEach((item1, index1) => {
|
|
254
|
-
if(this.model.f_gasmodel_id == item1.value.id) {
|
|
280
|
+
if (this.model.f_gasmodel_id == item1.value.id) {
|
|
255
281
|
this.model.f_gasmodel_name = item1.label
|
|
256
282
|
}
|
|
257
283
|
})
|
|
@@ -283,7 +309,7 @@ import * as Util from '../../../components/Util'
|
|
|
283
309
|
// //tag
|
|
284
310
|
// return rs
|
|
285
311
|
// },
|
|
286
|
-
mute
|
|
312
|
+
mute() {
|
|
287
313
|
HostApp.mute()
|
|
288
314
|
},
|
|
289
315
|
// findUserByCardId() {
|
|
@@ -319,16 +345,17 @@ import * as Util from '../../../components/Util'
|
|
|
319
345
|
async ready() {
|
|
320
346
|
//tag)
|
|
321
347
|
//tag)
|
|
322
|
-
|
|
348
|
+
debugger
|
|
349
|
+
if (this.worktype == '报修单' && this.repair.f_userinfo_id) {
|
|
323
350
|
this.show = true
|
|
324
351
|
let http = new HttpResetClass()
|
|
325
|
-
let res = await http.load('POST',this.$androidUtil.getProxyUrl()+'/rs/sql/getBaseMeterInfo',{
|
|
326
|
-
data:{
|
|
352
|
+
let res = await http.load('POST', this.$androidUtil.getProxyUrl() + '/rs/sql/getBaseMeterInfo', {
|
|
353
|
+
data: {
|
|
327
354
|
f_userinfo_id: this.repair.f_userinfo_id
|
|
328
355
|
}
|
|
329
|
-
},{warnMsg:null,resolveMsg:null,rejectMsg:null})
|
|
356
|
+
}, {warnMsg: null, resolveMsg: null, rejectMsg: null})
|
|
330
357
|
//tag)
|
|
331
|
-
if(res.data[0]){
|
|
358
|
+
if (res.data[0]) {
|
|
332
359
|
this.meterinfo = res.data[0]
|
|
333
360
|
this.noExp = true
|
|
334
361
|
}
|
|
@@ -338,15 +365,15 @@ import * as Util from '../../../components/Util'
|
|
|
338
365
|
watch: {
|
|
339
366
|
// 气表品牌 更新
|
|
340
367
|
'model.f_gasbrand_id'(val) {
|
|
341
|
-
if(val == undefined || val == ''){
|
|
368
|
+
if (val == undefined || val == '') {
|
|
342
369
|
return
|
|
343
370
|
}
|
|
344
|
-
if(this.model.f_gasbrand_id) {
|
|
371
|
+
if (this.model.f_gasbrand_id) {
|
|
345
372
|
let ret = this.$TelGetSaleParam.getGasbrand()
|
|
346
373
|
let rs = new Array()
|
|
347
|
-
if(this.model.f_gasbrand_id) {
|
|
374
|
+
if (this.model.f_gasbrand_id) {
|
|
348
375
|
ret.forEach((item, index) => {
|
|
349
|
-
if(this.model.f_gasbrand_id == item.value.id) {
|
|
376
|
+
if (this.model.f_gasbrand_id == item.value.id) {
|
|
350
377
|
this.model.f_gasbrand_name = item.label
|
|
351
378
|
item.value.gasmodel.forEach((item1, index1) => {
|
|
352
379
|
rs.push({label: item1.label, value: item1.value.id})
|
|
@@ -381,11 +408,11 @@ import * as Util from '../../../components/Util'
|
|
|
381
408
|
// })
|
|
382
409
|
// }
|
|
383
410
|
// },
|
|
384
|
-
'repair'
|
|
385
|
-
if(this.repair.f_orderstatus){
|
|
411
|
+
'repair'() {
|
|
412
|
+
if (this.repair.f_orderstatus) {
|
|
386
413
|
return
|
|
387
414
|
}
|
|
388
|
-
if(this.model.f_address){
|
|
415
|
+
if (this.model.f_address) {
|
|
389
416
|
return
|
|
390
417
|
}
|
|
391
418
|
this.$set('model.f_linkphone', this.repair.f_phone)
|
|
@@ -396,36 +423,36 @@ import * as Util from '../../../components/Util'
|
|
|
396
423
|
this.$set('model.f_user_type', this.repair.f_user_type)
|
|
397
424
|
this.$set('model.f_gasproperties', this.repair.f_gasproperties)
|
|
398
425
|
this.$set('model.f_userinfo_code', this.repair.f_userinfo_code)
|
|
399
|
-
if(!this.model.f_house_type){
|
|
426
|
+
if (!this.model.f_house_type) {
|
|
400
427
|
this.model.f_house_type == '自有房'
|
|
401
428
|
}
|
|
402
|
-
if(this.model.f_user_type == '非民用'){
|
|
403
|
-
if(this.model.f_gasproperties == '工业用气'){
|
|
404
|
-
this.$set('model.f_house_type','工业用户')
|
|
405
|
-
}else if(this.model.f_gasproperties == '商业用气') {
|
|
406
|
-
this.$set('model.f_house_type','商业用户')
|
|
429
|
+
if (this.model.f_user_type == '非民用') {
|
|
430
|
+
if (this.model.f_gasproperties == '工业用气') {
|
|
431
|
+
this.$set('model.f_house_type', '工业用户')
|
|
432
|
+
} else if (this.model.f_gasproperties == '商业用气') {
|
|
433
|
+
this.$set('model.f_house_type', '商业用户')
|
|
407
434
|
}
|
|
408
435
|
}
|
|
409
436
|
},
|
|
410
|
-
'valid'
|
|
437
|
+
'valid'() {
|
|
411
438
|
this.savevalid.uservalid = this.$v.valid
|
|
412
439
|
},
|
|
413
|
-
'shutype'(val){
|
|
414
|
-
if(val == 'shu'){
|
|
440
|
+
'shutype'(val) {
|
|
441
|
+
if (val == 'shu') {
|
|
415
442
|
this.shuclass = 'col-xs-12 col-sm-12 col-md-12 form-input-group mg8'
|
|
416
443
|
}
|
|
417
444
|
},
|
|
418
|
-
'model.f_shenfenzheng'(val){
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
this.isshenfenzheng = false
|
|
425
|
-
}
|
|
426
|
-
}else{
|
|
445
|
+
'model.f_shenfenzheng'(val) {
|
|
446
|
+
if (val) {
|
|
447
|
+
if (!(/^[1-9][0-9]{5}([1][9][0-9]{2}|[2][0][0|1][0-9])([0][1-9]|[1][0|1|2])([0][1-9]|[1|2][0-9]|[3][0|1])[0-9]{3}([0-9]|[X])$/.test(val))) {
|
|
448
|
+
// this.$showAlert('输入的身份证号长度不对,或者号码不符合规定!\n15位号码应全为数字,18位号码末位可以为数字或X。')
|
|
449
|
+
this.isshenfenzheng = true
|
|
450
|
+
} else {
|
|
427
451
|
this.isshenfenzheng = false
|
|
428
452
|
}
|
|
453
|
+
} else {
|
|
454
|
+
this.isshenfenzheng = false
|
|
455
|
+
}
|
|
429
456
|
}
|
|
430
457
|
// 'userinfo' () {
|
|
431
458
|
// if(this.repair.f_orderstatus){
|
|
@@ -451,19 +478,19 @@ import * as Util from '../../../components/Util'
|
|
|
451
478
|
// }
|
|
452
479
|
},
|
|
453
480
|
computed: {
|
|
454
|
-
positions
|
|
481
|
+
positions() {
|
|
455
482
|
return this.$appdata.getParam('安装位置')
|
|
456
483
|
},
|
|
457
|
-
usertypes
|
|
484
|
+
usertypes() {
|
|
458
485
|
return this.$appdata.getParam('非民用用户类型')
|
|
459
486
|
},
|
|
460
487
|
// f_price_types () {
|
|
461
488
|
// return this.$appdata.getParam('气价类型')
|
|
462
489
|
// },
|
|
463
|
-
housetype
|
|
464
|
-
if(this.model.f_user_type == '民用'){
|
|
490
|
+
housetype() {
|
|
491
|
+
if (this.model.f_user_type == '民用') {
|
|
465
492
|
return this.$appdata.getParam('民用置换住户类型')
|
|
466
|
-
}else{
|
|
493
|
+
} else {
|
|
467
494
|
return this.$appdata.getParam('非民用置换住户类型')
|
|
468
495
|
}
|
|
469
496
|
},
|
|
@@ -507,7 +534,7 @@ import * as Util from '../../../components/Util'
|
|
|
507
534
|
// //tag
|
|
508
535
|
// return rs
|
|
509
536
|
// },
|
|
510
|
-
aroundmeters
|
|
537
|
+
aroundmeters() {
|
|
511
538
|
return this.$appdata.getParam('左右表')
|
|
512
539
|
},
|
|
513
540
|
// gasproperties () {
|
|
@@ -517,7 +544,7 @@ import * as Util from '../../../components/Util'
|
|
|
517
544
|
// }
|
|
518
545
|
// return rs
|
|
519
546
|
// },
|
|
520
|
-
valid(){
|
|
547
|
+
valid() {
|
|
521
548
|
this.savevalid.uservalid = this.$v.valid
|
|
522
549
|
return this.$v.valid
|
|
523
550
|
}
|