|
|
@@ -199,7 +199,7 @@ import resize from '../../dashboard/mixins/resize'
|
|
|
import { treeselect } from "@/api/company/companyDept";
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
-import { getCompanyListByUserId } from "@/api/company/company";
|
|
|
+import { getCompanyList } from "@/api/company/company";
|
|
|
export default {
|
|
|
name: 'storeOrderStatatic',
|
|
|
mixins: [resize],
|
|
|
@@ -286,7 +286,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- getCompanyListByUserId().then(response => {
|
|
|
+ getCompanyList().then(response => {
|
|
|
this.companys = response.data;
|
|
|
// if (this.companys != null && this.companys.length > 0) {
|
|
|
// this.companyId = this.companys[0].companyId;
|
|
|
@@ -298,7 +298,7 @@ export default {
|
|
|
this.orderTypeOptions = response.data;
|
|
|
});
|
|
|
// 媒体来源
|
|
|
- this.getDicts("crm_customer_source").then((response) => {
|
|
|
+ this.getDicts("store_order_medium").then((response) => {
|
|
|
this.orderMediumOptions = response.data;
|
|
|
});
|
|
|
},
|