1.法律文件、荣誉专利可以上传图片或者PDF
2.社会职务不是必填项
This commit is contained in:
parent
4e6662d69b
commit
380d576b39
BIN
src/assets/Pdf.png
Normal file
BIN
src/assets/Pdf.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
@ -169,3 +169,6 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
</style>
|
||||
|
||||
|
@ -316,7 +316,7 @@
|
||||
<div style="display: flex; margin-top: 20px">
|
||||
<div style="width: 35%">
|
||||
<div>
|
||||
<span style="color: #d54941;">*</span>
|
||||
<!-- <span style="color: #d54941;">*</span> -->
|
||||
<span>主要社会职务(可多选)</span>
|
||||
</div>
|
||||
<div style="margin-top: 20px">
|
||||
@ -468,7 +468,7 @@
|
||||
</div>
|
||||
<div class="sfzzheng" v-if="getExt(formData.business_license_image) == 'pdf'"
|
||||
style="width: 220px; height: 124px;">
|
||||
<FilePowerpointIcon style="width: 100%; height: 100%;object-fit: cover;border-radius: 5px;" />
|
||||
<img src="@/assets/Pdf.png" style="width:100px;height: 100px;"/>
|
||||
</div>
|
||||
</div>
|
||||
</t-upload>
|
||||
@ -508,7 +508,8 @@
|
||||
</div>
|
||||
<div class="sfzzheng" v-if="getExt(formData.enterprise_credit_report) == 'pdf'"
|
||||
style="width: 220px; height: 124px;">
|
||||
<FilePowerpointIcon style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
<!-- <FilePowerpointIcon style="width: 100%; height: 100%;object-fit: cover;" /> -->
|
||||
<img src="@/assets/Pdf.png" style="width:100px;height: 100px;"/>
|
||||
</div>
|
||||
</div>
|
||||
</t-upload>
|
||||
@ -531,7 +532,7 @@
|
||||
</div>
|
||||
<div class="sfzzheng" v-if="getExt(formData.certificate_of_no_criminal_record) == 'pdf'"
|
||||
style="width: 220px; height: 124px;">
|
||||
<FilePowerpointIcon style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
<img src="@/assets/Pdf.png" style="width:100px;height: 100px;"/>
|
||||
</div>
|
||||
</div>
|
||||
</t-upload>
|
||||
@ -542,7 +543,7 @@
|
||||
<span>上一年度企业营业税完税证明:</span>
|
||||
</div>
|
||||
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" theme="custom"
|
||||
:data="{ association_id: 1 }" accept="image/*"
|
||||
:data="{ association_id: 1 }" accept="image/*,.pdf"
|
||||
:format-response="(response) => formatResponse(response, 10)">
|
||||
<div class="sfz">
|
||||
<img v-if="formData.certificate_of_business_tax_payment_for_the_previous_year == ''"
|
||||
@ -557,7 +558,7 @@
|
||||
<div class="sfzzheng"
|
||||
v-if="getExt(formData.certificate_of_business_tax_payment_for_the_previous_year) == 'pdf'"
|
||||
style="width: 220px; height: 124px;">
|
||||
<FilePowerpointIcon style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
<img src="@/assets/Pdf.png" style="width:100px;height: 100px;"/>
|
||||
</div>
|
||||
</div>
|
||||
</t-upload>
|
||||
@ -568,7 +569,7 @@
|
||||
<span>企业信用信息报告:</span>
|
||||
</div>
|
||||
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" theme="custom"
|
||||
:data="{ association_id: 1 }" accept="image/*"
|
||||
:data="{ association_id: 1 }" accept="image/*,.pdf"
|
||||
:format-response="(response) => formatResponse(response, 8)">
|
||||
<div class="sfz">
|
||||
<img v-if="formData.enterprise_credit_information_report == ''" src="@/assets/c1.png"
|
||||
@ -580,7 +581,7 @@
|
||||
</div>
|
||||
<div class="sfzzheng" v-if="getExt(formData.enterprise_credit_information_report) == 'pdf'"
|
||||
style="width: 220px; height: 124px;">
|
||||
<FilePowerpointIcon style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
<img src="@/assets/Pdf.png" style="width:100px;height: 100px;"/>
|
||||
</div>
|
||||
</div>
|
||||
</t-upload>
|
||||
@ -677,8 +678,7 @@
|
||||
<div style="color: #ffffff;font-size: 14px;">删除文件</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<FilePowerpointIcon v-if="getExt(item) == 'pdf'"
|
||||
style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
<img src="@/assets/Pdf.png" v-if="getExt(item) == 'pdf'" style="width:100px;height: 100px;"/>
|
||||
<img v-if="getExt(item) != 'pdf'" :src="$store.state.user.apiUrl + item"
|
||||
style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
</div>
|
||||
@ -994,7 +994,7 @@
|
||||
<div style="margin-right: 20px;">
|
||||
<t-button @click="download" size="large">
|
||||
<img slot="icon" src="@/assets/dc.png" style="width: 20px;height: 20px;margin-right: 10px;">
|
||||
年检报表导出(有水印)
|
||||
申请表导出(有水印)
|
||||
</t-button>
|
||||
</div>
|
||||
</div>
|
||||
@ -1432,11 +1432,11 @@ export default {
|
||||
this.right_card_list[1].content[2].ok = false;
|
||||
}
|
||||
//2.4
|
||||
if (newVal.main_social.length > 0) {
|
||||
this.right_card_list[1].content[3].ok = true;
|
||||
} else {
|
||||
this.right_card_list[1].content[3].ok = false;
|
||||
}
|
||||
// if (newVal.main_social.length > 0) {
|
||||
// this.right_card_list[1].content[3].ok = true;
|
||||
// } else {
|
||||
// this.right_card_list[1].content[3].ok = false;
|
||||
// }
|
||||
if (this.right_card_list[1].content[0].ok && this.right_card_list[1].content[1].ok && this.right_card_list[1].content[2].ok && this.right_card_list[1].content[3].ok) {
|
||||
this.right_card_list[1].ok = true;
|
||||
}
|
||||
@ -2224,8 +2224,8 @@ export default {
|
||||
}
|
||||
}
|
||||
if (this.formData.main_social == null || this.formData.main_social.length == 0) {
|
||||
this.$message.error('请选择主要社会职务!');
|
||||
return;
|
||||
//this.$message.error('请选择主要社会职务!');
|
||||
//return;
|
||||
} else {
|
||||
//数组转字符串
|
||||
this.formData.main_social_positions = this.formData.main_social.join(',');
|
||||
|
@ -459,7 +459,7 @@
|
||||
:src="$store.state.user.apiUrl + formData.business_license_image"
|
||||
style="width:220px; height: 124px;object-fit: cover;border-radius: 5px" />
|
||||
<div v-if="getExt(formData.business_license_image) == 'pdf'" style="width: 220px; height: 124px;">
|
||||
<FilePowerpointIcon style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
<img src="@/assets/Pdf.png" style="width:100px;height: 100px;"/>
|
||||
</div>
|
||||
</div>
|
||||
</t-upload>
|
||||
@ -495,7 +495,7 @@
|
||||
:src="$store.state.user.apiUrl + formData.enterprise_credit_report"
|
||||
style="width:220px; height: 124px;object-fit: cover;border-radius: 5px" />
|
||||
<div v-if="getExt(formData.enterprise_credit_report) == 'pdf'" style="width: 220px; height: 124px;">
|
||||
<FilePowerpointIcon style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
<img src="@/assets/Pdf.png" style="width:100px;height: 100px;"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -518,7 +518,7 @@
|
||||
style="width:220px; height: 124px;object-fit: cover;border-radius: 5px" />
|
||||
<div v-if="getExt(formData.certificate_of_no_criminal_record) == 'pdf'"
|
||||
style="width: 220px; height: 124px;">
|
||||
<FilePowerpointIcon style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
<img src="@/assets/Pdf.png" style="width:100px;height: 100px;"/>
|
||||
</div>
|
||||
</div>
|
||||
</t-upload>
|
||||
@ -529,7 +529,7 @@
|
||||
<span>上一年度企业营业税完税证明:</span>
|
||||
</div>
|
||||
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" theme="custom"
|
||||
:data="{ association_id: 1 }" accept="image/*"
|
||||
:data="{ association_id: 1 }" accept="image/*,.pdf"
|
||||
:format-response="(response) => formatResponse(response, 10)">
|
||||
<div class="sfz">
|
||||
<img v-if="formData.certificate_of_business_tax_payment_for_the_previous_year == ''"
|
||||
@ -551,7 +551,7 @@
|
||||
<span>企业信用信息报告:</span>
|
||||
</div>
|
||||
<t-upload :action="$store.state.user.apiUrl + '/api/common/upload'" theme="custom"
|
||||
:data="{ association_id: 1 }" accept="image/*"
|
||||
:data="{ association_id: 1 }" accept="image/*,.pdf"
|
||||
:format-response="(response) => formatResponse(response, 8)">
|
||||
<div class="sfz">
|
||||
<img v-if="formData.enterprise_credit_information_report == ''" src="@/assets/c1.png"
|
||||
@ -562,7 +562,7 @@
|
||||
style="width:220px; height: 124px;object-fit: cover;border-radius: 5px" />
|
||||
<div v-if="getExt(formData.enterprise_credit_information_report) == 'pdf'"
|
||||
style="width: 220px; height: 124px;">
|
||||
<FilePowerpointIcon style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
<img src="@/assets/Pdf.png" style="width:100px;height: 100px;"/>
|
||||
</div>
|
||||
</div>
|
||||
</t-upload>
|
||||
@ -657,8 +657,8 @@
|
||||
<div style="color: #ffffff;font-size: 14px;">删除文件</div>
|
||||
</div>
|
||||
</div>
|
||||
<FilePowerpointIcon v-if="getExt(item) == 'pdf'"
|
||||
style="width: 100%; height: 100%;object-fit: cover;" />
|
||||
<img src="@/assets/Pdf.png" v-if="getExt(item) == 'pdf'" style="width:100px;height: 100px;"/>
|
||||
|
||||
<img v-if="getExt(item) != 'pdf'" :src="$store.state.user.apiUrl + item"
|
||||
style="width: 100%; height: 100%;object-fit: cover;border-radius: 5px" />
|
||||
</div>
|
||||
@ -959,7 +959,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="background-color: #fff;border-radius: 10px;padding: 20px;margin-top: 20px;">
|
||||
<!-- <div style="background-color: #fff;border-radius: 10px;padding: 20px;margin-top: 20px;">
|
||||
<div
|
||||
style="border-radius: 4px;color: #000000; background-color: #F5F6F8;height: 80px;display: flex;justify-content: space-between;align-items: center;padding-left: 20px;">
|
||||
<div style="display: flex;align-items: center;">
|
||||
@ -969,11 +969,11 @@
|
||||
<div style="margin-right: 20px;">
|
||||
<t-button @click="download" size="large">
|
||||
<img slot="icon" src="@/assets/dc.png" style="width: 20px;height: 20px;margin-right: 10px;">
|
||||
年检报表导出(有水印)
|
||||
申请表导出(有水印)
|
||||
</t-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<!-- <t-dialog header="图片上传" :visible="caiMode" width="40%" top="20px" :onClose="onCloseMy" @confirm="onSubmit">
|
||||
<div class="cropper-content">
|
||||
@ -1628,8 +1628,8 @@ export default {
|
||||
}
|
||||
}
|
||||
if (this.formData.main_social == null || this.formData.main_social.length == 0) {
|
||||
this.$message.error('请选择主要社会职务!');
|
||||
return;
|
||||
// this.$message.error('请选择主要社会职务!');
|
||||
// return;
|
||||
} else {
|
||||
//数组转字符串
|
||||
this.formData.main_social_positions = this.formData.main_social.join(',');
|
||||
|
@ -969,7 +969,7 @@
|
||||
<div style="margin-right: 20px;">
|
||||
<t-button @click="download" size="large">
|
||||
<img slot="icon" src="@/assets/dc.png" style="width: 20px;height: 20px;margin-right: 10px;">
|
||||
年检报表导出(有水印)
|
||||
申请表导出(有水印)
|
||||
</t-button>
|
||||
</div>
|
||||
</div>
|
||||
@ -1440,7 +1440,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
const link = document.createElement('a');
|
||||
link.href = `https://hnyea.0rui.cn/api/move/pdf_member/exportPdf?openid=${this.formData.openid}`;
|
||||
link.href = `https://hnyea.0rui.cn/api/move/pdf_member/exportPdf?openid=${this.formData.openid}&id=${this.id}`;
|
||||
link.target = '_blank'; // 新标签页打开
|
||||
link.rel = 'noopener noreferrer'; // 安全考虑
|
||||
link.style.display = 'none';
|
||||
@ -1945,8 +1945,8 @@ export default {
|
||||
}
|
||||
}
|
||||
if (this.formData.main_social == null || this.formData.main_social.length == 0) {
|
||||
this.$message.error('请选择主要社会职务!');
|
||||
return;
|
||||
// this.$message.error('请选择主要社会职务!');
|
||||
// return;
|
||||
} else {
|
||||
//数组转字符串
|
||||
this.formData.main_social_positions = this.formData.main_social.join(',');
|
||||
|
@ -65,6 +65,10 @@
|
||||
:selected-row-keys="selectedRowKeys"
|
||||
@select-change="rehandleSelectChange"
|
||||
>
|
||||
<template #index_id="{ row, col, rowIndex, colIndex }">
|
||||
{{ page * size - size + rowIndex + 1 }}
|
||||
</template>
|
||||
|
||||
<template #photo_image="{ row }">
|
||||
<img
|
||||
v-if="row.photo_image"
|
||||
@ -133,7 +137,8 @@ export default {
|
||||
type: 'multiple',
|
||||
width: 50,
|
||||
},
|
||||
{ colKey: 'member_id', title: '会员ID' },
|
||||
// { colKey: 'member_id', title: '会员ID' },
|
||||
{ colKey: 'index_id', title: '序号',align: 'center' },
|
||||
{ colKey: 'photo_image', title: '形象照' },
|
||||
{ colKey: 'nikename', title: '会员姓名' },
|
||||
{ colKey: 'position_name', title: '职位' },
|
||||
|
@ -637,18 +637,11 @@ export default {
|
||||
methods: {
|
||||
openPDF() {
|
||||
const link = document.createElement('a');
|
||||
if (this.info.openid == '' || this.info.openid == null) {
|
||||
//const token = this.$store.state.user.token;
|
||||
//link.href = `https://hnyea.0rui.cn/api/member/getMemberPdf?member_id=${this.info.member_id}&token=${token}`;
|
||||
this.$message.error('当前用户暂无法生成PDF');
|
||||
return;
|
||||
} else {
|
||||
if (this.info.pdf_url == '' || this.info.pdf_url == null) {
|
||||
link.href = `https://hnyea.0rui.cn/api/move/pdf_member/exportPdf?openid=${this.info.openid}`;
|
||||
link.href = `https://hnyea.0rui.cn/api/move/pdf_member/exportPdf?openid=${this.info.openid}&id=${this.member_id}`;
|
||||
} else {
|
||||
link.href = `https://hnyea.0rui.cn${this.info.pdf_url}`;
|
||||
}
|
||||
}
|
||||
link.target = '_blank'; // 新标签页打开
|
||||
link.rel = 'noopener noreferrer'; // 安全考虑
|
||||
link.style.display = 'none';
|
||||
|
Loading…
x
Reference in New Issue
Block a user