|
@@ -83,7 +83,7 @@
|
|
|
<el-dialog :title="detailForm.taskName" :visible.sync="auditOpen" width="900px" class="i-audit-dialog"
|
|
|
append-to-body
|
|
|
:close-on-click-modal="false">
|
|
|
- <el-carousel trigger="click" height="640px" indicator-position="outside" :autoplay="false"
|
|
|
+ <el-carousel trigger="click" height="630px" :autoplay="false"
|
|
|
@change="auditTaskChange">
|
|
|
<el-carousel-item v-for="item in carouselNum" :key="item">
|
|
|
<task-detail :detail-form="detailForm"></task-detail>
|
|
@@ -283,11 +283,12 @@ export default {
|
|
|
},
|
|
|
|
|
|
auditTaskChange(currIndex, oldIndex) {
|
|
|
+ let refs = this.$refs.auditForm
|
|
|
for (let key in refs) {
|
|
|
refs[key].resetFields()
|
|
|
refs[key].clearValidate()
|
|
|
}
|
|
|
- let auditTask = this.auditTasks[currIndex - 1];
|
|
|
+ let auditTask = this.auditTasks[currIndex];
|
|
|
getTask(auditTask.id).then(res => {
|
|
|
this.detailForm = res.data;
|
|
|
this.auditForm = {
|