telephone-clients 4.0.0-1-19 → 4.0.0-1-20

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telephone-clients",
3
- "version": "4.0.0-1-19",
3
+ "version": "4.0.0-1-20",
4
4
  "description": "呼叫模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -0,0 +1,116 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
5
+ <criteria partial='criteria' @condition-changed='search' class="search_area" v-ref:criteria>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-2">
9
+ <label class="font_normal_body">分公司:</label>
10
+ <right-tree @re-res="$parent.$parent.getRes" :initresid="$login.f.orgid"></right-tree>
11
+ </div>
12
+ <div class="form-group col-sm-2">
13
+ <label for="startDate" class="font_normal_body">开始日期:</label>
14
+ <datepicker id="startDate" placeholder="开始日期"
15
+ v-model="model.startDate"
16
+ :value.sync="model.startDate"
17
+ style="width: 60%;"
18
+ :disabled-days-of-Week="[]"
19
+ :format="'yyyy-MM-dd'"
20
+ :show-reset-button="reset">
21
+ </datepicker>
22
+ </div>
23
+ <div class="form-group col-sm-2">
24
+ <label for="endDate" class="font_normal_body">结束日期:</label>
25
+ <datepicker id="endDate" placeholder="结束日期"
26
+ v-model="model.endDate"
27
+ :value.sync="model.endDate"
28
+ :disabled-days-of-Week="[]"
29
+ style="width: 60%;"
30
+ :format="'yyyy-MM-dd'"
31
+ :show-reset-button="reset">
32
+ </datepicker>
33
+ </div>
34
+ <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
35
+ <button class="button_search button_spacing" @click="search()">查询</button>
36
+ <!-- <report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>-->
37
+ <report-excel class="button_export button_spacing" id='shexian'></report-excel>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ </criteria>
42
+ <div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
43
+ <table class='tableprint' style="margin: 0px auto">
44
+ <thead>
45
+ <tr>
46
+ <th colspan='10' style="font-weight: normal; text-align: left;">
47
+ <h3 style="text-align: center">{{ $parent.orgname }}话务员统计报表</h3>
48
+ </th>
49
+ </tr>
50
+ <tr>
51
+ <th colspan='5' style="font-weight: normal; text-align: center;">
52
+ 开始时间:{{ model.model.startDate }}
53
+ </th>
54
+
55
+ <th colspan='5' style="font-weight: normal; text-align: center;">
56
+ 结束时间:{{ model.model.endDate }}
57
+ </th>
58
+ </tr>
59
+ </thead>
60
+ <tr>
61
+ <th colspan='10' style="font-weight: normal;">
62
+ {{{model.data.substring(26, model.data.length - 8)}}}
63
+ </th>
64
+ </tr>
65
+ </table>
66
+ </div>
67
+ </criteria-paged>
68
+ </div>
69
+ </div>
70
+
71
+ </template>
72
+
73
+ <script>
74
+ import {DataModel} from 'vue-client'
75
+ import * as Util from '../Util'
76
+
77
+ export default {
78
+ title: '话务员统计报表',
79
+ data () {
80
+
81
+ let model = new DataModel('rs/telephone/report/huawutj', {
82
+ startDate: 'this.model.startDate',
83
+ endDate: 'this.model.endDate',
84
+ f_filialeid: 'this.f_filialeid'
85
+ })
86
+ model.f_filialeid = '(' + this.$login.f.orgid + ')'
87
+ return {
88
+ filialeNameStr: '',
89
+ filialeCodeStr: '',
90
+ orgname: '',
91
+ userid: this.$login.f.id,
92
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
93
+ model: model
94
+ }
95
+ },
96
+ methods: {
97
+ getRes (obj) {
98
+ this.orgname = obj.res[0]
99
+ this.$set('orgname', obj.res[0])
100
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids)
101
+ }
102
+ },
103
+ ready () {
104
+ console.log("998993")
105
+ this.orgname = this.$login.f.orgs
106
+ this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardTimeString().substring(0, 10)
107
+ this.$refs.paged.$refs.criteria.model.startDate = Util.getPreMonth(this.$refs.paged.$refs.criteria.model.endDate)
108
+
109
+ },
110
+ computed: {
111
+ selected () {
112
+ return this.$refs.grid.selected
113
+ }
114
+ }
115
+ }
116
+ </script>
@@ -60,11 +60,11 @@
60
60
  </div>-->
61
61
 
62
62
  </div>
63
- <div class="row" v-if="complaint=='done'">
64
- <div class="col-sm-6 form-group form-fix-width" v-if="complaintType">
65
- <label class=" font_normal_body" style="width: 30%">处理方式</label>
66
- <v-select :value="complaintType" :value-single="true"
67
- v-model="complaintType"
63
+ <div class="row" v-if="complaint">
64
+ <div class="col-sm-6 form-group form-fix-width">
65
+ <label class=" font_normal_body" style="width: 30%">投诉类型</label>
66
+ <v-select :value="model.f_complaint_type" :value-single="true"
67
+ v-model="model.f_complaint_type"
68
68
  :options='complaintTypes'
69
69
  close-on-select
70
70
  style="width: 60%"></v-select>
@@ -176,7 +176,6 @@ export default {
176
176
  'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
177
177
  'tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))',
178
178
  userid: this.$login.f.id,
179
- complaintType:'',
180
179
  complaintTypes:this.$appdate.getParam('投诉类型'),
181
180
  complaint:true
182
181
  }
package/src/telephone.js CHANGED
@@ -759,6 +759,9 @@ export default function(filiale, guoxin) {
759
759
  Vue.component('old-work-list', (resolve) => {
760
760
  require(['./components/pc/olddata/OldWorkList'], resolve)
761
761
  })
762
+ Vue.component('telephone-operator-report', (resolve) => {
763
+ require(['./components/workorder/TelephoneOperatorReport'], resolve)
764
+ })
762
765
  Vue.component('sale-material-display-tel', (resolve) => { require(['./components/MaterialsManage/MaterialsList'], resolve) })
763
766
  Vue.component('sale-material-manage-tel', (resolve) => { require(['./components/MaterialsManage/MaterialsManage'], resolve) })
764
767
  Vue.component('sale-materials-base-tel', (resolve) => { require(['./components/MaterialsManage/MaterialsBase'], resolve) })