telephone-clients 3.0.103-8 → 3.0.103-9
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
CHANGED
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged >
|
|
4
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
5
|
+
<div novalidate class="select-overspread form-horizontal" partial>
|
|
6
|
+
<div class="row" >
|
|
7
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
8
|
+
<label class="font_normal_body" style="width: 40%">用户编号</label>
|
|
9
|
+
<input type="text" class="form-control" v-model="model.f_userid" placeholder='用户编号'
|
|
10
|
+
condition="f_userid like '%{}%'"
|
|
11
|
+
:size="model.f_userid ? model.f_userid.length : 7">
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
14
|
+
<label class="font_normal_body" style="width: 40%">用户姓名</label>
|
|
15
|
+
<input type="text" class="form-control" v-model="model.f_username" placeholder='用户姓名'
|
|
16
|
+
condition="f_username like '%{}%'"
|
|
17
|
+
:size="model.f_username ? model.f_username.length : 7">
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
20
|
+
<label class="font_normal_body" style="width: 40%">来电电话</label>
|
|
21
|
+
<input type="text" class="form-control" v-model="model.f_linktype" placeholder='来电电话'
|
|
22
|
+
condition="f_linktype like '%{}%'"
|
|
23
|
+
:size="model.f_linktype ? model.f_linktype.length : 7">
|
|
24
|
+
</div>
|
|
25
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
26
|
+
<label class="font_normal_body" style="width: 40%">用户电话</label>
|
|
27
|
+
<input type="text" class="form-control" v-model="model.f_phone" placeholder='用户电话'
|
|
28
|
+
condition="f_phone like '%{}%'"
|
|
29
|
+
:size="model.f_phone ? model.f_phone.length : 7">
|
|
30
|
+
</div>
|
|
31
|
+
<div style="float: right;" class="form-group span">
|
|
32
|
+
<button type="button" name="button"
|
|
33
|
+
class="button_search button_spacing" @click="search(),$dispatch('search')">查询</button>
|
|
34
|
+
<button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;"
|
|
35
|
+
class="button_spacing button_search" @click="$parent.$parent.clearmsg">清空</button>
|
|
36
|
+
<div style="float: right;" class="button_spacing button_search"
|
|
37
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
38
|
+
@click="$parent.$parent.hidden()"></div>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
42
|
+
<label class="font_normal_body" style="width: 40%">开始时间</label>
|
|
43
|
+
<datepicker placeholder="来电开始时间"
|
|
44
|
+
:value.sync="model.f_created_startdate"
|
|
45
|
+
v-model="model.f_created_startdate"
|
|
46
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
47
|
+
condition="f_reporttime > '{}'"
|
|
48
|
+
></datepicker>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
51
|
+
<label class="font_normal_body" style="width: 40%">结束时间</label>
|
|
52
|
+
<datepicker placeholder="来电结束时间"
|
|
53
|
+
:value.sync="model.f_created_enddate"
|
|
54
|
+
v-model="model.f_created_enddate"
|
|
55
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
56
|
+
condition="f_reporttime < '{}'"
|
|
57
|
+
></datepicker>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
60
|
+
<label class="font_normal_body" style="width: 40%">表  号</label>
|
|
61
|
+
<input type="text" class="form-control" v-model="model.f_meternumber" placeholder='表号'
|
|
62
|
+
condition="f_meternumber like '%{}%'"
|
|
63
|
+
:size="model.f_meternumber ? model.f_meternumber.length : 7">
|
|
64
|
+
</div>
|
|
65
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" >
|
|
66
|
+
<label class="font_normal_body" style="width: 40%" title="用户类型">用户类型</label>
|
|
67
|
+
<v-select :value.sync="model.f_usertype" :value-single="true"
|
|
68
|
+
v-model="model.f_usertype"
|
|
69
|
+
condition="f_usertype ='{}'"
|
|
70
|
+
:options='$parent.$parent.usertypes' placeholder='用户类型'
|
|
71
|
+
close-on-select >
|
|
72
|
+
</v-select>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" >
|
|
75
|
+
<label class="font_normal_body" style="width: 40%" title="旧报修类型">报修类型</label>
|
|
76
|
+
<v-select :value.sync="model.f_repairtype" :value-single="true"
|
|
77
|
+
v-model="model.f_repairtype"
|
|
78
|
+
condition="f_repairtype ='{}'"
|
|
79
|
+
:options='$parent.$parent.repairtypes' placeholder='报修类型'
|
|
80
|
+
close-on-select >
|
|
81
|
+
</v-select>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
84
|
+
<label class="font_normal_body" style="width: 40%">话 务 员</label>
|
|
85
|
+
<input type="text" class="form-control" v-model="model.f_operator" placeholder='话务员'
|
|
86
|
+
condition="f_operator like '%{}%'"
|
|
87
|
+
:size="model.f_operator ? model.f_operator.length : 7">
|
|
88
|
+
</div>
|
|
89
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
90
|
+
<label class="font_normal_body" style="width: 40%">接 单 员</label>
|
|
91
|
+
<input type="text" class="form-control" v-model="model.f_accepter" placeholder='接单员'
|
|
92
|
+
condition="f_accepter like '%{}%'"
|
|
93
|
+
:size="model.f_accepter ? model.f_accepter.length : 7">
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
</div>
|
|
99
|
+
</criteria>
|
|
100
|
+
<data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
|
|
101
|
+
<template partial='head'>
|
|
102
|
+
<tr>
|
|
103
|
+
<th><nobr>用户编号</nobr></th>
|
|
104
|
+
<th><nobr>用户信息</nobr></th>
|
|
105
|
+
<th><nobr>来电电话</nobr></th>
|
|
106
|
+
<th><nobr>来电时间</nobr></th>
|
|
107
|
+
<th><nobr>表信息</nobr></th>
|
|
108
|
+
<th><nobr>累够</nobr></th>
|
|
109
|
+
<th><nobr>来电方式</nobr></th>
|
|
110
|
+
<th><nobr>报修类型</nobr></th>
|
|
111
|
+
<th><nobr>话务员信息</nobr></th>
|
|
112
|
+
<th><nobr>维修备注</nobr></th>
|
|
113
|
+
<th><nobr>工单编号</nobr></th>
|
|
114
|
+
<th><nobr>处理方式</nobr></th>
|
|
115
|
+
<th><nobr>是否处理</nobr></th>
|
|
116
|
+
<th><nobr>派单人</nobr></th>
|
|
117
|
+
<th><nobr>派单时间</nobr></th>
|
|
118
|
+
<th><nobr>接单人信息</nobr></th>
|
|
119
|
+
<th><nobr>维修信息</nobr></th>
|
|
120
|
+
<th><nobr>完成状态</nobr></th>
|
|
121
|
+
<th><nobr>是否回访</nobr></th>
|
|
122
|
+
<th><nobr>回访人</nobr></th>
|
|
123
|
+
<th><nobr>用户意见</nobr>
|
|
124
|
+
</tr>
|
|
125
|
+
</template>
|
|
126
|
+
<template partial='body' >
|
|
127
|
+
<td>{{row.f_userid}}</td>
|
|
128
|
+
<td>{{row.f_username}} {{row.f_address}} {{row.f_phone}}</td>
|
|
129
|
+
<td>{{row.f_linktype}}</td>
|
|
130
|
+
<td>{{row.f_reporttime}}</td>
|
|
131
|
+
<td>{{row.f_meternumber}} {{row.f_metertype}} {{row.f_aroundmeter}}</td>
|
|
132
|
+
<td>{{row.f_metergasnums}}</td>
|
|
133
|
+
<td>{{row.f_teltype}}</td>
|
|
134
|
+
<td>{{row.f_repairtype}}</td>
|
|
135
|
+
<td>{{row.f_operator}} {{row.f_department}}</td>
|
|
136
|
+
<td>{{row.f_repairreason}}</td>
|
|
137
|
+
<td>{{row.f_cucode}}</td>
|
|
138
|
+
<td>{{row.f_dealtype}}</td>
|
|
139
|
+
<td>{{row.f_havadeal}}</td>
|
|
140
|
+
<td>{{row.f_sender}}</td>
|
|
141
|
+
<td>{{row.f_senddate}}</td>
|
|
142
|
+
<td>{{row.f_accepter}} {{row.f_acceptertel}}</td>
|
|
143
|
+
<td>{{row.f_smwxjl}}</td>
|
|
144
|
+
<td>{{row.f_havacomplete}}</td>
|
|
145
|
+
<td>{{row.f_ifvisit}}</td>
|
|
146
|
+
<td>{{row.f_visitren}}</td>
|
|
147
|
+
<td>{{row.f_consumeroption}}</td>
|
|
148
|
+
</template>
|
|
149
|
+
</data-grid>
|
|
150
|
+
</criteria-paged>
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
</template>
|
|
154
|
+
|
|
155
|
+
<script>
|
|
156
|
+
import {HttpResetClass, PagedList} from "vue-client";
|
|
157
|
+
|
|
158
|
+
export default {
|
|
159
|
+
title: "旧工单列表",
|
|
160
|
+
data () {
|
|
161
|
+
return {
|
|
162
|
+
criteriaShow: false,
|
|
163
|
+
model: new PagedList('rs/sql/tel_singleTable_OrderBy', 8, {items: '"*"', tablename: '"t_oldserviceworkorder"', orderitem: '"f_reporttime desc"'}),
|
|
164
|
+
row: null,
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
ready () {
|
|
168
|
+
},
|
|
169
|
+
methods: {
|
|
170
|
+
hidden () {
|
|
171
|
+
this.criteriaShow = !this.criteriaShow
|
|
172
|
+
},
|
|
173
|
+
search(args) {
|
|
174
|
+
this.model.search(args.condition, args.model)
|
|
175
|
+
},
|
|
176
|
+
clearmsg(){
|
|
177
|
+
this.$refs.paged.$refs.criteria.model={}
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
computed: {
|
|
181
|
+
usertypes(){
|
|
182
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
183
|
+
},
|
|
184
|
+
repairtypes(){
|
|
185
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('旧报修类型')]
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
</script>
|
|
190
|
+
|
|
191
|
+
<style lang="less">
|
|
192
|
+
|
|
193
|
+
</style>
|
package/src/telephone.js
CHANGED
|
@@ -706,6 +706,9 @@ export default function (filiale,guoxin) {
|
|
|
706
706
|
Vue.component('text-info-right', (resolve) => {
|
|
707
707
|
require(['./components/pc/TextInfoRight'], resolve)
|
|
708
708
|
})
|
|
709
|
+
Vue.component('old-work-list', (resolve) => {
|
|
710
|
+
require(['./components/pc/olddata/OldWorkList'], resolve)
|
|
711
|
+
})
|
|
709
712
|
Vue.component('material-display-tel', (resolve) => { require(['./components/MaterialsManage/MaterialsList'], resolve) })
|
|
710
713
|
Vue.component('material-manage-tel', (resolve) => { require(['./components/MaterialsManage/MaterialsManage'], resolve) })
|
|
711
714
|
Vue.component('materials-base-tel', (resolve) => { require(['./components/MaterialsManage/MaterialsBase'], resolve) })
|