From d01d8b3077e68228ed1456d012b836c03203f79c Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 4 Sep 2023 16:46:34 +0800 Subject: [PATCH] gengx --- src/views/company/edit.vue | 150 +++++++++++++++++++----------------- src/views/company/index.vue | 82 +++++++++++++++++++- 2 files changed, 161 insertions(+), 71 deletions(-) diff --git a/src/views/company/edit.vue b/src/views/company/edit.vue index c35c01e..982aa75 100644 --- a/src/views/company/edit.vue +++ b/src/views/company/edit.vue @@ -250,8 +250,8 @@
主要联系人
- -
+ +
-
- - - - - - - - - - - - - - - - - + + + +
+
+ + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - -
-
-
+
+
+
+
+ +
其他联系人
@@ -1221,8 +1229,8 @@ defineExpose({ } .avatar-uploader .el-upload { - width: 10vw; - height: 6.3vw; + width: 200px; + height: 130px; background-color: #fff; border: 1px dashed var(--el-border-color); border-radius: 6px; @@ -1294,4 +1302,8 @@ defineExpose({ .others { width: 100% !important; } + +.el-main { + padding: 0px !important; +} diff --git a/src/views/company/index.vue b/src/views/company/index.vue index 4017710..a5b4855 100644 --- a/src/views/company/index.vue +++ b/src/views/company/index.vue @@ -217,7 +217,10 @@ v-perms="['company/authentication']" type="primary" link - @click="handleAuthentication(row.id)" + @click=" + auth_id = row; + authPop = true; + " >企业认证 @@ -447,6 +516,12 @@ const offInitiateContractPop = () => { // 创建合同的id const contractId = ref(""); +//弹窗 +const authPop = ref(false); +const offAuthPop = () => { + authPop.value = false; +}; + // 合同 const contractFormData = ref({ party_a: "", @@ -565,10 +640,13 @@ const handleDelete = async (id: number | any[]) => { await apiCompanyDelete({ id }); getLists(); }; -const handleAuthentication = async (id: number | any[]) => { + +const auth_id = ref(""); +const handleAuthentication = async (id: number | string | any[]) => { await feedback.confirm("确定要认证?"); await authentication({ id }); getLists(); + authPop.value = false; }; // 审核中