|
|
@@ -1,78 +1,48 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<el-dialog :title="title" :visible.sync="dialogFormVisible" @close="close">
|
|
|
- <el-form ref="form" :model="form" style="margin-top: -24px">
|
|
|
- <el-row :gutter="20" style="margin: 0px">
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="渠道名称:" style="margin: 0px">
|
|
|
- {{ form.distributorName }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="主营产品:" style="margin: 0px">
|
|
|
- {{ form.mainProduct }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="主要客户:" style="margin: 0px">
|
|
|
- {{ form.mainCustomer }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="参训人员:" style="margin: 0px">
|
|
|
- {{ form.trainees }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="期望培训日期:" style="margin: 0px">
|
|
|
- {{ parseTime(form.expectTrainDate, '{y}-{m}-{d}') }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="期望时间:" style="margin: 0px">
|
|
|
- {{ parseTime(form.expectStartTime, '{h}:{i}') }} - {{ parseTime(form.expectEndTime, '{h}:{i}') }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="培训主题:" style="margin: 0px">
|
|
|
- {{ form.trainTitle }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="讲师要求:" style="margin: 0px">
|
|
|
- {{ form.instructorRequire }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="关注要点:" style="margin: 0px">
|
|
|
- {{ form.focusPoint }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item v-if="form.trainInstructor != ''" label="培训讲师:" style="margin: 0px">
|
|
|
- {{ form.trainInstructor }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item v-if="form.trainDate != ''" label="培训日期:" style="margin: 0px">
|
|
|
- {{ parseTime(form.trainDate, '{y}-{m}-{d}') }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item v-if="form.specificStartTime != ''" label="培训时间:" style="margin: 0px">
|
|
|
- {{ parseTime(form.specificStartTime, '{h}:{i}') }} - {{ parseTime(form.specificEndTime, '{h}:{i}') }}
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="24">
|
|
|
- <el-table ref="productTable" :data="list" style="width: 100%; margin-top: 10px">
|
|
|
- <el-table-column label="讲解时长" prop="explainDuration" show-overflow-tooltip />
|
|
|
- <el-table-column label="提问记录" prop="questionRecord" show-overflow-tooltip />
|
|
|
- <el-table-column label="培训效果总结" prop="trainSummary" show-overflow-tooltip />
|
|
|
- <el-table-column label="下一步工作计划" prop="nextStep" show-overflow-tooltip />
|
|
|
- </el-table>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
+ <el-descriptions border class="margin-top" :column="2" title="">
|
|
|
+ <el-descriptions-item label="渠道名称">{{ form.distributorName }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="主营产品">{{ form.mainProduct }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="主要客户">{{ form.mainCustomer }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="参训人员">{{ form.trainees }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="期望培训日期">
|
|
|
+ {{ parseTime(form.expectTrainDate, '{y}-{m}-{d}') }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item label="期望时间">
|
|
|
+ {{ parseTime(form.expectStartTime, '{h}:{i}') }} - {{ parseTime(form.expectEndTime, '{h}:{i}') }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item label="培训主题">{{ form.trainTitle }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="讲师要求">{{ form.instructorRequire }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="关注要点">{{ form.focusPoint }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="form.trainInstructor != ''" label="培训讲师">
|
|
|
+ {{ form.trainInstructor }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="form.trainDate != ''" label="培训日期">
|
|
|
+ {{ parseTime(form.trainDate, '{y}-{m}-{d}') }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="form.specificStartTime != ''" label="培训时间">
|
|
|
+ {{ parseTime(form.specificStartTime, '{h}:{i}') }} - {{ parseTime(form.specificEndTime, '{h}:{i}') }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="detailsForm.feedbackSupportContent != ''" label="反馈内容">
|
|
|
+ {{ detailsForm.feedbackSupportContent }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="detailsForm.feedbackSupportTime != ''" label="反馈时间">
|
|
|
+ {{ parseTime(detailsForm.feedbackSupportTime, '{y}-{m}-{d}') }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="detailsForm.explainDuration != ''" label="讲解时长">
|
|
|
+ {{ detailsForm.explainDuration }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="detailsForm.questionRecord != ''" label="提问记录">
|
|
|
+ {{ detailsForm.questionRecord }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="detailsForm.trainSummary != ''" label="培训效果总结">
|
|
|
+ {{ detailsForm.trainSummary }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="detailsForm.nextStep != ''" label="下一步工作计划">
|
|
|
+ {{ detailsForm.nextStep }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
<template #footer>
|
|
|
<el-button @click="close">关 闭</el-button>
|
|
|
</template>
|
|
|
@@ -111,6 +81,7 @@
|
|
|
dialogFormVisible: false,
|
|
|
title: '',
|
|
|
list: [],
|
|
|
+ detailsForm: {},
|
|
|
}
|
|
|
},
|
|
|
mounted() {},
|
|
|
@@ -133,6 +104,7 @@
|
|
|
if (err) return
|
|
|
if (res.code == 200 && res.data) {
|
|
|
this.list = res.data.list
|
|
|
+ this.detailsForm = res.data.list[0]
|
|
|
}
|
|
|
},
|
|
|
},
|