telephone-clients 3.0.105-4 → 3.0.105-9
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/build.gradle +15 -0
- package/package.json +1 -1
- package/src/components/pc/SiteBack.vue +84 -93
- package/src/components/workorder/RepairOrderV.vue +1446 -864
- package/src/filiale/rizhao/pc/NewRepairPaper.vue +377 -376
- package/src/filiale/wenxi/pc/WorkListAll.vue +698 -698
- package/src/filiale/yuncheng/android/Outlay.vue +201 -201
- package/src/filiale/yuncheng/android/RepairOrderV.vue +1483 -971
- package/src/filiale/yuncheng/pc/WorkListAllNew.vue +787 -805
- package/src/main.js +22 -22
- package/src/filiale/yuncheng/android/SubstitFirstV.vue +0 -146
package/build.gradle
ADDED
package/package.json
CHANGED
|
@@ -1,93 +1,84 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="form-inline auto ">
|
|
3
|
-
<div class="row">
|
|
4
|
-
<label style="margin-left: 20px;">工单编号:</label><span>{{ row.f_service_id }}</span>
|
|
5
|
-
</div>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<label style="margin-left: 20px;">退回原因:</label>
|
|
8
|
-
<textarea style="width: 30%" name="name" rows="2" class="ver-textarea" class="form-control" v-model='model.serviceacitivity[0].f_site_back_reason'></textarea>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="row">
|
|
11
|
-
<button style="float: right;" type="button" name="button" class="button_search button_spacing"
|
|
12
|
-
@click="$emit('cancel')">取消
|
|
13
|
-
</button>
|
|
14
|
-
<button style="float: right;" type="button" name="button" class="button_search button_spacing"
|
|
15
|
-
@click="WorkBack()">退回
|
|
16
|
-
</button>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
<script>
|
|
21
|
-
import * as Util from '../Util'
|
|
22
|
-
import Vue from 'vue'
|
|
23
|
-
|
|
24
|
-
export default {
|
|
25
|
-
title: '站点工单打回',
|
|
26
|
-
props: {
|
|
27
|
-
row: {
|
|
28
|
-
type: Object
|
|
29
|
-
},
|
|
30
|
-
source: ''
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
})
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
this.model = Object.assign({}, this.model, this.row)
|
|
86
|
-
this.$set('model.serviceacitivity', [{
|
|
87
|
-
f_service_acitivity_type: '打回'
|
|
88
|
-
}])
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="form-inline auto ">
|
|
3
|
+
<div class="row">
|
|
4
|
+
<label style="margin-left: 20px;">工单编号:</label><span>{{ row.f_service_id }}</span>
|
|
5
|
+
</div>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<label style="margin-left: 20px;">退回原因:</label>
|
|
8
|
+
<textarea style="width: 30%" name="name" rows="2" class="ver-textarea" class="form-control" v-model='model.serviceacitivity[0].f_site_back_reason'></textarea>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="row">
|
|
11
|
+
<button style="float: right;" type="button" name="button" class="button_search button_spacing"
|
|
12
|
+
@click="$emit('cancel')">取消
|
|
13
|
+
</button>
|
|
14
|
+
<button style="float: right;" type="button" name="button" class="button_search button_spacing"
|
|
15
|
+
@click="WorkBack()">退回
|
|
16
|
+
</button>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
<script>
|
|
21
|
+
import * as Util from '../Util'
|
|
22
|
+
import Vue from 'vue'
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
title: '站点工单打回',
|
|
26
|
+
props: {
|
|
27
|
+
row: {
|
|
28
|
+
type: Object
|
|
29
|
+
},
|
|
30
|
+
source: ''
|
|
31
|
+
},
|
|
32
|
+
data () {
|
|
33
|
+
return {
|
|
34
|
+
model: {
|
|
35
|
+
serviceacitivity: [{
|
|
36
|
+
f_site_back_date: '',
|
|
37
|
+
f_site_back_name: '',
|
|
38
|
+
serviceid: '',
|
|
39
|
+
f_service_acitivity_type: ''
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
watch: {
|
|
46
|
+
// 报修单发生改变,给报修单设置默认打回对象
|
|
47
|
+
row (val) {
|
|
48
|
+
this.setRow()
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
ready () {
|
|
52
|
+
this.setRow()
|
|
53
|
+
},
|
|
54
|
+
methods: {
|
|
55
|
+
WorkBack () {
|
|
56
|
+
// 将数据发送给业务逻辑
|
|
57
|
+
let data = ''
|
|
58
|
+
if (this.source == 'mobile') {
|
|
59
|
+
data = {model: this.model, loginUser: {name: Vue.user.name, ename: Vue.user.ename, id: Vue.user.id}}
|
|
60
|
+
return this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/siteBack`, data).then(() => {
|
|
61
|
+
this.$emit('success')
|
|
62
|
+
})
|
|
63
|
+
} else {
|
|
64
|
+
data = {
|
|
65
|
+
model: this.model,
|
|
66
|
+
loginUser: {name: this.$login.f.name, ename: this.$login.f.ename, id: this.$login.f.id}
|
|
67
|
+
}
|
|
68
|
+
return this.$resetpost('rs/logic/siteBack', data).then(() => {
|
|
69
|
+
this.$emit('success')
|
|
70
|
+
})
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
},
|
|
74
|
+
setRow () {
|
|
75
|
+
if (this.row) {
|
|
76
|
+
this.model = Object.assign({}, this.model, this.row)
|
|
77
|
+
this.$set('model.serviceacitivity', [{
|
|
78
|
+
f_service_acitivity_type: '打回'
|
|
79
|
+
}])
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
</script>
|