Commit d2187261 authored by 王飞龙's avatar 王飞龙

个人开课

parent 62eaa310
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
<el-date-picker <el-date-picker
v-model="queryParams.beginTrialTime" v-model="queryParams.beginTrialTime"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 200px"
size="small" size="small"
type="date" type="date"
placeholder="开始日期" placeholder="开始日期"
...@@ -65,6 +66,7 @@ ...@@ -65,6 +66,7 @@
<el-date-picker <el-date-picker
v-model="queryParams.endTrialTime" v-model="queryParams.endTrialTime"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 200px"
size="small" size="small"
type="date" type="date"
placeholder="结束日期" placeholder="结束日期"
...@@ -214,7 +216,7 @@ ...@@ -214,7 +216,7 @@
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" class-name="small-padding fixed-width" width="200px"> <el-table-column label="操作" class-name="small-padding fixed-width" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- //修改--> <!-- //修改-->
<el-button <el-button
......
...@@ -5,22 +5,22 @@ ...@@ -5,22 +5,22 @@
<div class="search" style="border-bottom: 14px solid #f4f4f4"> <div class="search" style="border-bottom: 14px solid #f4f4f4">
<el-form ref="queryForm" style="padding: 0 0 0 10px" :model="queryParams" :inline="true"> <el-form ref="queryForm" style="padding: 0 0 0 10px" :model="queryParams" :inline="true">
<el-form-item> <el-form-item label="申请人">
<el-input v-model="queryParams.answerName" placeholder="请输入申请人姓名、登录名、手机号" clearable /> <el-input v-model="queryParams.answerName" placeholder="请输入申请人姓名" clearable />
</el-form-item> </el-form-item>
<!-- 处理单位--> <!-- 处理单位-->
<el-form-item> <el-form-item label="申请单位">
<el-input v-model="queryParams.applicantUnit" placeholder="请输入申请单位" clearable /> <el-input v-model="queryParams.applicantUnit" placeholder="请输入申请单位" clearable />
</el-form-item> </el-form-item>
<!-- 状态--> <!-- 状态-->
<el-form-item> <el-form-item label="处理状态">
<el-select v-model="queryParams.flag" placeholder="请选择状处理状态" clearable> <el-select v-model="queryParams.flag" placeholder="请选择状处理状态" clearable>
<el-option label="未处理" value="0" /> <el-option label="未处理" value="0" />
<el-option label="已处理" value="1" /> <el-option label="已处理" value="1" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 备注--> <!-- 备注-->
<el-form-item> <el-form-item label="备注">
<el-input v-model="queryParams.remarks" placeholder="请输入备注" clearable /> <el-input v-model="queryParams.remarks" placeholder="请输入备注" clearable />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
...@@ -52,7 +52,11 @@ ...@@ -52,7 +52,11 @@
<span>{{ scope.$index + 1 }}</span> <span>{{ scope.$index + 1 }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="userType" label="用户类型" show-overflow-tooltip /> <el-table-column prop="userType" label="用户类型" show-overflow-tooltip >
<template slot-scope="scope">
{{ scope.row.userType === '1' ? '单位' : '个人' }}
</template>
</el-table-column>
<el-table-column prop="applicant" label="申请人"> <el-table-column prop="applicant" label="申请人">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.applicantName }} {{ scope.row.applicantName }}
...@@ -96,7 +100,7 @@ ...@@ -96,7 +100,7 @@
<el-input v-model="scope.row.remarks" @blur="handleRemarkChange(scope.row)" /> <el-input v-model="scope.row.remarks" @blur="handleRemarkChange(scope.row)" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="100"> <el-table-column label="操作" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
:class="commonField.resetPasClass" :class="commonField.resetPasClass"
...@@ -157,14 +161,10 @@ ...@@ -157,14 +161,10 @@
<span style="max-width: 150px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap" :title="scope.row.tlessonName">{{ scope.row.tlessonName }}</span> <span style="max-width: 150px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap" :title="scope.row.tlessonName">{{ scope.row.tlessonName }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="tlessonName" label="课时数" :show-overflow-tooltip="true"> <el-table-column align="center" prop="tlessonName" label="课时数" :show-overflow-tooltip="true" />
</el-table-column> <el-table-column align="center" prop="tlessonName" label="难度等级" :show-overflow-tooltip="true" />
<el-table-column align="center" prop="tlessonName" label="难度等级" :show-overflow-tooltip="true"> <el-table-column align="center" prop="tlessonName" label="一句话介绍" :show-overflow-tooltip="true" />
</el-table-column> <el-table-column align="center" prop="tlessonName" label="价格(元)" :show-overflow-tooltip="true" />
<el-table-column align="center" prop="tlessonName" label="一句话介绍" :show-overflow-tooltip="true">
</el-table-column>
<el-table-column align="center" prop="tlessonName" label="价格(元)" :show-overflow-tooltip="true">
</el-table-column>
</el-table> </el-table>
</div> </div>
<pagination <pagination
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
size="small" size="small"
type="date" type="date"
style="width: 200px"
placeholder="开始日期" placeholder="开始日期"
/> />
</el-form-item> </el-form-item>
...@@ -60,6 +61,7 @@ ...@@ -60,6 +61,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
size="small" size="small"
type="date" type="date"
style="width: 200px"
placeholder="结束日期" placeholder="结束日期"
/> />
</el-form-item> </el-form-item>
...@@ -120,9 +122,9 @@ ...@@ -120,9 +122,9 @@
</el-select> </el-select>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="applicantName" label="申请人"> <el-table-column prop="applicantName" label="申请人" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope" >
{{ scope.row.applicantName }} {{ scope.row.applicantName }} ({{ scope.row.applicantPhone }})
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="课程名称" prop="roleKey" :show-overflow-tooltip="true"> <el-table-column label="课程名称" prop="roleKey" :show-overflow-tooltip="true">
...@@ -208,7 +210,7 @@ ...@@ -208,7 +210,7 @@
/> />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="150"> <el-table-column label="操作" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- //编辑--> <!-- //编辑-->
<el-button <el-button
...@@ -452,7 +454,7 @@ ...@@ -452,7 +454,7 @@
</el-table-column> </el-table-column>
<el-table-column label="开课类型" prop="isPay"> <el-table-column label="开课类型" prop="isPay">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{ scope.row.isPay === 0 ? '试用' : '付费' }}--> <!-- {{ scope.row.isPay === 0 ? '试用' : '付费' }}-->
<span v-if="scope.row.flag === '0'">{{ scope.row.isPay === 0 ? '试用' : '付费' }}</span> <span v-if="scope.row.flag === '0'">{{ scope.row.isPay === 0 ? '试用' : '付费' }}</span>
<el-select <el-select
v-if="scope.row.flag === '1'" v-if="scope.row.flag === '1'"
...@@ -471,7 +473,7 @@ ...@@ -471,7 +473,7 @@
</el-table-column> </el-table-column>
<el-table-column label="岗位分类" prop="jobClassification"> <el-table-column label="岗位分类" prop="jobClassification">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{ getJobClassificationName(scope.row.jobClassification) || '-' }}--> <!-- {{ getJobClassificationName(scope.row.jobClassification) || '-' }}-->
<span v-if="scope.row.flag === '0'"> {{ getJobClassificationName(scope.row.jobClassification) || '-' }}</span> <span v-if="scope.row.flag === '0'"> {{ getJobClassificationName(scope.row.jobClassification) || '-' }}</span>
<el-select <el-select
v-if="scope.row.flag === '1'" v-if="scope.row.flag === '1'"
...@@ -490,7 +492,7 @@ ...@@ -490,7 +492,7 @@
</el-table-column> </el-table-column>
<el-table-column label="技术分类" prop="teDirection"> <el-table-column label="技术分类" prop="teDirection">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{ getCourseDirectionName(scope.row.technicalClassification) || '-' }}--> <!-- {{ getCourseDirectionName(scope.row.technicalClassification) || '-' }}-->
<span v-if="scope.row.flag === '0'"> {{ getCourseDirectionName(scope.row.technicalClassification) || '-' }}</span> <span v-if="scope.row.flag === '0'"> {{ getCourseDirectionName(scope.row.technicalClassification) || '-' }}</span>
<el-select <el-select
v-if="scope.row.flag === '1'" v-if="scope.row.flag === '1'"
...@@ -509,7 +511,7 @@ ...@@ -509,7 +511,7 @@
</el-table-column> </el-table-column>
<el-table-column label="备注" prop="remarks"> <el-table-column label="备注" prop="remarks">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{ scope.row.remarks || '-' }}--> <!-- {{ scope.row.remarks || '-' }}-->
<span v-if="scope.row.flag === '0'"> {{ scope.row.remarks || '-' }}</span> <span v-if="scope.row.flag === '0'"> {{ scope.row.remarks || '-' }}</span>
<el-input <el-input
v-if="scope.row.flag === '1'" v-if="scope.row.flag === '1'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment