|
|
@@ -21,6 +21,17 @@
|
|
|
<treeselect style="width: 220px" :clearable="false" v-model="queryParams.deptId" :options="deptOptions"
|
|
|
clearable :show-count="true" placeholder="请选择归属部门" v-if="queryParams.dimension === 'dept'"/>
|
|
|
</el-form-item>
|
|
|
+<!-- <el-form-item label="训练营" prop="trainingCampId">-->
|
|
|
+<!-- <el-select filterable v-model="queryParams.trainingCampId" placeholder="请选择训练营"-->
|
|
|
+<!-- clearable size="small" >-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="item in camps"-->
|
|
|
+<!-- :key="item.dictValue"-->
|
|
|
+<!-- :label="item.dictLabel"-->
|
|
|
+<!-- :value="item.dictValue"-->
|
|
|
+<!-- />-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
<el-form-item>
|
|
|
<el-form-item label="下单时间" prop="createTime">
|
|
|
<el-date-picker v-model="createTime" size="small" style="width: 220px" value-format="yyyy-MM-dd"
|
|
|
@@ -87,6 +98,7 @@ import {treeselect} from "@/api/company/companyDept";
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
import {getTask} from "@/api/common";
|
|
|
+import {getCampList} from "@/api/course/userWatchCourseStatistics";
|
|
|
|
|
|
export default {
|
|
|
watch: {
|
|
|
@@ -144,6 +156,7 @@ export default {
|
|
|
payTypeOptions: [],
|
|
|
deliveryPayStatusOptions: [],
|
|
|
deliveryStatusOptions: [],
|
|
|
+ camps: [],
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
|
@@ -172,7 +185,8 @@ export default {
|
|
|
companyName: null,
|
|
|
deptId: null,
|
|
|
source: null,
|
|
|
- dimension:'company'
|
|
|
+ dimension:'company',
|
|
|
+ trainingCampId: null,
|
|
|
},
|
|
|
// 表单参数
|
|
|
form: {},
|
|
|
@@ -198,6 +212,13 @@ export default {
|
|
|
// }
|
|
|
},
|
|
|
created() {
|
|
|
+ getCampList().then(response => {
|
|
|
+ this.camps = response.data.list
|
|
|
+ if (this.camps != null && this.camps.length > 0) {
|
|
|
+ this.companyId = this.camps[0].dictValue;
|
|
|
+ }
|
|
|
+ this.camps.push({companyId: "-1", companyName: "无"})
|
|
|
+ });
|
|
|
getCompanyList().then(response => {
|
|
|
this.companys = response.data;
|
|
|
if (this.companys != null && this.companys.length > 0) {
|