|
|
@@ -34,6 +34,16 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
|
|
|
+ <el-form-item label="企微主体" prop="corpId">
|
|
|
+ <el-select v-model="queryParams.corpId" placeholder="请选择所属公司" filterable size="small">
|
|
|
+ <el-option v-for="(option, index) in corpOptions" :key="index" :value="option.corpId" :label="option.corpName"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <el-form-item label="销售用户名" prop="qwUserName">
|
|
|
+ <el-input v-model="queryParams.qwUserName" placeholder="请输入销售用户名" clearable size="small" />
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<!-- 进粉时间 -->
|
|
|
<el-form-item label="进粉时间" prop="addTimeRange">
|
|
|
<el-date-picker
|
|
|
@@ -123,6 +133,7 @@ import { listCompanyUser } from "@/api/company/companyUser";
|
|
|
import { getSalesStatistics,salesUserDetail } from "@/api/company/statistics";
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
+import {allCorp} from "@/api/qw/qwCompany";
|
|
|
|
|
|
export default {
|
|
|
name: "SalesStat",
|
|
|
@@ -150,8 +161,11 @@ export default {
|
|
|
startOrderTime: null,
|
|
|
endOrderTime: null,
|
|
|
orderByColumn: null,
|
|
|
- isAsc: null
|
|
|
+ isAsc: null,
|
|
|
+ corpId: null,
|
|
|
+ qwUserName: null
|
|
|
},
|
|
|
+ corpOptions: [],
|
|
|
dataList: [],
|
|
|
// 详情弹窗
|
|
|
detailVisible: false,
|
|
|
@@ -172,7 +186,9 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.getDeptTree();
|
|
|
- //this.getList();
|
|
|
+ allCorp().then(response => {
|
|
|
+ this.corpOptions = response.data;
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
/** 表格排序变化时 */
|