index.vue
1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
<template>
<d2-dialog title="历史记录" :is-visible.sync="relateVisible" width="40%" btn-ok-label="确定" @confirmDialog="handleConfirm" @closeDialog="handleClose">
<div class="record-dialog">
<el-timeline-item v-for="(reviewInfo, index) in recordList" :key="index" color="#5850FF" :timestamp="reviewInfo.updatedDateStr">
<!-- {{ reviewInfo.reviewMessage }} -->
</el-timeline-item>
</div>
</d2-dialog>
</template>
<script>
import { deepClone } from '@/common/constant'
import D2Dialog from '@/components/d2-dialog'
export default {
name: 'recordDialog',
components: {
D2Dialog
},
data() {
return {
recordList: []
}
},
props: {
relateVisible: {
type: Boolean,
default: false
},
info: {
type: Object,
default: () => []
}
},
mounted() {
this.getRecordList()
},
methods: {
getRecordList() {
this.$apis.serviceConfig
.modifyDetailRecord({
serviceCode: this.info.serviceCode
// ...this.storeSearchForm,
// currentPage: this.currentPage,
// pageSize: this.pageSize
})
.then(res => {
console.log(res, 'res')
// this.selectingData = res.list
// this.total = res.total
// this.$nextTick(() => {
// this.recoverySelection()
// })
})
},
handleConfirm() {
this.$emit('handleConfirm')
},
handleClose() {
this.$emit('handleClose')
}
}
}
</script>
<style lang="scss" scoped>
</style>