gengx
This commit is contained in:
parent
6d24062ef8
commit
d01d8b3077
@ -250,8 +250,8 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24" class="el-card pt-6">
|
<el-col :span="24" class="el-card pt-6">
|
||||||
<div class="tit">主要联系人</div>
|
<div class="tit">主要联系人</div>
|
||||||
<el-row>
|
<el-container>
|
||||||
<div style="display: flex; justify-content: left">
|
<el-aside width="160px">
|
||||||
<div class="headimg">
|
<div class="headimg">
|
||||||
<el-upload
|
<el-upload
|
||||||
:disabled="isDisabled"
|
:disabled="isDisabled"
|
||||||
@ -273,77 +273,83 @@
|
|||||||
</el-icon>
|
</el-icon>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
</el-aside>
|
||||||
<el-row>
|
<el-main>
|
||||||
<el-col :span="8">
|
<el-row>
|
||||||
<el-form-item label="姓名" prop="master_name">
|
<div style="display: flex; justify-content: left">
|
||||||
<el-input
|
<div class="right">
|
||||||
:disabled="isDisabled"
|
<el-row>
|
||||||
v-model="formData.master_name"
|
<el-col :span="10">
|
||||||
placeholder="请输入姓名"
|
<el-form-item label="姓名" prop="master_name">
|
||||||
clearable
|
<el-input
|
||||||
:style="{ width: '100%' }"
|
:disabled="isDisabled"
|
||||||
></el-input>
|
v-model="formData.master_name"
|
||||||
</el-form-item>
|
placeholder="请输入姓名"
|
||||||
</el-col>
|
clearable
|
||||||
<el-col :span="10">
|
:style="{ width: '100%' }"
|
||||||
<el-form-item label="职务" prop="master_position">
|
></el-input>
|
||||||
<el-input
|
</el-form-item>
|
||||||
:disabled="isDisabled"
|
</el-col>
|
||||||
v-model="formData.master_position"
|
<el-col :span="10">
|
||||||
placeholder="请输入职务"
|
<el-form-item label="职务" prop="master_position">
|
||||||
clearable
|
<el-input
|
||||||
:style="{ width: '100%' }"
|
:disabled="isDisabled"
|
||||||
></el-input>
|
v-model="formData.master_position"
|
||||||
</el-form-item>
|
placeholder="请输入职务"
|
||||||
</el-col>
|
clearable
|
||||||
<el-col :span="8">
|
:style="{ width: '100%' }"
|
||||||
<el-form-item label="手机" prop="master_phone">
|
></el-input>
|
||||||
<el-input
|
</el-form-item>
|
||||||
:disabled="isDisabled"
|
</el-col>
|
||||||
v-model="formData.master_phone"
|
<el-col :span="10">
|
||||||
placeholder="请输入手机"
|
<el-form-item label="手机" prop="master_phone">
|
||||||
clearable
|
<el-input
|
||||||
:style="{ width: '100%' }"
|
:disabled="isDisabled"
|
||||||
></el-input>
|
v-model="formData.master_phone"
|
||||||
</el-form-item>
|
placeholder="请输入手机"
|
||||||
</el-col>
|
type="number"
|
||||||
<el-col :span="10">
|
clearable
|
||||||
|
:style="{ width: '100%' }"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="10">
|
||||||
<el-form-item label="邮箱">
|
<el-form-item label="邮箱">
|
||||||
<el-input
|
<el-input
|
||||||
:disabled="isDisabled"
|
:disabled="isDisabled"
|
||||||
v-model="formData.master_email"
|
v-model="formData.master_email"
|
||||||
placeholder="请输入邮箱"
|
placeholder="请输入邮箱"
|
||||||
|
readonly
|
||||||
clearable
|
clearable
|
||||||
:style="{ width: '100%' }"
|
:style="{ width: '100%' }"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="10">
|
||||||
<el-form-item label="性别" prop="sex">
|
<el-form-item label="性别" prop="sex">
|
||||||
<el-select
|
<el-select
|
||||||
:disabled="isDisabled"
|
:disabled="isDisabled"
|
||||||
v-model="formData.sex"
|
v-model="formData.sex"
|
||||||
placeholder="请选择性别"
|
placeholder="请选择性别"
|
||||||
:style="{ width: '100%' }"
|
:style="{ width: '100%' }"
|
||||||
>
|
>
|
||||||
<el-option label="男" value="1" />
|
<el-option label="男" value="1" />
|
||||||
<el-option label="女" value="2" />
|
<el-option label="女" value="2" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
<el-form-item label="身份证">
|
<el-form-item label="身份证">
|
||||||
<el-input
|
<el-input
|
||||||
:disabled="isDisabled"
|
:disabled="isDisabled"
|
||||||
v-model="formData.id_card"
|
v-model="formData.id_card"
|
||||||
placeholder="请输入身份证"
|
placeholder="请输入身份证"
|
||||||
clearable
|
clearable
|
||||||
:style="{ width: '100%' }"
|
:style="{ width: '100%' }"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="10">
|
<!-- <el-col :span="10">
|
||||||
<el-form-item label="片区经理" prop="area_manager_name">
|
<el-form-item label="片区经理" prop="area_manager_name">
|
||||||
<el-input
|
<el-input
|
||||||
:disabled="isDisabled"
|
:disabled="isDisabled"
|
||||||
@ -355,10 +361,12 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col> -->
|
</el-col> -->
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
</el-main>
|
||||||
|
</el-container>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24" class="el-card pt-6">
|
<el-col :span="24" class="el-card pt-6">
|
||||||
<div class="tit">其他联系人</div>
|
<div class="tit">其他联系人</div>
|
||||||
@ -1221,8 +1229,8 @@ defineExpose({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.avatar-uploader .el-upload {
|
.avatar-uploader .el-upload {
|
||||||
width: 10vw;
|
width: 200px;
|
||||||
height: 6.3vw;
|
height: 130px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: 1px dashed var(--el-border-color);
|
border: 1px dashed var(--el-border-color);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
@ -1294,4 +1302,8 @@ defineExpose({
|
|||||||
.others {
|
.others {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-main {
|
||||||
|
padding: 0px !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -217,7 +217,10 @@
|
|||||||
v-perms="['company/authentication']"
|
v-perms="['company/authentication']"
|
||||||
type="primary"
|
type="primary"
|
||||||
link
|
link
|
||||||
@click="handleAuthentication(row.id)"
|
@click="
|
||||||
|
auth_id = row;
|
||||||
|
authPop = true;
|
||||||
|
"
|
||||||
>企业认证</el-button
|
>企业认证</el-button
|
||||||
>
|
>
|
||||||
<template v-if="row.is_authentication && row.is_contract == 0">
|
<template v-if="row.is_authentication && row.is_contract == 0">
|
||||||
@ -395,6 +398,72 @@
|
|||||||
<el-button type="info" size="large" @click="offPop">返回</el-button>
|
<el-button type="info" size="large" @click="offPop">返回</el-button>
|
||||||
</p>
|
</p>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<el-dialog v-model="authPop" @close="offAuthPop">
|
||||||
|
<h1>重要提醒</h1>
|
||||||
|
<div>
|
||||||
|
<div style="font-size: 18px; font-weight: bold; padding-bottom: 10px">
|
||||||
|
请检查以下重要信息是否正确
|
||||||
|
</div>
|
||||||
|
<el-form ref="formRef" label-width="90px">
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="公司名称" prop="company_name">
|
||||||
|
<el-input
|
||||||
|
placeholder="请输入公司名称"
|
||||||
|
clearable
|
||||||
|
:value="auth_id.company_name"
|
||||||
|
readonly
|
||||||
|
:style="{ width: '100%' }"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="企业代码" prop="company_name">
|
||||||
|
<el-input
|
||||||
|
placeholder="请输入公司名称"
|
||||||
|
clearable
|
||||||
|
:value="auth_id.organization_code"
|
||||||
|
readonly
|
||||||
|
:style="{ width: '100%' }"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="主要联系人" prop="company_name">
|
||||||
|
<el-input
|
||||||
|
placeholder="请输入公司名称"
|
||||||
|
clearable
|
||||||
|
:value="auth_id.master_name"
|
||||||
|
readonly
|
||||||
|
:style="{ width: '100%' }"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="手机号码" prop="company_name">
|
||||||
|
<el-input
|
||||||
|
placeholder="请输入公司名称"
|
||||||
|
clearable
|
||||||
|
:value="auth_id.master_phone"
|
||||||
|
readonly
|
||||||
|
:style="{ width: '100%' }"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
<p class="btn_menu">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
size="large"
|
||||||
|
@click="handleAuthentication(auth_id.id)"
|
||||||
|
>确认</el-button
|
||||||
|
>
|
||||||
|
<el-button type="warning" size="large" @click="sendMsg">修改</el-button>
|
||||||
|
<el-button type="info" size="large" @click="offAuthPop">返回</el-button>
|
||||||
|
</p>
|
||||||
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -447,6 +516,12 @@ const offInitiateContractPop = () => {
|
|||||||
// 创建合同的id
|
// 创建合同的id
|
||||||
const contractId = ref("");
|
const contractId = ref("");
|
||||||
|
|
||||||
|
//弹窗
|
||||||
|
const authPop = ref(false);
|
||||||
|
const offAuthPop = () => {
|
||||||
|
authPop.value = false;
|
||||||
|
};
|
||||||
|
|
||||||
// 合同
|
// 合同
|
||||||
const contractFormData = ref({
|
const contractFormData = ref({
|
||||||
party_a: "",
|
party_a: "",
|
||||||
@ -565,10 +640,13 @@ const handleDelete = async (id: number | any[]) => {
|
|||||||
await apiCompanyDelete({ id });
|
await apiCompanyDelete({ id });
|
||||||
getLists();
|
getLists();
|
||||||
};
|
};
|
||||||
const handleAuthentication = async (id: number | any[]) => {
|
|
||||||
|
const auth_id = ref("");
|
||||||
|
const handleAuthentication = async (id: number | string | any[]) => {
|
||||||
await feedback.confirm("确定要认证?");
|
await feedback.confirm("确定要认证?");
|
||||||
await authentication({ id });
|
await authentication({ id });
|
||||||
getLists();
|
getLists();
|
||||||
|
authPop.value = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
// 审核中
|
// 审核中
|
||||||
|
Loading…
x
Reference in New Issue
Block a user