telephone-clients 4.0.0-1-69 → 4.0.0-1-71

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,324 +1,324 @@
1
- <template>
2
- <partial-view-tel v-ref:pv>
3
- <div class="panel panel-info auto" >
4
- <div class="panel-heading auto" style="text-align: center" v-show="service.serviceacitivity.length>0">
5
- <h4 style="display:inline-block;margin-top: auto">工单历史</h4>
6
- </div>
7
- <div class="tab-content span">
8
- <timeline style="margin-left: 20px"
9
- v-if="service.f_workorder_type=='报修单' || service.f_workorder_type=='置换通气单'|| service.f_workorder_type=='安装单'|| service.f_workorder_type=='投诉单'||service.f_workorder_type=='咨询单'">
10
- <timeline-item-tel v-for="activity in service.serviceacitivity"
11
- :color="$index === service.serviceacitivity.length - 1 ? 'blue' : 'default'"
12
- :isblue="$index === service.serviceacitivity.length - 1 ? true : false">
13
- <!-- 派单 -->
14
- <div style="margin-top: 5px" v-if="activity.type === 't_servicesend'">
15
- <p>{{ activity.f_date }}</p>
16
- <p>{{ activity.f_name }}派单给{{ getReciever(activity) }}</p>
17
- </div>
18
- <!-- 工单打回 -->
19
- <div style="margin-top: 5px" v-if="activity.type === 't_service_back'">
20
- <p>{{ activity.f_date }}</p>
21
- <p>{{ activity.f_operator }}将工单{{activity.f_back_type}}</p>
22
- <p v-if="activity.f_remarks">原因:{{ activity.f_remarks }}</p>
23
- </div>
24
- <!-- 工单打回 工单打回旧版使用t_site_back,兼容之前的逻辑。新版本无需调整此项-->
25
- <div style="margin-top: 5px" v-if="activity.type === 't_site_back'">
26
- <p>{{ activity.f_site_back_date }}</p>
27
- <p>{{ activity.f_site_back_name }}将工单打回</p>
28
- <p>原因:{{ activity.f_site_back_reason }}</p>
29
- </div>
30
- <!-- 未维修,属于维修员打回 兼容之前的逻辑。新版本无需调整此项 -->
31
- <div style="margin-top: 5px" v-if="activity.type === 't_notwork'">
32
- <p>{{ activity.f_date }}</p>
33
- <p>{{ activity.f_name }}未处理</p>
34
- <p>原因:{{ activity.f_reason }}</p>
35
- </div>
36
- <!-- 用户催单 -->
37
- <div style="margin-top: 5px" v-if="activity.type === 't_reminder'">
38
- <p>用户催单</p>
39
- <p>{{ activity.f_reminder_date }}</p>
40
- <p>操作人:{{ activity.f_operator_name }}</p>
41
- <p>催单内容:{{ activity.f_content }}</p>
42
- </div>
43
- <!-- 工单撤回 -->
44
- <div style="margin-top: 5px" v-if="activity.type === 't_recall'">
45
- <p>{{ activity.f_recall_date }}</p>
46
- <p>{{ activity.f_recall_name }}撤回工单</p>
47
- <p>备注:{{ activity.f_remarks }}</p>
48
- </div>
49
- <!-- 工单信息补充 -->
50
- <div style="margin-top: 5px" v-if="activity.type === 't_telinformation'">
51
- <p>{{ activity.f_information_date }}</p>
52
- <p>{{ activity.f_operator_name }}进行信息补充</p>
53
- <p>维护内容:{{ activity.f_content }}</p>
54
- </div>
55
- <!-- 一次维修 -->
56
- <div style="margin-top: 5px" v-if="activity.type === 't_servicework'">
57
- <p>入户时间: {{ activity.f_date_come }}</p>
58
- <p>离开时间: {{ activity.f_date_leave }}</p>
59
- <!--<img-self v-for="img in activity.imgs" :src="`rs/file/getfile/${img.imgid}`" alt="测试" :width="150"-->
60
- <!--:height="200"></img-self>-->
61
- <p>接单员: {{ activity.f_name }} &nbsp;&nbsp;&nbsp;完成结果: {{ activity.f_result_status }}
62
- </p>
63
- <p v-if="activity.f_result_status === '未完成'">原因: {{ activity.f_reason }}
64
- </p>
65
- </div>
66
- <!-- 工单结案 -->
67
- <div style="margin-top: 5px" v-if="activity.type === 't_serviceend'">
68
- <p>{{ activity.f_date }}</p>
69
- <p>{{ activity.f_name }}结束工单,备注:{{ activity.f_caseremarks }} {{activity.f_remakes}}</p>
70
- <span class="btn btn-link add-postition" v-if="activity.f_caseimgs" @click="getcaseimgs(activity.f_caseimgs)">结案照片</span>
71
- </div>
72
- </timeline-item-tel>
73
- </timeline>
74
- </div>
75
- </div>
76
- </partial-view-tel>
77
- </template>
78
- <script>
79
- import co from 'co'
80
- import Vue from 'vue'
81
- import FailureShow from '../../../components/pc/FailureShow.vue'
82
-
83
- let getGen = function * (self) {
84
- yield self.$resetpost(self.$androidUtil.getProxyUrl() +'/af-telephone/rs/path/getService', {data: {id: self.rowOne.id}}, {resolveMsg: null, rejectMsg: null})
85
- .then((res) => {
86
- self.service = res.data[0]
87
- })
88
- }
89
- export default {
90
- title: '工单历史记录',
91
- data () {
92
- return {
93
- curactivity:{},
94
- attachment:{},
95
- attachmentShow:false,
96
- caseimgs:[],
97
- caseimgshow:false,
98
- imgshow: false,
99
- imgfilename: '',
100
- imgfilenamea: '',
101
- imgfilenameb: '',
102
- service: null,
103
- repaierShow: false,
104
- isshow: false,
105
- show: false,
106
- takeshow: false, // 操作面板显示
107
- repair: {},
108
- evaluate: {},
109
- num: 14,
110
- wavflie: '',
111
- iscomplanAllInfo: false, // 是否显示投诉单详情
112
- complanResult: {}, //投诉单详情信息
113
- showinfo:false,
114
- information:'',
115
- loginUser:{
116
- name:Vue.user.name,
117
- ename:Vue.user.ename
118
- }
119
- }
120
- },
121
- props: {
122
- rowOne: { // 传入一条工单信息
123
- type: Object
124
- }
125
- },
126
- methods: {
127
- showAttachment(activity){
128
- this.attachment = activity
129
- this.attachmentShow = true
130
- },
131
- getcaseimgs(val){
132
- if(val){
133
- this.caseimgs = val.split(";")
134
- }
135
- this.caseimgshow= true
136
- },
137
- caseclose(){
138
- this.caseimgshow= false
139
- },
140
- //添加信息维护
141
- infoadd(){
142
- this.showinfo = true
143
- },
144
- infoaddsure(){
145
- if(!this.information){
146
- return this.$showMessage('请填写维护内容!')
147
- }
148
- var data = {
149
- id :this.service.id,
150
- f_processid:this.service.f_processid,
151
- f_content:this.information,
152
- serviceacitivity : [{}]
153
- }
154
- // 将数据发送给业务逻辑
155
- this.$resetpost(this.$androidUtil.getProxyUrl() +'/af-telephone/rs/logic/telinformation', {model: data, loginUser: this.loginUser},{resolveMsg: null, rejectMsg: null}).then(() => {
156
- this.$showMessage('维护内容添加成功!',['confirm'])
157
- this.information = ''
158
- this.showinfo =false
159
- this.selfSearch()
160
- })
161
- },
162
- infoclose(){
163
- this.showinfo =false
164
- },
165
- trouble (val) {
166
- let failureall=''
167
- // val=[{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""},{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""},{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""}]
168
-
169
- let failure = JSON.parse(val)
170
- for (let i = 0; i <failure.length; i++) {
171
- if (failure[i].failurecase.length>0){
172
- failureall+=failure[i].f_failure_type+":"
173
- for (let j = 0; j < failure[i].failurecase.length; j++) {
174
- failureall+=failure[i].failurecase[j]
175
- if (j+1!=failure[i].failurecase.length){
176
- failureall+=","
177
- }
178
- }
179
-
180
- }else{
181
- failureall+=failure[i].f_failure_type
182
- }
183
- if (i+1!=failure.length){
184
- failureall+=';'
185
- }
186
- }
187
- return failureall
188
- },
189
- // 投诉单详情
190
- reqComplanResult (index) {
191
- this.complanResult = Object.assign({}, this.service.serviceacitivity[index])
192
- this.iscomplanAllInfo = true
193
- },
194
- showpicture (val) {
195
- //tag
196
- //tag)
197
- this.imgshow = true
198
- this.imgfilename = 'rs/image/file/' + val.f_single_path
199
- this.imgfilenamea = 'rs/image/file/' + val.f_singlea_path
200
- this.imgfilenameb = 'rs/image/file/' + val.f_singleb_path
201
- },
202
- imgclose () {
203
- this.imgshow = false
204
- },
205
- renew () {
206
- this.takeshow = false
207
- },
208
- clean () {
209
- this.takeshow = false
210
- },
211
- takett () {
212
- this.takeshow = true
213
- },
214
- playWav (val) {
215
- let condition = `id = '${val}'`
216
- let result = ''
217
- this.$resetpost( `${this.$androidUtil.getProxyUrl()}/af-telephone/rs/sql/tel_singleTable`, {
218
- data: {
219
- items: 'recordfile', tablename: 't_records',
220
- condition: condition, orderitem: 'outltime'
221
- }
222
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
223
- result = res.data
224
- this.wavflie = result[0].recordfile
225
- this.show = true
226
- })
227
- },
228
- closemodel () {
229
- this.wavflie = ''
230
- this.show = false
231
- },
232
- getReciever (val) {
233
- let str = val.f_reciever
234
- var i = parseInt(str)
235
- if (isNaN(i)) {
236
- return val.f_reciever
237
- }
238
- return val.f_meetunit
239
- },
240
- selfSearch () {
241
- if (!this.rowOne) {
242
- return
243
- }
244
- if (this.rowOne.f_workorder_type != '报修单' && this.rowOne.f_workorder_type != '置换通气单' && this.rowOne.f_workorder_type != '安装单' && this.rowOne.f_workorder_type != '投诉单' && this.rowOne.f_workorder_type != '咨询单') {
245
- this.service = this.rowOne
246
- } else {
247
- let gen = getGen(this)
248
- co(gen)
249
- }
250
- // if (this.rowOne.processins) {
251
- // this.service = this.rowOne
252
- // } else {
253
- // let gen = getGen(this)
254
- // co(gen)
255
- // }
256
- },
257
- getrepair () {
258
- // if(!this.rowOne) {
259
- // return
260
- // }
261
- let gen = getrepairGen(this)
262
- co(gen)
263
- },
264
- repairlist (index) {
265
- this.curactivity = Object.assign({}, this.service.serviceacitivity[index])
266
- //tag
267
- //tag)
268
- // this.repaierShow = true
269
- this.$goto('new-repair-paper', {service:this.service,curactivity: this.curactivity}, 'self')
270
- },
271
- close () {
272
- this.repaierShow = false
273
- },
274
- discuss () {
275
- //tag
276
- this.isshow = true
277
- },
278
- closeevaluate () {
279
- this.isshow = false
280
- },
281
- // 评论完成
282
- saveevaluate (val) {
283
- //tag
284
- this.isshow = false
285
- this.$refs.evaluate.init(this.evaluate.f_type, this.evaluate.f_middle_id).then(() => {
286
- })
287
- }
288
- },
289
- watch: {
290
- 'rowOne' () {
291
- this.selfSearch()
292
- //tag
293
- //tag
294
- },
295
- 'service' (val) {
296
- if (val) {
297
- this.evaluate = {
298
- f_type: val.f_workorder_type,
299
- f_middle_id: val.f_service_id
300
- }
301
- }
302
- }
303
- },
304
- ready () {
305
- this.selfSearch()
306
-
307
- },
308
- components: {
309
- 'failure-show': FailureShow
310
- }
311
- }
312
- </script>
313
- <style scoped lang="less">
314
- .workOrderInfo{
315
- .row {
316
- div {
317
- margin-top: 10px;
318
- [readonly] {
319
- background-color:#eeeeee;
320
- }
321
- }
322
- }
323
- }
324
- </style>
1
+ <template>
2
+ <partial-view-tel v-ref:pv>
3
+ <div class="panel panel-info auto" >
4
+ <div class="panel-heading auto" style="text-align: center" v-show="service.serviceacitivity.length>0">
5
+ <h4 style="display:inline-block;margin-top: auto">工单历史</h4>
6
+ </div>
7
+ <div class="tab-content span">
8
+ <timeline style="margin-left: 20px"
9
+ v-if="service.f_workorder_type=='报修单' || service.f_workorder_type=='置换通气单'|| service.f_workorder_type=='安装单'|| service.f_workorder_type=='投诉单'||service.f_workorder_type=='咨询单'">
10
+ <timeline-item-tel v-for="activity in service.serviceacitivity"
11
+ :color="$index === service.serviceacitivity.length - 1 ? 'blue' : 'default'"
12
+ :isblue="$index === service.serviceacitivity.length - 1 ? true : false">
13
+ <!-- 派单 -->
14
+ <div style="margin-top: 5px" v-if="activity.type === 't_servicesend'">
15
+ <p>{{ activity.f_date }}</p>
16
+ <p>{{ activity.f_name }}派单给{{ getReciever(activity) }}</p>
17
+ </div>
18
+ <!-- 工单打回 -->
19
+ <div style="margin-top: 5px" v-if="activity.type === 't_service_back'">
20
+ <p>{{ activity.f_date }}</p>
21
+ <p>{{ activity.f_operator }}将工单{{activity.f_back_type}}</p>
22
+ <p v-if="activity.f_remarks">原因:{{ activity.f_remarks }}</p>
23
+ </div>
24
+ <!-- 工单打回 工单打回旧版使用t_site_back,兼容之前的逻辑。新版本无需调整此项-->
25
+ <div style="margin-top: 5px" v-if="activity.type === 't_site_back'">
26
+ <p>{{ activity.f_site_back_date }}</p>
27
+ <p>{{ activity.f_site_back_name }}将工单打回</p>
28
+ <p>原因:{{ activity.f_site_back_reason }}</p>
29
+ </div>
30
+ <!-- 未维修,属于维修员打回 兼容之前的逻辑。新版本无需调整此项 -->
31
+ <div style="margin-top: 5px" v-if="activity.type === 't_notwork'">
32
+ <p>{{ activity.f_date }}</p>
33
+ <p>{{ activity.f_name }}未处理</p>
34
+ <p>原因:{{ activity.f_reason }}</p>
35
+ </div>
36
+ <!-- 用户催单 -->
37
+ <div style="margin-top: 5px" v-if="activity.type === 't_reminder'">
38
+ <p>用户催单</p>
39
+ <p>{{ activity.f_reminder_date }}</p>
40
+ <p>操作人:{{ activity.f_operator_name }}</p>
41
+ <p>催单内容:{{ activity.f_content }}</p>
42
+ </div>
43
+ <!-- 工单撤回 -->
44
+ <div style="margin-top: 5px" v-if="activity.type === 't_recall'">
45
+ <p>{{ activity.f_recall_date }}</p>
46
+ <p>{{ activity.f_recall_name }}撤回工单</p>
47
+ <p>备注:{{ activity.f_remarks }}</p>
48
+ </div>
49
+ <!-- 工单信息补充 -->
50
+ <div style="margin-top: 5px" v-if="activity.type === 't_telinformation'">
51
+ <p>{{ activity.f_information_date }}</p>
52
+ <p>{{ activity.f_operator_name }}进行信息补充</p>
53
+ <p>维护内容:{{ activity.f_content }}</p>
54
+ </div>
55
+ <!-- 一次维修 -->
56
+ <div style="margin-top: 5px" v-if="activity.type === 't_servicework'">
57
+ <p>入户时间: {{ activity.f_date_come }}</p>
58
+ <p>离开时间: {{ activity.f_date_leave }}</p>
59
+ <!--<img-self v-for="img in activity.imgs" :src="`rs/file/getfile/${img.imgid}`" alt="测试" :width="150"-->
60
+ <!--:height="200"></img-self>-->
61
+ <p>接单员: {{ activity.f_name }} &nbsp;&nbsp;&nbsp;完成结果: {{ activity.f_result_status }}
62
+ </p>
63
+ <p v-if="activity.f_result_status === '未完成'">原因: {{ activity.f_reason }}
64
+ </p>
65
+ </div>
66
+ <!-- 工单结案 -->
67
+ <div style="margin-top: 5px" v-if="activity.type === 't_serviceend'">
68
+ <p>{{ activity.f_date }}</p>
69
+ <p>{{ activity.f_name }}结束工单,备注:{{ activity.f_caseremarks }} {{activity.f_remakes}}</p>
70
+ <span class="btn btn-link add-postition" v-if="activity.f_caseimgs" @click="getcaseimgs(activity.f_caseimgs)">结案照片</span>
71
+ </div>
72
+ </timeline-item-tel>
73
+ </timeline>
74
+ </div>
75
+ </div>
76
+ </partial-view-tel>
77
+ </template>
78
+ <script>
79
+ import co from 'co'
80
+ import Vue from 'vue'
81
+ import FailureShow from '../../../components/pc/FailureShow.vue'
82
+
83
+ let getGen = function * (self) {
84
+ yield self.$resetpost(self.$androidUtil.getProxyUrl() +'/af-telephone/rs/path/getService', {data: {id: self.rowOne.id}}, {resolveMsg: null, rejectMsg: null})
85
+ .then((res) => {
86
+ self.service = res.data[0]
87
+ })
88
+ }
89
+ export default {
90
+ title: '工单历史记录',
91
+ data () {
92
+ return {
93
+ curactivity:{},
94
+ attachment:{},
95
+ attachmentShow:false,
96
+ caseimgs:[],
97
+ caseimgshow:false,
98
+ imgshow: false,
99
+ imgfilename: '',
100
+ imgfilenamea: '',
101
+ imgfilenameb: '',
102
+ service: null,
103
+ repaierShow: false,
104
+ isshow: false,
105
+ show: false,
106
+ takeshow: false, // 操作面板显示
107
+ repair: {},
108
+ evaluate: {},
109
+ num: 14,
110
+ wavflie: '',
111
+ iscomplanAllInfo: false, // 是否显示投诉单详情
112
+ complanResult: {}, //投诉单详情信息
113
+ showinfo:false,
114
+ information:'',
115
+ loginUser:{
116
+ name:Vue.user.name,
117
+ ename:Vue.user.ename
118
+ }
119
+ }
120
+ },
121
+ props: {
122
+ rowOne: { // 传入一条工单信息
123
+ type: Object
124
+ }
125
+ },
126
+ methods: {
127
+ showAttachment(activity){
128
+ this.attachment = activity
129
+ this.attachmentShow = true
130
+ },
131
+ getcaseimgs(val){
132
+ if(val){
133
+ this.caseimgs = val.split(";")
134
+ }
135
+ this.caseimgshow= true
136
+ },
137
+ caseclose(){
138
+ this.caseimgshow= false
139
+ },
140
+ //添加信息维护
141
+ infoadd(){
142
+ this.showinfo = true
143
+ },
144
+ infoaddsure(){
145
+ if(!this.information){
146
+ return this.$showMessage('请填写维护内容!')
147
+ }
148
+ var data = {
149
+ id :this.service.id,
150
+ f_processid:this.service.f_processid,
151
+ f_content:this.information,
152
+ serviceacitivity : [{}]
153
+ }
154
+ // 将数据发送给业务逻辑
155
+ this.$resetpost(this.$androidUtil.getProxyUrl() +'/af-telephone/rs/logic/telinformation', {model: data, loginUser: this.loginUser},{resolveMsg: null, rejectMsg: null}).then(() => {
156
+ this.$showMessage('维护内容添加成功!',['confirm'])
157
+ this.information = ''
158
+ this.showinfo =false
159
+ this.selfSearch()
160
+ })
161
+ },
162
+ infoclose(){
163
+ this.showinfo =false
164
+ },
165
+ trouble (val) {
166
+ let failureall=''
167
+ // val=[{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""},{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""},{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""}]
168
+
169
+ let failure = JSON.parse(val)
170
+ for (let i = 0; i <failure.length; i++) {
171
+ if (failure[i].failurecase.length>0){
172
+ failureall+=failure[i].f_failure_type+":"
173
+ for (let j = 0; j < failure[i].failurecase.length; j++) {
174
+ failureall+=failure[i].failurecase[j]
175
+ if (j+1!=failure[i].failurecase.length){
176
+ failureall+=","
177
+ }
178
+ }
179
+
180
+ }else{
181
+ failureall+=failure[i].f_failure_type
182
+ }
183
+ if (i+1!=failure.length){
184
+ failureall+=';'
185
+ }
186
+ }
187
+ return failureall
188
+ },
189
+ // 投诉单详情
190
+ reqComplanResult (index) {
191
+ this.complanResult = Object.assign({}, this.service.serviceacitivity[index])
192
+ this.iscomplanAllInfo = true
193
+ },
194
+ showpicture (val) {
195
+ //tag
196
+ //tag)
197
+ this.imgshow = true
198
+ this.imgfilename = 'rs/image/file/' + val.f_single_path
199
+ this.imgfilenamea = 'rs/image/file/' + val.f_singlea_path
200
+ this.imgfilenameb = 'rs/image/file/' + val.f_singleb_path
201
+ },
202
+ imgclose () {
203
+ this.imgshow = false
204
+ },
205
+ renew () {
206
+ this.takeshow = false
207
+ },
208
+ clean () {
209
+ this.takeshow = false
210
+ },
211
+ takett () {
212
+ this.takeshow = true
213
+ },
214
+ playWav (val) {
215
+ let condition = `id = '${val}'`
216
+ let result = ''
217
+ this.$resetpost( `${this.$androidUtil.getProxyUrl()}/af-telephone/rs/sql/tel_singleTable`, {
218
+ data: {
219
+ items: 'recordfile', tablename: 't_records',
220
+ condition: condition, orderitem: 'outltime'
221
+ }
222
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
223
+ result = res.data
224
+ this.wavflie = result[0].recordfile
225
+ this.show = true
226
+ })
227
+ },
228
+ closemodel () {
229
+ this.wavflie = ''
230
+ this.show = false
231
+ },
232
+ getReciever (val) {
233
+ let str = val.f_reciever
234
+ var i = parseInt(str)
235
+ if (isNaN(i)) {
236
+ return val.f_reciever
237
+ }
238
+ return val.f_meetunit
239
+ },
240
+ selfSearch () {
241
+ if (!this.rowOne) {
242
+ return
243
+ }
244
+ if (this.rowOne.f_workorder_type != '报修单' && this.rowOne.f_workorder_type != '置换通气单' && this.rowOne.f_workorder_type != '安装单' && this.rowOne.f_workorder_type != '投诉单' && this.rowOne.f_workorder_type != '咨询单') {
245
+ this.service = this.rowOne
246
+ } else {
247
+ let gen = getGen(this)
248
+ co(gen)
249
+ }
250
+ // if (this.rowOne.processins) {
251
+ // this.service = this.rowOne
252
+ // } else {
253
+ // let gen = getGen(this)
254
+ // co(gen)
255
+ // }
256
+ },
257
+ getrepair () {
258
+ // if(!this.rowOne) {
259
+ // return
260
+ // }
261
+ let gen = getrepairGen(this)
262
+ co(gen)
263
+ },
264
+ repairlist (index) {
265
+ this.curactivity = Object.assign({}, this.service.serviceacitivity[index])
266
+ //tag
267
+ //tag)
268
+ // this.repaierShow = true
269
+ this.$goto('new-repair-paper', {service:this.service,curactivity: this.curactivity}, 'self')
270
+ },
271
+ close () {
272
+ this.repaierShow = false
273
+ },
274
+ discuss () {
275
+ //tag
276
+ this.isshow = true
277
+ },
278
+ closeevaluate () {
279
+ this.isshow = false
280
+ },
281
+ // 评论完成
282
+ saveevaluate (val) {
283
+ //tag
284
+ this.isshow = false
285
+ this.$refs.evaluate.init(this.evaluate.f_type, this.evaluate.f_middle_id).then(() => {
286
+ })
287
+ }
288
+ },
289
+ watch: {
290
+ 'rowOne' () {
291
+ this.selfSearch()
292
+ //tag
293
+ //tag
294
+ },
295
+ 'service' (val) {
296
+ if (val) {
297
+ this.evaluate = {
298
+ f_type: val.f_workorder_type,
299
+ f_middle_id: val.f_service_id
300
+ }
301
+ }
302
+ }
303
+ },
304
+ ready () {
305
+ this.selfSearch()
306
+
307
+ },
308
+ components: {
309
+ 'failure-show': FailureShow
310
+ }
311
+ }
312
+ </script>
313
+ <style scoped lang="less">
314
+ .workOrderInfo{
315
+ .row {
316
+ div {
317
+ margin-top: 10px;
318
+ [readonly] {
319
+ background-color:#eeeeee;
320
+ }
321
+ }
322
+ }
323
+ }
324
+ </style>