From 46c4dc6c390fa8ce255659af8220a7ef8f90d8a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Tue, 11 Feb 2025 15:59:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=89=E6=8B=A9=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E5=9B=9E=E6=98=BE=E8=AE=B0=E5=BF=86=E6=80=A7=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/jin_ji_hu/enterList/index.js | 33 ++- src/assets/styles/index.scss | 17 +- .../components/activeEnterpriseList.vue | 254 +++++++++--------- .../enterpriseDirectory/index.vue | 24 +- 4 files changed, 166 insertions(+), 162 deletions(-) diff --git a/src/api/jin_ji_hu/enterList/index.js b/src/api/jin_ji_hu/enterList/index.js index 4e9c2a5..76ee96c 100644 --- a/src/api/jin_ji_hu/enterList/index.js +++ b/src/api/jin_ji_hu/enterList/index.js @@ -1,21 +1,21 @@ -import request from "@/utils/request" +import request from "@/utils/request"; // 分页查询企业基础信息 export function getEnterList(params) { return request({ url: "/system/enterpriseBasicInfo/list", method: "get", - params - }) + params, + }); } -// 新增企业基础信息 +// 新增企业基础信息 export function enterpriseBasicInfoNew(data) { return request({ url: "/system/enterpriseBasicInfo", method: "post", - data - }) + data, + }); } // 修改企业基础信息 @@ -23,8 +23,8 @@ export function enterpriseBasicInfoChange(data) { return request({ url: "/system/enterpriseBasicInfo/edit", method: "post", - data - }) + data, + }); } // 根据主键查询企业基础信息 @@ -32,7 +32,7 @@ export function enterpriseBasicInfoId(id) { return request({ url: "/system/enterpriseBasicInfo/" + id, method: "get", - }) + }); } // 删除企业基础信息 @@ -40,8 +40,8 @@ export function enterpriseBasicInfoDel(params) { return request({ url: "/system/enterpriseBasicInfo" + id, method: "post", - params - }) + params, + }); } // 分页查询联络人列表 @@ -49,6 +49,13 @@ export function getjContacts(params) { return request({ url: "/jjh/jContacts", method: "get", - params - }) + params, + }); +} +export function getenterpriseByName(data) { + return request({ + url: "/system/templateRecord/searchEntCodeToInfo", + method: "post", + data, + }); } diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index f022af5..caa968e 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -216,7 +216,10 @@ section::-webkit-scrollbar { // display: none; // } // 荣誉情况弹窗样式 -.honor-dialog,.collectDialog-dialog,.headquarterEnterprise-dialog,.serviceIndustry-dialog { +.honor-dialog, +.collectDialog-dialog, +.headquarterEnterprise-dialog, +.serviceIndustry-dialog { section { div::-webkit-scrollbar { display: block; @@ -226,11 +229,11 @@ section::-webkit-scrollbar { width: 6px; height: 6px; } - + .el-table::-webkit-scrollbar-track { background-color: #f1f1f1; } - + .el-table::-webkit-scrollbar-thumb { background-color: #c0c0c0; border-radius: 3px; @@ -314,7 +317,7 @@ section::-webkit-scrollbar { box-shadow: 0 0 10px #ccc; z-index: 2; } - + .out_drop_style { position: absolute; width: 6px; @@ -387,7 +390,7 @@ section::-webkit-scrollbar { right: 20px; display: flex; align-items: center; - + .approval_img { width: 85px; height: 80px; @@ -402,3 +405,7 @@ section::-webkit-scrollbar { } } } + +.tablecell .el-checkbox__label { + display: none !important; +} diff --git a/src/views/onlineDeclaration/enterpriseDirectory/components/activeEnterpriseList.vue b/src/views/onlineDeclaration/enterpriseDirectory/components/activeEnterpriseList.vue index 1563568..5967b47 100644 --- a/src/views/onlineDeclaration/enterpriseDirectory/components/activeEnterpriseList.vue +++ b/src/views/onlineDeclaration/enterpriseDirectory/components/activeEnterpriseList.vue @@ -1,91 +1,111 @@ + + diff --git a/src/views/onlineDeclaration/enterpriseDirectory/index.vue b/src/views/onlineDeclaration/enterpriseDirectory/index.vue index 1e91735..987fb46 100644 --- a/src/views/onlineDeclaration/enterpriseDirectory/index.vue +++ b/src/views/onlineDeclaration/enterpriseDirectory/index.vue @@ -410,7 +410,7 @@
-
+
- - - +
@@ -741,6 +737,12 @@ export default { this.getTemplateList(); }, methods: { + // 查看已选企业列表 + lookentErprise() { + this.viewVisible = true; + this.businessList = this.form.enterpriseDirectoryList; + }, + /** * 企业名录维护方式变化 */ @@ -752,7 +754,7 @@ export default { * 打开企业自选列表 */ handlerEnterpriseOption() { - this.activeEnterpriseView = true; + this.$refs.activeEnterpriseList.showDialog(); }, getDataList() {