|
@@ -88,7 +88,7 @@
|
|
|
<span>{{ scope.row.beginDate + ' 至 ' + scope.row.endDate }}</span>
|
|
<span>{{ scope.row.beginDate + ' 至 ' + scope.row.endDate }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column>
|
|
|
|
|
|
|
+ <el-table-column label="操作" width="80">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-button size="mini"
|
|
<el-button size="mini"
|
|
|
type="text"
|
|
type="text"
|
|
@@ -105,7 +105,7 @@
|
|
|
<el-dialog title="审核任务" :visible.sync="auditOpen" width="800px" class="add-dialog" append-to-body
|
|
<el-dialog title="审核任务" :visible.sync="auditOpen" width="800px" class="add-dialog" append-to-body
|
|
|
:close-on-click-modal="false">
|
|
:close-on-click-modal="false">
|
|
|
<task-detail :detail-form="detailForm"></task-detail>
|
|
<task-detail :detail-form="detailForm"></task-detail>
|
|
|
- <div v-if="detailTitle=='审核任务'" style="margin-top: 10px">
|
|
|
|
|
|
|
+ <div style="margin-top: 10px">
|
|
|
<el-form ref="auditForm" :model="auditForm" :rules="auditRules" size="mini" label-width="100px">
|
|
<el-form ref="auditForm" :model="auditForm" :rules="auditRules" size="mini" label-width="100px">
|
|
|
<el-form-item label="审核意见" prop="auditResult">
|
|
<el-form-item label="审核意见" prop="auditResult">
|
|
|
<el-radio-group v-model="auditForm.auditResult">
|
|
<el-radio-group v-model="auditForm.auditResult">
|
|
@@ -164,7 +164,13 @@ export default {
|
|
|
enforceRemindCount: 0,
|
|
enforceRemindCount: 0,
|
|
|
|
|
|
|
|
detailForm: false,
|
|
detailForm: false,
|
|
|
- auditOpen: false
|
|
|
|
|
|
|
+ auditForm: {},
|
|
|
|
|
+ auditOpen: false,
|
|
|
|
|
+ auditRules:{
|
|
|
|
|
+ auditResult: [
|
|
|
|
|
+ {required: true, message: "审核意见不能为空", trigger: "change"}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
@@ -247,7 +253,6 @@ export default {
|
|
|
auditOpinion: undefined
|
|
auditOpinion: undefined
|
|
|
}
|
|
}
|
|
|
this.detailOpen = true;
|
|
this.detailOpen = true;
|
|
|
- this.detailTitle = "审核任务";
|
|
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
|