telephone-clients 3.0.103 → 3.0.104-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.
Files changed (132) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +54 -56
  3. package/src/assets//345/210/240/351/231/244.png +0 -0
  4. package/src/components/Util/RightTreeSafe.vue +2 -2
  5. package/src/components/Util/RightTreeSafeDep.vue +350 -0
  6. package/src/components/android/AddMyTask.vue +7 -0
  7. package/src/components/guoxin/Console.vue +9 -0
  8. package/src/components/guoxin/VisitInfo.vue +0 -11
  9. package/src/components/pc/NewRepairPaper.vue +370 -370
  10. package/src/components/pc/RepairsWork.vue +23 -2
  11. package/src/components/pc/RoleSelectorDep.vue +158 -0
  12. package/src/components/pc/TelFindUser.vue +1 -1
  13. package/src/components/pc/TelListener.vue +47 -16
  14. package/src/components/pc/VisitInfo.vue +44 -17
  15. package/src/components/pc/WorkCenter.vue +1 -1
  16. package/src/components/pc/WorkCenterList.vue +1 -1
  17. package/src/components/pc/WorkHistory.vue +20 -2
  18. package/src/components/pc/WorkListAll.vue +1 -1
  19. package/src/components/pc/WorkListAllNew.vue +10 -3
  20. package/src/components/pc/WorkListNew.vue +9 -3
  21. package/src/components/pc/olddata/OldWorkList.vue +193 -0
  22. package/src/components/telreport/RepairsDetailsReport.vue +98 -0
  23. package/src/components/telreport/TableFaultReport.vue +96 -0
  24. package/src/components/telreport/Traffic.vue +3 -3
  25. package/src/components/telreport/TrafficClassificationReport.vue +134 -0
  26. package/src/components/temp/ChangemeterInfo.vue +75 -87
  27. package/src/components/temp/DeviceInfo.vue +80 -82
  28. package/src/components/temp/HandplanInfo.vue +14 -3
  29. package/src/components/temp/InfoTable.vue +5 -2
  30. package/src/components/temp/MetereadInfo.vue +1 -4
  31. package/src/components/temp/OldRepairList.vue +100 -0
  32. package/src/components/temp/RepairList.vue +2 -2
  33. package/src/components/weinan/Console.vue +1 -1
  34. package/src/components/weinan/RecordList.vue +2 -2
  35. package/src/components/weinan/SiteSend.vue +2 -2
  36. package/src/components/weinan/SiteSendWeixiu.vue +7 -16
  37. package/src/components/weinan/StandWorkWeixiu.vue +1 -1
  38. package/src/components/weinan/WorkList.vue +73 -0
  39. package/src/components/weinan/WorkListAll.vue +90 -14
  40. package/src/components/weinan/WorkListWeixiu.vue +1 -1
  41. package/src/components/workorder/CompletedRepair.vue +269 -183
  42. package/src/components/workorder/FaultAll.vue +826 -826
  43. package/src/components/workorder/PhoneStandWork.vue +354 -354
  44. package/src/components/workorder/PhoneUpDetail.vue +3 -0
  45. package/src/components/workorder/RepairDetails.vue +12 -2
  46. package/src/components/workorder/RepairFirstV.vue +1 -1
  47. package/src/components/workorder/RepairOrderV.vue +1446 -1446
  48. package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
  49. package/src/filiale/furuike/pc/Seekwork.vue +352 -352
  50. package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
  51. package/src/filiale/hanzhong/telephone.js +1 -1
  52. package/src/filiale/kelai/android/AppTakePic.vue +143 -0
  53. package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
  54. package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
  55. package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
  56. package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
  57. package/src/filiale/kelai/telephone.js +9 -8
  58. package/src/filiale/kelai/telephoneAndroid.js +3 -1
  59. package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
  60. package/src/filiale/qianneng/android/FaultAll.vue +883 -883
  61. package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
  62. package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
  63. package/src/filiale/qianneng/android/TemporarySingle.vue +25 -0
  64. package/src/filiale/qianneng/android/chargesList.vue +161 -161
  65. package/src/filiale/qianneng/pc/MaterialDetailed.vue +15 -3
  66. package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
  67. package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
  68. package/src/filiale/qianneng/pc/RepairsWork.vue +992 -982
  69. package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
  70. package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
  71. package/src/filiale/qianneng/pc/changetable.vue +273 -0
  72. package/src/filiale/qianneng/telephone.js +2 -0
  73. package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
  74. package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
  75. package/src/filiale/rizhao/pc/Traffic.vue +3 -3
  76. package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
  77. package/src/filiale/rizhao/telephone.js +1 -1
  78. package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
  79. package/src/filiale/rongcheng/FaultAll.vue +3 -3
  80. package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
  81. package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
  82. package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
  83. package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
  84. package/src/filiale/shanxian/pc/WorkList.vue +1 -1
  85. package/src/filiale/shanxian/telephone.js +13 -12
  86. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  87. package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
  88. package/src/filiale/shexian/android/FaultAll.vue +847 -0
  89. package/src/filiale/shexian/android/Outlay.vue +182 -165
  90. package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
  91. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  92. package/src/filiale/shexian/pc/QueryVisitHistory.vue +237 -0
  93. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
  94. package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
  95. package/src/filiale/shexian/pc/WorkList.vue +782 -740
  96. package/src/filiale/shexian/pc/WorkListAllNew.vue +75 -67
  97. package/src/filiale/shexian/telephone.js +21 -18
  98. package/src/filiale/shexian/telephoneAndroid.js +32 -26
  99. package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
  100. package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
  101. package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
  102. package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
  103. package/src/filiale/tongchuan/telephone.js +52 -52
  104. package/src/filiale/tongchuan/telephoneAndroid.js +23 -22
  105. package/src/filiale/wenxi/android/FailureShow.vue +61 -0
  106. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1053 -0
  107. package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
  108. package/src/filiale/wenxi/android/RepairOrderV.vue +805 -1419
  109. package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
  110. package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
  111. package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
  112. package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
  113. package/src/filiale/wenxi/pc/GasWork.vue +747 -0
  114. package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
  115. package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
  116. package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
  117. package/src/filiale/wenxi/pc/WorkListAll.vue +348 -297
  118. package/src/filiale/wenxi/telephone.js +4 -5
  119. package/src/filiale/wenxi/telephoneAndroid.js +4 -1
  120. package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
  121. package/src/filiale/wuhai/telephone.js +1 -1
  122. package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
  123. package/src/filiale/yuncheng/telephone.js +12 -0
  124. package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
  125. package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
  126. package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
  127. package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
  128. package/src/filiale/zhongsheng/telephone.js +23 -23
  129. package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
  130. package/src/main.js +1 -1
  131. package/src/telephone.js +17 -1
  132. package/src/weinan.js +6 -0
@@ -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
- <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)" class="repair-mute-class"><img src="../../../assets/novoice.png" width="25px;" alt=""><span style="margin-left:10px;color: #304A66">关闭声音</span></a></p>
7
- </blockquote>
8
- </div>
9
- <div class="panel panel-default auto repair-info-content">
10
- <div class="panel-body">
11
- <!-- 维修相关时间 -->
12
- <div v-if="data" class="row repair-info-content auto">
13
- <!--<div class="col-xs-12 col-sm-12 col-md-12 form-input-group">-->
14
- <!--<label class="control-label">-->
15
- <!--<nobr>维修日期:</nobr>-->
16
- <!--</label>-->
17
- <!--<span>{{data.f_date}}</span>-->
18
- <!--</div>-->
19
- <div class="col-xs-12 col-sm-12 col-md-12 form-input-group">
20
- <label class="control-label">
21
- <nobr>到达时间:</nobr>
22
- </label>
23
- <span>{{data.f_date_come}}</span>
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
+ &lt;!&ndash;<button type="button" name="button" class="btn btn-primary" @click="findUserByCardId(model.f_userinfo_code)"&ndash;&gt;
43
+ &lt;!&ndash;v-if="!show">查找&ndash;&gt;
44
+ &lt;!&ndash;</button>&ndash;&gt;
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
- <div v-if="model" class="auto repair-info-content compatible">
34
- <div class="row auto">
35
- <!-- <div class="{{shuclass}}">
36
- <label class=" lb-left text-justify">客户编号</label>
37
- <span v-if="show" style="font-weight:bold">{{model.f_userinfo_code}}</span>
38
- <input type="text" class="form-control" v-model="model.f_userinfo_code" v-if="!show" readonly>
39
- &lt;!&ndash;<button type="button" name="button" class="btn btn-primary" @click="findUserByCardId(model.f_userinfo_code)"&ndash;&gt;
40
- &lt;!&ndash;v-if="!show">查找&ndash;&gt;
41
- &lt;!&ndash;</button>&ndash;&gt;
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
- <div class="{{shuclass}}">
44
- <label class=" lb-left text-justify">姓名</label>
45
- <span v-if="show" style="font-weight:bold">{{model.f_user_name}}</span>
46
- <template v-if="!show">
47
- <input :disabled="worktype == '报修单'" type="text" class="form-control" v-model="model.f_user_name" :readonly="issee">
48
- </template>
49
- </div>
50
- <div v-show="false" class="{{shuclass}}" v-if="!((worktype == '置换通气单'||worktype == '安装单') && model.f_user_type == '非民用')">
51
- <label class="lb-left text-justify">客户类型</label>
52
- <input type="text" class="form-control" v-model="model.f_user_type" readonly v-if="!show">
53
- <span v-if="show" style="font-weight:bold">{{model.f_user_type}}</span>
54
- </div>
55
- <div class="{{shuclass}}" 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_gasproperties" readonly v-if="!show">
58
- <span v-if="show" style="font-weight:bold">{{model.f_gasproperties}}</span>
59
- </div>
60
- <div v-show="false" 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_user_type" readonly v-if="!show">
63
- <span v-if="show" style="font-weight:bold">{{model.f_user_type}}</span>
64
- </div>
65
- <div class="{{shuclass}}" v-if="(worktype == '置换通气单'||worktype == '安装单') && model.f_user_type == '非民用'">
66
- <label class="lb-left text-justify">用气性质</label>
67
- <input type="text" class="form-control" v-model="model.f_gasproperties" readonly v-if="!show">
68
- <span v-if="show" style="font-weight:bold">{{model.f_gasproperties}}</span>
69
- </div>
70
- <!-- <div class="{{shuclass}}">-->
71
- <!-- <label class=" lb-left text-justify" >来电电话</label>-->
72
- <!-- <span v-if="show" style="font-weight:bold">{{model.f_linkphone}}</span>-->
73
- <!-- <template v-if="!show">-->
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="row">
105
- <!-- <div class="{{shuclass}}" v-if="worktype == '置换通气单'||worktype == '安装单'">-->
106
- <!-- <label class="lb-left text-justify">住户类型</label>-->
107
- <!-- <span v-if="show" style="font-weight:bold">{{model.f_house_type}}</span>-->
108
- <!-- <v-select :value="model.f_house_type" :value-single="true"-->
109
- <!-- :options='housetype' placeholder='请选择'-->
110
- <!-- close-on-select v-if="!show"-->
111
- <!-- v-on:change="housetypechange"-->
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 : this.$appdata.getParam('表型'),
172
- gasdirection : this.$appdata.getParam('进气方向'),
173
- watchhull : this.$appdata.getParam('表封'),
174
- ictype : this.$appdata.getParam('IC卡类型'),
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
- if(this.worktype =='报修单' && this.repair.f_userinfo_id){
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
- if(val){
420
- 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))) {
421
- // this.$showAlert('输入的身份证号长度不对,或者号码不符合规定!\n15位号码应全为数字,18位号码末位可以为数字或X。')
422
- this.isshenfenzheng = true
423
- }else{
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
  }