2024-07-09 18:07:55 +08:00
|
|
|
|
<template>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div v-if="show"
|
|
|
|
|
style="background-color: #f5f5f5;padding: 30px;display: flex;justify-content: space-between;gap:20px;">
|
|
|
|
|
<!-- <div>
|
2025-02-21 14:21:51 +08:00
|
|
|
|
<img src="https://hnyea.0rui.cn/uploads/1/20240820/7c06389c1dd2fbd4f2d191cdb6c67bb1.png" style="width: 100%"/>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
</div> -->
|
|
|
|
|
<div style="width: 88%;">
|
|
|
|
|
<div>
|
|
|
|
|
<div style="background-color: #fff;border-radius: 10px;padding: 20px;">
|
|
|
|
|
<div
|
|
|
|
|
style="border-radius: 4px;color: #000000; background-color: #F5F6F8;height: 80px;display: flex;align-items: center;padding-left: 20px;">
|
|
|
|
|
<div style="width: 5px;height: 35px;background-color: #2552CD;"></div>
|
|
|
|
|
<div style="font-size: 28px;font-weight: 600;margin-left: 15px;">入会申请</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="padding: 0px 15px">
|
|
|
|
|
<div id="tuijian" class="title_box">1.推荐信息</div>
|
|
|
|
|
<div>
|
|
|
|
|
<t-form layout="inline" labelAlign="top" :labelWidth="100">
|
|
|
|
|
<t-form-item name="name" label="推荐方式" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.reporting_method">
|
|
|
|
|
<t-option label="组织推荐" :value="1" />
|
|
|
|
|
<t-option label="会员推荐" :value="2" />
|
|
|
|
|
<t-option label="个人自荐" :value="3" />
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</t-select>
|
2024-08-22 18:09:35 +08:00
|
|
|
|
</t-form-item>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<template v-if="formData.reporting_method == 3">
|
|
|
|
|
<t-form-item name="name" label="来源渠道" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.source_channel" placeholder="请选择来源渠道">
|
|
|
|
|
<t-option value="网络来源" label="网络来源" key="网络来源"></t-option>
|
|
|
|
|
<t-option value="微信公众号来源" label="微信公众号来源" key="微信公众号来源"></t-option>
|
|
|
|
|
<t-option value="朋友推荐" label="朋友推荐" key="朋友推荐"></t-option>
|
|
|
|
|
<t-option value="其他渠道" label="其他渠道" key="其他渠道"></t-option>
|
2024-08-22 18:09:35 +08:00
|
|
|
|
</t-select>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</t-form-item>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
</template>
|
|
|
|
|
<template v-if="formData.reporting_method == 1">
|
|
|
|
|
<t-form-item name="name" label="推荐地市" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.recommended_cities" placeholder="请选择推荐地市">
|
|
|
|
|
<t-option v-for="item in region_list" :value="item.label" :label="item.label"
|
|
|
|
|
:key="item.label"></t-option>
|
2024-08-22 18:09:35 +08:00
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
</template>
|
|
|
|
|
<template v-if="formData.reporting_method == 2">
|
|
|
|
|
<t-form-item name="name" label="推荐人姓名" :requiredMark="true">
|
|
|
|
|
<t-select v-model="formData.recommendation_name" filterable placeholder="推荐人姓名"
|
|
|
|
|
:options="member_list" :keys="{ value: 'id', label: 'nikename', key: 'id' }" size="large"
|
|
|
|
|
@change="getMemberInfo"></t-select>
|
2024-08-22 18:09:35 +08:00
|
|
|
|
</t-form-item>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-form-item label="推荐人单位名称及职务" :requiredMark="true">
|
|
|
|
|
<t-input size="large" readonly v-model="formData.recommendation_content" placeholder="推荐人单位名称及职务" />
|
2024-08-22 18:09:35 +08:00
|
|
|
|
</t-form-item>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
</template>
|
|
|
|
|
<t-form-item label="意向协会职务" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.intentional_association_position"
|
|
|
|
|
:style="{ width: '200px' }">
|
|
|
|
|
<t-option key="会员" label="会员" value="会员"></t-option>
|
|
|
|
|
<t-option key="理事" label="理事" value="理事"></t-option>
|
|
|
|
|
<t-option key="常务理事" label="常务理事" value="常务理事"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="height: 1px; background-color: #EEEEEE; width: 100%; margin-top: 20px"></div>
|
|
|
|
|
<div style="padding: 0px 15px">
|
|
|
|
|
<div id="shenfen" class="title_box">2.身份信息</div>
|
|
|
|
|
<div style="display: flex; justify-items: center;">
|
|
|
|
|
<div>
|
|
|
|
|
<div style="margin-bottom: 15px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>身份证正面:</span>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" v-model="formData.cardz_image_show"
|
|
|
|
|
theme="custom" :data="{ association_id: 1 }" accept="image/*"
|
|
|
|
|
:format-response="(response) => formatResponse(response, 1)">
|
|
|
|
|
<div class="sfz">
|
|
|
|
|
<img v-if="formData.cardz_image == ''" src="/src/assets/card1.png">
|
|
|
|
|
<img v-if="formData.cardz_image != ''" :src="$store.state.user.apiUrl + formData.cardz_image"
|
|
|
|
|
style="width: 100%; max-height: 200px" />
|
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</t-upload>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="margin-left: 50px">
|
|
|
|
|
<div style="margin-bottom: 15px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>身份证反面:</span>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" v-model="formData.cardf_image_show"
|
|
|
|
|
:data="{ association_id: 1 }" theme="custom" accept="image/*"
|
|
|
|
|
:format-response="(response) => formatResponse(response, 2)">
|
|
|
|
|
<div class="sfz">
|
|
|
|
|
<img v-if="formData.cardf_image == ''" src="/src/assets/card2.png">
|
|
|
|
|
<img v-if="formData.cardf_image != ''" :src="$store.state.user.apiUrl + formData.cardf_image"
|
|
|
|
|
style="width: 100%; max-height: 200px" />
|
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</t-upload>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="height: 1px; background-color: #EEEEEE; width: 100%; margin-top: 20px"></div>
|
|
|
|
|
<div id="jiben" class="title_box">3.基本信息</div>
|
|
|
|
|
<div style="display: flex; justify-items: center;">
|
|
|
|
|
<div style="width: 50%">
|
|
|
|
|
<div style="display: flex; align-items: center; margin-bottom: 10px">
|
|
|
|
|
<span style="color: #d54941; margin-right: 5px">*</span>
|
|
|
|
|
<span style="color: #000;">证件照</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'"
|
|
|
|
|
v-model="formData.photo_image_show" :data="{ association_id: 1 }" theme="custom" accept="image/*"
|
|
|
|
|
:format-response="(response) => formatResponse(response, 0)">
|
|
|
|
|
<div class="sfz">
|
|
|
|
|
<img v-if="formData.photo_image == ''" src="/src/assets/card3.png"
|
|
|
|
|
style="width: 220px; height: 310px" />
|
|
|
|
|
<img v-if="formData.photo_image != ''" :src="$store.state.user.apiUrl + formData.photo_image"
|
|
|
|
|
style="width: 220px; height: 310px" />
|
|
|
|
|
</div>
|
|
|
|
|
</t-upload>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<!-- <div class="t-upload" @click="openCai" style="margin-top: 10px">
|
|
|
|
|
<div style="
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
">
|
|
|
|
|
<img :src="$store.state.user.apiUrl + formData.photo_image" style="width: 200px; display: block"
|
|
|
|
|
v-if="formData.photo_image != ''" />
|
|
|
|
|
<img v-if="formData.photo_image == ''" src="/src/assets/card3.png">
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<t-form layout="inline" labelAlign="top">
|
|
|
|
|
<t-form-item label="邮箱">
|
|
|
|
|
<t-input size="large" v-model="formData.mailbox" placeholder="请输入邮箱" style="width: 220px" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-left: 30px">
|
|
|
|
|
<t-space direction="vertical">
|
|
|
|
|
<t-form layout="inline" labelAlign="top" :labelWidth="100">
|
|
|
|
|
<t-form-item label="姓名" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.nikename" placeholder="请输入姓名" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="曾姓名">
|
|
|
|
|
<t-input size="large" v-model="formData.nikename" placeholder="请输入曾姓名" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="性别" name="name" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.gender" class="input_box">
|
|
|
|
|
<t-option :key="0" label="女" :value="0"></t-option>
|
|
|
|
|
<t-option :key="1" label="男" :value="1"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="出生年月日" :requiredMark="true">
|
|
|
|
|
<t-date-picker size="large" v-model="formData.birth_time" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="民族" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.nation" placeholder="请输入民族" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="政治面貌" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.political" placeholder="请选择政治面貌" class="input_box">
|
|
|
|
|
<t-option value="群众" label="群众" key="群众"></t-option>
|
|
|
|
|
<t-option value="中共党员" label="中共党员" key="中共党员"></t-option>
|
|
|
|
|
<t-option value="中共预备党员" label="中共预备党员" key="中共预备党员"></t-option>
|
|
|
|
|
<t-option value="共青团员" label="共青团员" key="共青团员"></t-option>
|
|
|
|
|
<t-option value="民革党员" label="民革党员" key="民革党员"></t-option>
|
|
|
|
|
<t-option value="民盟盟员" label="民盟盟员" key="民盟盟员"></t-option>
|
|
|
|
|
<t-option value="民建会员" label="民建会员" key="民建会员"></t-option>
|
|
|
|
|
<t-option value="民进会员" label="民进会员" key="民进会员"></t-option>
|
|
|
|
|
<t-option value="农工党党员" label="农工党党员" key="农工党党员"></t-option>
|
|
|
|
|
<t-option value="致公党党员" label="致公党党员" key="致公党党员"></t-option>
|
|
|
|
|
<t-option value="九三学社社员" label="九三学社社员" key="九三学社社员"></t-option>
|
|
|
|
|
<t-option value="台盟盟员" label="台盟盟员" key="台盟盟员"></t-option>
|
|
|
|
|
<t-option value="无党派人士" label="无党派人士" key="无党派人士"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="身份证号码" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.card_number" placeholder="请输入身份证号码" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="工作单位" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.work_unit" placeholder="请输入工作单位" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="单位职务" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.unit_position" placeholder="请输入单位职务" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
|
|
|
|
|
<t-form-item label="籍贯" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.jiguan" placeholder="请输入籍贯" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="毕业院校" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.institution" placeholder="请输入毕业院校" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="学历" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.education" placeholder="请选择学历" class="input_box">
|
|
|
|
|
<t-option value="博士研究生" label="博士研究生" key="博士研究生"></t-option>
|
|
|
|
|
<t-option value="硕士研究生" label="硕士研究生" key="硕士研究生"></t-option>
|
|
|
|
|
<t-option value="本科" label="本科" key="本科"></t-option>
|
|
|
|
|
<t-option value="专科" label="专科" key="专科"></t-option>
|
|
|
|
|
<t-option value="其他" label="其他" key="其他"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="学位" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.academic_degree" placeholder="请选择学位" class="input_box">
|
|
|
|
|
<t-option value="博士" label="博士" key="博士"></t-option>
|
|
|
|
|
<t-option value="硕士" label="硕士" key="硕士"></t-option>
|
|
|
|
|
<t-option value="学士" label="学士" key="学士"></t-option>
|
|
|
|
|
<t-option value="其他" label="其他" key="其他"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="邮编" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.zip_code" placeholder="请输入邮编" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="手机号" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.phone" placeholder="请输入手机号" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="微信">
|
|
|
|
|
<t-input size="large" v-model="formData.wx_number" placeholder="请输入微信" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
|
|
|
|
|
<t-form-item label="固定电话">
|
|
|
|
|
<t-input size="large" v-model="formData.fixed_telephone" placeholder="请输入固定电话"
|
|
|
|
|
class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="所在区域" name="region_id" :requiredMark="true">
|
|
|
|
|
<t-cascader size="large" v-model="formData.region_id" :options="region_list"
|
|
|
|
|
class="input_box"></t-cascader>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="所在区域详细地址" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.mail_address" placeholder="请输入所在区域详细地址"
|
|
|
|
|
class="input_box_end" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
|
|
|
|
</t-space>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="background-color: #ffffff; padding: 20px;border-radius: 10px;margin-top: 20px;">
|
|
|
|
|
<div
|
|
|
|
|
style="border-radius: 4px;color: #000000; background-color: #F5F6F8;height: 80px;display: flex;align-items: center;padding-left: 20px;">
|
|
|
|
|
<div style="width: 5px;height: 35px;background-color: #2552CD;"></div>
|
|
|
|
|
<div style="font-size: 28px;font-weight: 600;margin-left: 15px;">个人背景</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="padding-left: 15px;">
|
|
|
|
|
<div>
|
|
|
|
|
<div id="gerenjianjie" class="title_box">1.个人简介</div>
|
2025-02-21 14:21:51 +08:00
|
|
|
|
<div style="margin-top: 20px">
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="margin-bottom: 10px;">描述经历或特长</div>
|
2025-02-21 14:21:51 +08:00
|
|
|
|
<div style="border: 1px solid #ccc">
|
2024-09-05 16:14:08 +08:00
|
|
|
|
<!-- 工具栏 -->
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<Toolbar style="border-bottom: 1px solid #ccc" mode="default" :editor="editorJJ"
|
|
|
|
|
:defaultConfig="toolbarConfig" />
|
|
|
|
|
<Editor style="height: 300px" v-model="formData.introduction" :defaultConfig="editorConfig"
|
|
|
|
|
mode="default" @customPaste="customPaste" @onCreated="(e) => onCreatedJJ(e)" />
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="height: 1px; background-color: #EEEEEE; width: 100%; margin-top: 20px"></div>
|
|
|
|
|
<div id="zhuyaochengjiu" class="title_box">2.主要成就以及获奖情况</div>
|
|
|
|
|
<div style="display: flex; margin-top: 20px">
|
|
|
|
|
<div>
|
|
|
|
|
<t-space direction="vertical">
|
|
|
|
|
<t-form layout="inline" labelAlign="top" :labelWidth="100" v-for="(item, index) in formData.hj">
|
|
|
|
|
<t-form-item label="获奖时间">
|
|
|
|
|
<t-date-picker size="large" v-model="item.time" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="获奖名称">
|
|
|
|
|
<t-input size="large" v-model="item.name" placeholder="请输入获奖名称" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="颁发机构">
|
|
|
|
|
<t-input size="large" v-model="item.organ" placeholder="请输入颁发机构" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label=" ">
|
|
|
|
|
<div>
|
|
|
|
|
<img src="/src/assets/del.png" @click="delHj(index)"
|
|
|
|
|
style="cursor: pointer;width: 30px;height: 30px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
|
|
|
|
<t-button @click="addHj" theme="primary"> <add-icon slot="icon" />添加更多</t-button>
|
|
|
|
|
</t-space>
|
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="height: 1px; background-color: #EEEEEE; width: 100%; margin-top: 20px"></div>
|
|
|
|
|
<div id="xuexijiuzheng" class="title_box">3.学习工作经历</div>
|
|
|
|
|
<div style="display: flex; margin-top: 20px">
|
|
|
|
|
<div>
|
|
|
|
|
<t-space direction="vertical">
|
|
|
|
|
<t-form layout="inline" labelAlign="top" :labelWidth="100" v-for="(item, index) in formData.work">
|
|
|
|
|
<t-form-item label="起止日期" :requiredMark="true">
|
|
|
|
|
<t-date-range-picker size="large" mode="month" v-model="item.time" allow-input
|
|
|
|
|
@change="onChange" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="地区单位" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.address" placeholder="请输入地区单位" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="担任职务" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.book" placeholder="请输入担任职务" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label=" ">
|
|
|
|
|
<div>
|
|
|
|
|
<img src="/src/assets/del.png" @click="delWork(index)"
|
|
|
|
|
style="cursor: pointer;width: 30px;height: 30px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
|
|
|
|
<t-button @click="addWork" theme="primary"> <add-icon slot="icon" />添加更多</t-button>
|
|
|
|
|
</t-space>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="height: 1px; background-color: #EEEEEE; width: 100%; margin-top: 20px"></div>
|
|
|
|
|
<div id="shehuizhiwu" class="title_box">4.社会职务</div>
|
|
|
|
|
<div style="display: flex; margin-top: 20px">
|
|
|
|
|
<div style="width: 35%">
|
|
|
|
|
<div>
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>主要社会职务(可多选)</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-top: 20px">
|
|
|
|
|
<t-space direction="vertical">
|
|
|
|
|
<t-form>
|
|
|
|
|
<t-form-item>
|
|
|
|
|
<t-checkbox-group v-model="formData.social_duties">
|
|
|
|
|
<t-checkbox value="全国人大代表">全国人大代表</t-checkbox>
|
|
|
|
|
<t-checkbox value="全国政协委员">全国政协委员</t-checkbox>
|
|
|
|
|
<t-checkbox value="全国青联委员">全国青联委员</t-checkbox>
|
|
|
|
|
<t-checkbox value="省级人大代表">省级人大代表</t-checkbox>
|
|
|
|
|
<t-checkbox value="省级政协委员">省级政协委员</t-checkbox>
|
|
|
|
|
<t-checkbox value="省级青联委员">省级青联委员</t-checkbox>
|
|
|
|
|
<t-checkbox value="市级人大代表">市级人大代表</t-checkbox>
|
|
|
|
|
<t-checkbox value="市级政协委员">市级政协委员</t-checkbox>
|
|
|
|
|
<t-checkbox value="市级青联委员">市级青联委员</t-checkbox>
|
|
|
|
|
</t-checkbox-group>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
|
|
|
|
</t-space>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="width: 100%">
|
|
|
|
|
<div style="width: 49%">
|
|
|
|
|
<div>其他社会职务</div>
|
|
|
|
|
<div style="margin-top: 20px">
|
|
|
|
|
<t-textarea placeholder="请输入其他社会职务" :autosize="{ minRows: 7, maxRows: 7 }"
|
|
|
|
|
v-model="formData.other_social_positions" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<!-- <div style="margin-top: 30px">紧急(助理)联系人</div>
|
2025-02-21 14:21:51 +08:00
|
|
|
|
<div style="height: 1px; background-color: #999999; width: 100%; margin-top: 10px"></div>
|
|
|
|
|
<div style="display: flex; margin-top: 20px">
|
2024-08-20 17:22:07 +08:00
|
|
|
|
<div style="width: 30%">
|
|
|
|
|
<t-space direction="vertical">
|
|
|
|
|
<t-form labelAlign="top" :labelWidth="100">
|
|
|
|
|
<t-form-item label="姓名">
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-input size="large" v-model="contacts.name" placeholder="请输入姓名" />
|
2024-07-09 18:07:55 +08:00
|
|
|
|
</t-form-item>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
<t-form-item label="职务">
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-input size="large" v-model="contacts.post" placeholder="请输入职务" />
|
2024-07-09 18:07:55 +08:00
|
|
|
|
</t-form-item>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
<t-form-item label="电话">
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-input size="large" v-model="contacts.phone" placeholder="请输入电话" />
|
2024-07-09 18:07:55 +08:00
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
<t-button @click="addContacts" theme="primary">添加</t-button>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</t-space>
|
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
<div style="width: 100%">
|
2025-02-21 14:21:51 +08:00
|
|
|
|
<table style="width: 100%; border-collapse: collapse">
|
2024-08-22 18:09:35 +08:00
|
|
|
|
<thead>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<tr align="center">
|
|
|
|
|
<th>姓名</th>
|
|
|
|
|
<th>职务</th>
|
|
|
|
|
<th>电话</th>
|
|
|
|
|
<th>操作</th>
|
|
|
|
|
</tr>
|
2024-08-22 18:09:35 +08:00
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<tr align="center" v-for="(item, index) in contactsList" :key="index">
|
|
|
|
|
<td>{{ item.name }}</td>
|
|
|
|
|
<td>{{ item.post }}</td>
|
|
|
|
|
<td>{{ item.phone }}</td>
|
|
|
|
|
<td style="text-align: center">
|
|
|
|
|
<t-button @click="delContacts(index)" theme="danger" size="small">移除</t-button>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2024-08-22 18:09:35 +08:00
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
</div> -->
|
|
|
|
|
<div style="background-color: #ffffff;margin-top: 20px;padding: 20px;border-radius: 10px;">
|
|
|
|
|
<div
|
|
|
|
|
style="border-radius: 4px;color: #000000; background-color: #F5F6F8;height: 80px;display: flex;align-items: center;padding-left: 20px;">
|
|
|
|
|
<div style="width: 5px;height: 35px;background-color: #2552CD;"></div>
|
|
|
|
|
<div style="font-size: 28px;font-weight: 600;margin-left: 15px;">企业资质</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="padding-left: 15px;">
|
|
|
|
|
<div id="qiyejiben" class="title_box">1.基本信息</div>
|
|
|
|
|
<div style="display: flex; justify-items: center;">
|
|
|
|
|
<div style="width: 100%">
|
|
|
|
|
<t-space direction="vertical">
|
|
|
|
|
<t-form layout="inline" labelAlign="top" :labelWidth="100">
|
|
|
|
|
<t-form-item label="企业名称" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.enterprise_name" placeholder="请输入企业名称"
|
|
|
|
|
style="width: 400px;" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="统一社会信用代码" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.unified_code" placeholder="请输入统一社会信用代码"
|
|
|
|
|
style="width: 500px;" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="企业注册地" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.enterprise_location" placeholder="请输入企业注册地"
|
|
|
|
|
style="width: 500px;" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item :requiredMark="true" label="企业位置经度"
|
|
|
|
|
help="坐标拾取:https://lbs.qq.com/tool/getpoint/get-point.html">
|
|
|
|
|
<t-input size="large" v-model="formData.longitude" placeholder="地图经度(如:116.xxx )"
|
|
|
|
|
style="width: 500px;" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item :requiredMark="true" label="企业位置纬度"
|
|
|
|
|
help="坐标拾取:https://lbs.qq.com/tool/getpoint/get-point.html">
|
|
|
|
|
<t-input size="large" v-model="formData.dimension" placeholder="地图纬度(如:39.xxx )"
|
|
|
|
|
style="width: 500px;" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="注册资金(万元)" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.registered_capital" placeholder="注册资金(万元)"
|
|
|
|
|
style="width: 400px;" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="是否上市" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.if_list" class="input_box">
|
|
|
|
|
<t-option key="0" label="是" :value="0"></t-option>
|
|
|
|
|
<t-option key="1" label="否" :value="1"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<template v-if="formData.if_list == 0">
|
|
|
|
|
<t-form-item label="股票代码" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.employee" placeholder="请输入股票代码" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="上市时间" :requiredMark="true">
|
|
|
|
|
<t-date-picker size="large" v-model="formData.birth_time" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</template>
|
|
|
|
|
<t-form-item label="员工人数" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.employee" placeholder="请输入员工人数" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="所属行业领域" name="name" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.industry_id" class="input_box">
|
|
|
|
|
<t-option v-for="(item, index) in industry_list" :label="item.industry_name"
|
|
|
|
|
:value="item.id"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<!-- <t-form-item label="企业网址">
|
|
|
|
|
<t-input size="large" v-model="formData.enterprise_website" placeholder="企业网址" />
|
|
|
|
|
</t-form-item> -->
|
|
|
|
|
<t-form-item label="企业性质" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.enterprise_nature" class="input_box">
|
|
|
|
|
<t-option key="国有" label="国有" value="国有"></t-option>
|
|
|
|
|
<t-option key="私营" label="私营" value="私营"></t-option>
|
|
|
|
|
<t-option key="混合所有制" label="混合所有制" value="混合所有制"></t-option>
|
|
|
|
|
<t-option key="集体" label="集体" value="集体"></t-option>
|
|
|
|
|
<t-option key="外贸" label="外贸" value="外贸"></t-option>
|
|
|
|
|
<t-option key="其他" label="其他" value="其他"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="上年营业额(万元)" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.previous_revenue" placeholder="上年营业额(万元)"
|
|
|
|
|
class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="上年纳税额(万元)" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.previous_tax" placeholder="上年纳税额(万元)" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="上年度净利润(万元)" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.previous_profit" placeholder="上年度净利润(万元)"
|
|
|
|
|
class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="上年公益性捐赠支出(万元)" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.previous_donation" placeholder="上年公益性捐赠支出(万元)"
|
|
|
|
|
class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
|
|
|
|
</t-space>
|
|
|
|
|
</div>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="height: 1px; background-color: #EEEEEE; width: 100%; margin-top: 20px"></div>
|
|
|
|
|
<div style="padding-left: 15px;">
|
|
|
|
|
<div id="falv" class="title_box">2.法律文件</div>
|
|
|
|
|
<div style="display: flex; justify-items: center;gap: 20px;width:60%;flex-wrap: wrap;">
|
|
|
|
|
<div>
|
|
|
|
|
<div style="margin-bottom: 15px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>营业执照:</span>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" v-model="formData.cardz_image_show"
|
|
|
|
|
theme="custom" :data="{ association_id: 1 }" accept="image/*"
|
|
|
|
|
:format-response="(response) => formatResponse(response, 3)">
|
|
|
|
|
<div class="sfz">
|
|
|
|
|
<img v-if="formData.business_license_image == ''" src="/src/assets/c4.png"
|
|
|
|
|
style="width:220px; height: 124px" />
|
|
|
|
|
<img v-if="formData.business_license_image != ''"
|
|
|
|
|
:src="$store.state.user.apiUrl + formData.business_license_image"
|
|
|
|
|
style="width:220px; height: 124px;object-fit: cover;" />
|
|
|
|
|
</div>
|
|
|
|
|
</t-upload>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div style="margin-bottom: 15px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>公司LOGO:</span>
|
2025-03-21 16:02:19 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" v-model="formData.cardz_image_show"
|
|
|
|
|
theme="custom" :data="{ association_id: 1 }" accept="image/*"
|
|
|
|
|
:format-response="(response) => formatResponse(response, 6)">
|
|
|
|
|
<div class="sfz">
|
|
|
|
|
<img v-if="formData.company_image == ''" src="/src/assets/c5.png"
|
|
|
|
|
style="width:220px; height: 124px" />
|
|
|
|
|
<img v-if="formData.company_image != ''" :src="$store.state.user.apiUrl + formData.company_image"
|
|
|
|
|
style="width:220px; height: 124px;object-fit: cover;" />
|
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</t-upload>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div>
|
|
|
|
|
<div style="margin-bottom: 15px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>企业征信报告:</span>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" v-model="formData.cardz_image_show"
|
|
|
|
|
theme="custom" :data="{ association_id: 1 }" accept="image/*"
|
|
|
|
|
:format-response="(response) => formatResponse(response, 7)">
|
|
|
|
|
<div class="sfz">
|
|
|
|
|
<img v-if="formData.enterprise_credit_report == ''" src="/src/assets/c3.png"
|
|
|
|
|
style="width:220px; height: 124px" />
|
|
|
|
|
<img v-if="formData.enterprise_credit_report != ''"
|
|
|
|
|
:src="$store.state.user.apiUrl + formData.enterprise_credit_report"
|
|
|
|
|
style="width:220px; height: 124px;object-fit: cover;" />
|
|
|
|
|
</div>
|
|
|
|
|
</t-upload>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div style="margin-bottom: 15px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>无犯罪记录证明:</span>
|
2025-03-21 16:02:19 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" v-model="formData.cardz_image_show"
|
|
|
|
|
theme="custom" :data="{ association_id: 1 }" accept="image/*"
|
|
|
|
|
:format-response="(response) => formatResponse(response, 9)">
|
|
|
|
|
<div class="sfz">
|
|
|
|
|
<img v-if="formData.certificate_of_no_criminal_record == ''" src="/src/assets/c1.png"
|
|
|
|
|
style="width:220px; height: 124px" />
|
|
|
|
|
<img v-if="formData.certificate_of_no_criminal_record != ''"
|
|
|
|
|
:src="$store.state.user.apiUrl + formData.certificate_of_no_criminal_record"
|
|
|
|
|
style="width:220px; height: 124px;object-fit: cover;" />
|
|
|
|
|
</div>
|
|
|
|
|
</t-upload>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div style="margin-bottom: 15px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>上一年度企业营业税完税证明:</span>
|
|
|
|
|
</div>
|
|
|
|
|
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" v-model="formData.cardz_image_show"
|
|
|
|
|
theme="custom" :data="{ association_id: 1 }" accept="image/*"
|
|
|
|
|
:format-response="(response) => formatResponse(response, 10)">
|
|
|
|
|
<div class="sfz">
|
|
|
|
|
<img v-if="formData.certificate_of_business_tax_payment_for_the_previous_year == ''"
|
|
|
|
|
src="/src/assets/c1.png" style="width:220px; height: 124px" />
|
|
|
|
|
<img v-if="formData.certificate_of_business_tax_payment_for_the_previous_year != ''"
|
|
|
|
|
:src="$store.state.user.apiUrl + formData.certificate_of_business_tax_payment_for_the_previous_year"
|
|
|
|
|
style="width:220px; height: 124px;object-fit: cover;" />
|
|
|
|
|
</div>
|
|
|
|
|
</t-upload>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div style="margin-bottom: 15px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>企业信用信息报告:</span>
|
|
|
|
|
</div>
|
|
|
|
|
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" v-model="formData.cardz_image_show"
|
|
|
|
|
theme="custom" :data="{ association_id: 1 }" accept="image/*"
|
|
|
|
|
:format-response="(response) => formatResponse(response, 8)">
|
|
|
|
|
<div class="sfz">
|
|
|
|
|
<img v-if="formData.enterprise_credit_information_report == ''" src="/src/assets/c1.png"
|
|
|
|
|
style="width:220px; height: 124px" />
|
|
|
|
|
<img v-if="formData.enterprise_credit_information_report != ''"
|
|
|
|
|
:src="$store.state.user.apiUrl + formData.enterprise_credit_information_report"
|
|
|
|
|
style="width:220px; height: 124px;object-fit: cover;" />
|
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</t-upload>
|
|
|
|
|
</div>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="height: 1px; background-color: #EEEEEE; width: 100%; margin-top: 20px"></div>
|
|
|
|
|
<div style="padding-left: 15px;">
|
|
|
|
|
<div id="jijing" class="title_box">3.紧急联系人</div>
|
|
|
|
|
<div style="display: flex; margin-top: 20px">
|
|
|
|
|
<div>
|
|
|
|
|
<t-space direction="vertical">
|
|
|
|
|
<t-form layout="inline" labelAlign="top" :labelWidth="100" v-for="(item, index) in formData.contacts">
|
|
|
|
|
<t-form-item label="姓名" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.name" placeholder="请输入姓名" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="职务" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.post" placeholder="请输入职务" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="电话" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.phone" placeholder="请输入电话" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label=" ">
|
|
|
|
|
<div>
|
|
|
|
|
<img src="/src/assets/del.png" @click="delContacts(index)"
|
|
|
|
|
style="cursor: pointer;width: 30px;height: 30px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
|
|
|
|
<t-button @click="addContacts" theme="primary"> <add-icon slot="icon" />添加更多</t-button>
|
|
|
|
|
</t-space>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="background-color: #ffffff;margin-top: 20px;padding: 20px;border-radius: 10px;">
|
|
|
|
|
<div
|
|
|
|
|
style="border-radius: 4px;color: #000000; background-color: #F5F6F8;height: 80px;display: flex;align-items: center;padding-left: 20px;">
|
|
|
|
|
<div style="width: 5px;height: 35px;background-color: #2552CD;"></div>
|
|
|
|
|
<div style="font-size: 28px;font-weight: 600;margin-left: 15px;">企业概况</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="padding-left: 15px;">
|
|
|
|
|
<div id="wendang" class="title_box">1.文档资料</div>
|
|
|
|
|
<div style="display: flex; justify-items: center; justify-content: space-between; margin-top: 20px">
|
|
|
|
|
<div style="width: 49%">
|
|
|
|
|
<div>
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>公司介绍</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-top: 10px">
|
|
|
|
|
<div style="border: 1px solid #ccc">
|
|
|
|
|
<Toolbar style="border-bottom: 1px solid #ccc" mode="default" :editor="editorGS"
|
|
|
|
|
:defaultConfig="toolbarConfig" />
|
|
|
|
|
<Editor style="height: 300px" v-model="formData.enterprise_Introduction"
|
|
|
|
|
:defaultConfig="editorConfig" mode="default" @customPaste="customPaste"
|
|
|
|
|
@onCreated="(e) => onCreatedGS(e)" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="width: 49%">
|
|
|
|
|
<div>
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>主营业务</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-top: 10px">
|
|
|
|
|
<div style="border: 1px solid #ccc">
|
|
|
|
|
<Toolbar style="border-bottom: 1px solid #ccc" mode="default" :editor="editorZY"
|
|
|
|
|
:defaultConfig="toolbarConfig" />
|
|
|
|
|
<Editor style="height: 300px" v-model="formData.introdiction" :defaultConfig="editorConfig"
|
|
|
|
|
mode="default" @customPaste="customPaste" @onCreated="(e) => onCreatedZY(e)" />
|
|
|
|
|
</div>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div>
|
2025-02-21 14:21:51 +08:00
|
|
|
|
<div style="margin-top: 20px">
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>荣誉与专利</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="display: flex; justify-content: start;margin-top: 10px;">
|
|
|
|
|
<div style="text-align: center">
|
|
|
|
|
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" v-model="formData.zl_show"
|
|
|
|
|
theme="custom" :data="{ association_id: 1 }" accept="image/*"
|
|
|
|
|
:format-response="(response) => formatResponse(response, 5)">
|
|
|
|
|
<div class="sfz" style="display: flex;justify-content: start;">
|
|
|
|
|
<div v-if="formData.zl_list.length > 0" v-for="(item, index) in formData.zl_list" :key="index"
|
|
|
|
|
style="margin-right: 20px;width: 220px; height: 293px;position: relative;">
|
|
|
|
|
<div @click.stop="delZl(index)"
|
|
|
|
|
style="z-index: 100;width: 100%; height: 100%;background-color: rgba(0, 0, 0, 0.5);position: absolute;top: 0;left: 0;">
|
|
|
|
|
<div style="position: absolute;left: 0;right: 0;top:35%;bottom: 0;margin: auto;">
|
|
|
|
|
<img src="/src/assets/del.png" style="width: 30px;height: 30px;">
|
|
|
|
|
<div style="color: #ffffff;font-size: 14px;">删除图片</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<img :src="$store.state.user.apiUrl + item"
|
|
|
|
|
style="width: 100%; height: 100%;object-fit: cover;" />
|
|
|
|
|
</div>
|
|
|
|
|
<img src="/src/assets/card4.png" style="width: 220px;height: 293px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</t-upload>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="display: flex; justify-items: center; justify-content: space-between; margin-top: 20px">
|
|
|
|
|
<div style="width: 49%">
|
|
|
|
|
<div>
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>其他企业任职情况</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-top: 20px">
|
|
|
|
|
<!-- <t-textarea placeholder="请输入其他企业任职情况" :autosize="{ minRows: 15, maxRows: 20 }"-->
|
|
|
|
|
<!-- v-model="formData.qitaqiyerenzhiqingkuang"/>-->
|
|
|
|
|
<div style="border: 1px solid #ccc">
|
|
|
|
|
<!-- 工具栏 -->
|
|
|
|
|
<Toolbar style="border-bottom: 1px solid #ccc" mode="default" :editor="editorQT"
|
|
|
|
|
:defaultConfig="toolbarConfig" />
|
2024-09-05 16:14:08 +08:00
|
|
|
|
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<Editor style="height: 300px" v-model="formData.qitaqiyerenzhiqingkuang"
|
|
|
|
|
:defaultConfig="editorConfig" mode="default" @customPaste="customPaste"
|
|
|
|
|
@onCreated="(e) => onCreatedQT(e)" />
|
|
|
|
|
</div>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="width: 49%">
|
|
|
|
|
<div>
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>企业履行社会责任情况</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin-top: 20px">
|
|
|
|
|
<!-- <t-textarea placeholder="请输入企业履行社会责任情况" :autosize="{ minRows: 15, maxRows: 20 }"-->
|
|
|
|
|
<!-- v-model="formData.enterprise_lvxingzeren"/>-->
|
|
|
|
|
<div style="border: 1px solid #ccc">
|
|
|
|
|
<!-- 工具栏 -->
|
|
|
|
|
<Toolbar style="border-bottom: 1px solid #ccc" mode="default" :editor="editorLX"
|
|
|
|
|
:defaultConfig="toolbarConfig" />
|
2024-09-05 16:14:08 +08:00
|
|
|
|
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<Editor style="height: 300px" v-model="formData.enterprise_lvxingzeren"
|
|
|
|
|
:defaultConfig="editorConfig" mode="default" @customPaste="customPaste"
|
|
|
|
|
@onCreated="(e) => onCreatedLX(e)" />
|
|
|
|
|
</div>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div style="background-color: #ffffff;margin-top: 20px;padding: 20px;border-radius: 10px;">
|
|
|
|
|
<div
|
|
|
|
|
style="border-radius: 4px;color: #000000; background-color: #F5F6F8;height: 80px;display: flex;align-items: center;padding-left: 20px;">
|
|
|
|
|
<div style="width: 5px;height: 35px;background-color: #2552CD;"></div>
|
|
|
|
|
<div style="font-size: 28px;font-weight: 600;margin-left: 15px;">海外业务</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="padding-left: 15px;">
|
|
|
|
|
<div id="haiwaijiben" class="title_box">1.基本信息</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>是否开展海外业务</span>
|
|
|
|
|
</div>
|
|
|
|
|
<t-select size="large" v-model="formData.if_abroad" style="width:200px;margin-top: 10px;">
|
|
|
|
|
<t-option key="0" label="是" :value="0"></t-option>
|
|
|
|
|
<t-option key="1" label="否" :value="1"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="formData.if_abroad == 0">
|
|
|
|
|
<div>
|
|
|
|
|
<div id="haiwiquyu" class="title_box">2.区域与资源</div>
|
|
|
|
|
<div style="display: flex;justify-content: start;">
|
|
|
|
|
<div style="margin-right: 20px;">
|
|
|
|
|
<div style="margin-bottom: 10px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>国家/城市</span>
|
|
|
|
|
</div>
|
|
|
|
|
<t-select size="large" v-model="formData.abroad_region_id" style="width:500px;">
|
|
|
|
|
<t-option key="0" label="是" :value="0"></t-option>
|
|
|
|
|
<t-option key="1" label="否" :value="1"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div style="margin-bottom: 10px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>人员规模</span>
|
|
|
|
|
</div>
|
|
|
|
|
<t-input size="large" v-model="formData.staff_size" placeholder="请输入人员规模" style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div id="caiwuyunying" class="title_box">3.财务与运营</div>
|
|
|
|
|
<div style="display: flex;justify-content: start;width: 100%;">
|
|
|
|
|
<div style="margin-right: 20px;">
|
|
|
|
|
<div style="margin-bottom: 10px;">
|
|
|
|
|
<span>上年度在当地的营收</span>
|
|
|
|
|
</div>
|
|
|
|
|
<t-input size="large" v-model="formData.last_year_local_revenue" placeholder="请输入上年度在当地的营收"
|
|
|
|
|
style="width: 300px;" />
|
|
|
|
|
</div>
|
|
|
|
|
<div style="width: 50%;">
|
|
|
|
|
<div style="margin-bottom: 10px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>经营情况</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="border: 1px solid #ccc">
|
|
|
|
|
<!-- 工具栏 -->
|
|
|
|
|
<Toolbar style="border-bottom: 1px solid #ccc" mode="default" :editor="editorJY"
|
|
|
|
|
:defaultConfig="toolbarConfig" />
|
|
|
|
|
<Editor style="height: 300px" v-model="formData.business_case" :defaultConfig="editorConfig"
|
|
|
|
|
mode="default" @customPaste="customPaste" @onCreated="(e) => onCreatedJY(e)" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div id="duihuahezuo" class="title_box">4.对华合作</div>
|
|
|
|
|
<div style="display: flex;justify-content: start;width: 100%;">
|
|
|
|
|
<div style="width: 50%;">
|
|
|
|
|
<div style="margin-bottom: 10px;">
|
|
|
|
|
<span style="color: #d54941;">*</span>
|
|
|
|
|
<span>涉华经贸往来情况</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="border: 1px solid #ccc">
|
|
|
|
|
<!-- 工具栏 -->
|
|
|
|
|
<Toolbar style="border-bottom: 1px solid #ccc" mode="default" :editor="editorSH"
|
|
|
|
|
:defaultConfig="toolbarConfig" />
|
|
|
|
|
<Editor style="height: 300px" v-model="formData.economic_and_trade_exchanges_with_china"
|
|
|
|
|
:defaultConfig="editorConfig" mode="default" @customPaste="customPaste"
|
|
|
|
|
@onCreated="(e) => onCreatedSH(e)" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div style="background-color: #ffffff;margin-top: 20px;padding: 20px;border-radius: 10px;">
|
|
|
|
|
<div
|
|
|
|
|
style="border-radius: 4px;color: #000000; background-color: #F5F6F8;height: 80px;display: flex;align-items: center;padding-left: 20px;">
|
|
|
|
|
<div style="width: 5px;height: 35px;background-color: #2552CD;"></div>
|
|
|
|
|
<div style="font-size: 28px;font-weight: 600;margin-left: 15px;">组织建设</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="padding-left: 15px;">
|
|
|
|
|
<div id="dangzuzhi" class="title_box">1.党组织信息</div>
|
|
|
|
|
<div>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
<t-form layout="inline" labelAlign="top" :labelWidth="100">
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-form-item label="是否建立党组织" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.if_party" :style="{ width: '200px' }">
|
2025-01-24 09:19:03 +08:00
|
|
|
|
<t-option key="0" label="是" :value="0"></t-option>
|
|
|
|
|
<t-option key="1" label="否" :value="1"></t-option>
|
2024-07-09 18:07:55 +08:00
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</t-form>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-form v-if="formData.if_party == 0" labelAlign="top" layout="inline" style="margin-top: 10px;">
|
|
|
|
|
<t-form-item label="党组织性质" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.party_nature" placeholder="党组织性质" class="input_box">
|
|
|
|
|
<t-option value="党委" label="党委" key="党委"></t-option>
|
|
|
|
|
<t-option value="党总支" label="党总支" key="党总支"></t-option>
|
|
|
|
|
<t-option value="党支部" label="党支部" key="党支部"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="建党时间" :requiredMark="true">
|
|
|
|
|
<t-date-picker size="large" v-model="formData.partytime" placeholder="请输入建党时间" class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="建党人数" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.party_number" placeholder="请输入建党人数"
|
|
|
|
|
class="input_box"></t-input>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="青年人数" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.youth_number" placeholder="请输入青年人数"
|
|
|
|
|
class="input_box"></t-input>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="上级党组织" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.manager_party" placeholder="请输入上级党组织"
|
|
|
|
|
class="input_box"></t-input>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
|
|
|
|
|
<!-- <t-form-item label="团委负责人信息" name="tuanweifuzerenxinxi">-->
|
|
|
|
|
<!-- <t-input size="large" v-model="formData.tuanweifuzerenxinxi" placeholder="团委负责人信息"></t-input>-->
|
|
|
|
|
<!-- </t-form-item>-->
|
|
|
|
|
</t-form>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="formData.if_party == 0">
|
|
|
|
|
<div id="dangweifuzeren" class="title_box">党委负责人</div>
|
|
|
|
|
<div style="display: flex; margin-top: 20px">
|
|
|
|
|
<div>
|
|
|
|
|
<t-space direction="vertical">
|
|
|
|
|
<t-form layout="inline" labelAlign="top" :labelWidth="100" v-for="(item, index) in formData.party">
|
|
|
|
|
<t-form-item label="姓名" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.name" placeholder="请输入姓名" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="性别" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="item.sex" class="input_box">
|
|
|
|
|
<t-option :key="0" label="女" :value="0"></t-option>
|
|
|
|
|
<t-option :key="1" label="男" :value="1"></t-option>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-form-item label="单位职务" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.danwei_zhiwu" placeholder="请输入单位职务" />
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</t-form-item>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-form-item label="党务职位" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.party_zhiwu" placeholder="请输入党务职位" />
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</t-form-item>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-form-item label="手机号" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.phone" placeholder="请输入手机号" />
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</t-form-item>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-form-item label=" ">
|
|
|
|
|
<div>
|
|
|
|
|
<img src="/src/assets/del.png" @click="delParty(index)"
|
|
|
|
|
style="cursor: pointer;width: 30px;height: 30px;" />
|
|
|
|
|
</div>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<t-button @click="addParty" theme="primary"> <add-icon slot="icon" />添加更多</t-button>
|
|
|
|
|
</t-space>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="height: 1px; background-color: #EEEEEE; width: 100%; margin-top: 20px"></div>
|
|
|
|
|
<div id="tuanzuzhi" class="title_box">2.团组织信息</div>
|
|
|
|
|
<div>
|
|
|
|
|
<t-form layout="inline" labelAlign="top" :labelWidth="100">
|
|
|
|
|
<t-form-item label="是否建立团组织" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.if_organization" :style="{ width: '200px' }">
|
|
|
|
|
<t-option key="0" label="是" :value="0"></t-option>
|
|
|
|
|
<t-option key="1" label="否" :value="1"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
|
|
|
|
<t-form v-if="formData.if_organization == 0" labelAlign="top" layout="inline" style="margin-top: 10px;">
|
|
|
|
|
<t-form-item label="团组织性质" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="formData.nature" placeholder="团组织性质" class="input_box">
|
|
|
|
|
<t-option value="团委" label="团委" key="团委"></t-option>
|
|
|
|
|
<t-option value="团总支" label="团总支" key="团总支"></t-option>
|
|
|
|
|
<t-option value="团支部" label="团支部" key="团支部"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="建团时间" :requiredMark="true">
|
|
|
|
|
<t-date-picker size="large" v-model="formData.jiantuan_time" placeholder="请输入建团时间"
|
|
|
|
|
class="input_box" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="建团人数" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.jiantuan_number" placeholder="请输入建团人数"
|
|
|
|
|
class="input_box"></t-input>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="青年人数" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.youth_number" placeholder="请输入青年人数"
|
|
|
|
|
class="input_box"></t-input>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="上级团组织" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="formData.superior_nature" placeholder="请输入上级团组织"
|
|
|
|
|
class="input_box"></t-input>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="formData.if_organization == 0">
|
|
|
|
|
<div id="tuanweifuzeren" class="title_box">团组织负责人</div>
|
|
|
|
|
<div style="display: flex; margin-top: 20px">
|
|
|
|
|
<div>
|
|
|
|
|
<t-space direction="vertical">
|
|
|
|
|
<t-form layout="inline" labelAlign="top" :labelWidth="100" v-for="(item, index) in formData.tuan">
|
|
|
|
|
<t-form-item label="姓名" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.name" placeholder="请输入姓名" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="性别" :requiredMark="true">
|
|
|
|
|
<t-select size="large" v-model="item.sex" class="input_box">
|
|
|
|
|
<t-option :key="0" label="女" :value="0"></t-option>
|
|
|
|
|
<t-option :key="1" label="男" :value="1"></t-option>
|
|
|
|
|
</t-select>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="单位职务" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.job" placeholder="请输入单位职务" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="团委职务" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.tun_job" placeholder="请输入团委职务" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label="手机号" :requiredMark="true">
|
|
|
|
|
<t-input size="large" v-model="item.phone" placeholder="请输入手机号" />
|
|
|
|
|
</t-form-item>
|
|
|
|
|
<t-form-item label=" ">
|
|
|
|
|
<div>
|
|
|
|
|
<img src="/src/assets/del.png" @click="delTuan(index)"
|
|
|
|
|
style="cursor: pointer;width: 30px;height: 30px;" />
|
|
|
|
|
</div>
|
|
|
|
|
</t-form-item>
|
|
|
|
|
</t-form>
|
|
|
|
|
<t-button @click="addTuan" theme="primary"> <add-icon slot="icon" />添加更多</t-button>
|
|
|
|
|
</t-space>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div style="height: 1px; background-color: #EEEEEE; width: 100%; margin-top: 20px"></div>
|
|
|
|
|
<div style="padding: 50px 0px; text-align: center">
|
|
|
|
|
<t-button @click="submit" size="large">确定保存</t-button>
|
|
|
|
|
<!-- <t-button size="large" @click="download" theme="warning" style="margin-left: 50px">生成PDF</t-button> -->
|
|
|
|
|
</div>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
|
2024-08-20 17:22:07 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<!-- <t-dialog header="图片上传" :visible="caiMode" width="40%" top="20px" :onClose="onCloseMy" @confirm="onSubmit">
|
2024-08-20 17:22:07 +08:00
|
|
|
|
<div class="cropper-content">
|
|
|
|
|
<div class="cropper">
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<vue-cropper ref="cropper" :img="caiImg" :canMoveBox="false" :output-size="1" output-type="png" :info="true"
|
|
|
|
|
:full="false" :auto-crop="true" autoCropWidth="200px" autoCropHeight="200px" mode="100%"
|
|
|
|
|
@realTime="realTime" @imgLoad="imgLoad" :fixed="true" :fixedNumber="[1, 1]"></vue-cropper>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<div class="show-preview"
|
|
|
|
|
:style="{ width: previews.w + 'px', height: previews.h + 'px', overflow: 'hidden', margin: '5px' }">
|
2024-08-20 17:22:07 +08:00
|
|
|
|
<div :style="previews.div" class="preview">
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<img :src="previews.url" :style="previews.img" />
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2024-08-20 17:22:07 +08:00
|
|
|
|
<div class="footer-btn">
|
|
|
|
|
<div class="scope-btn">
|
|
|
|
|
<label class="btn" for="uploads">上传图片</label>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<input type="file" id="uploads" style="position: absolute; clip: rect(0 0 0 0)"
|
|
|
|
|
accept="image/png, image/jpeg, image/gif, image/jpg" @change="uploadImg($event, 1)" />
|
2024-08-19 18:14:28 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
</t-dialog> -->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right_card_box"
|
|
|
|
|
style="background-color: #fff;border-radius: 10px;width: 12%;height: 80%;;position: fixed;right: 0;overflow-y: auto;">
|
|
|
|
|
<t-collapse v-model="collapse" :expand-icon="false" :borderless="true" style="width: 100%;">
|
|
|
|
|
<t-collapse-panel v-for="(item, index) in right_card_list" :key="index">
|
|
|
|
|
<template #header>
|
|
|
|
|
<div :class="item.active ? 'top_title top_title_active' : 'top_title top_title_no_active'">
|
|
|
|
|
<div style="height: 50px;line-height: 50px">{{ item.title }}</div>
|
|
|
|
|
<div>
|
|
|
|
|
<img v-if="item.ok" src="@/assets/top_ok.png" style="width: 15px;height: 15px;">
|
|
|
|
|
<img v-else src="@/assets/top_no.png" style="width: 15px;height: 15px;">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #default>
|
|
|
|
|
<div v-for="(v, k) in item.content" :key="k">
|
|
|
|
|
<div style="display: flex;justify-content: space-between;align-items: center;padding-bottom: 10px;">
|
|
|
|
|
<div>
|
|
|
|
|
<a :href="'#' + v.id" :class="v.active ? 'nei_color_active' : 'nei_color'"
|
|
|
|
|
@click="scrollTo(v, k, item, index)">{{ v.title }}</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<img v-if="v.ok" src="@/assets/nei_ok.png" style="width: 15px;height: 15px;">
|
|
|
|
|
<img v-else src="@/assets/nei_no.png" style="width: 15px;height: 15px;">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</t-collapse-panel>
|
|
|
|
|
</t-collapse>
|
2024-07-09 18:07:55 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
2024-08-19 18:14:28 +08:00
|
|
|
|
<script lang="ts">
|
2025-04-18 19:53:56 +08:00
|
|
|
|
import { Editor, Toolbar } from '@wangeditor/editor-for-vue';
|
2024-08-19 18:14:28 +08:00
|
|
|
|
import store from '@/store';
|
2025-04-18 19:53:56 +08:00
|
|
|
|
import { VueCropper } from 'vue-cropper';
|
2024-08-19 18:14:28 +08:00
|
|
|
|
import axios from 'axios';
|
2025-04-18 19:53:56 +08:00
|
|
|
|
import {
|
|
|
|
|
AddIcon, CloseCircleIcon, SearchIcon, DiscountIcon, CloudDownloadIcon,
|
|
|
|
|
} from 'tdesign-icons-vue';
|
2024-07-09 18:07:55 +08:00
|
|
|
|
export default {
|
|
|
|
|
components: {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
CloseCircleIcon,
|
|
|
|
|
AddIcon,
|
2025-02-21 14:21:51 +08:00
|
|
|
|
VueCropper,
|
|
|
|
|
Editor,
|
|
|
|
|
Toolbar,
|
2024-07-09 18:07:55 +08:00
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
editorJJ: null,
|
|
|
|
|
editorCJ: null,
|
|
|
|
|
editorGS: null,
|
|
|
|
|
editorZY: null,
|
|
|
|
|
editorRY: null,
|
|
|
|
|
editorQT: null,
|
|
|
|
|
editorLX: null,
|
2025-04-18 19:53:56 +08:00
|
|
|
|
editorJY: null,
|
|
|
|
|
editorSH: null,
|
2024-09-05 16:14:08 +08:00
|
|
|
|
toolbarConfig: {
|
|
|
|
|
showLinkImg: false,
|
|
|
|
|
uploadImgShowBase64: true,
|
|
|
|
|
excludeKeys: [
|
|
|
|
|
'insertVideo', // 删除视频
|
|
|
|
|
'uploadVideo',
|
|
|
|
|
'group-video',
|
2025-02-21 14:21:51 +08:00
|
|
|
|
'insertImage', // 删除网络图片上传
|
2024-09-05 16:14:08 +08:00
|
|
|
|
'uploadImage',
|
|
|
|
|
'group-image',
|
2025-02-21 14:21:51 +08:00
|
|
|
|
'insertLink', // 删除链接
|
|
|
|
|
'insertTable', // 删除表格
|
|
|
|
|
'codeBlock', // 删除代码块
|
|
|
|
|
],
|
2024-09-05 16:14:08 +08:00
|
|
|
|
},
|
|
|
|
|
editorConfig: {
|
|
|
|
|
placeholder: '',
|
|
|
|
|
readOnly: false, // 是否只允许阅读,不可编辑
|
|
|
|
|
autoFocus: true,
|
|
|
|
|
},
|
2024-08-20 17:22:07 +08:00
|
|
|
|
show: false,
|
2024-08-19 18:14:28 +08:00
|
|
|
|
caiMode: false,
|
|
|
|
|
previews: {},
|
|
|
|
|
caiImg: '',
|
2025-04-18 19:53:56 +08:00
|
|
|
|
|
2024-09-05 16:14:08 +08:00
|
|
|
|
work_time: [],
|
2024-08-20 17:22:07 +08:00
|
|
|
|
workList: [],
|
2025-04-18 19:53:56 +08:00
|
|
|
|
|
|
|
|
|
contactsList: [],
|
2025-04-18 19:59:21 +08:00
|
|
|
|
|
2024-09-05 16:14:08 +08:00
|
|
|
|
tuan_list: [],
|
2024-07-09 18:07:55 +08:00
|
|
|
|
formData: {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
enterprise_credit_report: '',
|
|
|
|
|
enterprise_credit_information_report: '',
|
|
|
|
|
certificate_of_no_criminal_record: '',
|
|
|
|
|
certificate_of_business_tax_payment_for_the_previous_year: '',
|
|
|
|
|
if_party: null,
|
|
|
|
|
if_abroad: null,
|
|
|
|
|
abroad_region_id: null,
|
|
|
|
|
staff_size: '',
|
|
|
|
|
last_year_local_revenue: '',
|
|
|
|
|
social_duties: [],
|
|
|
|
|
business_case: '',
|
|
|
|
|
economic_and_trade_exchanges_with_china: '',
|
2025-02-21 14:21:51 +08:00
|
|
|
|
enterprise_lvxingzeren: '',
|
2024-09-05 16:14:08 +08:00
|
|
|
|
registered_capital: '',
|
|
|
|
|
zip_code: '',
|
|
|
|
|
mail_address: '',
|
|
|
|
|
intentional_association_position: '',
|
|
|
|
|
source_channel: '',
|
2025-04-18 19:53:56 +08:00
|
|
|
|
region_id: '',
|
2024-09-05 16:14:08 +08:00
|
|
|
|
recommendation_id: '',
|
2025-04-18 19:53:56 +08:00
|
|
|
|
recommendation_name: '',
|
|
|
|
|
position_id: '',
|
|
|
|
|
industry_id: '',
|
2024-07-09 18:07:55 +08:00
|
|
|
|
phone: '',
|
|
|
|
|
password: '',
|
|
|
|
|
nikename: '',
|
|
|
|
|
gender: null,
|
|
|
|
|
birth_time: '',
|
|
|
|
|
nation: '',
|
|
|
|
|
political: '',
|
|
|
|
|
jiguan: '',
|
2025-04-18 19:53:56 +08:00
|
|
|
|
zl_list: [],
|
|
|
|
|
zl_show: [],
|
2024-07-09 18:07:55 +08:00
|
|
|
|
institution: '',
|
|
|
|
|
education: '',
|
|
|
|
|
academic_degree: '',
|
|
|
|
|
card_number: '',
|
|
|
|
|
work_unit: '',
|
|
|
|
|
unit_position: '',
|
|
|
|
|
wx_number: '',
|
|
|
|
|
mailbox: '',
|
|
|
|
|
fixed_telephone: '',
|
|
|
|
|
achievement_award: '',
|
|
|
|
|
other_contacts: '',
|
|
|
|
|
other_social_positions: '',
|
|
|
|
|
position: '',
|
|
|
|
|
cardf_image_show: [],
|
|
|
|
|
cardz_image_show: [],
|
|
|
|
|
photo_image_show: [],
|
|
|
|
|
cardf_image: '',
|
|
|
|
|
cardz_image: '',
|
|
|
|
|
photo_image: '',
|
|
|
|
|
business_license_image_show: [],
|
|
|
|
|
business_license_image: '',
|
|
|
|
|
unified_code: '',
|
|
|
|
|
enterprise_nature: '',
|
|
|
|
|
enterprise_website: '',
|
|
|
|
|
if_list: null,
|
|
|
|
|
employee: '',
|
|
|
|
|
previous_revenue: '',
|
|
|
|
|
previous_tax: '',
|
|
|
|
|
previous_profit: '',
|
|
|
|
|
previous_donation: '',
|
|
|
|
|
qitaqiyerenzhiqingkuang: '',
|
|
|
|
|
enterprise_Introduction: '',
|
|
|
|
|
introdiction: '',
|
|
|
|
|
enterprise_honor: '',
|
|
|
|
|
if_organization: null,
|
|
|
|
|
nature: '',
|
|
|
|
|
jiantuan_time: '',
|
|
|
|
|
jiantuan_number: '',
|
|
|
|
|
youth_number: '',
|
|
|
|
|
superior_nature: '',
|
|
|
|
|
tuanweifuzerenxinxi: '',
|
|
|
|
|
documents_file: '',
|
|
|
|
|
documents_file_show: [],
|
2024-08-19 18:14:28 +08:00
|
|
|
|
enterprise_location: '',
|
|
|
|
|
introduction: '',
|
|
|
|
|
enterprise_name: '',
|
|
|
|
|
company_image: '',
|
|
|
|
|
company_image_show: [],
|
|
|
|
|
token: '',
|
|
|
|
|
openid: '',
|
2024-08-20 17:22:07 +08:00
|
|
|
|
work_experience: '',
|
|
|
|
|
main_social_positions: '',
|
2025-02-21 14:21:51 +08:00
|
|
|
|
reporting_method: 3,
|
2024-08-20 17:22:07 +08:00
|
|
|
|
recommendation_content: '',
|
2024-09-05 16:14:08 +08:00
|
|
|
|
recommended_cities: '',
|
2025-02-21 14:21:51 +08:00
|
|
|
|
longitude: '',
|
|
|
|
|
dimension: '',
|
2025-04-18 19:53:56 +08:00
|
|
|
|
tuan: [{
|
|
|
|
|
name: '',
|
2025-04-18 19:59:21 +08:00
|
|
|
|
sex: '',
|
|
|
|
|
job: '',
|
|
|
|
|
tun_job: '',
|
|
|
|
|
phone: '',
|
|
|
|
|
}],
|
2025-04-18 19:53:56 +08:00
|
|
|
|
hj: [
|
|
|
|
|
{
|
|
|
|
|
time: '',
|
|
|
|
|
name: '',
|
|
|
|
|
organ: ''
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
work: [{
|
|
|
|
|
time: '',
|
|
|
|
|
address: '',
|
|
|
|
|
book: '',
|
|
|
|
|
}],
|
|
|
|
|
contacts: [{
|
|
|
|
|
name: '',
|
|
|
|
|
post: '',
|
|
|
|
|
phone: '',
|
|
|
|
|
}],
|
|
|
|
|
party: [{
|
|
|
|
|
name: '',
|
|
|
|
|
sex: '',
|
|
|
|
|
danwei_zhiwu: '',
|
|
|
|
|
party_zhiwu: '',
|
|
|
|
|
phone: '',
|
|
|
|
|
}]
|
2024-07-09 18:07:55 +08:00
|
|
|
|
},
|
|
|
|
|
current: 2,
|
2024-08-19 18:14:28 +08:00
|
|
|
|
industry_list: [],
|
|
|
|
|
plan_list: [],
|
|
|
|
|
member_list: [],
|
|
|
|
|
region_list: [],
|
2025-04-18 19:53:56 +08:00
|
|
|
|
collapse: [1],
|
|
|
|
|
|
|
|
|
|
right_card_list: [
|
|
|
|
|
{
|
|
|
|
|
key: 1,
|
|
|
|
|
title: '入会申请',
|
|
|
|
|
active: true,
|
|
|
|
|
ok: false,
|
|
|
|
|
content: [
|
|
|
|
|
{
|
|
|
|
|
title: '1.推荐信息',
|
|
|
|
|
active: true,
|
|
|
|
|
id: 'tuijian',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '2.身份信息',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'shenfen',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '3.基本信息',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'jiben',
|
|
|
|
|
ok: false,
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}, {
|
|
|
|
|
key: 2,
|
|
|
|
|
title: '个人背景',
|
|
|
|
|
active: false,
|
|
|
|
|
ok: false,
|
|
|
|
|
content: [
|
|
|
|
|
{
|
|
|
|
|
title: '1.个人简介',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'gerenjianjie',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '2.主要成就以及获奖情况',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'zhuyaochengjiu',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '3.学习工作经历',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'xuexijiuzheng',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '4.社会职务',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'shehuizhiwu',
|
|
|
|
|
ok: false,
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}, {
|
|
|
|
|
key: 3,
|
|
|
|
|
title: '企业资质',
|
|
|
|
|
active: false,
|
|
|
|
|
ok: false,
|
|
|
|
|
content: [
|
|
|
|
|
{
|
|
|
|
|
title: '1.基本信息',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'qiyejiben',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '2.法律文件',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'falv',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '3.紧急联系人',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'jijing',
|
|
|
|
|
ok: false,
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}, {
|
|
|
|
|
key: 4,
|
|
|
|
|
title: '企业概况',
|
|
|
|
|
active: false,
|
|
|
|
|
ok: false,
|
|
|
|
|
content: [
|
|
|
|
|
{
|
|
|
|
|
title: '1.文档资料',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'wendang',
|
|
|
|
|
ok: false,
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}, {
|
|
|
|
|
key: 5,
|
|
|
|
|
title: '海外业务',
|
|
|
|
|
active: false,
|
|
|
|
|
ok: false,
|
|
|
|
|
content: [
|
|
|
|
|
{
|
|
|
|
|
title: '1.基本信息',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'haiwaijiben',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '2.区域与资源',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'haiwiquyu',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '3.财务与运营',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'caiwuyunying',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '4.对华合作',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'duihuahezuo',
|
|
|
|
|
ok: false,
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}, {
|
|
|
|
|
key: 6,
|
|
|
|
|
title: '组织建设',
|
|
|
|
|
active: false,
|
|
|
|
|
ok: false,
|
|
|
|
|
content: [
|
|
|
|
|
{
|
|
|
|
|
title: '1.党组织信息',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'dangzuzhi',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '2.团组织信息',
|
|
|
|
|
active: false,
|
|
|
|
|
id: 'tuanzuzhi',
|
|
|
|
|
ok: false,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
2024-07-09 18:07:55 +08:00
|
|
|
|
};
|
|
|
|
|
},
|
2025-04-18 19:53:56 +08:00
|
|
|
|
watch: {
|
|
|
|
|
// 如果需要深度监听整个formData对象
|
|
|
|
|
formData: {
|
|
|
|
|
handler(newVal, oldVal) {
|
|
|
|
|
console.log('formData发生变化:', newVal);
|
|
|
|
|
//1.1
|
|
|
|
|
if (newVal.reporting_method == 1) {
|
|
|
|
|
this.right_card_list[0].content[0].ok = false;
|
|
|
|
|
if (newVal.recommended_cities != '' && newVal.intentional_association_position != '') {
|
|
|
|
|
this.right_card_list[0].content[0].ok = true;
|
|
|
|
|
}
|
|
|
|
|
} else if (newVal.reporting_method == 2) {
|
|
|
|
|
this.right_card_list[0].content[0].ok = false;
|
|
|
|
|
if (newVal.recommendation_name != '' && newVal.recommendation_content != '' && newVal.intentional_association_position != '') {
|
|
|
|
|
this.right_card_list[0].content[0].ok = true;
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
this.right_card_list[0].content[0].ok = false;
|
|
|
|
|
if (newVal.source_channel != '' && newVal.intentional_association_position != '') {
|
|
|
|
|
this.right_card_list[0].content[0].ok = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//1.2
|
|
|
|
|
if (newVal.cardz_image != '' && newVal.cardf_image != '') {
|
|
|
|
|
this.right_card_list[0].content[1].ok = true;
|
|
|
|
|
}
|
|
|
|
|
//1.3
|
|
|
|
|
if (newVal.region_id != '' && newVal.mail_address != '' && newVal.phone != '' && newVal.zip_code != '' && newVal.photo_image != '' && newVal.nikename != '' && newVal.gender != null && newVal.birth_time != '' && newVal.nation != '' && newVal.political != '' && newVal.jiguan != '' && newVal.institution != '' && newVal.education != '' && newVal.academic_degree != '' && newVal.card_number != '' && newVal.work_unit != '' && newVal.unit_position != '') {
|
|
|
|
|
this.right_card_list[0].content[2].ok = true;
|
|
|
|
|
console.log(this.right_card_list[0].content[2].ok);
|
|
|
|
|
}
|
|
|
|
|
//1111111
|
|
|
|
|
if (this.right_card_list[0].content[0].ok && this.right_card_list[0].content[1].ok && this.right_card_list[0].content[2].ok) {
|
|
|
|
|
this.right_card_list[0].ok = true;
|
|
|
|
|
}
|
|
|
|
|
//2.1
|
|
|
|
|
if (newVal.introduction != '') {
|
|
|
|
|
this.right_card_list[1].content[0].ok = true;
|
|
|
|
|
}
|
|
|
|
|
//2.2
|
|
|
|
|
if (newVal.hj.length > 0) {
|
|
|
|
|
if (newVal.hj[0].time != '' && newVal.hj[0].name != '' && newVal.hj[0].organ != '') {
|
|
|
|
|
this.right_card_list[1].content[1].ok = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//2.3
|
|
|
|
|
if (newVal.work.length > 0) {
|
|
|
|
|
if (newVal.work[0].time != '' && newVal.work[0].address != '' && newVal.work[0].book != '') {
|
|
|
|
|
this.right_card_list[1].content[2].ok = true;
|
|
|
|
|
}
|
|
|
|
|
}//2.4
|
|
|
|
|
if (newVal.social_duties.length > 0) {
|
|
|
|
|
this.right_card_list[1].content[3].ok = true;
|
|
|
|
|
} else {
|
|
|
|
|
this.right_card_list[1].content[3].ok = false;
|
|
|
|
|
}
|
|
|
|
|
//3.1
|
|
|
|
|
this.right_card_list[2].content[0].ok = false;
|
|
|
|
|
if (newVal.enterprise_name != '' && newVal.unified_code != '' && newVal.enterprise_location != '' && newVal.longitude != '' && newVal.dimension != '' && newVal.registered_capital != '' && newVal.if_list != null && newVal.employee != '' && newVal.industry_id != '' && newVal.enterprise_nature != '' && newVal.previous_revenue != '' && newVal.previous_tax != '' && newVal.previous_profit != '' && newVal.previous_donation != '') {
|
|
|
|
|
this.right_card_list[2].content[0].ok = true;
|
|
|
|
|
}
|
|
|
|
|
//3.2
|
|
|
|
|
this.right_card_list[2].content[1].ok = false;
|
|
|
|
|
if (newVal.business_license_image != '' && newVal.company_image != '' && newVal.enterprise_credit_report != '' && newVal.certificate_of_no_criminal_record != '' && newVal.certificate_of_business_tax_payment_for_the_previous_year != '' && newVal.enterprise_credit_information_report != '') {
|
|
|
|
|
this.right_card_list[2].content[1].ok = true;
|
|
|
|
|
}
|
|
|
|
|
//3.3
|
|
|
|
|
if (newVal.contacts.length > 0) {
|
|
|
|
|
if (newVal.contacts[0].name != '' && newVal.contacts[0].post != '' && newVal.contacts[0].phone != '') {
|
|
|
|
|
this.right_card_list[2].content[2].ok = true;
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
this.right_card_list[2].content[2].ok = false;
|
|
|
|
|
}
|
|
|
|
|
if (this.right_card_list[2].content[0].ok && this.right_card_list[2].content[1].ok && this.right_card_list[2].content[2].ok) {
|
|
|
|
|
this.right_card_list[2].ok = true;
|
|
|
|
|
}
|
|
|
|
|
//4.1
|
|
|
|
|
if (newVal.enterprise_Introduction != '' && newVal.introdiction != '' && newVal.qitaqiyerenzhiqingkuang != '' && newVal.enterprise_lvxingzeren != '') {
|
|
|
|
|
this.right_card_list[3].content[0].ok = true;
|
|
|
|
|
} else {
|
|
|
|
|
this.right_card_list[3].content[0].ok = false;
|
|
|
|
|
}
|
|
|
|
|
//4
|
|
|
|
|
if (this.right_card_list[3].content[0].ok) {
|
|
|
|
|
this.right_card_list[3].ok = true;
|
|
|
|
|
}
|
|
|
|
|
//5.1
|
|
|
|
|
if (newVal.if_abroad != null) {
|
|
|
|
|
this.right_card_list[4].content[0].ok = true;
|
|
|
|
|
} else {
|
|
|
|
|
this.right_card_list[4].content[0].ok = false;
|
|
|
|
|
}
|
|
|
|
|
if (newVal.if_abroad == 0) {
|
|
|
|
|
if (newVal.abroad_region_id != null && newVal.staff_size != '') {
|
|
|
|
|
this.right_card_list[4].content[1].ok = true;
|
|
|
|
|
}
|
|
|
|
|
if (newVal.business_case != '') {
|
|
|
|
|
this.right_card_list[4].content[2].ok = true;
|
|
|
|
|
}
|
|
|
|
|
if (newVal.economic_and_trade_exchanges_with_china != '') {
|
|
|
|
|
this.right_card_list[4].content[3].ok = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (newVal.if_abroad == 0) {
|
|
|
|
|
this.right_card_list[4].ok = true;
|
|
|
|
|
} else {
|
|
|
|
|
if (this.right_card_list[4].content[1].ok && this.right_card_list[4].content[2].ok && this.right_card_list[4].content[3].ok) {
|
|
|
|
|
this.right_card_list[4].ok = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
deep: true // 深度监听
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
beforeDestroy() {
|
|
|
|
|
window.removeEventListener('scroll', this.handleScroll);
|
|
|
|
|
},
|
2024-07-09 18:07:55 +08:00
|
|
|
|
mounted() {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
window.addEventListener('scroll', this.handleScroll);
|
2024-07-09 18:07:55 +08:00
|
|
|
|
console.log(this.$route.query.id);
|
2024-08-19 18:14:28 +08:00
|
|
|
|
this.formData.token = this.$route.query.token;
|
|
|
|
|
this.formData.openid = this.$route.query.openid;
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.show = true;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
this.getIndustry();
|
|
|
|
|
this.getRegion();
|
2025-04-18 19:53:56 +08:00
|
|
|
|
//this.getInfo();
|
|
|
|
|
//this.getUserList();
|
2024-07-09 18:07:55 +08:00
|
|
|
|
},
|
|
|
|
|
methods: {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
getMemberInfo(d) {
|
|
|
|
|
var index = this.member_list.findIndex(item => item.id == d.id);
|
|
|
|
|
this.formData.recommendation_content = this.member_list[index].work_unit + this.member_list[index].unit_position;
|
|
|
|
|
},
|
|
|
|
|
getUserList() {
|
|
|
|
|
if (typeof (this.$route.query.recommendation_id) != 'undefined') {
|
|
|
|
|
this.formData.reporting_method = 2;
|
|
|
|
|
} else {
|
|
|
|
|
this.member_list = [];
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
var recommendation_id = this.$route.query.recommendation_id;
|
|
|
|
|
this.$request
|
2025-04-18 19:53:56 +08:00
|
|
|
|
.post('/move/member/getrecommendationSelect', { openid: this.$route.query.openid })
|
2025-02-21 14:21:51 +08:00
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
this.member_list = res.data;
|
|
|
|
|
var index = res.data.findIndex(item => item.id == recommendation_id);
|
|
|
|
|
this.formData.recommendation_content = this.member_list[index].work_unit + this.member_list[index].unit_position;
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.formData.recommendation_id = this.member_list[index].id;
|
|
|
|
|
this.formData.recommendation_name = this.member_list[index].nikename;
|
2025-02-21 14:21:51 +08:00
|
|
|
|
})
|
|
|
|
|
.catch((e) => {
|
|
|
|
|
console.log(e);
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-09-05 16:14:08 +08:00
|
|
|
|
onChange(value, context) {
|
|
|
|
|
this.work.time = value[0] + '至' + value[1];
|
|
|
|
|
},
|
2025-02-21 14:21:51 +08:00
|
|
|
|
addTuan() {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.formData.tuan.push({
|
|
|
|
|
name: '',
|
|
|
|
|
sex: '',
|
|
|
|
|
job: '',
|
|
|
|
|
tun_job: '',
|
|
|
|
|
phone: '',
|
|
|
|
|
});
|
|
|
|
|
|
2024-09-05 16:14:08 +08:00
|
|
|
|
},
|
|
|
|
|
delTuan(index) {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.formData.tuan.splice(index, 1);
|
2024-08-22 18:09:35 +08:00
|
|
|
|
},
|
2024-08-20 17:22:07 +08:00
|
|
|
|
addWork() {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.work.length >= 12) {
|
2024-09-05 16:14:08 +08:00
|
|
|
|
this.$message.error('最多添加12条数据!', 1500);
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.formData.work.push({
|
|
|
|
|
time: '',
|
|
|
|
|
address: '',
|
|
|
|
|
book: '',
|
|
|
|
|
});
|
2024-08-20 17:22:07 +08:00
|
|
|
|
},
|
2024-09-05 16:14:08 +08:00
|
|
|
|
|
2024-08-20 17:22:07 +08:00
|
|
|
|
delWork(index) {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.formData.work.splice(index, 1);
|
2024-08-20 17:22:07 +08:00
|
|
|
|
},
|
|
|
|
|
addContacts() {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.formData.contacts.push({
|
|
|
|
|
name: '',
|
|
|
|
|
post: '',
|
|
|
|
|
phone: '',
|
|
|
|
|
});
|
2024-08-20 17:22:07 +08:00
|
|
|
|
},
|
|
|
|
|
delContacts(index) {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.formData.contacts.splice(index, 1);
|
2024-08-20 17:22:07 +08:00
|
|
|
|
},
|
|
|
|
|
download() {
|
2024-08-19 18:14:28 +08:00
|
|
|
|
//https://hnyea.0rui.cn/api/move/pdf_member/exportPdf PDF导出
|
2024-08-20 17:22:07 +08:00
|
|
|
|
//window.location.href="https://hnyea.0rui.cn/api/move/pdf_member/exportPdf?openid="+this.formData.openid;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
const link = document.createElement('a');
|
|
|
|
|
link.href = `https://hnyea.0rui.cn/api/move/pdf_member/exportPdf?openid=${this.formData.openid}`;
|
|
|
|
|
link.target = '_blank'; // 新标签页打开
|
|
|
|
|
link.rel = 'noopener noreferrer'; // 安全考虑
|
|
|
|
|
link.style.display = 'none';
|
|
|
|
|
document.body.appendChild(link);
|
|
|
|
|
link.click();
|
|
|
|
|
document.body.removeChild(link); // 清理 DOM
|
|
|
|
|
},
|
|
|
|
|
uploadImg(e, num) {
|
|
|
|
|
// 上传图片
|
|
|
|
|
// this.option.img
|
2025-02-21 14:21:51 +08:00
|
|
|
|
const file = e.target.files[0];
|
2024-08-19 18:14:28 +08:00
|
|
|
|
if (!/\.(gif|jpg|jpeg|png|bmp|GIF|JPG|PNG)$/.test(e.target.value)) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
alert('图片类型必须是.gif,jpeg,jpg,png,bmp中的一种');
|
|
|
|
|
return false;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
}
|
2025-02-21 14:21:51 +08:00
|
|
|
|
const reader = new FileReader();
|
2024-08-19 18:14:28 +08:00
|
|
|
|
reader.onload = (e) => {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
let data;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
if (typeof e.target.result === 'object') {
|
|
|
|
|
// 把Array Buffer转化为blob 如果是base64不需要
|
2025-02-21 14:21:51 +08:00
|
|
|
|
data = window.URL.createObjectURL(new Blob([e.target.result]));
|
2024-08-19 18:14:28 +08:00
|
|
|
|
} else {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
data = e.target.result;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
}
|
|
|
|
|
if (num === 1) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.caiImg = data;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
} else if (num === 2) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.example2.img = data;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
}
|
2025-02-21 14:21:51 +08:00
|
|
|
|
};
|
2024-08-19 18:14:28 +08:00
|
|
|
|
// 转化为base64
|
|
|
|
|
// reader.readAsDataURL(file)
|
|
|
|
|
// 转化为blob
|
2025-02-21 14:21:51 +08:00
|
|
|
|
reader.readAsArrayBuffer(file);
|
2024-08-19 18:14:28 +08:00
|
|
|
|
},
|
|
|
|
|
onSubmit() {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.$refs.cropper.getCropBlob((data) => {
|
2024-08-19 18:14:28 +08:00
|
|
|
|
// do something
|
2025-02-21 14:21:51 +08:00
|
|
|
|
console.log(data);
|
2024-08-19 18:14:28 +08:00
|
|
|
|
console.log(this.caiImg);
|
|
|
|
|
const formData = new FormData();
|
|
|
|
|
formData.append('file', data, 'image.jpg');
|
|
|
|
|
formData.append('association_id', 1);
|
|
|
|
|
console.log(formData);
|
2025-02-21 14:21:51 +08:00
|
|
|
|
axios
|
|
|
|
|
.post(`${store.state.user.apiUrl}/api/common/upload`, formData, {
|
|
|
|
|
headers: {
|
|
|
|
|
'Content-Type': 'multipart/form-data',
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
.then((response) => {
|
2024-08-19 18:14:28 +08:00
|
|
|
|
console.log(response);
|
2025-04-18 19:53:56 +08:00
|
|
|
|
const { data } = response;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
if (data.code == 1) {
|
|
|
|
|
this.formData.photo_image = data.data.url;
|
|
|
|
|
this.$message.success('图片上传成功!');
|
|
|
|
|
this.caiMode = false;
|
|
|
|
|
this.caiImg = '';
|
|
|
|
|
this.$refs.cropper.stopCrop();
|
|
|
|
|
this.$refs.cropper.clearCrop();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error('图片上传失败!');
|
|
|
|
|
}
|
|
|
|
|
})
|
2025-02-21 14:21:51 +08:00
|
|
|
|
.catch((error) => {
|
2024-08-19 18:14:28 +08:00
|
|
|
|
console.error('文件上传失败', error);
|
|
|
|
|
});
|
2025-02-21 14:21:51 +08:00
|
|
|
|
});
|
2024-08-19 18:14:28 +08:00
|
|
|
|
},
|
|
|
|
|
onCloseMy() {
|
|
|
|
|
this.caiMode = false;
|
|
|
|
|
},
|
|
|
|
|
realTime(data) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.previews = data;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
},
|
|
|
|
|
imgLoad(msg) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
console.log(msg);
|
2024-08-19 18:14:28 +08:00
|
|
|
|
},
|
|
|
|
|
openCai() {
|
2024-08-20 17:22:07 +08:00
|
|
|
|
this.caiImg = store.state.user.apiUrl + this.formData.photo_image;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
this.$refs.cropper.startCrop();
|
|
|
|
|
this.caiMode = true;
|
|
|
|
|
},
|
|
|
|
|
getInfo() {
|
2024-07-09 18:07:55 +08:00
|
|
|
|
this.$request
|
2025-04-18 19:53:56 +08:00
|
|
|
|
.post('/move/temporary_token/tokenMember', { openid: this.formData.openid, token: this.formData.token })
|
2024-08-19 18:14:28 +08:00
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log(res);
|
2024-08-20 17:22:07 +08:00
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.$message.error('入会链接有误,请前往小程序重新获取!', 5000);
|
|
|
|
|
} else {
|
|
|
|
|
this.show = true;
|
|
|
|
|
this.formData.phone = res.data.phone;
|
|
|
|
|
this.formData.position_id = res.data.position_id;
|
2024-09-05 16:14:08 +08:00
|
|
|
|
this.formData.industry_id = res.data.industry_id == 0 ? null : res.data.industry_id;
|
2024-08-20 17:22:07 +08:00
|
|
|
|
this.formData.region_id = res.data.region_id;
|
|
|
|
|
this.formData.password = res.data.password;
|
|
|
|
|
this.formData.nikename = res.data.nikename;
|
|
|
|
|
this.formData.gender = res.data.gender;
|
|
|
|
|
this.formData.birth_time = res.data.birth_time;
|
|
|
|
|
this.formData.nation = res.data.nation;
|
|
|
|
|
this.formData.political = res.data.political;
|
|
|
|
|
this.formData.jiguan = res.data.jiguan;
|
|
|
|
|
this.formData.institution = res.data.institution;
|
|
|
|
|
this.formData.education = res.data.education;
|
|
|
|
|
this.formData.academic_degree = res.data.academic_degree;
|
|
|
|
|
this.formData.card_number = res.data.card_number;
|
2024-09-05 16:14:08 +08:00
|
|
|
|
this.formData.work_unit = res.data.work_unit;
|
2024-08-20 17:22:07 +08:00
|
|
|
|
this.formData.unit_position = res.data.unit_position;
|
|
|
|
|
this.formData.wx_number = res.data.wx_number;
|
|
|
|
|
this.formData.mailbox = res.data.mailbox;
|
|
|
|
|
this.formData.fixed_telephone = res.data.fixed_telephone;
|
|
|
|
|
this.formData.achievement_award = res.data.achievement_award;
|
|
|
|
|
this.formData.other_contacts = res.data.other_contacts;
|
|
|
|
|
this.formData.other_social_positions = res.data.other_social_positions;
|
|
|
|
|
this.formData.position = res.data.position;
|
|
|
|
|
this.formData.cardf_image = res.data.cardf_image == null ? '' : res.data.cardf_image;
|
|
|
|
|
this.formData.cardz_image = res.data.cardz_image == null ? '' : res.data.cardz_image;
|
|
|
|
|
this.formData.photo_image = res.data.photo_image == null ? '' : res.data.photo_image;
|
|
|
|
|
this.formData.company_image = res.data.company_image == null ? '' : res.data.company_image;
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.formData.business_license_image =
|
|
|
|
|
res.data.business_license_image == null ? '' : res.data.business_license_image;
|
2024-08-20 17:22:07 +08:00
|
|
|
|
this.formData.unified_code = res.data.unified_code;
|
|
|
|
|
this.formData.enterprise_nature = res.data.enterprise_nature;
|
|
|
|
|
this.formData.enterprise_website = res.data.enterprise_website;
|
2025-01-24 09:19:03 +08:00
|
|
|
|
this.formData.if_list = parseInt(res.data.if_list);
|
2024-08-20 17:22:07 +08:00
|
|
|
|
this.formData.employee = res.data.employee;
|
|
|
|
|
this.formData.previous_revenue = res.data.previous_revenue;
|
|
|
|
|
this.formData.previous_tax = res.data.previous_tax;
|
|
|
|
|
this.formData.previous_profit = res.data.previous_profit;
|
|
|
|
|
this.formData.previous_donation = res.data.previous_donation;
|
|
|
|
|
this.formData.qitaqiyerenzhiqingkuang = res.data.qitaqiyerenzhiqingkuang;
|
|
|
|
|
this.formData.enterprise_Introduction = res.data.enterprise_Introduction;
|
|
|
|
|
this.formData.introdiction = res.data.introdiction;
|
|
|
|
|
this.formData.enterprise_honor = res.data.enterprise_honor;
|
|
|
|
|
this.formData.if_organization = res.data.if_organization;
|
|
|
|
|
this.formData.nature = res.data.nature;
|
|
|
|
|
this.formData.jiantuan_time = res.data.jiantuan_time;
|
|
|
|
|
this.formData.jiantuan_number = res.data.jiantuan_number;
|
|
|
|
|
this.formData.youth_number = res.data.youth_number;
|
|
|
|
|
this.formData.superior_nature = res.data.superior_nature;
|
|
|
|
|
this.formData.tuanweifuzerenxinxi = res.data.tuanweifuzerenxinxi;
|
|
|
|
|
this.formData.documents_file = res.data.documents_file;
|
|
|
|
|
this.formData.enterprise_location = res.data.enterprise_location;
|
|
|
|
|
this.formData.introduction = res.data.introduction;
|
|
|
|
|
this.formData.enterprise_name = res.data.enterprise_name;
|
|
|
|
|
this.formData.main_social_positions = res.data.main_social_positions;
|
2024-09-05 16:14:08 +08:00
|
|
|
|
|
2025-01-24 09:19:03 +08:00
|
|
|
|
this.formData.work_experience = res.data.work_experience;
|
2025-02-21 14:21:51 +08:00
|
|
|
|
if (res.data.reporting_method != null) {
|
|
|
|
|
this.formData.reporting_method = res.data.reporting_method;
|
|
|
|
|
}
|
2024-08-20 17:22:07 +08:00
|
|
|
|
this.formData.recommendation_content = res.data.recommendation_content;
|
2024-09-05 16:14:08 +08:00
|
|
|
|
this.formData.documents_file = res.data.documents_file;
|
|
|
|
|
if (res.data.documents_file == '') {
|
2024-08-22 18:09:35 +08:00
|
|
|
|
this.formData.documents_file_show = [];
|
2024-09-05 16:14:08 +08:00
|
|
|
|
} else {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.formData.documents_file_show = [{ url: store.state.user.apiUrl + res.data.documents_file }];
|
2024-08-22 18:09:35 +08:00
|
|
|
|
}
|
2024-09-05 16:14:08 +08:00
|
|
|
|
this.formData.recommended_cities = res.data.recommended_cities;
|
|
|
|
|
this.formData.source_channel = res.data.source_channel;
|
|
|
|
|
this.formData.intentional_association_position = res.data.intentional_association_position;
|
|
|
|
|
this.formData.mail_address = res.data.mail_address;
|
|
|
|
|
this.formData.zip_code = res.data.zip_code;
|
|
|
|
|
this.formData.registered_capital = res.data.registered_capital;
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.formData.enterprise_lvxingzeren = res.data.enterprise_lvxingzeren;
|
2025-01-24 09:19:03 +08:00
|
|
|
|
|
|
|
|
|
this.formData.longitude = res.data.longitude;
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.formData.dimension = res.data.dimension;
|
|
|
|
|
if (res.data.work_experience != null) {
|
2025-01-24 09:19:03 +08:00
|
|
|
|
this.workList = JSON.parse(res.data.work_experience);
|
2025-02-21 14:21:51 +08:00
|
|
|
|
} else {
|
2025-01-24 09:19:03 +08:00
|
|
|
|
this.workList = [];
|
|
|
|
|
}
|
|
|
|
|
this.social_duties = res.data.main_social_positions.split(',');
|
|
|
|
|
this.contactsList = JSON.parse(res.data.other_contacts);
|
|
|
|
|
this.tuan_list = JSON.parse(res.data.tuanweifuzerenxinxi);
|
2024-08-20 17:22:07 +08:00
|
|
|
|
}
|
2024-08-19 18:14:28 +08:00
|
|
|
|
})
|
|
|
|
|
.catch((e) => {
|
|
|
|
|
console.log(e);
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getRegion() {
|
|
|
|
|
this.$request
|
2025-02-21 14:21:51 +08:00
|
|
|
|
.post('/region')
|
2024-08-19 18:14:28 +08:00
|
|
|
|
.then((res) => {
|
2024-07-09 18:07:55 +08:00
|
|
|
|
console.log(res);
|
2024-08-19 18:14:28 +08:00
|
|
|
|
if (res.code == 1) {
|
|
|
|
|
this.region_list = res.data;
|
2024-07-09 18:07:55 +08:00
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch((e) => {
|
|
|
|
|
console.log(e);
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-08-19 18:14:28 +08:00
|
|
|
|
getIndustry() {
|
|
|
|
|
this.$request
|
2025-04-18 19:53:56 +08:00
|
|
|
|
.post('/move/industry/index', { association_id: 1 })
|
2024-08-19 18:14:28 +08:00
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
if (res.code == 1) {
|
|
|
|
|
this.industry_list = res.data;
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.industry_list.push({ id: -1, industry_name: '其他行业' });
|
2024-08-19 18:14:28 +08:00
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch((e) => {
|
|
|
|
|
console.log(e);
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-07-09 18:07:55 +08:00
|
|
|
|
formatResponse(res, type) {
|
|
|
|
|
console.log(res);
|
2025-04-18 19:53:56 +08:00
|
|
|
|
console.log(this.formData.zl_list);
|
|
|
|
|
console.log(type);
|
2024-07-09 18:07:55 +08:00
|
|
|
|
if (type == 0) {
|
|
|
|
|
this.formData.photo_image = res.data.url;
|
|
|
|
|
} else if (type == 1) {
|
|
|
|
|
this.formData.cardz_image = res.data.url;
|
|
|
|
|
} else if (type == 2) {
|
|
|
|
|
this.formData.cardf_image = res.data.url;
|
|
|
|
|
} else if (type == 3) {
|
|
|
|
|
this.formData.business_license_image = res.data.url;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
} else if (type == 4) {
|
2024-07-09 18:07:55 +08:00
|
|
|
|
this.formData.documents_file = res.data.url;
|
2025-04-18 19:53:56 +08:00
|
|
|
|
} else if (type == 5) {
|
|
|
|
|
this.formData.zl_list.push(res.data.url);
|
|
|
|
|
} else if (type == 6) {
|
2024-08-19 18:14:28 +08:00
|
|
|
|
this.formData.company_image = res.data.url;
|
2025-04-18 19:53:56 +08:00
|
|
|
|
} else if (type == 7) {
|
|
|
|
|
this.formData.enterprise_credit_report = res.data.url;
|
|
|
|
|
} else if (type == 8) {
|
|
|
|
|
this.formData.enterprise_credit_information_report = res.data.url;
|
|
|
|
|
} else if (type == 9) {
|
|
|
|
|
this.formData.certificate_of_no_criminal_record = res.data.url;
|
|
|
|
|
} else if (type == 10) {
|
|
|
|
|
this.formData.certificate_of_business_tax_payment_for_the_previous_year = res.data.url;
|
2024-07-09 18:07:55 +08:00
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
return { url: res.data.fullurl };
|
2024-07-09 18:07:55 +08:00
|
|
|
|
},
|
2024-08-19 18:14:28 +08:00
|
|
|
|
submit() {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
console.log(this.formData)
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.reporting_method == null || this.formData.reporting_method == '') {
|
|
|
|
|
this.$message.error('请选择推荐方式!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.reporting_method == 1) {
|
|
|
|
|
if (this.formData.recommended_cities == null || this.formData.recommended_cities == '') {
|
|
|
|
|
this.$message.error('请选择推荐地市!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.intentional_association_position == null || this.formData.intentional_association_position == '') {
|
|
|
|
|
this.$message.error('请选择意向协会职务!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.cardz_image == '') {
|
|
|
|
|
this.$message.error('请上传身份证正面!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.cardf_image == '') {
|
|
|
|
|
this.$message.error('请上传身份证反面!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.photo_image == '') {
|
|
|
|
|
this.$message.error('请上传证件照!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.nikename == '') {
|
|
|
|
|
this.$message.error('请输入姓名!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.gender == '' || this.formData.gender == null) {
|
2024-07-09 18:07:55 +08:00
|
|
|
|
this.$message.error('请选择性别!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.birth_time == '') {
|
|
|
|
|
this.$message.error('请选择出生日期!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2024-08-19 18:14:28 +08:00
|
|
|
|
if (this.formData.nation == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请选择民族!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.political == '' || this.formData.political == null) {
|
|
|
|
|
this.$message.error('请选择政治面貌!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.card_number == '') {
|
2024-08-19 18:14:28 +08:00
|
|
|
|
this.$message.error('请输入身份证号码!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2025-02-20 14:57:51 +08:00
|
|
|
|
if (this.formData.work_unit == '') {
|
|
|
|
|
this.$message.error('请输入工作单位!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.unit_position == '') {
|
|
|
|
|
this.$message.error('请输入单位职务!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.jiguan == '' || this.formData.jiguan == null) {
|
|
|
|
|
this.$message.error('请选择籍贯!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.institution == '' || this.formData.institution == null) {
|
|
|
|
|
this.$message.error('请选择学历!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.academic_degree == '' || this.formData.academic_degree == null) {
|
|
|
|
|
this.$message.error('请选择学位!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.zip_code == '' || this.formData.zip_code == null) {
|
|
|
|
|
this.$message.error('请输入邮政编码!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.phone == '' || this.formData.phone == null) {
|
|
|
|
|
this.$message.error('请输入手机号码!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.region_id == '' || this.formData.region_id == null) {
|
|
|
|
|
this.$message.error('请选择所在区域!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.mail_address == '' || this.formData.mail_address == null) {
|
|
|
|
|
this.$message.error('请输入所在区域详细地址!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.introduction == '' || this.formData.introduction == null) {
|
|
|
|
|
this.$message.error('请输入个人简介!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.work == null || this.formData.work.length == 0) {
|
|
|
|
|
this.$message.error('请输入学习工作经历!');
|
|
|
|
|
return;
|
2025-04-18 19:59:21 +08:00
|
|
|
|
} else {
|
|
|
|
|
this.formData.work = JSON.parse(this.formData.work);
|
2025-04-18 19:53:56 +08:00
|
|
|
|
}
|
|
|
|
|
if (this.formData.social_duties == null || this.formData.social_duties.length == 0) {
|
|
|
|
|
this.$message.error('请选择主要社会职务!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.other_social_positions == null || this.formData.other_social_positions == '') {
|
|
|
|
|
this.$message.error('请输入其他社会职务资料!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.enterprise_name == null || this.formData.enterprise_name == '') {
|
2024-07-09 18:07:55 +08:00
|
|
|
|
this.$message.error('请输入企业名称!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.unified_code == null || this.formData.unified_code == '') {
|
|
|
|
|
this.$message.error('请输入统一社会信用代码!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.enterprise_location == null || this.formData.enterprise_location == '') {
|
|
|
|
|
this.$message.error('请输入企业注册地!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.longitude == null || this.formData.longitude == '') {
|
|
|
|
|
this.$message.error('请输入企业位置经度!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.dimension == null || this.formData.dimension == '') {
|
|
|
|
|
this.$message.error('请输入企业位置纬度!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.registered_capital == null || this.formData.registered_capital == '') {
|
|
|
|
|
this.$message.error('请输入注册资金(万元)!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.if_list == null || this.formData.if_list == '') {
|
|
|
|
|
this.$message.error('请选择是否上市!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.if_list == 0) {
|
|
|
|
|
if (this.formData.employee == null || this.formData.employee == '') {
|
|
|
|
|
this.$message.error('请输入股票代码!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.birth_time == null || this.formData.birth_time == '') {
|
|
|
|
|
this.$message.error('请输入上市时间!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.industry_id == null || this.formData.industry_id == '') {
|
|
|
|
|
this.$message.error('请选择所属行业领域!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.enterprise_nature == null || this.formData.enterprise_nature == '') {
|
|
|
|
|
this.$message.error('请选择企业性质!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.previous_revenue == null || this.formData.previous_revenue == '') {
|
|
|
|
|
this.$message.error('请输入上年营业额(万元)!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.previous_tax == null || this.formData.previous_tax == '') {
|
|
|
|
|
this.$message.error('请输入上年纳税额(万元)!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.previous_profit == null || this.formData.previous_profit == '') {
|
|
|
|
|
this.$message.error('请输入上年度净利润(万元)!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.previous_donation == null || this.formData.previous_donation == '') {
|
|
|
|
|
this.$message.error('请输入上年公益性捐赠支出(万元)!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.business_license_image == null || this.formData.business_license_image == '') {
|
|
|
|
|
this.$message.error('请上传营业执照!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.company_image == null || this.formData.company_image == '') {
|
|
|
|
|
this.$message.error('请上传公司LOGO!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.enterprise_credit_report == null || this.formData.enterprise_credit_report == '') {
|
|
|
|
|
this.$message.error('请上传企业征信报告!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.certificate_of_no_criminal_record == null || this.formData.certificate_of_no_criminal_record == '') {
|
|
|
|
|
this.$message.error('请上传无犯罪记录证明!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.certificate_of_business_tax_payment_for_the_previous_year == null || this.formData.certificate_of_business_tax_payment_for_the_previous_year == '') {
|
|
|
|
|
this.$message.error('请上传上一年度企业营业税完税证明!');
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.enterprise_credit_information_report == null || this.formData.enterprise_credit_information_report == '') {
|
|
|
|
|
this.$message.error('请上传企业信用信息报告!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.contacts.length == 0) {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入紧急联系人!');
|
|
|
|
|
return;
|
2025-04-18 19:59:21 +08:00
|
|
|
|
}else{
|
|
|
|
|
this.formData.contacts = JSON.parse(this.formData.contacts);
|
2025-04-18 19:53:56 +08:00
|
|
|
|
}
|
|
|
|
|
if (this.formData.enterprise_Introduction == null || this.formData.enterprise_Introduction == '') {
|
|
|
|
|
this.$message.error('请输入企业简介!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.zl_list.length == 0) {
|
|
|
|
|
this.$message.error('请上传荣誉与专利!');
|
2024-07-09 18:07:55 +08:00
|
|
|
|
return;
|
2025-04-18 19:59:21 +08:00
|
|
|
|
}else{
|
|
|
|
|
this.formData.zl_list = JSON.parse(this.formData.zl_list);
|
2024-07-09 18:07:55 +08:00
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.qitaqiyerenzhiqingkuang == null || this.formData.qitaqiyerenzhiqingkuang == '') {
|
|
|
|
|
this.$message.error('请输入其他企业任职情况!');
|
2025-01-24 09:19:03 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
if (this.formData.enterprise_lvxingzeren == null || this.formData.enterprise_lvxingzeren == '') {
|
|
|
|
|
this.$message.error('请输入企业履行社会责任情况!');
|
2025-01-24 09:19:03 +08:00
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.if_abroad == null || this.formData.if_abroad == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请选择是否开展海外业务!');
|
|
|
|
|
return;
|
2024-08-20 17:22:07 +08:00
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.if_abroad == 0) {
|
|
|
|
|
if (this.formData.abroad_region_id == null || this.formData.abroad_region_id == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请选择国家/城市!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.staff_size == null || this.formData.staff_size == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入人员规模!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.business_case == null || this.formData.business_case == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入经营情况!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.economic_and_trade_exchanges_with_china == null || this.formData.economic_and_trade_exchanges_with_china == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入涉华经贸往来情况!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-08-20 17:22:07 +08:00
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.if_party == null || this.formData.if_party == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请选择是否成立党组织!');
|
|
|
|
|
return;
|
2024-09-05 16:14:08 +08:00
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.if_party == 0) {
|
|
|
|
|
if (this.formData.party_nature == null || this.formData.party_nature == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请选择党组织性质!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.partytime == null || this.formData.partytime == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入建党时间!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.party_number == null || this.formData.party_number == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入建党人数!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.manager_party == null || this.formData.manager_party == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入上级党组织!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.party.length == 0) {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入党委负责人信息!');
|
|
|
|
|
return;
|
2025-04-18 19:59:21 +08:00
|
|
|
|
} else {
|
|
|
|
|
this.formData.party = JSON.parse(this.formData.party);
|
2025-04-18 19:53:56 +08:00
|
|
|
|
}
|
2024-08-20 17:22:07 +08:00
|
|
|
|
}
|
2025-02-21 14:21:51 +08:00
|
|
|
|
|
2025-04-18 19:59:21 +08:00
|
|
|
|
|
|
|
|
|
if (this.formData.if_organization == null || this.formData.if_organization == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请选择是否成立团组织!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.if_party == 0) {
|
|
|
|
|
if (this.formData.nature == null || this.formData.nature == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请选择团组织性质!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.jiantuan_time == null || this.formData.jiantuan_time == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入建团时间!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.jiantuan_number == null || this.formData.jiantuan_number == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入建团人数!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.youth_number == null || this.formData.youth_number == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入青年人数!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.superior_nature == null || this.formData.superior_nature == '') {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入上级团组织!');
|
|
|
|
|
return;
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if (this.formData.party.length == 0) {
|
2025-04-18 19:53:56 +08:00
|
|
|
|
this.$message.error('请输入团组织负责人信息!');
|
|
|
|
|
return;
|
2025-04-18 19:59:21 +08:00
|
|
|
|
} else {
|
|
|
|
|
this.formData.tuan = JSON.parse(this.formData.tuan);
|
2025-04-18 19:53:56 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2025-04-18 19:59:21 +08:00
|
|
|
|
if(this.formData.hj.length >0){
|
|
|
|
|
this.formData.hj = JSON.parse(this.formData.hj);
|
|
|
|
|
}
|
2024-07-09 18:07:55 +08:00
|
|
|
|
this.$request
|
2025-02-21 14:21:51 +08:00
|
|
|
|
.post('/move/temporary_token/shenqing', this.formData)
|
2024-07-09 18:07:55 +08:00
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log(res);
|
2024-08-19 18:14:28 +08:00
|
|
|
|
if (res.code == 1) {
|
2024-07-09 18:07:55 +08:00
|
|
|
|
this.$message.success(res.msg);
|
2024-08-19 18:14:28 +08:00
|
|
|
|
} else {
|
2024-07-09 18:07:55 +08:00
|
|
|
|
this.$message.error(res.msg);
|
|
|
|
|
}
|
|
|
|
|
// setTimeout(() => {
|
|
|
|
|
// this.$router.push(`/login?id=`+this.id);
|
|
|
|
|
// }, 1000);
|
|
|
|
|
//this.getInfo();
|
|
|
|
|
})
|
|
|
|
|
.catch((e) => {
|
|
|
|
|
console.log(e);
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-09-05 16:14:08 +08:00
|
|
|
|
onCreatedJJ(editor) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.editorJJ = Object.seal(editor);
|
2024-09-05 16:14:08 +08:00
|
|
|
|
},
|
|
|
|
|
onCreatedCJ(editor) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.editorCJ = Object.seal(editor);
|
2024-09-05 16:14:08 +08:00
|
|
|
|
},
|
|
|
|
|
onCreatedGS(editor) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.editorGS = Object.seal(editor);
|
2024-09-05 16:14:08 +08:00
|
|
|
|
},
|
|
|
|
|
onCreatedZY(editor) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.editorZY = Object.seal(editor);
|
2024-09-05 16:14:08 +08:00
|
|
|
|
},
|
|
|
|
|
onCreatedRY(editor) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.editorRY = Object.seal(editor);
|
2024-09-05 16:14:08 +08:00
|
|
|
|
},
|
|
|
|
|
onCreatedQT(editor) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.editorQT = Object.seal(editor);
|
2024-09-05 16:14:08 +08:00
|
|
|
|
},
|
|
|
|
|
onCreatedLX(editor) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
this.editorLX = Object.seal(editor);
|
2024-09-05 16:14:08 +08:00
|
|
|
|
},
|
2025-04-18 19:53:56 +08:00
|
|
|
|
onCreatedJY(editor) {
|
|
|
|
|
this.editorJY = Object.seal(editor);
|
|
|
|
|
},
|
|
|
|
|
onCreatedSH(editor) {
|
|
|
|
|
this.editorSH = Object.seal(editor);
|
|
|
|
|
},
|
2024-09-05 16:14:08 +08:00
|
|
|
|
customPaste(editor, event, callback) {
|
2025-02-21 14:21:51 +08:00
|
|
|
|
console.log('ClipboardEvent 粘贴事件对象', event);
|
|
|
|
|
var text = event.clipboardData.getData('text/plain');
|
|
|
|
|
text = text.replace(/\s+/g, '');
|
|
|
|
|
editor.insertText(text);
|
|
|
|
|
event.preventDefault();
|
|
|
|
|
callback(false);
|
2024-09-05 16:14:08 +08:00
|
|
|
|
// 返回 true ,继续默认的粘贴行为
|
|
|
|
|
},
|
2025-04-18 19:53:56 +08:00
|
|
|
|
addHj() {
|
|
|
|
|
this.formData.hj.push({
|
|
|
|
|
time: '',
|
|
|
|
|
name: '',
|
|
|
|
|
organ: '',
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
delHj(index) {
|
|
|
|
|
this.formData.hj.splice(index, 1);
|
|
|
|
|
},
|
|
|
|
|
delZl(index) {
|
|
|
|
|
this.formData.zl_list.splice(index, 1);
|
|
|
|
|
},
|
|
|
|
|
delParty(index) {
|
|
|
|
|
this.formData.party.splice(index, 1);
|
|
|
|
|
},
|
|
|
|
|
addParty() {
|
|
|
|
|
this.formData.party.push({
|
|
|
|
|
name: '',
|
|
|
|
|
sex: '',
|
|
|
|
|
danwei_zhiwu: '',
|
|
|
|
|
party_zhiwu: '',
|
|
|
|
|
phone: '',
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
scrollTo(v, k, item, index) {
|
|
|
|
|
// First set all cards to inactive
|
|
|
|
|
this.right_card_list.forEach((card, i) => {
|
|
|
|
|
card.active = (i === index);
|
|
|
|
|
card.content.forEach(content => {
|
|
|
|
|
content.active = false;
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// Then set the specific content item to active
|
|
|
|
|
this.right_card_list[index].content[k].active = true;
|
|
|
|
|
},
|
|
|
|
|
handleScroll() {
|
|
|
|
|
console.log('页面正在滚动');
|
|
|
|
|
const scrollY = window.scrollY || document.documentElement.scrollTop;
|
|
|
|
|
console.log(scrollY);
|
|
|
|
|
|
|
|
|
|
if (scrollY >= 0 && scrollY <= 150) {
|
|
|
|
|
this.collapse = [1];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[0].active = true;
|
|
|
|
|
this.right_card_list[0].content[0].active = true;
|
|
|
|
|
} else if (scrollY > 150 && scrollY <= 305) {
|
|
|
|
|
this.collapse = [1];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[0].active = true;
|
|
|
|
|
this.right_card_list[0].content[1].active = true;
|
|
|
|
|
} else if (scrollY > 305 && scrollY <= 555) {
|
|
|
|
|
this.collapse = [1];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[0].active = true;
|
|
|
|
|
this.right_card_list[0].content[2].active = true;
|
|
|
|
|
} else if (scrollY > 555 && scrollY <= 1181) {
|
|
|
|
|
this.collapse = [2];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[1].active = true;
|
|
|
|
|
this.right_card_list[1].content[0].active = true;
|
|
|
|
|
} else if (scrollY > 1181 && scrollY <= 1639) {
|
|
|
|
|
this.collapse = [2];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[1].active = true;
|
|
|
|
|
this.right_card_list[1].content[1].active = true;
|
|
|
|
|
} else if (scrollY > 1639 && scrollY <= 1842) {
|
|
|
|
|
this.collapse = [2];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[1].active = true;
|
|
|
|
|
this.right_card_list[1].content[2].active = true;
|
|
|
|
|
} else if (scrollY > 1842 && scrollY <= 1957) {
|
|
|
|
|
this.collapse = [2];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[1].active = true;
|
|
|
|
|
this.right_card_list[1].content[3].active = true;
|
|
|
|
|
} else if (scrollY > 1700 && scrollY <= 2455) {
|
|
|
|
|
this.collapse = [3];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[2].active = true;
|
|
|
|
|
this.right_card_list[2].content[0].active = true;
|
|
|
|
|
} else if (scrollY > 2455 && scrollY <= 2894) {
|
|
|
|
|
this.collapse = [3];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[2].active = true;
|
|
|
|
|
this.right_card_list[2].content[1].active = true;
|
|
|
|
|
} else if (scrollY > 2894 && scrollY <= 3331) {
|
|
|
|
|
this.collapse = [3];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[2].active = true;
|
|
|
|
|
this.right_card_list[2].content[2].active = true;
|
|
|
|
|
} else if (scrollY > 3243 && scrollY <= 4900) {
|
|
|
|
|
this.collapse = [4];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[3].active = true;
|
|
|
|
|
this.right_card_list[3].content[0].active = true;
|
|
|
|
|
} else if (scrollY > 4900 && scrollY <= 4975) {
|
|
|
|
|
this.collapse = [5];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[4].active = true;
|
|
|
|
|
this.right_card_list[4].content[0].active = true;
|
|
|
|
|
} else if (scrollY > 4975 && scrollY <= 5112) {
|
|
|
|
|
this.collapse = [5];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[4].active = true;
|
|
|
|
|
this.right_card_list[4].content[1].active = true;
|
|
|
|
|
} else if (scrollY > 5112 && scrollY <= 5246) {
|
|
|
|
|
this.collapse = [5];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[4].active = true;
|
|
|
|
|
this.right_card_list[4].content[2].active = true;
|
|
|
|
|
} else if (scrollY > 5246 && scrollY <= 5723) {
|
|
|
|
|
this.collapse = [5];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[4].active = true;
|
|
|
|
|
this.right_card_list[4].content[3].active = true;
|
|
|
|
|
} else if (scrollY > 5723 && scrollY <= 6340) {
|
|
|
|
|
this.collapse = [6];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[5].active = true;
|
|
|
|
|
this.right_card_list[5].content[0].active = true;
|
|
|
|
|
} else if (scrollY > 6340 && scrollY <= 6506) {
|
|
|
|
|
this.collapse = [6];
|
|
|
|
|
this.clearActive();
|
|
|
|
|
this.right_card_list[5].active = true;
|
|
|
|
|
this.right_card_list[5].content[1].active = true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
clearActive() {
|
|
|
|
|
this.right_card_list.forEach(item => {
|
|
|
|
|
item.active = false;
|
|
|
|
|
item.content.forEach(content => {
|
|
|
|
|
content.active = false;
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
2024-07-09 18:07:55 +08:00
|
|
|
|
},
|
2025-04-18 19:53:56 +08:00
|
|
|
|
|
2024-07-09 18:07:55 +08:00
|
|
|
|
};
|
|
|
|
|
</script>
|
2024-09-05 16:14:08 +08:00
|
|
|
|
<style src="@wangeditor/editor/dist/css/style.css"></style>
|
2025-04-18 19:53:56 +08:00
|
|
|
|
<style lang="less">
|
2024-07-09 18:07:55 +08:00
|
|
|
|
.result-success {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 75vh;
|
|
|
|
|
|
|
|
|
|
&-icon {
|
|
|
|
|
font-size: 72px;
|
|
|
|
|
color: var(--td-success-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-title {
|
|
|
|
|
margin-top: 28px;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
color: var(--td-text-color-primary);
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-describe {
|
|
|
|
|
margin: 8px 0 32px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: var(--td-text-color-secondary);
|
|
|
|
|
line-height: 22px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-18 19:53:56 +08:00
|
|
|
|
.t-button+.t-button {
|
2024-07-09 18:07:55 +08:00
|
|
|
|
margin-left: var(--td-comp-margin-s);
|
|
|
|
|
}
|
2024-08-19 18:14:28 +08:00
|
|
|
|
|
|
|
|
|
.cropper-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
display: -webkit-flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
-webkit-justify-content: flex-end;
|
|
|
|
|
|
|
|
|
|
.cropper {
|
|
|
|
|
width: 350px;
|
|
|
|
|
height: 300px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.show-preview {
|
|
|
|
|
flex: 1;
|
|
|
|
|
-webkit-flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
display: -webkit-flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
-webkit-justify-content: center;
|
|
|
|
|
|
|
|
|
|
.preview {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
border: 1px solid #cccccc;
|
|
|
|
|
background: #cccccc;
|
|
|
|
|
margin-left: 40px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer-btn {
|
|
|
|
|
margin-top: 30px;
|
|
|
|
|
display: flex;
|
|
|
|
|
display: -webkit-flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
-webkit-justify-content: flex-end;
|
|
|
|
|
|
|
|
|
|
.scope-btn {
|
|
|
|
|
width: 350px;
|
|
|
|
|
display: flex;
|
|
|
|
|
display: -webkit-flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
-webkit-justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.upload-btn {
|
|
|
|
|
flex: 1;
|
|
|
|
|
-webkit-flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
display: -webkit-flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
-webkit-justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
|
outline: none;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
text-align: center;
|
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
outline: 0;
|
|
|
|
|
margin: 0;
|
2025-02-21 14:21:51 +08:00
|
|
|
|
-webkit-transition: 0.1s;
|
|
|
|
|
transition: 0.1s;
|
2024-08-19 18:14:28 +08:00
|
|
|
|
font-weight: 500;
|
|
|
|
|
padding: 8px 15px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
background-color: #67c23a;
|
|
|
|
|
border-color: #67c23a;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sfz {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
2025-02-21 14:21:51 +08:00
|
|
|
|
|
|
|
|
|
.w-e-full-screen-container {
|
2024-09-05 16:14:08 +08:00
|
|
|
|
z-index: 1024;
|
|
|
|
|
}
|
2025-04-18 19:53:56 +08:00
|
|
|
|
|
|
|
|
|
.top_title {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
width: 185px;
|
|
|
|
|
padding: 0px 10px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top_title_no_active {
|
|
|
|
|
background: #F5F6F8;
|
|
|
|
|
color: #000000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top_title_active {
|
|
|
|
|
background: #2552CD;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nei_color {
|
|
|
|
|
color: #999999;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nei_color_active {
|
|
|
|
|
color: #2552CD;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title_box {
|
|
|
|
|
font-size: 17px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
margin: 20px 0px;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title_box_active {
|
|
|
|
|
font-size: 17px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
margin: 20px 0px;
|
|
|
|
|
color: #2552CD;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//优化滚动条
|
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
|
width: 5px !important;
|
|
|
|
|
height: 5px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
|
background: #f1f1f1 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
|
background: #000;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
|
|
|
background: #889fdd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input_box {
|
|
|
|
|
width: 270px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input_box_end {
|
|
|
|
|
width: 565px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|