|
@@ -372,7 +372,7 @@ import {
|
|
|
updateRedPackage,
|
|
|
updateTemp
|
|
|
} from "@/api/qw/sopTemp";
|
|
|
-import {getCompanyList} from "@/api/company/company";
|
|
|
+import { getCompanyList, listCompany } from '@/api/company/company'
|
|
|
import {courseList, getRoles} from "@/api/qw/sop";
|
|
|
|
|
|
export default {
|
|
@@ -499,6 +499,16 @@ export default {
|
|
|
this.resetForm("queryCompanyForm");
|
|
|
this.handleCompanyQuery();
|
|
|
},
|
|
|
+
|
|
|
+ /** 查询企业列表 */
|
|
|
+ getCompanyList() {
|
|
|
+ this.companysloading = true;
|
|
|
+ listCompany(this.queryCompanyParams).then(response => {
|
|
|
+ this.companyList = response.rows;
|
|
|
+ this.companyTotal = response.total;
|
|
|
+ this.companysloading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
/** 查询sop模板列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|