sgw 5 dní pred
rodič
commit
628fa34f58
1 zmenil súbory, kde vykonal 11 pridanie a 1 odobranie
  1. 11 1
      src/views/qw/sopTemp/index.vue

+ 11 - 1
src/views/qw/sopTemp/index.vue

@@ -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;