telephone-clients 3.0.103-77 → 3.0.103-79

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.
@@ -1,163 +1,163 @@
1
- <template>
2
- <div id="pc-diswork-page" class="flex" v-show="!saveing">
3
- <work-busy :is-busy="saveing" v-show="saveing"></work-busy>
4
- <ul class="nav nav-pills span" style="height:auto;margin:8px 0px;padding:4px 0;border-bottom: 1px solid #e7e7e7;"
5
- class="nav nav-tabs">
6
- <li v-if="meading == '转站点'"><a :style="selectFiled == '咨询单'?'color:#333333!important;':'color:#666666!important;'"
7
- :class="{'tel_voiceActive':selectFiled == '咨询单','tel_f_size':selectFiled != '咨询单'}"
8
- href="javascript:void(0)" @click="setField('咨询单')">咨询单</a></li>
9
- <li v-if="meading == '转站点'"><a :style="selectFiled == '投诉单'?'color:#333333!important;':'color:#666666!important;'"
10
- :class="{'tel_voiceActive':selectFiled == '投诉单','tel_f_size':selectFiled != '投诉单'}"
11
- href="javascript:void(0)" @click="setField('投诉单')">投诉单</a></li>
12
- <li><a :style="selectFiled == '报修单'?'color:#333333!important;':'color:#666666!important;'"
13
- :class="{'tel_voiceActive':selectFiled == '报修单','tel_f_size':selectFiled != '报修单'}"
14
- href="javascript:void(0)" @click="setField('报修单')">报修单</a></li>
15
- <li v-if="asp == 'true'"><a :style="selectFiled == '置换通气'?'color:#333333!important;':'color:#666666!important;'"
16
- :class="{'tel_voiceActive':selectFiled == '置换通气','tel_f_size':selectFiled != '置换通气'}"
17
- href="javascript:void(0)" @click="setField('置换通气')">通气点火</a></li>
18
- <li><a :style="selectFiled == '工单处理'?'color:#333333!important;':'color:#666666!important;'"
19
- :class="{'tel_voiceActive':selectFiled == '工单处理','tel_f_size':selectFiled != '工单处理'}"
20
- href="javascript:void(0)" @click="setField('工单处理')">工单处理</a></li>
21
- </ul>
22
- <div class="tab-content span" style="overflow-y: auto">
23
- <seek-work v-show="worktype === '咨询单'" v-if="meading == '转站点'" :data='user' :cleantf="cleanstart"
24
- :call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></seek-work>
25
- <complain-work v-show="worktype === '投诉单'" v-if="meading == '转站点'" :data='user' :cleantf="cleanstart"
26
- :call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></complain-work>
27
- <repairs-work v-show="worktype === '报修单'" :data='user' :cleantf="cleanstart" :type="type" :call-obj="callObj"
28
- :login-user="loginUser" :meading="'转维修员'" v-on:commitsus="commit"></repairs-work>
29
- <gas-work v-show="worktype === '置换通气'" :data='user' :cleantf="cleanstart" :type="type" :call-obj="callObj"
30
- :login-user="loginUser" :meading="'转维修员'" v-on:saveend="saveend" v-on:saveing="savestart"
31
- v-on:commitsus="commit"></gas-work>
32
- <work-center v-show="worktype === '工单处理'" :data='user' :call-obj="callObj" :meading="meading"></work-center>
33
- </div>
34
- </div>
35
- </template>
36
-
37
- <script>
38
- export default {
39
- title: '工单派发',
40
- data() {
41
- return {
42
- worktype: '咨询单',
43
- row: '',
44
- cleanstart: 0,
45
- saveing: false,
46
- selectFiled: '咨询单',
47
- asp: 'false'
48
- }
49
- },
50
- props: {
51
- meading: {
52
- type: String,
53
- default: '转站点'
54
- },
55
- user: {},
56
- type: {},
57
- works: {},
58
- callObj: {
59
- type: Object
60
- },
61
- loginUser: {
62
- type: Object
63
- },
64
- findid: {
65
- type: Number
66
- }
67
- },
68
- ready() {
69
- this.asp = this.$appdata.getSingleValue('置换通气')
70
- if (this.meading == '转维修员') {
71
- this.worktype = '报修单'
72
- }
73
- },
74
- methods: {
75
- setField(type) {
76
- this.selectFiled = type
77
- this.worktype = type
78
- },
79
- saveend() {
80
- this.saveing = false
81
- },
82
- savestart() {
83
- this.saveing = true
84
- },
85
- handWork(type) {
86
- this.worktype = type
87
- },
88
- commit(val) {
89
- this.cleanstart += 1
90
- this.$emit('commit', val)
91
- }
92
- },
93
- events: {
94
- distribute(val) {
95
- this.$dispatch('useroperate', val)
96
-
97
- }
98
- },
99
- watch: {
100
- 'worktype'() {
101
- var ev = new Event("resize", {"bubbles": true, "cancelable": false});
102
- window.dispatchEvent(ev);
103
- },
104
- }
105
- }
106
- </script>
107
- <style lang="less">
108
- #pc-diswork-page .row, #pc-diswork-page .form-input-group {
109
- margin: 5px 0px;
110
- height: auto;
111
- }
112
-
113
- /* 禁止textarea横向拉伸 */
114
- .ver-textarea {
115
- resize: vertical;
116
- }
117
-
118
- .btn-img (@url) {
119
- width: 100px;
120
- background-image: url("@{url}");
121
- background-size: 20px;
122
- background-position: 5px;
123
- text-align: right;
124
- background-repeat: no-repeat;
125
- border-radius: 0px;
126
- font-size: 12px;
127
- height: 28px;
128
- }
129
-
130
- #pc-diswork-page .btn-img-cl {
131
- .btn-img('../../../assets/gongdantixing.png');
132
- }
133
-
134
- #pc-diswork-page .btn-img-re {
135
- .btn-img('../../../assets/chongxinpaifa.png');
136
- margin-right: 10px;
137
- }
138
-
139
- .tel_voiceActive {
140
- font-family: PingFang-SC-Bold;
141
- font-size: 16px;
142
- font-weight: normal !important;
143
- font-stretch: normal !important;
144
- line-height: 18px;
145
- letter-spacing: 0px;
146
- color: #333333 !important;
147
- border-bottom: 3px solid #599fe5;
148
- padding: 10px 10px !important;
149
- }
150
-
151
- .tel_f_size {
152
- font-family: PingFang-SC-Medium;
153
- font-size: 16px;
154
- font-weight: normal;
155
- font-stretch: normal;
156
- line-height: 18px;
157
- letter-spacing: 0px;
158
- color: #666666 !important;
159
- padding: 10px 10px !important;
160
- }
161
-
162
- </style>
163
-
1
+ <template>
2
+ <div id="pc-diswork-page" class="flex" v-show="!saveing">
3
+ <work-busy :is-busy="saveing" v-show="saveing"></work-busy>
4
+ <ul class="nav nav-pills span" style="height:auto;margin:8px 0px;padding:4px 0;border-bottom: 1px solid #e7e7e7;"
5
+ class="nav nav-tabs">
6
+ <li v-if="meading == '转站点'"><a :style="selectFiled == '咨询单'?'color:#333333!important;':'color:#666666!important;'"
7
+ :class="{'tel_voiceActive':selectFiled == '咨询单','tel_f_size':selectFiled != '咨询单'}"
8
+ href="javascript:void(0)" @click="setField('咨询单')">咨询单</a></li>
9
+ <li v-if="meading == '转站点'"><a :style="selectFiled == '投诉单'?'color:#333333!important;':'color:#666666!important;'"
10
+ :class="{'tel_voiceActive':selectFiled == '投诉单','tel_f_size':selectFiled != '投诉单'}"
11
+ href="javascript:void(0)" @click="setField('投诉单')">投诉单</a></li>
12
+ <li><a :style="selectFiled == '报修单'?'color:#333333!important;':'color:#666666!important;'"
13
+ :class="{'tel_voiceActive':selectFiled == '报修单','tel_f_size':selectFiled != '报修单'}"
14
+ href="javascript:void(0)" @click="setField('报修单')">报修单</a></li>
15
+ <li v-if="asp == 'true'"><a :style="selectFiled == '置换通气'?'color:#333333!important;':'color:#666666!important;'"
16
+ :class="{'tel_voiceActive':selectFiled == '置换通气','tel_f_size':selectFiled != '置换通气'}"
17
+ href="javascript:void(0)" @click="setField('置换通气')">通气点火</a></li>
18
+ <li><a :style="selectFiled == '工单处理'?'color:#333333!important;':'color:#666666!important;'"
19
+ :class="{'tel_voiceActive':selectFiled == '工单处理','tel_f_size':selectFiled != '工单处理'}"
20
+ href="javascript:void(0)" @click="setField('工单处理')">工单处理</a></li>
21
+ </ul>
22
+ <div class="tab-content span" style="overflow-y: auto">
23
+ <seek-work v-show="worktype === '咨询单'" v-if="meading == '转站点'" :data='user' :cleantf="cleanstart"
24
+ :call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></seek-work>
25
+ <complain-work v-show="worktype === '投诉单'" v-if="meading == '转站点'" :data='user' :cleantf="cleanstart"
26
+ :call-obj="callObj" :login-user="loginUser" v-on:commitsus="commit"></complain-work>
27
+ <repairs-work v-show="worktype === '报修单'" :data='user' :cleantf="cleanstart" :type="type" :call-obj="callObj"
28
+ :login-user="loginUser" :meading="'转维修员'" v-on:commitsus="commit"></repairs-work>
29
+ <gas-work v-show="worktype === '置换通气'" :data='user' :cleantf="cleanstart" :type="type" :call-obj="callObj"
30
+ :login-user="loginUser" :meading="'转维修员'" v-on:saveend="saveend" v-on:saveing="savestart"
31
+ v-on:commitsus="commit"></gas-work>
32
+ <work-center v-show="worktype === '工单处理'" :data='user' :call-obj="callObj" :meading="meading"></work-center>
33
+ </div>
34
+ </div>
35
+ </template>
36
+
37
+ <script>
38
+ export default {
39
+ title: '工单派发',
40
+ data() {
41
+ return {
42
+ worktype: '咨询单',
43
+ row: '',
44
+ cleanstart: 0,
45
+ saveing: false,
46
+ selectFiled: '咨询单',
47
+ asp: 'false'
48
+ }
49
+ },
50
+ props: {
51
+ meading: {
52
+ type: String,
53
+ default: '转站点'
54
+ },
55
+ user: {},
56
+ type: {},
57
+ works: {},
58
+ callObj: {
59
+ type: Object
60
+ },
61
+ loginUser: {
62
+ type: Object
63
+ },
64
+ findid: {
65
+ type: Number
66
+ }
67
+ },
68
+ ready() {
69
+ this.asp = this.$appdata.getSingleValue('置换通气')
70
+ if (this.meading == '转维修员') {
71
+ this.worktype = '报修单'
72
+ }
73
+ },
74
+ methods: {
75
+ setField(type) {
76
+ this.selectFiled = type
77
+ this.worktype = type
78
+ },
79
+ saveend() {
80
+ this.saveing = false
81
+ },
82
+ savestart() {
83
+ this.saveing = true
84
+ },
85
+ handWork(type) {
86
+ this.worktype = type
87
+ },
88
+ commit(val) {
89
+ this.cleanstart += 1
90
+ this.$emit('commit', val)
91
+ }
92
+ },
93
+ events: {
94
+ distribute(val) {
95
+ this.$dispatch('useroperate', val)
96
+
97
+ }
98
+ },
99
+ watch: {
100
+ 'worktype'() {
101
+ var ev = new Event("resize", {"bubbles": true, "cancelable": false});
102
+ window.dispatchEvent(ev);
103
+ },
104
+ }
105
+ }
106
+ </script>
107
+ <style lang="less">
108
+ #pc-diswork-page .row, #pc-diswork-page .form-input-group {
109
+ margin: 5px 0px;
110
+ height: auto;
111
+ }
112
+
113
+ /* 禁止textarea横向拉伸 */
114
+ .ver-textarea {
115
+ resize: vertical;
116
+ }
117
+
118
+ .btn-img (@url) {
119
+ width: 100px;
120
+ background-image: url("@{url}");
121
+ background-size: 20px;
122
+ background-position: 5px;
123
+ text-align: right;
124
+ background-repeat: no-repeat;
125
+ border-radius: 0px;
126
+ font-size: 12px;
127
+ height: 28px;
128
+ }
129
+
130
+ #pc-diswork-page .btn-img-cl {
131
+ .btn-img('../../../assets/gongdantixing.png');
132
+ }
133
+
134
+ #pc-diswork-page .btn-img-re {
135
+ .btn-img('../../../assets/chongxinpaifa.png');
136
+ margin-right: 10px;
137
+ }
138
+
139
+ .tel_voiceActive {
140
+ font-family: PingFang-SC-Bold;
141
+ font-size: 16px;
142
+ font-weight: normal !important;
143
+ font-stretch: normal !important;
144
+ line-height: 18px;
145
+ letter-spacing: 0px;
146
+ color: #333333 !important;
147
+ border-bottom: 3px solid #599fe5;
148
+ padding: 10px 10px !important;
149
+ }
150
+
151
+ .tel_f_size {
152
+ font-family: PingFang-SC-Medium;
153
+ font-size: 16px;
154
+ font-weight: normal;
155
+ font-stretch: normal;
156
+ line-height: 18px;
157
+ letter-spacing: 0px;
158
+ color: #666666 !important;
159
+ padding: 10px 10px !important;
160
+ }
161
+
162
+ </style>
163
+