telephone-clients 3.0.104-60 → 3.0.104-61

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-60",
3
+ "version": "3.0.104-61",
4
4
  "description": "呼叫模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,80 +1,80 @@
1
- <template>
2
- <div>
3
- <div class="row">
4
- <button type="button" name="button" class="btn btn-primary" @click="takePic()">拍照</button>
5
- </div>
6
- <div class="row">
7
- <div class="col-xs-4 col-sm-3 col-md-2" v-for="img in model" v-if="img.imgpath == sutitle ">
8
- <img-self :src="getimgstr(img)" alt="维修照片" :width="150" :height="200"></img-self>
9
- <button type="button" name="button" class="btn btn-default" @click="remove(img)">-</button>
10
- </div>
11
- </div>
12
- </div>
13
- </template>
14
-
15
- <script>
16
- import Vue from 'vue'
17
- import * as Util from '../../components/Util'
18
-
19
- export default {
20
- props: {
21
- // 存放照片的数组
22
- model: {
23
- type: Array
24
- },
25
- sutitle:'维修照片'
26
- },
27
- data () {
28
- return {
29
- // 拍照时的文件名
30
- fileName: '',
31
- is_has_jingweidu: this.$appdata.getSingleValue('照片水印加经纬度') || 'false',
32
-
33
- }
34
- },
35
- methods: {
36
- // 从图片中删除
37
- remove (row) {
38
- this.$androidUtil.delfile(row.android_file)
39
- let pos = this.model.findIndex((value) => {
40
- return value === row
41
- });
42
- this.model.splice(pos, 1)
43
- },
44
- // fileName: 回传文件名,传入的带安卓路径url
45
- // prop: 传入的字段名,没做改动
46
- cameraCallBack(prop, fileName) {
47
- alert("callback!!!!!!!!!!!!!!!!!!--start")
48
- // 当前this只能通过HostApp.__tis__获取
49
- let self = this.$androidUtil.getCallBack(this)
50
- // 添加新图片
51
- self.model.push({
52
- android_file: self.fileName,
53
- path: fileName,
54
- imgpath: this.sutitle
55
- })
56
- alert("callback!!!!!!!!!!!!!!!!!!--end")
57
- },
58
- takePic() {
59
- const obj = HostApp.getGpsDetailAddress()
60
- let jingweidu = ''
61
- if (this.is_has_jingweidu == 'true'){
62
- jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
63
- }
64
- let prop = 'repair'
65
- let idx = 'aofeng'
66
- this.fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
67
- this.$androidUtil.takePic(this, this.cameraCallBack, this.fileName,this.sutitle+jingweidu)
68
- },
69
- getimgstr(val){
70
- if(!val){
71
- return ''
72
- }
73
- if(Vue.android){
74
- return val.path + '?' + Math.random()
75
- }
76
- return 'rs/file/getfile/' + val.imgid
77
- }
78
- },
79
- }
80
- </script>
1
+ <template>
2
+ <div>
3
+ <div class="row">
4
+ <button type="button" name="button" class="btn btn-primary" @click="takePic()">拍照</button>
5
+ </div>
6
+ <div class="row">
7
+ <div class="col-xs-4 col-sm-3 col-md-2" v-for="img in model" v-if="img.imgpath == sutitle ">
8
+ <img-self :src="getimgstr(img)" alt="维修照片" :width="150" :height="200"></img-self>
9
+ <button type="button" name="button" class="btn btn-default" @click="remove(img)">-</button>
10
+ </div>
11
+ </div>
12
+ </div>
13
+ </template>
14
+
15
+ <script>
16
+ import Vue from 'vue'
17
+ import * as Util from '../../components/Util'
18
+
19
+ export default {
20
+ props: {
21
+ // 存放照片的数组
22
+ model: {
23
+ type: Array
24
+ },
25
+ sutitle:'维修照片'
26
+ },
27
+ data () {
28
+ return {
29
+ // 拍照时的文件名
30
+ fileName: '',
31
+ is_has_jingweidu: this.$appdata.getSingleValue('照片水印加经纬度') || 'false',
32
+
33
+ }
34
+ },
35
+ methods: {
36
+ // 从图片中删除
37
+ remove (row) {
38
+ this.$androidUtil.delfile(row.android_file)
39
+ let pos = this.model.findIndex((value) => {
40
+ return value === row
41
+ });
42
+ this.model.splice(pos, 1)
43
+ },
44
+ // fileName: 回传文件名,传入的带安卓路径url
45
+ // prop: 传入的字段名,没做改动
46
+ cameraCallBack(prop, fileName) {
47
+ alert("callback!!!!!!!!!!!!!!!!!!--start")
48
+ // 当前this只能通过HostApp.__tis__获取
49
+ let self = this.$androidUtil.getCallBack(this)
50
+ // 添加新图片
51
+ self.model.push({
52
+ android_file: self.fileName,
53
+ path: fileName,
54
+ imgpath: this.sutitle
55
+ })
56
+ alert("callback!!!!!!!!!!!!!!!!!!--end")
57
+ },
58
+ takePic() {
59
+ const obj = HostApp.getGpsDetailAddress()
60
+ let jingweidu = ''
61
+ if (this.is_has_jingweidu == 'true'){
62
+ jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
63
+ }
64
+ let prop = 'repair'
65
+ let idx = 'aofeng'
66
+ this.fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
67
+ this.$androidUtil.takePic(this, this.cameraCallBack, this.fileName,this.sutitle+jingweidu)
68
+ },
69
+ getimgstr(val){
70
+ if(!val){
71
+ return ''
72
+ }
73
+ if(Vue.android){
74
+ return val.path + '?' + Math.random()
75
+ }
76
+ return 'rs/file/getfile/' + val.imgid
77
+ }
78
+ },
79
+ }
80
+ </script>
@@ -1,240 +1,240 @@
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%" v-if="$parent.$parent.flag == '是'">
8
- <label class="font_normal_body" style="width: 40%">公&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;司</label>
9
- <right-tree :userid.sync='$parent.$parent.userid' style="width: 60%;"
10
- :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes"></right-tree>
11
- </div>
12
- <div class="col-sm-3 form-group form-input-group" style="width: 20%">
13
- <label class="font_normal_body" style="width: 40%">录音&emsp;ID</label>
14
- <input type="text" class="form-control" v-model="model.id" placeholder='录音ID'
15
- condition="id like '%{}%'"
16
- :size="model.id ? model.id.length : 7">
17
- </div>
18
- <div class="col-sm-3 form-group form-input-group" style="width: 20%">
19
- <label class="font_normal_body" style="width: 40%">电话号码</label>
20
- <input type="text" class="form-control" v-model="model.telnum" placeholder='电话号码'
21
- condition="telnum like '%{}%'"
22
- :size="model.telnum ? model.telnum.length : 7">
23
- </div>
24
- <div class="col-sm-3 form-group form-input-group" style="width: 20%">
25
- <label class="font_normal_body" style="width: 40%">话务员</label>
26
- <input type="text" class="form-control" v-model="model.telname" placeholder='话务员姓名'
27
- condition="telname like '%{}%'"
28
- :size="model.telname ? model.telname.length : 7">
29
- </div>
30
-
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
- <export-excel-tel :data="$parent.$parent.searchData"
40
- :field="$parent.$parent.excelHeaders"
41
- :choose-col="true"
42
- sqlurl="rs/logic/telephoneExport" sql-name="tel_recordlist"
43
- :template-name="$parent.$parent.excelTitle"></export-excel-tel>
44
-
45
- </div>
46
-
47
- <div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
48
- <label class="font_normal_body" style="width: 40%">电话类型</label>
49
- <v-select :value.sync="model.teltype" :value-single="true"
50
- v-model="model.teltype"
51
- condition="teltype='{}'"
52
- :options='$parent.$parent.LoggedStates' placeholder='电话类型'
53
- close-on-select >
54
- </v-select>
55
-
56
- </div>
57
- <div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
58
- <label class="font_normal_body" style="width: 40%">开始时间</label>
59
- <datepicker placeholder="开始时间"
60
- :value.sync="model.f_created_startdate"
61
- v-model="model.f_created_startdate"
62
- :format="'yyyy-MM-dd 00:00:00'"
63
- condition="outltime > '{}'"
64
- ></datepicker>
65
- </div>
66
- <div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
67
- <label class="font_normal_body" style="width: 40%">结束时间</label>
68
- <datepicker placeholder="结束时间"
69
- :value.sync="model.f_created_enddate"
70
- v-model="model.f_created_enddate"
71
- :format="'yyyy-MM-dd 23:59:59'"
72
- condition="outltime < '{}'"
73
- ></datepicker>
74
- </div>
75
-
76
- <div class="col-sm-1" style="float: right;margin-right: 40px" >
77
- </div>
78
- <div class="col-sm-2" style="float: right;margin-right: 40px" >
79
- </div>
80
- </div>
81
-
82
- </div>
83
- </criteria>
84
- <data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
85
- <template partial='head'>
86
- <tr>
87
- <th><nobr>电话类型</nobr></th>
88
- <th><nobr>电话号码</nobr></th>
89
- <th><nobr>录音&emsp;ID</nobr></th>
90
- <th><nobr>呼入/呼出</nobr></th>
91
- <th><nobr>寻找坐席</nobr></th>
92
- <th><nobr>响&emsp;&emsp;铃</nobr></th>
93
- <th><nobr>开始通话</nobr></th>
94
- <th><nobr>结束通话</nobr></th>
95
- <th><nobr>保存工单</nobr></th>
96
- <th><nobr>话务员</nobr></th>
97
- <th><nobr>录音文件</nobr>
98
- </tr>
99
- </template>
100
- <template partial='body' >
101
- <td style="text-align: center">{{row.teltype}}</td>
102
- <td>{{row.telnum}}</td>
103
- <td>
104
- <span title="{{row.id}}">
105
- {{row.id.substring(0,6)}}...
106
- </span>
107
- </td>
108
- <td>{{row.outltime}}</td>
109
- <td>
110
- <span title="耗时{{row.findcost}}S">
111
- {{row.findtime}}
112
- </span>
113
- </td>
114
- <td>
115
- <span title="耗时{{row.ringcost}}S">
116
- {{row.inltime}}
117
- </span>
118
- </td>
119
- <td>
120
- <span title="耗时{{row.incost}}S">
121
- {{row.starttime}}
122
- </span>
123
- </td>
124
- <td>
125
- <span title="耗时{{row.telcost}}S">
126
- {{row.endtime}}
127
- </span>
128
- </td>
129
- <td>
130
- <span title="耗时{{row.savecost}}S">
131
- {{row.savetime}}
132
- </span>
133
- </td>
134
- <td>{{row.telname}}</td>
135
- <td>
136
- <span title="{{row.recordfile}}">
137
- {{row.recordfile.substring(0,6)}}...
138
- </span>
139
- </td>
140
- </template>
141
- </data-grid>
142
- </criteria-paged>
143
- </div>
144
-
145
- </template>
146
-
147
- <script>
148
- import {HttpResetClass, PagedList} from "vue-client";
149
-
150
- export default {
151
- title: "电话记录列表",
152
- data () {
153
- return {
154
- criteriaShow: false,
155
- LoggedStates: [{label: '全部', value: ''},
156
- {label: '呼入', value: '呼入'},
157
- {label: '呼出', value: '呼出'},
158
- ],
159
- model: new PagedList('rs/sql/tel_recordlist', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
160
- row: null,
161
- cclist:{
162
- type: Array,
163
- default: null
164
- },
165
- wavflie : '',
166
- msgs: [],
167
- infoobj:Object,
168
- userid: this.$login.f.id,
169
- source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
170
- flag: '',
171
- f_filiale_id: '',
172
- excelTitle: '电话记录录导出',
173
- excelHeaders: {
174
- 'teltype': '电话类型',
175
- 'telnum': '电话号码',
176
- 'outltime': '呼入/呼出',
177
- 'findtime':'寻找坐席',
178
- 'inltime': '响铃',
179
- 'starttime': '开始通话',
180
- 'endtime': '结束通话',
181
- 'savetime': '保存工单',
182
- 'telname': '话务员'
183
- },
184
- searchData: {
185
- condition: '1=1'
186
- },
187
- }
188
- },props: {
189
-
190
- },
191
- ready () {
192
- this.flag = this.$appdata.getSingleValue('电话记录只查当前公司')
193
- if (this.flag) {
194
- if (this.flag == '是') {
195
- this.model.f_filiale = this.$login.f.f_fengongsi
196
- this.model.f_filiale_id = this.$login.f.f_orgids
197
- }
198
- }
199
- },
200
- watch: {
201
- },
202
- methods: {
203
- getRes (obj) {
204
- this.f_filiale_id = this.$login.convertToIn(obj.resids)
205
- console.log('--------------------')
206
- console.log(this.f_filiale_id)
207
- this.orgname = obj.res[0]
208
- this.$set('orgname', obj.res[0])
209
- },
210
- hidden () {
211
- this.criteriaShow = !this.criteriaShow
212
- },
213
- //选中
214
- selectd(row){
215
- //tag
216
- },
217
- search(args) {
218
- console.log(this.f_filiale_id)
219
- if (this.flag == '是') {
220
- if (this.f_filiale_id) {
221
- args.condition = args.condition + ' and f_filiale_id in ' + this.f_filiale_id
222
- }
223
- }
224
- this.searchData.condition = args.condition
225
- this.searchData.orderitem= " outltime desc"
226
- this.model.search(args.condition, args.model)
227
- },
228
- clearmsg(){
229
- this.$refs.paged.$refs.criteria.model={}
230
- },
231
- },
232
- computed: {
233
-
234
- }
235
- }
236
- </script>
237
-
238
- <style lang="less">
239
-
240
- </style>
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%" v-if="$parent.$parent.flag == '是'">
8
+ <label class="font_normal_body" style="width: 40%">公&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;司</label>
9
+ <right-tree :userid.sync='$parent.$parent.userid' style="width: 60%;"
10
+ :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes"></right-tree>
11
+ </div>
12
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
13
+ <label class="font_normal_body" style="width: 40%">录音&emsp;ID</label>
14
+ <input type="text" class="form-control" v-model="model.id" placeholder='录音ID'
15
+ condition="id like '%{}%'"
16
+ :size="model.id ? model.id.length : 7">
17
+ </div>
18
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
19
+ <label class="font_normal_body" style="width: 40%">电话号码</label>
20
+ <input type="text" class="form-control" v-model="model.telnum" placeholder='电话号码'
21
+ condition="telnum like '%{}%'"
22
+ :size="model.telnum ? model.telnum.length : 7">
23
+ </div>
24
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
25
+ <label class="font_normal_body" style="width: 40%">话务员</label>
26
+ <input type="text" class="form-control" v-model="model.telname" placeholder='话务员姓名'
27
+ condition="telname like '%{}%'"
28
+ :size="model.telname ? model.telname.length : 7">
29
+ </div>
30
+
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
+ <export-excel-tel :data="$parent.$parent.searchData"
40
+ :field="$parent.$parent.excelHeaders"
41
+ :choose-col="true"
42
+ sqlurl="rs/logic/telephoneExport" sql-name="tel_recordlist"
43
+ :template-name="$parent.$parent.excelTitle"></export-excel-tel>
44
+
45
+ </div>
46
+
47
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
48
+ <label class="font_normal_body" style="width: 40%">电话类型</label>
49
+ <v-select :value.sync="model.teltype" :value-single="true"
50
+ v-model="model.teltype"
51
+ condition="teltype='{}'"
52
+ :options='$parent.$parent.LoggedStates' placeholder='电话类型'
53
+ close-on-select >
54
+ </v-select>
55
+
56
+ </div>
57
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
58
+ <label class="font_normal_body" style="width: 40%">开始时间</label>
59
+ <datepicker placeholder="开始时间"
60
+ :value.sync="model.f_created_startdate"
61
+ v-model="model.f_created_startdate"
62
+ :format="'yyyy-MM-dd 00:00:00'"
63
+ condition="outltime > '{}'"
64
+ ></datepicker>
65
+ </div>
66
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
67
+ <label class="font_normal_body" style="width: 40%">结束时间</label>
68
+ <datepicker placeholder="结束时间"
69
+ :value.sync="model.f_created_enddate"
70
+ v-model="model.f_created_enddate"
71
+ :format="'yyyy-MM-dd 23:59:59'"
72
+ condition="outltime < '{}'"
73
+ ></datepicker>
74
+ </div>
75
+
76
+ <div class="col-sm-1" style="float: right;margin-right: 40px" >
77
+ </div>
78
+ <div class="col-sm-2" style="float: right;margin-right: 40px" >
79
+ </div>
80
+ </div>
81
+
82
+ </div>
83
+ </criteria>
84
+ <data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
85
+ <template partial='head'>
86
+ <tr>
87
+ <th><nobr>电话类型</nobr></th>
88
+ <th><nobr>电话号码</nobr></th>
89
+ <th><nobr>录音&emsp;ID</nobr></th>
90
+ <th><nobr>呼入/呼出</nobr></th>
91
+ <th><nobr>寻找坐席</nobr></th>
92
+ <th><nobr>响&emsp;&emsp;铃</nobr></th>
93
+ <th><nobr>开始通话</nobr></th>
94
+ <th><nobr>结束通话</nobr></th>
95
+ <th><nobr>保存工单</nobr></th>
96
+ <th><nobr>话务员</nobr></th>
97
+ <th><nobr>录音文件</nobr>
98
+ </tr>
99
+ </template>
100
+ <template partial='body' >
101
+ <td style="text-align: center">{{row.teltype}}</td>
102
+ <td>{{row.telnum}}</td>
103
+ <td>
104
+ <span title="{{row.id}}">
105
+ {{row.id.substring(0,6)}}...
106
+ </span>
107
+ </td>
108
+ <td>{{row.outltime}}</td>
109
+ <td>
110
+ <span title="耗时{{row.findcost}}S">
111
+ {{row.findtime}}
112
+ </span>
113
+ </td>
114
+ <td>
115
+ <span title="耗时{{row.ringcost}}S">
116
+ {{row.inltime}}
117
+ </span>
118
+ </td>
119
+ <td>
120
+ <span title="耗时{{row.incost}}S">
121
+ {{row.starttime}}
122
+ </span>
123
+ </td>
124
+ <td>
125
+ <span title="耗时{{row.telcost}}S">
126
+ {{row.endtime}}
127
+ </span>
128
+ </td>
129
+ <td>
130
+ <span title="耗时{{row.savecost}}S">
131
+ {{row.savetime}}
132
+ </span>
133
+ </td>
134
+ <td>{{row.telname}}</td>
135
+ <td>
136
+ <span title="{{row.recordfile}}">
137
+ {{row.recordfile.substring(0,6)}}...
138
+ </span>
139
+ </td>
140
+ </template>
141
+ </data-grid>
142
+ </criteria-paged>
143
+ </div>
144
+
145
+ </template>
146
+
147
+ <script>
148
+ import {HttpResetClass, PagedList} from "vue-client";
149
+
150
+ export default {
151
+ title: "电话记录列表",
152
+ data () {
153
+ return {
154
+ criteriaShow: false,
155
+ LoggedStates: [{label: '全部', value: ''},
156
+ {label: '呼入', value: '呼入'},
157
+ {label: '呼出', value: '呼出'},
158
+ ],
159
+ model: new PagedList('rs/sql/tel_recordlist', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
160
+ row: null,
161
+ cclist:{
162
+ type: Array,
163
+ default: null
164
+ },
165
+ wavflie : '',
166
+ msgs: [],
167
+ infoobj:Object,
168
+ userid: this.$login.f.id,
169
+ source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
170
+ flag: '',
171
+ f_filiale_id: '',
172
+ excelTitle: '电话记录录导出',
173
+ excelHeaders: {
174
+ 'teltype': '电话类型',
175
+ 'telnum': '电话号码',
176
+ 'outltime': '呼入/呼出',
177
+ 'findtime':'寻找坐席',
178
+ 'inltime': '响铃',
179
+ 'starttime': '开始通话',
180
+ 'endtime': '结束通话',
181
+ 'savetime': '保存工单',
182
+ 'telname': '话务员'
183
+ },
184
+ searchData: {
185
+ condition: '1=1'
186
+ },
187
+ }
188
+ },props: {
189
+
190
+ },
191
+ ready () {
192
+ this.flag = this.$appdata.getSingleValue('电话记录只查当前公司')
193
+ if (this.flag) {
194
+ if (this.flag == '是') {
195
+ this.model.f_filiale = this.$login.f.f_fengongsi
196
+ this.model.f_filiale_id = this.$login.f.f_orgids
197
+ }
198
+ }
199
+ },
200
+ watch: {
201
+ },
202
+ methods: {
203
+ getRes (obj) {
204
+ this.f_filiale_id = this.$login.convertToIn(obj.resids)
205
+ console.log('--------------------')
206
+ console.log(this.f_filiale_id)
207
+ this.orgname = obj.res[0]
208
+ this.$set('orgname', obj.res[0])
209
+ },
210
+ hidden () {
211
+ this.criteriaShow = !this.criteriaShow
212
+ },
213
+ //选中
214
+ selectd(row){
215
+ //tag
216
+ },
217
+ search(args) {
218
+ console.log(this.f_filiale_id)
219
+ if (this.flag == '是') {
220
+ if (this.f_filiale_id) {
221
+ args.condition = args.condition + ' and f_filiale_id in ' + this.f_filiale_id
222
+ }
223
+ }
224
+ this.searchData.condition = args.condition
225
+ this.searchData.orderitem= " outltime desc"
226
+ this.model.search(args.condition, args.model)
227
+ },
228
+ clearmsg(){
229
+ this.$refs.paged.$refs.criteria.model={}
230
+ },
231
+ },
232
+ computed: {
233
+
234
+ }
235
+ }
236
+ </script>
237
+
238
+ <style lang="less">
239
+
240
+ </style>