|
@@ -44,6 +44,7 @@
|
|
|
<process-img v-if="processImgVisible" ref="processImg" @refreshDataList="getList"></process-img>
|
|
|
<add-or-update v-if="specDealVisible" ref="specDeal" @refreshDataList="getList"></add-or-update>
|
|
|
<spec-modify v-if="specModifyDealVisible" ref="specModifyDeal" @refreshDataList="getList"></spec-modify>
|
|
|
+ <spec-training-plan v-if="specTrainingPlanVisible" ref="specTrainingPlan" @refreshDataList="getList"></spec-training-plan>
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
@@ -56,10 +57,11 @@
|
|
|
import ProcessImg from '../processImg'
|
|
|
import AddOrUpdate from '../approveDetail/spec-detail';
|
|
|
import SpecModify from '../approveDetail/specModify-detail';
|
|
|
+ import SpecTrainingPlan from '../approveDetail/specTrainingPlan-detaill';
|
|
|
|
|
|
export default {
|
|
|
name: "Myapprove",
|
|
|
- components: { Treeselect,ProcessImg,AddOrUpdate,SpecModify},
|
|
|
+ components: { Treeselect,ProcessImg,AddOrUpdate,SpecModify,SpecTrainingPlan},
|
|
|
data() {
|
|
|
return {
|
|
|
// 遮罩层
|
|
@@ -67,6 +69,7 @@
|
|
|
processImgVisible: false,
|
|
|
specDealVisible: false,
|
|
|
specModifyDealVisible: false,
|
|
|
+ specTrainingPlanVisible: false,
|
|
|
// 选中数组
|
|
|
ids: [],
|
|
|
// 非单个禁用
|
|
@@ -162,6 +165,12 @@
|
|
|
console.log(row.taskName)
|
|
|
this.$refs.specModifyDeal.init(row.approveSpecModify.id, row.taskId, row.processId,row.taskName)
|
|
|
})
|
|
|
+ }else if (row.processName == "专项培训计划审核") {
|
|
|
+ this.specTrainingPlanVisible = true
|
|
|
+ this.$nextTick(() => {
|
|
|
+ console.log(row.taskName)
|
|
|
+ this.$refs.specTrainingPlan.init(row.approveObject.id, row.taskId, row.processId, row.taskName)
|
|
|
+ })
|
|
|
}else {
|
|
|
this.approveInfo = row;
|
|
|
this.infoTaskName = row.taskName;
|