telephone-clients 3.0.104-65 → 3.0.104-66

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": "3.0.104-65",
3
+ "version": "3.0.104-66",
4
4
  "description": "呼叫模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,264 +1,264 @@
1
- <template >
2
- <div class="flex-row">
3
- <div id="stand-work-list" class="flex bg-white p-10 basic-main" style="flex-direction: row">
4
- <div style="width: 40%;height: 100%" v-show="leftShow">
5
- <div class="row" style="height: 10%;width: 50%">
6
- <div class="form-group form-input-group" style="display: flex;justify-content: flex-start">
7
- <label class="font_normal_body" style="width: 40%">查询日期</label>
8
- <datepicker placeholder="查询日期"
9
- :value.sync="searchDate"
10
- v-model="searchDate"
11
- :format="'yyyy-MM-dd 00:00:00'"
12
- ></datepicker>
13
- <button type="button" name="button"
14
- class="button_search button_spacing" style="z-index: 2" @click="searchEcharts()">查询</button>
15
- </div>
16
- </div>
17
- <div style="height: 45%;" id="husunzhexian1"></div>
18
- <div style="height: 45%;" id="husunzhexian2"></div>
19
- </div>
20
- <div class="span" style="width: 60%;overflow: auto">
21
- <visit-info v-if="showVisit" :phone="wavflie" :idwavfile="idwavfile" :outltime="outltime" @show-obj="watchShow"></visit-info>
22
- <criteria-paged :model="model" v-else v-ref:paged>
23
- <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
24
- <div novalidate class="form-inline" partial>
25
- <div class="row">
26
- <div class="col-sm-3 form-group form-input-group">
27
- <label class="font_normal_body" style="width: 35%">电话号码</label>
28
- <input type="text" class="input_search" v-model="model.telnum" placeholder='电话号码'
29
- condition="telnum like '%{}%'"
30
- :size="model.telnum ? model.telnum.length : 7">
31
- </div>
32
-
33
- <div class="col-sm-3 form-group form-input-group">
34
- <label class="font_normal_body" style="width: 40%">来电时间</label>
35
- <datepicker placeholder="来电时间"
36
- :value.sync="model.f_date"
37
- v-model="model.f_date"
38
- :format="'yyyy-MM-dd 00:00:00'"
39
- condition="outltime > '{}'"
40
- ></datepicker>
41
- </div>
42
- <div class="col-sm-3 form-group form-input-group">
43
- <label class="font_normal_body" style="width: 35%">回访状态</label>
44
- <v-select :value.sync="model.f_flghuifang"
45
- :options='$parent.$parent.huifangs'
46
- :value-single="true"
47
- placeholder='请选择回访状态'
48
- close-on-select
49
- style="width: 60%"
50
- ></v-select>
51
- </div>
52
- <div style="float: right;" class="form-group span">
53
- <button type="button" name="button"
54
- class="button_search button_spacing" @click="search(),$dispatch('search')" style="z-index: 2">查询</button>
55
- <export-excel-tel
56
- :data="$parent.$parent.searchData"
57
- :field="$parent.$parent.excelHeaders"
58
- sqlurl="rs/logic/telephoneExport" sql-name="tel_singleTable_OrderBy" template-name='呼损记录导出'
59
- :choose-col="false">
60
- </export-excel-tel>
61
- </div>
62
- </div>
63
- </div>
64
- </criteria>
65
- <data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
66
- <template partial='head'>
67
- <tr>
68
- <th><nobr>电话号码</nobr></th>
69
- <th><nobr>来电时间</nobr></th>
70
- <th><nobr>操作</nobr></th>
71
- </tr>
72
- </template>
73
- <template partial='body'>
74
- <td style="text-align: center">{{row.telnum}}</td>
75
- <td style="text-align: center">{{row.outltime}}</td>
76
- <td style="text-align: center">
77
- <button-link v-show="!row.f_flghuifang" type="button" class="btn btn-link" @click="$parent.$parent.$parent.playWav(row.telnum,row.id)">回拨</button-link>
78
- </td>
79
- </template>
80
- </data-grid>
81
- </criteria-paged>
82
- </div>
83
- </div>
84
- </div>
85
- <!-- <modal :show.sync="showVisit" v-ref:modal backdrop="false">-->
86
- <!-- <header slot="modal-header" class="modal-header">-->
87
- <!-- </header>-->
88
- <!-- <article slot="modal-body" class="modal-body">-->
89
- <!-- <visit-info v-if="showVisit" :phone="wavflie" :idwavfile="idwavfile" :outltime="outltime" @show-obj="watchShow"></visit-info>-->
90
- <!-- </article>-->
91
- <!-- <footer slot="modal-footer" class="modal-footer">-->
92
- <!-- </footer>-->
93
- <!-- </modal>-->
94
- </template>
95
-
96
- <script>
97
- import {HttpResetClass, PagedList} from 'vue-client'
98
- import * as Util from '../Util'
99
- import {addDate} from "../Util";
100
- export default {
101
- title: '呼损记录',
102
- data () {
103
- return {
104
- model: new PagedList('rs/sql/tel_singleTable_OrderBy', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
105
- row: null,
106
- show: false,
107
- wavflie : '',
108
- idwavfile:'',
109
- leftShow:true,
110
- searchDate:Util.toStandardDateString(),
111
- orderMan: '',
112
- msgs: [],
113
- huifangs:[{label:"全部",value:""},{label:"已回访",value:"已回访"},{label:"未回访",value:"未回访"}],
114
- service: Object,
115
- pendingCount: 0,
116
- serobj:Object,
117
- showVisit:false,
118
- outltime:this.getNowFormatDate(),
119
- searchData:{
120
- items: "*",
121
- tablename: "t_records",
122
- orderitem: "outltime desc",
123
- condition: '1=1'
124
- },
125
- excelHeaders: {
126
- 'telnum': '电话号码',
127
- 'outltime': '来电时间',
128
- },
129
- }
130
- },
131
- ready () {
132
- this.$refs.paged.$refs.criteria.model.f_flghuifang = '未回访'
133
- this.leftShow = (this.$parent.leftShow == undefined ? true : this.$parent.leftShow)
134
- this.renderEcharts(Util.toStandardDateString())
135
- // this.selfSearch()
136
-
137
- },
138
- methods: {
139
- searchEcharts(){
140
- console.log("9334",this.searchDate)
141
- this.renderEcharts(this.searchDate)
142
- },
143
- //获取当前日期
144
- renderEcharts(date){
145
- console.log("933",Util.addDate(3,date),Util.addDate(-3),date)
146
- new HttpResetClass().load("post",'rs/sql/getLossPhoneByTime',{
147
- data:{
148
- groupitem:'SUBSTRING(outltime, 0, 11)',
149
- condition:`outltime>='${Util.addDate(-3,date)} 00:00:00' and outltime<='${Util.addDate(3,date)} 23:59:59'`
150
- }
151
- },{resolveMsg:null,rejectMsg:null}).then(res=>{
152
- let myChart1 = this.$echarts.init(document.getElementById(("husunzhexian1")))
153
- myChart1.setOption(this.getAOptions("呼损日分析表",res.data))
154
- })
155
-
156
- new HttpResetClass().load("post",'rs/sql/getLossPhoneByTime',{
157
- data:{
158
- groupitem:"SUBSTRING(outltime, 12, 2)+':00'",
159
- condition:`outltime>='${Util.toStandardDateString(date)} 08:00:00' and outltime<='${Util.toStandardDateString(date)} 18:59:59'`
160
- }
161
- },{resolveMsg:null,rejectMsg:null}).then(res=>{
162
- let myChart1 = this.$echarts.init(document.getElementById(("husunzhexian2")))
163
- myChart1.setOption(this.getAOptions("呼损时分析表",res.data))
164
- })
165
- },
166
- getAOptions(title,arr){
167
-
168
- return {
169
- color: ['rgb(155,214,129)', '#73c0de'],
170
- title: {
171
- text: title
172
- },
173
- tooltip: {
174
- trigger: 'axis'
175
- },
176
- legend: {
177
- data: ['忙线', '未接']
178
- },
179
- grid: {
180
- left: '3%',
181
- right: '4%',
182
- bottom: '3%',
183
- containLabel: true
184
- },
185
- toolbox: {
186
- feature: {
187
- saveAsImage: {}
188
- }
189
- },
190
- xAxis: {
191
- type: 'category',
192
- boundaryGap: false,
193
- data: arr.map(item=>{
194
- if(title === '呼损日分析表'){
195
- return item.timearea.substr(5,5)
196
- }
197
- return item.timearea
198
- })
199
- },
200
- yAxis: {
201
- type: 'value'
202
- },
203
- series: [
204
- {
205
- name: '未接',
206
- type: 'line',
207
- stack: 'Total',
208
- data: arr.map(item=>item.weijie)
209
- },
210
- {
211
- name: '忙线',
212
- type: 'line',
213
- stack: 'Total',
214
- data: arr.map(item=>item.zhanxian)
215
- },
216
- ]
217
- }
218
- },
219
- getNowFormatDate() {
220
- var date = new Date();
221
- var seperator1 = "-";
222
- var month = date.getMonth() + 1;
223
- var strDate = date.getDate();
224
- if (month >= 1 && month <= 9) {
225
- month = "0" + month;
226
- }
227
- if (strDate >= 0 && strDate <= 9) {
228
- strDate = "0" + strDate;
229
- }
230
- var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate + ' 23:59:59'
231
- return currentdate;
232
- },
233
- watchShow(val){
234
- this.showVisit = val
235
- },
236
- clearVisit(){
237
- this.show = false
238
- },
239
- playWav(val,val1){
240
- if (!this.leftShow){
241
- this.$parent.setUserPhone(val)
242
- }
243
- this.wavflie=val;
244
- this.idwavfile=val1
245
- this.showVisit = true
246
- },
247
- closemodel () {
248
- this.showVisit = false
249
- },
250
- search(args) {
251
- if(args.model.f_flghuifang){
252
- if(args.model.f_flghuifang==='已回访'){
253
- args.condition += ` and f_flghuifang = '已回访'`
254
- }else{
255
- args.condition += ` and f_flghuifang is null`
256
- }
257
- }
258
- args.condition += " AND isnull(starttime,'') = '' AND isnull(findtime,'') != ''"
259
- this.searchData.condition = args.condition
260
- this.model.search(args.condition)
261
- },
262
- },
263
- }
264
- </script>
1
+ <template >
2
+ <div class="flex-row">
3
+ <div id="stand-work-list" class="flex bg-white p-10 basic-main" style="flex-direction: row">
4
+ <div style="width: 40%;height: 100%" v-show="leftShow">
5
+ <div class="row" style="height: 10%;width: 50%">
6
+ <div class="form-group form-input-group" style="display: flex;justify-content: flex-start">
7
+ <label class="font_normal_body" style="width: 40%">查询日期</label>
8
+ <datepicker placeholder="查询日期"
9
+ :value.sync="searchDate"
10
+ v-model="searchDate"
11
+ :format="'yyyy-MM-dd HH:mm:ss'"
12
+ ></datepicker>
13
+ <button type="button" name="button"
14
+ class="button_search button_spacing" style="z-index: 2" @click="searchEcharts()">查询</button>
15
+ </div>
16
+ </div>
17
+ <div style="height: 45%;" id="husunzhexian1"></div>
18
+ <div style="height: 45%;" id="husunzhexian2"></div>
19
+ </div>
20
+ <div class="span" style="width: 60%;overflow: auto">
21
+ <visit-info v-if="showVisit" :phone="wavflie" :idwavfile="idwavfile" :outltime="outltime" @show-obj="watchShow"></visit-info>
22
+ <criteria-paged :model="model" v-else v-ref:paged>
23
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
24
+ <div novalidate class="form-inline" partial>
25
+ <div class="row">
26
+ <div class="col-sm-3 form-group form-input-group">
27
+ <label class="font_normal_body" style="width: 35%">电话号码</label>
28
+ <input type="text" class="input_search" v-model="model.telnum" placeholder='电话号码'
29
+ condition="telnum like '%{}%'"
30
+ :size="model.telnum ? model.telnum.length : 7">
31
+ </div>
32
+
33
+ <div class="col-sm-3 form-group form-input-group">
34
+ <label class="font_normal_body" style="width: 40%">来电时间</label>
35
+ <datepicker placeholder="来电时间"
36
+ :value.sync="model.f_date"
37
+ v-model="model.f_date"
38
+ :format="'yyyy-MM-dd HH:mm:ss'"
39
+ condition="outltime > '{}'"
40
+ ></datepicker>
41
+ </div>
42
+ <div class="col-sm-3 form-group form-input-group">
43
+ <label class="font_normal_body" style="width: 35%">回访状态</label>
44
+ <v-select :value.sync="model.f_flghuifang"
45
+ :options='$parent.$parent.huifangs'
46
+ :value-single="true"
47
+ placeholder='请选择回访状态'
48
+ close-on-select
49
+ style="width: 60%"
50
+ ></v-select>
51
+ </div>
52
+ <div style="float: right;" class="form-group span">
53
+ <button type="button" name="button"
54
+ class="button_search button_spacing" @click="search(),$dispatch('search')" style="z-index: 2">查询</button>
55
+ <export-excel-tel
56
+ :data="$parent.$parent.searchData"
57
+ :field="$parent.$parent.excelHeaders"
58
+ sqlurl="rs/logic/telephoneExport" sql-name="tel_singleTable_OrderBy" template-name='呼损记录导出'
59
+ :choose-col="false">
60
+ </export-excel-tel>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </criteria>
65
+ <data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
66
+ <template partial='head'>
67
+ <tr>
68
+ <th><nobr>电话号码</nobr></th>
69
+ <th><nobr>来电时间</nobr></th>
70
+ <th><nobr>操作</nobr></th>
71
+ </tr>
72
+ </template>
73
+ <template partial='body'>
74
+ <td style="text-align: center">{{row.telnum}}</td>
75
+ <td style="text-align: center">{{row.outltime}}</td>
76
+ <td style="text-align: center">
77
+ <button-link v-show="!row.f_flghuifang" type="button" class="btn btn-link" @click="$parent.$parent.$parent.playWav(row.telnum,row.id)">回拨</button-link>
78
+ </td>
79
+ </template>
80
+ </data-grid>
81
+ </criteria-paged>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ <!-- <modal :show.sync="showVisit" v-ref:modal backdrop="false">-->
86
+ <!-- <header slot="modal-header" class="modal-header">-->
87
+ <!-- </header>-->
88
+ <!-- <article slot="modal-body" class="modal-body">-->
89
+ <!-- <visit-info v-if="showVisit" :phone="wavflie" :idwavfile="idwavfile" :outltime="outltime" @show-obj="watchShow"></visit-info>-->
90
+ <!-- </article>-->
91
+ <!-- <footer slot="modal-footer" class="modal-footer">-->
92
+ <!-- </footer>-->
93
+ <!-- </modal>-->
94
+ </template>
95
+
96
+ <script>
97
+ import {HttpResetClass, PagedList} from 'vue-client'
98
+ import * as Util from '../Util'
99
+ import {addDate} from "../Util";
100
+ export default {
101
+ title: '呼损记录',
102
+ data () {
103
+ return {
104
+ model: new PagedList('rs/sql/tel_singleTable_OrderBy', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
105
+ row: null,
106
+ show: false,
107
+ wavflie : '',
108
+ idwavfile:'',
109
+ leftShow:true,
110
+ searchDate:Util.toStandardDateString(),
111
+ orderMan: '',
112
+ msgs: [],
113
+ huifangs:[{label:"全部",value:""},{label:"已回访",value:"已回访"},{label:"未回访",value:"未回访"}],
114
+ service: Object,
115
+ pendingCount: 0,
116
+ serobj:Object,
117
+ showVisit:false,
118
+ outltime:this.getNowFormatDate(),
119
+ searchData:{
120
+ items: "*",
121
+ tablename: "t_records",
122
+ orderitem: "outltime desc",
123
+ condition: '1=1'
124
+ },
125
+ excelHeaders: {
126
+ 'telnum': '电话号码',
127
+ 'outltime': '来电时间',
128
+ },
129
+ }
130
+ },
131
+ ready () {
132
+ this.$refs.paged.$refs.criteria.model.f_flghuifang = '未回访'
133
+ this.leftShow = (this.$parent.leftShow == undefined ? true : this.$parent.leftShow)
134
+ this.renderEcharts(Util.toStandardDateString())
135
+ // this.selfSearch()
136
+
137
+ },
138
+ methods: {
139
+ searchEcharts(){
140
+ console.log("9334",this.searchDate)
141
+ this.renderEcharts(this.searchDate)
142
+ },
143
+ //获取当前日期
144
+ renderEcharts(date){
145
+ console.log("933",Util.addDate(3,date),Util.addDate(-3),date)
146
+ new HttpResetClass().load("post",'rs/sql/getLossPhoneByTime',{
147
+ data:{
148
+ groupitem:'SUBSTRING(outltime, 0, 11)',
149
+ condition:`outltime>='${Util.addDate(-3,date)} 00:00:00' and outltime<='${Util.addDate(3,date)} 23:59:59'`
150
+ }
151
+ },{resolveMsg:null,rejectMsg:null}).then(res=>{
152
+ let myChart1 = this.$echarts.init(document.getElementById(("husunzhexian1")))
153
+ myChart1.setOption(this.getAOptions("呼损日分析表",res.data))
154
+ })
155
+
156
+ new HttpResetClass().load("post",'rs/sql/getLossPhoneByTime',{
157
+ data:{
158
+ groupitem:"SUBSTRING(outltime, 12, 2)+':00'",
159
+ condition:`outltime>='${Util.toStandardDateString(date)} 08:00:00' and outltime<='${Util.toStandardDateString(date)} 18:59:59'`
160
+ }
161
+ },{resolveMsg:null,rejectMsg:null}).then(res=>{
162
+ let myChart1 = this.$echarts.init(document.getElementById(("husunzhexian2")))
163
+ myChart1.setOption(this.getAOptions("呼损时分析表",res.data))
164
+ })
165
+ },
166
+ getAOptions(title,arr){
167
+
168
+ return {
169
+ color: ['rgb(155,214,129)', '#73c0de'],
170
+ title: {
171
+ text: title
172
+ },
173
+ tooltip: {
174
+ trigger: 'axis'
175
+ },
176
+ legend: {
177
+ data: ['忙线', '未接']
178
+ },
179
+ grid: {
180
+ left: '3%',
181
+ right: '4%',
182
+ bottom: '3%',
183
+ containLabel: true
184
+ },
185
+ toolbox: {
186
+ feature: {
187
+ saveAsImage: {}
188
+ }
189
+ },
190
+ xAxis: {
191
+ type: 'category',
192
+ boundaryGap: false,
193
+ data: arr.map(item=>{
194
+ if(title === '呼损日分析表'){
195
+ return item.timearea.substr(5,5)
196
+ }
197
+ return item.timearea
198
+ })
199
+ },
200
+ yAxis: {
201
+ type: 'value'
202
+ },
203
+ series: [
204
+ {
205
+ name: '未接',
206
+ type: 'line',
207
+ stack: 'Total',
208
+ data: arr.map(item=>item.weijie)
209
+ },
210
+ {
211
+ name: '忙线',
212
+ type: 'line',
213
+ stack: 'Total',
214
+ data: arr.map(item=>item.zhanxian)
215
+ },
216
+ ]
217
+ }
218
+ },
219
+ getNowFormatDate() {
220
+ var date = new Date();
221
+ var seperator1 = "-";
222
+ var month = date.getMonth() + 1;
223
+ var strDate = date.getDate();
224
+ if (month >= 1 && month <= 9) {
225
+ month = "0" + month;
226
+ }
227
+ if (strDate >= 0 && strDate <= 9) {
228
+ strDate = "0" + strDate;
229
+ }
230
+ var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate + ' 23:59:59'
231
+ return currentdate;
232
+ },
233
+ watchShow(val){
234
+ this.showVisit = val
235
+ },
236
+ clearVisit(){
237
+ this.show = false
238
+ },
239
+ playWav(val,val1){
240
+ if (!this.leftShow){
241
+ this.$parent.setUserPhone(val)
242
+ }
243
+ this.wavflie=val;
244
+ this.idwavfile=val1
245
+ this.showVisit = true
246
+ },
247
+ closemodel () {
248
+ this.showVisit = false
249
+ },
250
+ search(args) {
251
+ if(args.model.f_flghuifang){
252
+ if(args.model.f_flghuifang==='已回访'){
253
+ args.condition += ` and f_flghuifang = '已回访'`
254
+ }else{
255
+ args.condition += ` and f_flghuifang is null`
256
+ }
257
+ }
258
+ args.condition += " AND isnull(starttime,'') = '' AND isnull(findtime,'') != ''"
259
+ this.searchData.condition = args.condition
260
+ this.model.search(args.condition)
261
+ },
262
+ },
263
+ }
264
+ </script>
@@ -1,98 +1,98 @@
1
- <template>
2
- <div id='app' class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.search' class="search_area" v-ref:criteria>
5
- <div novalidate class="form-inline auto" partial>
6
- <div class="row">
7
- <div class="col-sm-2 form-group">
8
- <label for="startDate" class="font_normal_body">开始日期:</label>
9
- <datepicker id="startDate" placeholder="开始日期"
10
- v-model="model.startDate"
11
- :value.sync="model.startDate"
12
- style="width: 60%;"
13
- :disabled-days-of-Week="[]"
14
- :format="'yyyy-MM-dd'"
15
- :show-reset-button="reset">
16
- </datepicker>
17
- </div>
18
- <div class="col-sm-2 form-group">
19
- <label for="endDate" class="font_normal_body">结束日期:</label>
20
- <datepicker id="endDate" placeholder="结束日期"
21
- v-model="model.endDate"
22
- :value.sync="model.endDate"
23
- :disabled-days-of-Week="[]"
24
- style="width: 60%;"
25
- :format="'yyyy-MM-dd'"
26
- :show-reset-button="reset">
27
- </datepicker>
28
- </div>
29
- <div class="col-sm-3 form-group" style="margin-top: 8px">
30
- <button class="button_search button_spacing" @click="search()">查询</button>
31
- <report-print class="button_export button_spacing" style="width:28%" ></report-print>
32
- <report-excel class="button_export button_spacing" style="width:28%" ></report-excel>
33
- </div>
34
- </div>
35
- </div>
36
- </criteria>
37
- <div partial='list' class="list_area" style="overflow-y: scroll;position:relative">
38
- <table class='tableprint' style="margin: 0px auto">
39
- <thead>
40
- <tr>
41
- <th colspan='5' style="font-weight: normal; text-align: left;">
42
- <h3 style="text-align: center">维修报表统计</h3>
43
- </th>
44
- </tr>
45
- </thead>
46
- <tr>
47
- <th colspan='5' style="font-weight: normal;">
48
- {{{ model.data.substring(26,model.data.length-8) }}}
49
- </th>
50
- </tr>
51
- </table>
52
- </div>
53
- </criteria-paged>
54
- </div>
55
-
56
- </template>
57
-
58
- <script>
59
- import {DataModel} from 'vue-client'
60
-
61
- export default {
62
- title: '维修报表',
63
- data() {
64
- let model = new DataModel('rs/telephone/report/repairsDetailsReport')
65
- return {
66
- filialeNameStr: '',
67
- filialeCodeStr: '',
68
- userid: this.$login.f.id,
69
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
70
- model: model
71
- }
72
- },
73
- methods: {
74
- getRes(obj) {
75
- this.model.f_filialeid = this.$login.convertToIn(obj.resids);
76
- },
77
- search(args){
78
- let condition = ' and 1 = 1 '
79
- if (args.model.startDate){
80
- condition += ` and ts1.f_date_leave >= '${args.model.startDate} 00:00:00' `
81
- }
82
- if (args.model.endDate){
83
- condition += ` and ts1.f_date_leave <= '${args.model.endDate} 23:59:59' `
84
- }
85
- this.model.search(condition,args.model)
86
- }
87
- },
88
- ready() {
89
- },
90
- computed: {
91
- }
92
- }
93
- </script>
94
- <style>
95
- th>tr>td {
96
- width: 200px;
97
- }
98
- </style>
1
+ <template>
2
+ <div id='app' class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.search' class="search_area" v-ref:criteria>
5
+ <div novalidate class="form-inline auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group">
8
+ <label for="startDate" class="font_normal_body">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ style="width: 60%;"
13
+ :disabled-days-of-Week="[]"
14
+ :format="'yyyy-MM-dd HH:mm:ss'"
15
+ :show-reset-button="reset">
16
+ </datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label for="endDate" class="font_normal_body">结束日期:</label>
20
+ <datepicker id="endDate" placeholder="结束日期"
21
+ v-model="model.endDate"
22
+ :value.sync="model.endDate"
23
+ :disabled-days-of-Week="[]"
24
+ style="width: 60%;"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-3 form-group" style="margin-top: 8px">
30
+ <button class="button_search button_spacing" @click="search()">查询</button>
31
+ <report-print class="button_export button_spacing" style="width:28%" ></report-print>
32
+ <report-excel class="button_export button_spacing" style="width:28%" ></report-excel>
33
+ </div>
34
+ </div>
35
+ </div>
36
+ </criteria>
37
+ <div partial='list' class="list_area" style="overflow-y: scroll;position:relative">
38
+ <table class='tableprint' style="margin: 0px auto">
39
+ <thead>
40
+ <tr>
41
+ <th colspan='5' style="font-weight: normal; text-align: left;">
42
+ <h3 style="text-align: center">维修报表统计</h3>
43
+ </th>
44
+ </tr>
45
+ </thead>
46
+ <tr>
47
+ <th colspan='5' style="font-weight: normal;">
48
+ {{{ model.data.substring(26,model.data.length-8) }}}
49
+ </th>
50
+ </tr>
51
+ </table>
52
+ </div>
53
+ </criteria-paged>
54
+ </div>
55
+
56
+ </template>
57
+
58
+ <script>
59
+ import {DataModel} from 'vue-client'
60
+
61
+ export default {
62
+ title: '维修报表',
63
+ data() {
64
+ let model = new DataModel('rs/telephone/report/repairsDetailsReport')
65
+ return {
66
+ filialeNameStr: '',
67
+ filialeCodeStr: '',
68
+ userid: this.$login.f.id,
69
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
70
+ model: model
71
+ }
72
+ },
73
+ methods: {
74
+ getRes(obj) {
75
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids);
76
+ },
77
+ search(args){
78
+ let condition = ' and 1 = 1 '
79
+ if (args.model.startDate){
80
+ condition += ` and ts1.f_date_leave >= '${args.model.startDate} 00:00:00' `
81
+ }
82
+ if (args.model.endDate){
83
+ condition += ` and ts1.f_date_leave <= '${args.model.endDate} 23:59:59' `
84
+ }
85
+ this.model.search(condition,args.model)
86
+ }
87
+ },
88
+ ready() {
89
+ },
90
+ computed: {
91
+ }
92
+ }
93
+ </script>
94
+ <style>
95
+ th>tr>td {
96
+ width: 200px;
97
+ }
98
+ </style>
@@ -1,135 +1,134 @@
1
- <template>
2
- <div id='app' class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.search' class="search_area" v-ref:criteria>
5
- <div novalidate class="form-inline auto" partial>
6
- <div class="row">
7
- <div class="col-sm-2 form-group">
8
- <label for="startDate" class="font_normal_body">开始日期:</label>
9
- <datepicker id="startDate" placeholder="开始日期"
10
- v-model="model.startDate"
11
- :value.sync="model.startDate"
12
- style="width: 60%;"
13
- :disabled-days-of-Week="[]"
14
- :format="'yyyy-MM-dd 00:00:00'"
15
- :show-reset-button="reset">
16
- </datepicker>
17
- </div>
18
- <div class="col-sm-2 form-group">
19
- <label for="endDate" class="font_normal_body">结束日期:</label>
20
- <datepicker id="endDate" placeholder="结束日期"
21
- v-model="model.endDate"
22
- :value.sync="model.endDate"
23
- :disabled-days-of-Week="[]"
24
- style="width: 60%;"
25
- :format="'yyyy-MM-dd 23:59:59'"
26
- :show-reset-button="reset">
27
- </datepicker>
28
- </div>
29
- <div class="col-sm-3 form-group form-input-group" style="width: 20%">
30
- <label class="font_normal_body" style="width: 40%">话&ensp;务&ensp;员</label>
31
- <v-select :value.sync="model.attendants"
32
- :options='$parent.$parent.operators'
33
- placeholder='请选择话务员'
34
- :multiple="true"
35
- style="width: 60%"
36
- ></v-select>
37
- </div>
38
- <div class="col-sm-3 form-group" style="margin-top: 8px">
39
- <button class="button_search button_spacing" @click="search()">查询</button>
40
- <report-print class="button_export button_spacing" style="width:28%" ></report-print>
41
- <report-excel class="button_export button_spacing" style="width:28%" ></report-excel>
42
- </div>
43
- </div>
44
- </div>
45
- </criteria>
46
- <div partial='list' class="list_area" style="overflow-y: scroll;position:relative">
47
- <table class='tableprint' style="margin: 0px auto">
48
- <thead>
49
- <tr>
50
- <th colspan='5' style="font-weight: normal; text-align: left;">
51
- <h3 style="text-align: center">话务报表统计</h3>
52
- </th>
53
- </tr>
54
- </thead>
55
- <tr>
56
- <th colspan='5' style="font-weight: normal;">
57
- {{{ model.data.substring(26,model.data.length-8) }}}
58
- </th>
59
- </tr>
60
- </table>
61
- </div>
62
- </criteria-paged>
63
- </div>
64
-
65
- </template>
66
-
67
- <script>
68
- import {DataModel, HttpResetClass} from 'vue-client'
69
- import * as Util from "../Util";
70
-
71
- export default {
72
- title: '话务报表',
73
- data() {
74
- let model = new DataModel('rs/telephone/report/trafficClassification',{
75
- startDate:'this.model.startDate',
76
- endDate:'this.model.endDate',
77
- attendant:'this.model.attendant'
78
- })
79
- return {
80
- operators:[],
81
- filialeNameStr: '',
82
- filialeCodeStr: '',
83
- userid: this.$login.f.id,
84
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
85
- model: model
86
- }
87
- },
88
- methods: {
89
- getOperators (role) {
90
- this.operators = []
91
- let val = {source: `this.getParentByType($organization$).getChildByName($${role}$).getUsers()`, userid: `${this.$login.f.id}`}
92
- let http = new HttpResetClass()
93
- http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
94
- res.data.forEach((item) => {
95
- this.operators.push({label: item.name, value: item.name})
96
- })
97
- })
98
- },
99
- getRes(obj) {
100
- this.model.f_filialeid = this.$login.convertToIn(obj.resids);
101
- },
102
- search(args){
103
- if (args.model.attendants && args.model.attendants.length>0){
104
- let attStr = ""
105
- for (let attendantKey in args.model.attendants) {
106
- attStr +=`'${args.model.attendants[attendantKey]}',',',`
107
- }
108
- attStr=attStr.substring(0, attStr.length-1)
109
- args.model.attendant = attStr
110
- // args.model.attendant = args.model.attendants[0]
111
- }else {
112
- this.$showMessage('请选择话务员')
113
- return
114
- }
115
- this.model.search('1=1',args.model)
116
- }
117
- },
118
- ready() {
119
- let date = new Date()
120
- let month = date.getMonth()
121
- let realMonth = date.getMonth()+1
122
- let day = date.getDate()
123
- this.$refs.paged.$refs.criteria.model.startDate = date.getFullYear() + '-' + (month<10? '0'+ month : month) + '-' + (day<10? '0'+ day : day) + ' 00:00:00'
124
- this.$refs.paged.$refs.criteria.model.endDate = date.getFullYear() + '-' + (realMonth<10? '0'+ realMonth : realMonth) + '-' + (day<10? '0'+ day : day) + ' 23:59:59'
125
- this.getOperators('话务员')
126
- },
127
- computed: {
128
- }
129
- }
130
- </script>
131
- <style>
132
- th>tr>td {
133
- width: 200px;
134
- }
135
- </style>
1
+ <template>
2
+ <div id='app' class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.search' class="search_area" v-ref:criteria>
5
+ <div novalidate class="form-inline auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group">
8
+ <label for="startDate" class="font_normal_body">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ style="width: 60%;"
13
+ :disabled-days-of-Week="[]"
14
+ :format="'yyyy-MM-dd HH:mm:ss'"
15
+ :show-reset-button="reset">
16
+ </datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label for="endDate" class="font_normal_body">结束日期:</label>
20
+ <datepicker id="endDate" placeholder="结束日期"
21
+ v-model="model.endDate"
22
+ :value.sync="model.endDate"
23
+ :disabled-days-of-Week="[]"
24
+ style="width: 60%;"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
30
+ <label class="font_normal_body" style="width: 40%">话&ensp;务&ensp;员</label>
31
+ <v-select :value.sync="model.attendants"
32
+ :options='$parent.$parent.operators'
33
+ placeholder='请选择话务员'
34
+ :multiple="true"
35
+ style="width: 60%"
36
+ ></v-select>
37
+ </div>
38
+ <div class="col-sm-3 form-group" style="margin-top: 8px">
39
+ <button class="button_search button_spacing" @click="search()">查询</button>
40
+ <report-print class="button_export button_spacing" style="width:28%" ></report-print>
41
+ <report-excel class="button_export button_spacing" style="width:28%" ></report-excel>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ </criteria>
46
+ <div partial='list' class="list_area" style="overflow-y: scroll;position:relative">
47
+ <table class='tableprint' style="margin: 0px auto">
48
+ <thead>
49
+ <tr>
50
+ <th colspan='5' style="font-weight: normal; text-align: left;">
51
+ <h3 style="text-align: center">话务报表统计</h3>
52
+ </th>
53
+ </tr>
54
+ </thead>
55
+ <tr>
56
+ <th colspan='5' style="font-weight: normal;">
57
+ {{{ model.data.substring(26,model.data.length-8) }}}
58
+ </th>
59
+ </tr>
60
+ </table>
61
+ </div>
62
+ </criteria-paged>
63
+ </div>
64
+
65
+ </template>
66
+
67
+ <script>
68
+ import {DataModel, HttpResetClass} from 'vue-client'
69
+ import * as Util from "../Util";
70
+
71
+ export default {
72
+ title: '话务报表',
73
+ data() {
74
+ let model = new DataModel('rs/telephone/report/trafficClassification',{
75
+ startDate:'this.model.startDate',
76
+ endDate:'this.model.endDate',
77
+ attendant:'this.model.attendant'
78
+ })
79
+ return {
80
+ operators:[],
81
+ filialeNameStr: '',
82
+ filialeCodeStr: '',
83
+ userid: this.$login.f.id,
84
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
85
+ model: model
86
+ }
87
+ },
88
+ methods: {
89
+ getOperators (role) {
90
+ this.operators = []
91
+ let val = {source: `this.getParentByType($organization$).getChildByName($${role}$).getUsers()`, userid: `${this.$login.f.id}`}
92
+ let http = new HttpResetClass()
93
+ http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
94
+ res.data.forEach((item) => {
95
+ this.operators.push({label: item.name, value: item.name})
96
+ })
97
+ })
98
+ },
99
+ getRes(obj) {
100
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids);
101
+ },
102
+ search(args){
103
+ if (args.model.attendants && args.model.attendants.length>0){
104
+ let attStr = ""
105
+ for (let attendantKey in args.model.attendants) {
106
+ attStr +=`'${args.model.attendants[attendantKey]}',',',`
107
+ }
108
+ attStr=attStr.substring(0, attStr.length-1)
109
+ args.model.attendant = attStr
110
+ // args.model.attendant = args.model.attendants[0]
111
+ }else {
112
+ this.$showMessage('请选择话务员')
113
+ return
114
+ }
115
+ this.model.search('1=1',args.model)
116
+ }
117
+ },
118
+ ready() {
119
+ let date = new Date()
120
+ let realMonth = date.getMonth()+1
121
+ let day = date.getDate()
122
+ this.$refs.paged.$refs.criteria.model.startDate = date.getFullYear() + '-' + (realMonth<10? '0'+ realMonth : realMonth) + '-' + (day<10? '0'+ day : day) + ' 00:00:00'
123
+ this.$refs.paged.$refs.criteria.model.endDate = date.getFullYear() + '-' + (realMonth<10? '0'+ realMonth : realMonth) + '-' + (day<10? '0'+ day : day) + ' 23:59:59'
124
+ this.getOperators('话务员')
125
+ },
126
+ computed: {
127
+ }
128
+ }
129
+ </script>
130
+ <style>
131
+ th>tr>td {
132
+ width: 200px;
133
+ }
134
+ </style>
@@ -1,121 +1,121 @@
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 00:00:00'"
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 23:59:59'"
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/trafficassess', {
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
- // model.model.endDate=Util.toStandardTimeString().substring(0,10)
88
- // model.model.startDate=Util.getPreMonth(model.model.endDate)
89
- return {
90
- filialeNameStr: '',
91
- filialeCodeStr: '',
92
- orgname: '',
93
- userid: this.$login.f.id,
94
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
95
- model: model
96
- }
97
- },
98
- methods: {
99
- getRes (obj) {
100
- ////tag)
101
- this.orgname = obj.res[0]
102
- this.$set('orgname', obj.res[0])
103
- this.model.f_filialeid = this.$login.convertToIn(obj.resids)
104
- //tag
105
- //tag
106
- }
107
- },
108
- ready () {
109
- //tag
110
- this.orgname = this.$login.f.orgs
111
- this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString()+ ' 23:59:59'
112
- this.$refs.paged.$refs.criteria.model.startDate = Util.getYesterDay() + ' 00:00:00'
113
-
114
- },
115
- computed: {
116
- selected () {
117
- return this.$refs.grid.selected
118
- }
119
- }
120
- }
121
- </script>
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 HH:mm:ss'"
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 HH:mm:ss'"
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/trafficassess', {
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
+ // model.model.endDate=Util.toStandardTimeString().substring(0,10)
88
+ // model.model.startDate=Util.getPreMonth(model.model.endDate)
89
+ return {
90
+ filialeNameStr: '',
91
+ filialeCodeStr: '',
92
+ orgname: '',
93
+ userid: this.$login.f.id,
94
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
95
+ model: model
96
+ }
97
+ },
98
+ methods: {
99
+ getRes (obj) {
100
+ ////tag)
101
+ this.orgname = obj.res[0]
102
+ this.$set('orgname', obj.res[0])
103
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids)
104
+ //tag
105
+ //tag
106
+ }
107
+ },
108
+ ready () {
109
+ //tag
110
+ this.orgname = this.$login.f.orgs
111
+ this.$refs.paged.$refs.criteria.model.endDate = Util.toStandardDateString()+ ' 23:59:59'
112
+ this.$refs.paged.$refs.criteria.model.startDate = Util.getYesterDay() + ' 00:00:00'
113
+
114
+ },
115
+ computed: {
116
+ selected () {
117
+ return this.$refs.grid.selected
118
+ }
119
+ }
120
+ }
121
+ </script>