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.
Files changed (126) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +7 -9
  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/VisitInfo.vue +0 -11
  8. package/src/components/pc/NewRepairPaper.vue +3 -3
  9. package/src/components/pc/RepairsWork.vue +22 -2
  10. package/src/components/pc/RoleSelectorDep.vue +158 -0
  11. package/src/components/pc/TelFindUser.vue +1 -1
  12. package/src/components/pc/TelListener.vue +47 -16
  13. package/src/components/pc/VisitInfo.vue +0 -10
  14. package/src/components/pc/WorkCenter.vue +1 -1
  15. package/src/components/pc/WorkCenterList.vue +1 -1
  16. package/src/components/pc/WorkHistory.vue +20 -2
  17. package/src/components/pc/WorkListAll.vue +1 -1
  18. package/src/components/pc/WorkListAllNew.vue +10 -3
  19. package/src/components/pc/WorkListNew.vue +712 -706
  20. package/src/components/pc/olddata/OldWorkList.vue +193 -0
  21. package/src/components/telreport/RepairsDetailsReport.vue +98 -0
  22. package/src/components/telreport/TableFaultReport.vue +96 -0
  23. package/src/components/telreport/Traffic.vue +3 -3
  24. package/src/components/telreport/TrafficClassificationReport.vue +134 -0
  25. package/src/components/temp/ChangemeterInfo.vue +75 -87
  26. package/src/components/temp/DeviceInfo.vue +80 -82
  27. package/src/components/temp/HandplanInfo.vue +2 -2
  28. package/src/components/temp/InfoTable.vue +5 -2
  29. package/src/components/temp/MetereadInfo.vue +1 -4
  30. package/src/components/temp/OldRepairList.vue +100 -0
  31. package/src/components/temp/RepairList.vue +2 -2
  32. package/src/components/weinan/Console.vue +1 -1
  33. package/src/components/weinan/RecordList.vue +2 -2
  34. package/src/components/weinan/SiteSend.vue +2 -2
  35. package/src/components/weinan/SiteSendWeixiu.vue +7 -16
  36. package/src/components/weinan/StandWorkWeixiu.vue +1 -1
  37. package/src/components/weinan/WorkList.vue +73 -0
  38. package/src/components/weinan/WorkListAll.vue +90 -14
  39. package/src/components/weinan/WorkListWeixiu.vue +1 -1
  40. package/src/components/workorder/CompletedRepair.vue +269 -183
  41. package/src/components/workorder/FaultAll.vue +826 -826
  42. package/src/components/workorder/PhoneStandWork.vue +354 -354
  43. package/src/components/workorder/PhoneUpDetail.vue +3 -0
  44. package/src/components/workorder/RepairDetails.vue +12 -2
  45. package/src/components/workorder/RepairFirstV.vue +1 -1
  46. package/src/components/workorder/RepairOrderV.vue +1446 -1446
  47. package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
  48. package/src/filiale/furuike/pc/Seekwork.vue +352 -352
  49. package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
  50. package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
  51. package/src/filiale/kelai/android/AppTakePic.vue +143 -0
  52. package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
  53. package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
  54. package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
  55. package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
  56. package/src/filiale/kelai/telephone.js +9 -8
  57. package/src/filiale/kelai/telephoneAndroid.js +3 -1
  58. package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
  59. package/src/filiale/qianneng/android/FaultAll.vue +883 -883
  60. package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
  61. package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
  62. package/src/filiale/qianneng/android/TemporarySingle.vue +537 -512
  63. package/src/filiale/qianneng/android/chargesList.vue +161 -161
  64. package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -248
  65. package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
  66. package/src/filiale/qianneng/pc/NewRepairPaper.vue +4 -4
  67. package/src/filiale/qianneng/pc/RepairsWork.vue +12 -2
  68. package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
  69. package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
  70. package/src/filiale/qianneng/pc/changetable.vue +273 -0
  71. package/src/filiale/qianneng/telephone.js +22 -20
  72. package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
  73. package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
  74. package/src/filiale/rizhao/pc/Traffic.vue +3 -3
  75. package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
  76. package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
  77. package/src/filiale/rongcheng/FaultAll.vue +3 -3
  78. package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
  79. package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
  80. package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
  81. package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
  82. package/src/filiale/shanxian/pc/WorkList.vue +1 -1
  83. package/src/filiale/shanxian/telephone.js +13 -12
  84. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  85. package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
  86. package/src/filiale/shexian/android/FaultAll.vue +847 -0
  87. package/src/filiale/shexian/android/Outlay.vue +182 -165
  88. package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
  89. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  90. package/src/filiale/shexian/pc/QueryVisitHistory.vue +237 -0
  91. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
  92. package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
  93. package/src/filiale/shexian/pc/WorkList.vue +782 -740
  94. package/src/filiale/shexian/pc/WorkListAllNew.vue +75 -67
  95. package/src/filiale/shexian/telephone.js +21 -18
  96. package/src/filiale/shexian/telephoneAndroid.js +32 -26
  97. package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
  98. package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
  99. package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
  100. package/src/filiale/wenxi/android/FailureShow.vue +61 -0
  101. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1053 -0
  102. package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
  103. package/src/filiale/wenxi/android/RepairOrderV.vue +805 -1419
  104. package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
  105. package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
  106. package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
  107. package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
  108. package/src/filiale/wenxi/pc/GasWork.vue +747 -0
  109. package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
  110. package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
  111. package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
  112. package/src/filiale/wenxi/telephone.js +4 -6
  113. package/src/filiale/wenxi/telephoneAndroid.js +4 -1
  114. package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
  115. package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
  116. package/src/filiale/yuncheng/telephone.js +12 -0
  117. package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
  118. package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
  119. package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
  120. package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
  121. package/src/filiale/zhongsheng/telephone.js +23 -23
  122. package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
  123. package/src/main.js +1 -1
  124. package/src/telephone.js +16 -0
  125. package/src/weinan.js +6 -0
  126. package/src/filiale/wenxi/pc/WorkListAll.vue +0 -647
@@ -1,248 +1,260 @@
1
- <template>
2
- <div class="flex-row">
3
- <div style="height: 95%" class="basic-main" >
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-3">
9
- <label class="font_normal_body">工单编号:</label>
10
- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_service_id"
11
- v-on:keyup.enter="$parent.$parent.search()"
12
- condition="sw.f_service_id = '{}'">
13
- </div>
14
- <div class="form-group col-sm-3">
15
- <label class="font_normal_body">操&ensp;作&ensp;人:</label>
16
- <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
17
- v-on:keyup.enter="$parent.$parent.search()"
18
- condition="sw.f_operator like '%{}%'">
19
- </div>
20
- <div class="form-group col-sm-3 button-range">
21
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
22
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
23
- <export-excel :data="$parent.$parent.getCondition"
24
- :field="$parent.$parent.getfield"
25
- sqlurl="rs/logic/telephoneExport"
26
- sql-name="getmaterialservice"
27
- template-name='工单材料明细导出'
28
- :choose-col="true"></export-excel>
29
- <div style="float: right;" class="button_spacing button_search"
30
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
31
- @click="$parent.$parent.hidden()"></div>
32
- </div>
33
- </div>
34
- <div class="row" v-show="$parent.$parent.criteriaShow">
35
- <div class="form-group col-sm-3">
36
- <label class="font_normal_body">客户名称:</label>
37
- <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
38
- v-on:keyup.enter="$parent.$parent.search()"
39
- condition="sw.f_user_name like '%{}%'">
40
- </div>
41
- <div class="form-group col-sm-3">
42
- <label class="font_normal_body">地&emsp;&emsp;址:</label>
43
- <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
44
- v-on:keyup.enter="$parent.$parent.search()"
45
- condition="sw.f_address like '%{}%'">
46
- </div>
47
- <div class="form-group col-sm-3">
48
- <label class="font_normal_body">材料分类:</label>
49
- <input type="text" style="width: 60%" class="input_search" placeholder='材料分类' v-model="model.f_typename"
50
- v-on:keyup.enter="$parent.$parent.search()"
51
- condition="ms.f_typename like '%{}%'">
52
- </div>
53
- <div class="form-group col-sm-3">
54
- <label class="font_normal_body">材料名称:</label>
55
- <input type="text" style="width: 60%" class="input_search" placeholder='材料名称' v-model="model.f_material_name"
56
- v-on:keyup.enter="$parent.$parent.search()"
57
- condition="ms.f_material_name like '%{}%'">
58
- </div>
59
- <div class="form-group col-sm-3">
60
- <label class="font_normal_body">材料型号:</label>
61
- <input type="text" style="width: 60%" class="input_search" placeholder='材料型号' v-model="model.f_typenumber"
62
- v-on:keyup.enter="$parent.$parent.search()"
63
- condition="ms.f_typenumber like '%{}%'">
64
- </div>
65
- <div class="form-group col-sm-3">
66
- <label class="font_normal_body">材料数量:</label>
67
- <input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
68
- v-on:keyup.enter="$parent.$parent.search()"
69
- condition="ms.f_material_number = '{}'">
70
- </div>
71
- <div class="form-group col-sm-3">
72
- <label class="font_normal_body">材料单价:</label>
73
- <input type="text" style="width: 60%" class="input_search" placeholder='材料单价' v-model="model.f_material_price"
74
- v-on:keyup.enter="$parent.$parent.search()"
75
- condition="ms.f_material_price = '{}'">
76
- </div>
77
- <div class="form-group col-sm-3">
78
- <label for="startDate" class="font_normal_body">开始时间:</label>
79
- <datepicker id="startDate" placeholder="开始日期"
80
- style="width: 60%!important;"
81
- v-model="model.startDate"
82
- :value.sync="model.startDate"
83
- :format="'yyyy-MM-dd 00:00:00'"
84
- :show-reset-button="true"
85
- condition="ms.f_date >= '{}'">
86
- </datepicker>
87
- </div>
88
- <div class="form-group col-sm-3">
89
- <label for="endDate" class="font_normal_body">结束时间:</label>
90
- <datepicker id="endDate" placeholder="结束日期"
91
- style="width: 60%!important;"
92
- v-model="model.endDate"
93
- :value.sync="model.endDate"
94
- :format="'yyyy-MM-dd 23:59:59'"
95
- :show-reset-button="true"
96
- condition="ms.f_date <= '{}'">
97
- </datepicker>
98
- </div>
99
- <div class="form-group col-sm-3">
100
- <label class="font_normal_body">部&emsp;&emsp;门:</label>
101
- <input type="text" style="width: 60%" class="input_search" placeholder='部门' v-model="model.f_department"
102
- v-on:keyup.enter="$parent.$parent.search()"
103
- condition="ms.f_department like '{}'">
104
- </div>
105
- </div>
106
- </div>
107
- </criteria>
108
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
109
- <template partial='head'>
110
- <tr>
111
- <th>序号</th>
112
- <th>工单编号</th>
113
- <th>客户名称</th>
114
- <th>地址</th>
115
- <th>故障明细</th>
116
- <th>用户类型</th>
117
- <th>用气性质</th>
118
- <th>材料分类</th>
119
- <th>材料名称</th>
120
- <th>材料型号</th>
121
- <th>材料数量</th>
122
- <th>材料单价</th>
123
- <th>金额</th>
124
- <th>操作人</th>
125
- <th>部门</th>
126
- <th>操作时间</th>
127
- </tr>
128
- </template>
129
- <template partial='body'>
130
- <tr >
131
- <td style="text-align: center;">
132
- <nobr><font>{{$index+1}}</font></nobr>
133
- </td>
134
- <td style="text-align: center;">
135
- <nobr><font>{{row.f_service_id}}</font></nobr>
136
- </td>
137
- <td style="text-align: center;">
138
- <nobr><font>{{row.f_user_name}}</font></nobr>
139
- </td>
140
- <td style="text-align: center;">
141
- <nobr><font>{{row.f_address}}</font></nobr>
142
- </td>
143
- <td style="text-align: center;">
144
- <nobr><font>{{row.f_json}}</font></nobr>
145
- </td>
146
- <td style="text-align: center;">
147
- <nobr><font>{{row.f_user_type}}</font></nobr>
148
- </td>
149
- <td style="text-align: center;">
150
- <nobr><font>{{row.f_gasproperties}}</font></nobr>
151
- </td>
152
- <td style="text-align: center;">
153
- <nobr><font>{{row.f_typename}}</font></nobr>
154
- </td>
155
- <td style="text-align: center;">
156
- <nobr><font>{{row.f_material_name}}</font></nobr>
157
- </td>
158
- <td style="text-align: center;">
159
- <nobr><font>{{row.f_typenumber}}</font></nobr>
160
- </td>
161
- <td style="text-align: center;">
162
- <nobr><font>{{row.f_material_number}}</font></nobr>
163
- </td>
164
- <td style="text-align: center;">
165
- <nobr><font>{{row.f_material_price}}</font></nobr>
166
- </td>
167
- <td style="text-align: center;">
168
- <nobr><font>{{row.f_fee}}</font></nobr>
169
- </td>
170
- <td style="text-align: center;">
171
- <nobr><font>{{row.f_operators}}</font></nobr>
172
- </td>
173
- <td style="text-align: center;">
174
- <nobr><font>{{row.f_department}}</font></nobr>
175
- </td>
176
- <td style="text-align: center;">
177
- <nobr><font>{{row.f_date}}</font></nobr>
178
- </td>
179
- </tr>
180
- </template>
181
- </data-grid>
182
- </criteria-paged>
183
- </div>
184
-
185
- </div>
186
- </template>
187
-
188
- <script>
189
- import {PagedList} from 'vue-client'
190
- export default {
191
- title: '材料明细',
192
- data () {
193
- return {
194
- model: new PagedList('rs/sql/getmaterialservice', 30, null),
195
- criteriaShow: false,
196
- getfield: {
197
- 'f_service_id': '工单编号',
198
- 'f_user_name': '客户名称',
199
- 'f_address': '地址',
200
- 'f_json': '故障明细',
201
- 'f_user_type': '用户类型',
202
- 'f_gasproperties': '用气性质',
203
- 'f_typename': '材料分类',
204
- 'f_material_name': '材料名称',
205
- 'f_typenumber': '材料型号',
206
- 'f_material_number': '材料数量',
207
- 'f_material_price': '材料单价',
208
- 'f_fee': '金额',
209
- 'f_operators': '操作人',
210
- 'f_department': '部门',
211
- 'f_date': '操作时间'
212
- }
213
- }
214
- },
215
- ready () {
216
- // 调用查询
217
- this.search()
218
- },
219
- methods: {
220
- clear () {
221
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
222
- this.$refs.cp.$refs.cri.model[key] = ''
223
- })
224
- },
225
- searchCondition (args) {
226
- args.condition = args.condition + ` and sw.f_filiale_id = '${this.$login.f.orgid}'`
227
- this.model.search(args.condition, args.model)
228
- },
229
- // 查询
230
- search () {
231
- this.$refs.cp.$refs.cri.search()
232
- },
233
- hidden () {
234
- this.criteriaShow = !this.criteriaShow
235
- },
236
- },
237
- computed: {
238
- getCondition () {
239
- return {
240
- condition: this.model.condition
241
- }
242
- }
243
- }
244
- }
245
- </script>
246
-
247
- <style scoped>
248
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div style="height: 95%" class="basic-main" >
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">工单编号:</label>
10
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_service_id"
11
+ v-on:keyup.enter="$parent.$parent.search()"
12
+ condition="sw.f_service_id = '{}'">
13
+ </div>
14
+ <div class="form-group col-sm-3">
15
+ <label class="font_normal_body">操&ensp;作&ensp;人:</label>
16
+ <input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
17
+ v-on:keyup.enter="$parent.$parent.search()"
18
+ condition="sw.f_operator like '%{}%'">
19
+ </div>
20
+ <div class="form-group col-sm-3 button-range">
21
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
22
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
23
+ <export-excel :data="$parent.$parent.getCondition"
24
+ :field="$parent.$parent.getfield"
25
+ sqlurl="rs/logic/telephoneExport"
26
+ sql-name="getmaterialservice"
27
+ template-name='工单材料明细导出'
28
+ :choose-col="true"></export-excel>
29
+ <div style="float: right;" class="button_spacing button_search"
30
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
31
+ @click="$parent.$parent.hidden()"></div>
32
+ </div>
33
+ </div>
34
+ <div class="row" v-show="$parent.$parent.criteriaShow">
35
+ <div class="form-group col-sm-3">
36
+ <label class="font_normal_body">客户名称:</label>
37
+ <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
38
+ v-on:keyup.enter="$parent.$parent.search()"
39
+ condition="sw.f_user_name like '%{}%'">
40
+ </div>
41
+ <div class="form-group col-sm-3">
42
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
43
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
44
+ v-on:keyup.enter="$parent.$parent.search()"
45
+ condition="sw.f_address like '%{}%'">
46
+ </div>
47
+ <div class="form-group col-sm-3">
48
+ <label class="font_normal_body">材料分类:</label>
49
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料分类' v-model="model.f_typename"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="ms.f_typename like '%{}%'">
52
+ </div>
53
+ <div class="form-group col-sm-3">
54
+ <label class="font_normal_body">材料名称:</label>
55
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料名称' v-model="model.f_material_name"
56
+ v-on:keyup.enter="$parent.$parent.search()"
57
+ condition="ms.f_material_name like '%{}%'">
58
+ </div>
59
+ <div class="form-group col-sm-3">
60
+ <label class="font_normal_body">材料型号:</label>
61
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料型号' v-model="model.f_typenumber"
62
+ v-on:keyup.enter="$parent.$parent.search()"
63
+ condition="ms.f_typenumber like '%{}%'">
64
+ </div>
65
+ <div class="form-group col-sm-3">
66
+ <label class="font_normal_body">材料数量:</label>
67
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料数量' v-model="model.f_material_number"
68
+ v-on:keyup.enter="$parent.$parent.search()"
69
+ condition="ms.f_material_number = '{}'">
70
+ </div>
71
+ <div class="form-group col-sm-3">
72
+ <label class="font_normal_body">材料单价:</label>
73
+ <input type="text" style="width: 60%" class="input_search" placeholder='材料单价' v-model="model.f_material_price"
74
+ v-on:keyup.enter="$parent.$parent.search()"
75
+ condition="ms.f_material_price = '{}'">
76
+ </div>
77
+ <div class="form-group col-sm-3">
78
+ <label for="startDate" class="font_normal_body">开始时间:</label>
79
+ <datepicker id="startDate" placeholder="开始日期"
80
+ style="width: 60%!important;"
81
+ v-model="model.startDate"
82
+ :value.sync="model.startDate"
83
+ :format="'yyyy-MM-dd 00:00:00'"
84
+ :show-reset-button="true"
85
+ condition="ms.f_date >= '{}'">
86
+ </datepicker>
87
+ </div>
88
+ <div class="form-group col-sm-3">
89
+ <label for="endDate" class="font_normal_body">结束时间:</label>
90
+ <datepicker id="endDate" placeholder="结束日期"
91
+ style="width: 60%!important;"
92
+ v-model="model.endDate"
93
+ :value.sync="model.endDate"
94
+ :format="'yyyy-MM-dd 23:59:59'"
95
+ :show-reset-button="true"
96
+ condition="ms.f_date <= '{}'">
97
+ </datepicker>
98
+ </div>
99
+ <div class="form-group col-sm-3">
100
+ <label class="font_normal_body">部&emsp;&emsp;门:</label>
101
+ <v-select :value.sync="model.f_department"
102
+ v-model="model.f_department"
103
+ :options='$parent.$parent.f_departments' placeholder='部门'
104
+ close-on-select condition="ms.f_department like '%{}%'"></v-select>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </criteria>
109
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
110
+ <template partial='head'>
111
+ <tr>
112
+ <th>序号</th>
113
+ <th>工单编号</th>
114
+ <th>客户编号</th>
115
+ <th>客户名称</th>
116
+ <th>客户电话</th>
117
+ <th>地址</th>
118
+ <th>故障明细</th>
119
+ <th>用户类型</th>
120
+ <th>用气性质</th>
121
+ <th>材料分类</th>
122
+ <th>材料名称</th>
123
+ <th>材料型号</th>
124
+ <th>材料数量</th>
125
+ <th>材料单价</th>
126
+ <th>金额</th>
127
+ <th>操作人</th>
128
+ <th>部门</th>
129
+ <th>操作时间</th>
130
+ </tr>
131
+ </template>
132
+ <template partial='body'>
133
+ <tr >
134
+ <td style="text-align: center;">
135
+ <nobr><font>{{$index+1}}</font></nobr>
136
+ </td>
137
+ <td style="text-align: center;">
138
+ <nobr><font>{{row.f_service_id}}</font></nobr>
139
+ </td>
140
+ <td style="text-align: center;">
141
+ <nobr><font>{{row.f_userinfo_code}}</font></nobr>
142
+ </td>
143
+ <td style="text-align: center;">
144
+ <nobr><font>{{row.f_user_name}}</font></nobr>
145
+ </td>
146
+ <td style="text-align: center;">
147
+ <nobr><font>{{row.f_contact_phone}}</font></nobr>
148
+ </td>
149
+ <td style="text-align: center;">
150
+ <nobr><font>{{row.f_address}}</font></nobr>
151
+ </td>
152
+ <td style="text-align: center;">
153
+ <nobr><font>{{row.f_json}}</font></nobr>
154
+ </td>
155
+ <td style="text-align: center;">
156
+ <nobr><font>{{row.f_user_type}}</font></nobr>
157
+ </td>
158
+ <td style="text-align: center;">
159
+ <nobr><font>{{row.f_gasproperties}}</font></nobr>
160
+ </td>
161
+ <td style="text-align: center;">
162
+ <nobr><font>{{row.f_typename}}</font></nobr>
163
+ </td>
164
+ <td style="text-align: center;">
165
+ <nobr><font>{{row.f_material_name}}</font></nobr>
166
+ </td>
167
+ <td style="text-align: center;">
168
+ <nobr><font>{{row.f_typenumber}}</font></nobr>
169
+ </td>
170
+ <td style="text-align: center;">
171
+ <nobr><font>{{row.f_material_number}}</font></nobr>
172
+ </td>
173
+ <td style="text-align: center;">
174
+ <nobr><font>{{row.f_material_price}}</font></nobr>
175
+ </td>
176
+ <td style="text-align: center;">
177
+ <nobr><font>{{row.f_fee}}</font></nobr>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <nobr><font>{{row.f_operators}}</font></nobr>
181
+ </td>
182
+ <td style="text-align: center;">
183
+ <nobr><font>{{row.f_department}}</font></nobr>
184
+ </td>
185
+ <td style="text-align: center;">
186
+ <nobr><font>{{row.f_date}}</font></nobr>
187
+ </td>
188
+ </tr>
189
+ </template>
190
+ </data-grid>
191
+ </criteria-paged>
192
+ </div>
193
+
194
+ </div>
195
+ </template>
196
+
197
+ <script>
198
+ import {PagedList} from 'vue-client'
199
+ export default {
200
+ title: '材料明细',
201
+ data () {
202
+ return {
203
+ model: new PagedList('rs/sql/getmaterialservice', 30, null),
204
+ f_departments:[{label:"全部",value:""},...this.$appdata.getParam('部门')],
205
+ criteriaShow: false,
206
+ getfield: {
207
+ 'f_service_id': '工单编号',
208
+ 'f_userinfo_code': '客户编号',
209
+ 'f_user_name': '客户名称',
210
+ 'f_contact_phone': '客户电话',
211
+ 'f_address': '地址',
212
+ 'f_json': '故障明细',
213
+ 'f_user_type': '用户类型',
214
+ 'f_gasproperties': '用气性质',
215
+ 'f_typename': '材料分类',
216
+ 'f_material_name': '材料名称',
217
+ 'f_typenumber': '材料型号',
218
+ 'f_material_number': '材料数量',
219
+ 'f_material_price': '材料单价',
220
+ 'f_fee': '金额',
221
+ 'f_operators': '操作人',
222
+ 'f_department': '部门',
223
+ 'f_date': '操作时间'
224
+ }
225
+ }
226
+ },
227
+ ready () {
228
+ // 调用查询
229
+ this.search()
230
+ },
231
+ methods: {
232
+ clear () {
233
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
234
+ this.$refs.cp.$refs.cri.model[key] = ''
235
+ })
236
+ },
237
+ searchCondition (args) {
238
+ args.condition = args.condition + ` and sw.f_filiale_id = '${this.$login.f.orgid}'`
239
+ this.model.search(args.condition, args.model)
240
+ },
241
+ // 查询
242
+ search () {
243
+ this.$refs.cp.$refs.cri.search()
244
+ },
245
+ hidden () {
246
+ this.criteriaShow = !this.criteriaShow
247
+ },
248
+ },
249
+ computed: {
250
+ getCondition () {
251
+ return {
252
+ condition: this.model.condition
253
+ }
254
+ }
255
+ }
256
+ }
257
+ </script>
258
+
259
+ <style scoped>
260
+ </style>