telephone-clients 4.0.0-1-89 → 4.0.0-1-91
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 +2 -2
- package/src/components/pc/MaintenanceWorker.vue +152 -0
- package/src/components/pc/NewRepairPaper.vue +704 -704
- package/src/components/pc/NewRepairTablePaper.vue +442 -442
- package/src/components/pc/WorkHistory.vue +650 -650
- package/src/components/pc/WorkListNew.vue +838 -838
- package/src/components/sendsingle/onlinecharge.vue +424 -424
- package/src/components/workorder/ChangeMeterPageNew.vue +663 -663
- package/src/components/workorder/ChangeMeterUserInfo.vue +130 -130
- package/src/components/workorder/RepairFirstV.vue +736 -736
- package/src/components/workorder/RepairInfo.vue +178 -178
- package/src/components/workorder/RepairOrderT.vue +713 -713
- package/src/components/workorder/oldMeterPage.vue +104 -104
- package/src/components/workorder/repairFirstTable.vue +715 -715
- package/src/filiale/jinhong/android/FaultAll.vue +936 -936
- package/src/filiale/jinhong/android/ZHihuanFirst.vue +540 -540
- package/src/filiale/jinhong/pc/WorkListAllNew.vue +884 -884
- package/src/filiale/jinhong/telephone.js +10 -10
- package/src/filiale/jinhong/telephoneAndroid.js +13 -13
- package/src/filiale/meihekou/android/Othercharge.vue +454 -454
- package/src/filiale/meihekou/android/PhoneStandWorkNew.vue +692 -692
- package/src/filiale/meihekou/android/ServiceOnlineQuery.vue +477 -477
- package/src/filiale/meihekou/pc/WorkListAllNew.vue +925 -901
- package/src/filiale/meihekou/pc/WorkListNew.vue +1113 -1049
- package/src/filiale/meihekou/telephoneAndroid.js +26 -26
- package/src/filiale/xinjiangdexin/telephone.js +16 -16
- package/src/filiale/xinliansihui/android/FaultAll.vue +923 -923
- package/src/filiale/xinliansihui/android/RepairFirstV.vue +734 -734
- package/src/filiale/xinliansihui/android/RepairOrderT.vue +713 -713
- package/src/main.js +1 -1
- package/src/telephone-android.js +425 -425
- package/src/telephone.js +799 -796
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "telephone-clients",
|
|
3
|
-
"version": "4.0.0-1-
|
|
3
|
+
"version": "4.0.0-1-91",
|
|
4
4
|
"description": "呼叫模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"system-phone": "1.2.100",
|
|
103
103
|
"terser-webpack-plugin-legacy": "^1.2.5",
|
|
104
104
|
"url-loader": "^0.5.7",
|
|
105
|
-
"vue-client": "1.25.
|
|
105
|
+
"vue-client": "1.25.42",
|
|
106
106
|
"vue-hot-reload-api": "^1.2.0",
|
|
107
107
|
"vue-html-loader": "^1.0.0",
|
|
108
108
|
"vue-loader": "^8.2.1",
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id='app' class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false'>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfsearch' class="search_area">
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group">
|
|
8
|
+
<label for="startDate" class="font_normal_body">维修员:</label>
|
|
9
|
+
<v-select
|
|
10
|
+
:max-height="120"
|
|
11
|
+
v-model="model.f_order_man"
|
|
12
|
+
:value.sync="model.f_order_man"
|
|
13
|
+
:value-single="true"
|
|
14
|
+
:options='$parent.$parent.repairers'
|
|
15
|
+
placeholder='选择接单人'
|
|
16
|
+
condition="f_order_man like '%{}%'"
|
|
17
|
+
close-on-select
|
|
18
|
+
></v-select>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label for="startDate" class="font_normal_body">派单开始日期:</label>
|
|
22
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
23
|
+
v-model="model.startDate"
|
|
24
|
+
:value.sync="model.startDate"
|
|
25
|
+
style="width: 60%;"
|
|
26
|
+
:disabled-days-of-Week="[]"
|
|
27
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
28
|
+
condition="f_created_date >= '{}'"
|
|
29
|
+
:show-reset-button="reset">
|
|
30
|
+
</datepicker>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-sm-2 form-group">
|
|
33
|
+
<label for="endDate" class="font_normal_body">派单结束日期:</label>
|
|
34
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
35
|
+
v-model="model.endDate"
|
|
36
|
+
:value.sync="model.endDate"
|
|
37
|
+
:disabled-days-of-Week="[]"
|
|
38
|
+
style="width: 60%;"
|
|
39
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
40
|
+
condition="f_created_date <= '{}'"
|
|
41
|
+
:show-reset-button="reset">
|
|
42
|
+
</datepicker>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="col-sm-2 form-group">
|
|
45
|
+
<label for="startDate" class="font_normal_body">完工开始日期:</label>
|
|
46
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
47
|
+
v-model="model.leavestartDate"
|
|
48
|
+
:value.sync="model.leavestartDate"
|
|
49
|
+
style="width: 60%;"
|
|
50
|
+
:disabled-days-of-Week="[]"
|
|
51
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
52
|
+
condition="f_date_leave >= '{}'"
|
|
53
|
+
:show-reset-button="reset">
|
|
54
|
+
</datepicker>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="col-sm-2 form-group">
|
|
57
|
+
<label for="endDate" class="font_normal_body">完工结束日期:</label>
|
|
58
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
59
|
+
v-model="model.leaveendDate"
|
|
60
|
+
:value.sync="model.leaveendDate"
|
|
61
|
+
:disabled-days-of-Week="[]"
|
|
62
|
+
style="width: 60%;"
|
|
63
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
64
|
+
condition="f_date_leave <= '{}'"
|
|
65
|
+
:show-reset-button="reset">
|
|
66
|
+
</datepicker>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="col-sm-4 form-group" style="margin-top: 8px">
|
|
69
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
70
|
+
<report-print class="button_export button_spacing" style="width:28%" id='meihekou'></report-print>
|
|
71
|
+
<report-excel class="button_export button_spacing" style="width:28%" id='meihekou'></report-excel>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</criteria>
|
|
76
|
+
<div partial='list' id='meihekou' class="list_area" style="overflow-y: scroll">
|
|
77
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
78
|
+
<thead>
|
|
79
|
+
<tr>
|
|
80
|
+
<th colspan='5' style="font-weight: normal; text-align: left;">
|
|
81
|
+
<h3 style="text-align: center">维修员统计报表</h3>
|
|
82
|
+
</th>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<th colspan='5' style="font-weight: normal; text-align: center;">
|
|
86
|
+
开始时间:{{model.model.startDate}}
|
|
87
|
+
结束时间:{{ model.model.endDate }}
|
|
88
|
+
</th>
|
|
89
|
+
</tr>
|
|
90
|
+
</thead>
|
|
91
|
+
<tr>
|
|
92
|
+
<th colspan='5' style="font-weight: normal;">
|
|
93
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
94
|
+
</th>
|
|
95
|
+
</tr>
|
|
96
|
+
</table>
|
|
97
|
+
</div>
|
|
98
|
+
</criteria-paged>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
</template>
|
|
102
|
+
|
|
103
|
+
<script>
|
|
104
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
|
105
|
+
export default {
|
|
106
|
+
title: '维修员统计报表',
|
|
107
|
+
data () {
|
|
108
|
+
let model = new DataModel('/api/af-safecheck/report/orderManReport',{
|
|
109
|
+
|
|
110
|
+
})
|
|
111
|
+
return {
|
|
112
|
+
filialeNameStr: '',
|
|
113
|
+
filialeCodeStr: '',
|
|
114
|
+
userid: this.$login.f.id,
|
|
115
|
+
model: model,
|
|
116
|
+
repairers: [],
|
|
117
|
+
search_source:`this.getResourceById($${this.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($维修员$)!=-1)`
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
methods: {
|
|
121
|
+
selfsearch(args){
|
|
122
|
+
args.condition+= ` and swo.f_filiale_id='${this.$login.f.orgid}'`
|
|
123
|
+
this.model.search(args.condition)
|
|
124
|
+
},
|
|
125
|
+
getEmp () {
|
|
126
|
+
let http = new HttpResetClass()
|
|
127
|
+
let val = {
|
|
128
|
+
source: this.search_source?this.search_source:`this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($维修员$)!=-1)`,
|
|
129
|
+
userid: `${this.$login.f.depids}`
|
|
130
|
+
}
|
|
131
|
+
http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
132
|
+
res.data.forEach((item) => {
|
|
133
|
+
if (item.state === '在职' || item.status === 0){
|
|
134
|
+
this.repairers.push({label: item.name, value: item.name})
|
|
135
|
+
}
|
|
136
|
+
})
|
|
137
|
+
})
|
|
138
|
+
},
|
|
139
|
+
getRes (obj) {
|
|
140
|
+
this.model.f_filialeid = this.$login.convertToIn(obj.resids)
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
ready () {
|
|
144
|
+
this.getEmp()
|
|
145
|
+
},
|
|
146
|
+
computed: {
|
|
147
|
+
selected () {
|
|
148
|
+
return this.$refs.grid.selected
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
</script>
|