telephone-clients 3.0.111 → 3.0.113
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
|
@@ -41,6 +41,18 @@
|
|
|
41
41
|
condition="f_user_type = '{}'"
|
|
42
42
|
close-on-select clear-button></v-select>
|
|
43
43
|
</div>
|
|
44
|
+
<div class="col-sm-4" style="width: 20%">
|
|
45
|
+
<label class="font_normal_body">工单来源</label>
|
|
46
|
+
<v-select
|
|
47
|
+
placeholder='工单来源'
|
|
48
|
+
class="select select_list"
|
|
49
|
+
style="width: 60%"
|
|
50
|
+
:value.sync="model.source"
|
|
51
|
+
:value-single="true"
|
|
52
|
+
:options='$parent.$parent.sources'
|
|
53
|
+
v-model="model.source"
|
|
54
|
+
close-on-select clear-button></v-select>
|
|
55
|
+
</div>
|
|
44
56
|
<div class="col-sm-4" style="width: 20%">
|
|
45
57
|
<label class="font_normal_body">创建时间</label>
|
|
46
58
|
<datepicker
|
|
@@ -195,6 +207,7 @@ export default {
|
|
|
195
207
|
checked: true,
|
|
196
208
|
showVisit: false,
|
|
197
209
|
checkeds: false,
|
|
210
|
+
sources:[{label: '全部', value: ''}, {label: '微信公众号', value: '微信公众号'}, {label: '客服', value: '客服'}],
|
|
198
211
|
thisUserinfos: [],
|
|
199
212
|
checker: {},
|
|
200
213
|
userid: this.$login.f.id,
|
|
@@ -349,7 +362,13 @@ export default {
|
|
|
349
362
|
if (this.f_created_date) {
|
|
350
363
|
args.condition += ` and f_created_date >= ${this.f_created_date}`
|
|
351
364
|
}
|
|
352
|
-
|
|
365
|
+
if (args.model.source && args.model.source == '微信公众号'){
|
|
366
|
+
args.condition += ` and ( tswo.f_operator = '微信公众号' ) `
|
|
367
|
+
}else if (args.model.source && args.model.source != '微信公众号'){
|
|
368
|
+
args.condition += ` and ( tap.userid = '${this.$login.f.name}') `
|
|
369
|
+
}else {
|
|
370
|
+
args.condition += ` and ( tap.userid = '${this.$login.f.name}' or tswo.f_operator = '微信公众号') `
|
|
371
|
+
}
|
|
353
372
|
args.condition = ' and ' + args.condition
|
|
354
373
|
return this.model.search(args.condition, args.model)
|
|
355
374
|
}
|
package/src/main.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import all from 'vue-client/src/all'
|
|
4
|
-
import system from 'system-clients/src/system'
|
|
5
|
-
import telephone from './telephone'
|
|
6
|
-
import echarts from 'echarts'
|
|
7
|
-
Vue.prototype.$echarts = echarts
|
|
8
|
-
|
|
9
|
-
/** **************************通用组件******************************/
|
|
10
|
-
all()
|
|
11
|
-
system(false)
|
|
12
|
-
telephone(
|
|
13
|
-
require('./expandcss.less')
|
|
14
|
-
require('system-clients/src/styles/less/bootstrap.less')
|
|
15
|
-
require('./telephoneanaly.less')
|
|
16
|
-
// 测试
|
|
17
|
-
|
|
18
|
-
Vue.component('test', (resolve) => { require(['./components/Test'], resolve) })
|
|
19
|
-
new Vue({
|
|
20
|
-
el: 'body',
|
|
21
|
-
components: { App }
|
|
22
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import all from 'vue-client/src/all'
|
|
4
|
+
import system from 'system-clients/src/system'
|
|
5
|
+
import telephone from './telephone'
|
|
6
|
+
import echarts from 'echarts'
|
|
7
|
+
Vue.prototype.$echarts = echarts
|
|
8
|
+
|
|
9
|
+
/** **************************通用组件******************************/
|
|
10
|
+
all()
|
|
11
|
+
system(false)
|
|
12
|
+
telephone()
|
|
13
|
+
require('./expandcss.less')
|
|
14
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
15
|
+
require('./telephoneanaly.less')
|
|
16
|
+
// 测试
|
|
17
|
+
|
|
18
|
+
Vue.component('test', (resolve) => { require(['./components/Test'], resolve) })
|
|
19
|
+
new Vue({
|
|
20
|
+
el: 'body',
|
|
21
|
+
components: { App }
|
|
22
|
+
})
|