|
|
|
@ -109,7 +109,8 @@ |
|
|
|
</div> |
|
|
|
<div class="project-progress"> |
|
|
|
<div class="project-progress-tip">处理进展</div> |
|
|
|
<el-timeline> |
|
|
|
<div class="refresh"><el-button type="text" @click="refreshProgress"> <i class="el-icon-refresh"></i></el-button></div> |
|
|
|
<el-timeline v-loading="timeloading" style="padding-top: 12px;"> |
|
|
|
<el-timeline-item |
|
|
|
v-for="(item, index) in timeLineList" |
|
|
|
:key="item.id" |
|
|
|
@ -170,6 +171,7 @@ export default { |
|
|
|
name: 'itemCloseDetailView', |
|
|
|
data () { |
|
|
|
return { |
|
|
|
timeloading: true, |
|
|
|
map: '', |
|
|
|
dataForm: { |
|
|
|
id: '', |
|
|
|
@ -260,6 +262,19 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
refreshProgress () { |
|
|
|
this.timeloading = true |
|
|
|
this.$http |
|
|
|
.get(`/events/platform/item/get/${this.dataForm.id}`) |
|
|
|
.then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.getInfo() |
|
|
|
// console.log(res) |
|
|
|
}) |
|
|
|
.catch(() => {}) |
|
|
|
}, |
|
|
|
back () { |
|
|
|
this.$parent.init() |
|
|
|
// this.$router.push({ path: this.$route.path }) |
|
|
|
@ -289,6 +304,7 @@ export default { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.timeloading = false |
|
|
|
this.dataForm = { |
|
|
|
...this.dataForm, |
|
|
|
...res.data |
|
|
|
@ -385,6 +401,7 @@ export default { |
|
|
|
border-radius: 10px; |
|
|
|
background: #fff; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
.container { |
|
|
|
width: 40%; |
|
|
|
@ -443,4 +460,17 @@ export default { |
|
|
|
float:left; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.refresh { |
|
|
|
position: absolute; |
|
|
|
top: -10px; |
|
|
|
right: 0; |
|
|
|
width: 35px; |
|
|
|
height: 30px; |
|
|
|
font-size: 23px; |
|
|
|
line-height: 30px; |
|
|
|
.el-icon-refresh { |
|
|
|
font-size: 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
|