telephone-clients 3.0.107 → 3.0.109
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,56 +1,56 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto ">
|
|
3
|
-
<div class="">
|
|
4
|
-
<label class="control-label">{{row.f_user_name}}</label>
|
|
5
|
-
<span>{{row.f_phone}}</span>
|
|
6
|
-
<span>{{row.f_address}}</span>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="">
|
|
9
|
-
<span>报修时间:{{row.f_repair_date}}</span>
|
|
10
|
-
<span>工单编号:{{row.f_service_id}}</span>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="form-input-group">
|
|
13
|
-
<label class="control-label text-justify">结案原因</label>
|
|
14
|
-
<textarea name="name" rows="3" cols="80" v-model="row.serviceacitivity[0].f_backaccount"></textarea>
|
|
15
|
-
</div>
|
|
16
|
-
<button type="button" name="button" class="btn btn-default" style="float: left;" @click="$emit('cancel')">取消</button>
|
|
17
|
-
<button type="button" name="button" class="btn btn-success" style="float: right;" @click="confirm()">保存</button>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
<script>
|
|
21
|
-
import AppData from '../../stores/AppData'
|
|
22
|
-
// import * as Util from '../Util'
|
|
23
|
-
export default {
|
|
24
|
-
title: '结案',
|
|
25
|
-
props: {
|
|
26
|
-
// 报修单,不含关联关系
|
|
27
|
-
row: { // 工单信息
|
|
28
|
-
type: Object
|
|
29
|
-
},
|
|
30
|
-
loginUser: { // 当前登录人
|
|
31
|
-
type: Object
|
|
32
|
-
},
|
|
33
|
-
callObj: { // 来电电话
|
|
34
|
-
type: Object
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
methods: {
|
|
38
|
-
confirm () {
|
|
39
|
-
let data = {model: this.row, loginUser: {name:this.$login.f.name, ename: this.$login.f.ename},f_caseremarks:this.row.serviceacitivity[0].f_backaccount}
|
|
40
|
-
if (data.model.f_repairitems == null){
|
|
41
|
-
delete data.model.f_repairitems
|
|
42
|
-
}
|
|
43
|
-
// 将数据发送给业务逻辑
|
|
44
|
-
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/serviceCase`, data).then(() => {
|
|
45
|
-
this.$emit('success')
|
|
46
|
-
})
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
watch: {
|
|
50
|
-
// 报修单发生改变,给报修单设置默认派单对象
|
|
51
|
-
row (val) {
|
|
52
|
-
this.row.serviceacitivity = [{}]
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto ">
|
|
3
|
+
<div class="">
|
|
4
|
+
<label class="control-label">{{row.f_user_name}}</label>
|
|
5
|
+
<span>{{row.f_phone}}</span>
|
|
6
|
+
<span>{{row.f_address}}</span>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="">
|
|
9
|
+
<span>报修时间:{{row.f_repair_date}}</span>
|
|
10
|
+
<span>工单编号:{{row.f_service_id}}</span>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-input-group">
|
|
13
|
+
<label class="control-label text-justify">结案原因</label>
|
|
14
|
+
<textarea name="name" rows="3" cols="80" v-model="row.serviceacitivity[0].f_backaccount"></textarea>
|
|
15
|
+
</div>
|
|
16
|
+
<button type="button" name="button" class="btn btn-default" style="float: left;" @click="$emit('cancel')">取消</button>
|
|
17
|
+
<button type="button" name="button" class="btn btn-success" style="float: right;" @click="confirm()">保存</button>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
<script>
|
|
21
|
+
import AppData from '../../stores/AppData'
|
|
22
|
+
// import * as Util from '../Util'
|
|
23
|
+
export default {
|
|
24
|
+
title: '结案',
|
|
25
|
+
props: {
|
|
26
|
+
// 报修单,不含关联关系
|
|
27
|
+
row: { // 工单信息
|
|
28
|
+
type: Object
|
|
29
|
+
},
|
|
30
|
+
loginUser: { // 当前登录人
|
|
31
|
+
type: Object
|
|
32
|
+
},
|
|
33
|
+
callObj: { // 来电电话
|
|
34
|
+
type: Object
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
confirm () {
|
|
39
|
+
let data = {model: this.row, loginUser: {name:this.$login.f.name, ename: this.$login.f.ename},f_caseremarks:this.row.serviceacitivity[0].f_backaccount}
|
|
40
|
+
if (data.model.f_repairitems == null){
|
|
41
|
+
delete data.model.f_repairitems
|
|
42
|
+
}
|
|
43
|
+
// 将数据发送给业务逻辑
|
|
44
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/serviceCase`, data).then(() => {
|
|
45
|
+
this.$emit('success')
|
|
46
|
+
})
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
watch: {
|
|
50
|
+
// 报修单发生改变,给报修单设置默认派单对象
|
|
51
|
+
row (val) {
|
|
52
|
+
this.row.serviceacitivity = [{}]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
</script>
|