|
|
@ -570,6 +570,101 @@
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions>
|
|
|
|
</el-descriptions>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 2024年度淘汰落后和退出低端低效产能装备清单模板 -->
|
|
|
|
|
|
|
|
<div class="table-content" v-if="templateId == 12">
|
|
|
|
|
|
|
|
<el-descriptions class="margin-top" title="【项目投资计划】" :column="2" :size="size" border :label-style="LS">
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
|
|
|
<template slot="label">
|
|
|
|
|
|
|
|
项目名称
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
{{ templateInfo.templateName }}
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
|
|
|
<template slot="label">
|
|
|
|
|
|
|
|
<span v-if="pageType == 'detail'">主要产品</span>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'edit'" class="f_validate">*</span>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'edit'">主要产品</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<el-form-item v-if="pageType == 'edit'" prop="mainProducts" label-width="0">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-if="pageType == 'edit'"
|
|
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
|
|
placeholder="请输入主要产品"
|
|
|
|
|
|
|
|
v-model="form.mainProducts"
|
|
|
|
|
|
|
|
show-word-limit
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'detail'">{{ form.mainProducts }}</span>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
|
|
|
<template slot="label">
|
|
|
|
|
|
|
|
<span v-if="pageType == 'detail'">所属行业</span>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'edit'" class="f_validate">*</span>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'edit'">所属行业</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<el-form-item v-if="pageType == 'edit'" label-width="0" prop="industry">
|
|
|
|
|
|
|
|
<el-checkbox-group v-model="form.industry" style="width: 100%;" :disabled="pageType == 'edit' ? false : true">
|
|
|
|
|
|
|
|
<el-checkbox v-for="city in dict.type.template_industry" :true-label="city.value" :label="city.value" :key="city.value">
|
|
|
|
|
|
|
|
{{city.label}}
|
|
|
|
|
|
|
|
</el-checkbox>
|
|
|
|
|
|
|
|
</el-checkbox-group>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<dict-tag v-if="pageType == 'detail'" :options="dict.type.template_industry" :value="form.industry"/>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
|
|
|
<template slot="label">
|
|
|
|
|
|
|
|
<span v-if="pageType == 'detail'">工作联系人</span>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'edit'" class="f_validate">*</span>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'edit'">工作联系人</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<el-form-item v-if="pageType == 'edit'" prop="workContact" label-width="0">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-if="pageType == 'edit'"
|
|
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
|
|
placeholder="请输入工作联系人"
|
|
|
|
|
|
|
|
v-model="form.workContact"
|
|
|
|
|
|
|
|
show-word-limit
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'detail'">{{ form.workContact }}</span>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
|
|
|
<template slot="label">
|
|
|
|
|
|
|
|
<span v-if="pageType == 'detail'">联系电话</span>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'edit'" class="f_validate">*</span>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'edit'">联系电话</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<el-form-item v-if="pageType == 'edit'" prop="iphone" label-width="0">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-if="pageType == 'edit'"
|
|
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
|
|
placeholder="请输入联系电话"
|
|
|
|
|
|
|
|
v-model="form.iphone"
|
|
|
|
|
|
|
|
show-word-limit
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'detail'">{{ form.iphone }}</span>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
|
|
|
<template slot="label">
|
|
|
|
|
|
|
|
<span v-if="pageType == 'detail'">类别</span>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'edit'" class="f_validate">*</span>
|
|
|
|
|
|
|
|
<span v-if="pageType == 'edit'">类别</span>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<el-form-item v-if="pageType == 'edit'" label-width="0" prop="template_type">
|
|
|
|
|
|
|
|
<el-checkbox-group v-model="form.template_type" style="width: 100%;" :disabled="pageType == 'edit' ? false : true">
|
|
|
|
|
|
|
|
<el-checkbox v-for="city in dict.type.new_template_type" :true-label="city.value" :label="city.value" :key="city.value">
|
|
|
|
|
|
|
|
{{city.label}}
|
|
|
|
|
|
|
|
</el-checkbox>
|
|
|
|
|
|
|
|
</el-checkbox-group>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<dict-tag v-if="pageType == 'detail'" :options="dict.type.new_template_type" :value="form.template_type"/>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- 上传文件列表 -->
|
|
|
|
<!-- 上传文件列表 -->
|
|
|
|
<div class="table-content">
|
|
|
|
<div class="table-content">
|
|
|
|
<p>【上传材料】</p>
|
|
|
|
<p>【上传材料】</p>
|
|
|
@ -1210,6 +1305,53 @@
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<!-- 2024年度淘汰落后和退出低端低效产能装备清单模板 -->
|
|
|
|
|
|
|
|
<el-col :span="24" v-if="templateId == 12 " class="upload_col upload_col_one">
|
|
|
|
|
|
|
|
<el-form-item :label="form.template_type == '1' ? '淘汰落后生产工艺装备':'退出低端低效产能装备'" label-width="340px" prop="fileListOne">
|
|
|
|
|
|
|
|
<div class="form_item">1、填报具体装备名称、规格型号、数量)等共XX台套</div>
|
|
|
|
|
|
|
|
<div class="form_item" style="margin-top: 20px;">2、落后生产工艺装备特指《产业结构调整指导目录》中明列的“淘汰类”“落后生产工艺装备”;低端低效生产工艺装备主要指经过较长时间运行,在能耗、环保、安全、技术指标等方面已弱化、企业拟主动提前退出的设备,它不属强制淘汰范畴。</div>
|
|
|
|
|
|
|
|
<el-upload
|
|
|
|
|
|
|
|
class="upload-demo"
|
|
|
|
|
|
|
|
:show-file-list="false"
|
|
|
|
|
|
|
|
action=""
|
|
|
|
|
|
|
|
accept=".xlsx,.XLSX,.XSL,.doc,.xls,.ppt,.pdf,.png,.jpg,.jpeg,.rar,.zip,.docx"
|
|
|
|
|
|
|
|
:http-request="handleFileUploadOne"
|
|
|
|
|
|
|
|
:file-list="fileListOne"
|
|
|
|
|
|
|
|
:on-remove="handleRemove">
|
|
|
|
|
|
|
|
<el-button slot="trigger" size="small" type="primary">上传文件</el-button>
|
|
|
|
|
|
|
|
<div slot="tip" class="el-upload__tip">请上传格式为<span style="color: red;">doc/xls/ppt/pdf/png/jpg/jpeg/rar/zip/docx/xlsx</span>的文件</div>
|
|
|
|
|
|
|
|
</el-upload>
|
|
|
|
|
|
|
|
<ul v-if="fileListOne.length >0" class="upload_ul">
|
|
|
|
|
|
|
|
<li v-for="item in uploadListOne" :key="item.url" class="upload_li">
|
|
|
|
|
|
|
|
<img src="../../../assets/images/uploadBgc.jpg" class="li_img" alt="">
|
|
|
|
|
|
|
|
<span class="icon_name">{{ item.name | dealURL }}</span>
|
|
|
|
|
|
|
|
<el-button type="text" style="color: red;" @click="deleteUploadOne(item)">删除</el-button>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="24" v-if="templateId == 12 " class="upload_col">
|
|
|
|
|
|
|
|
<el-form-item label="其他相关情况说明" label-width="340px" prop="fileListTwo">
|
|
|
|
|
|
|
|
<el-upload
|
|
|
|
|
|
|
|
class="upload-demo"
|
|
|
|
|
|
|
|
:show-file-list="false"
|
|
|
|
|
|
|
|
action=""
|
|
|
|
|
|
|
|
accept=".xlsx,.XLSX,.XSL,.doc,.xls,.ppt,.pdf,.png,.jpg,.jpeg,.rar,.zip,.docx"
|
|
|
|
|
|
|
|
:http-request="handleFileUploadTwo"
|
|
|
|
|
|
|
|
:file-list="fileListTwo"
|
|
|
|
|
|
|
|
:on-remove="handleRemove">
|
|
|
|
|
|
|
|
<el-button slot="trigger" size="small" type="primary">上传文件</el-button>
|
|
|
|
|
|
|
|
<div slot="tip" class="el-upload__tip">请上传格式为<span style="color: red;">doc/xls/ppt/pdf/png/jpg/jpeg/rar/zip/docx/xlsx</span>的文件</div>
|
|
|
|
|
|
|
|
</el-upload>
|
|
|
|
|
|
|
|
<ul v-if="fileListTwo.length >0" class="upload_ul">
|
|
|
|
|
|
|
|
<li v-for="item in uploadListTwo" :key="item.url" class="upload_li">
|
|
|
|
|
|
|
|
<img src="../../../assets/images/uploadBgc.jpg" class="li_img" alt="">
|
|
|
|
|
|
|
|
<span class="icon_name">{{ item.name | dealURL}}</span>
|
|
|
|
|
|
|
|
<el-button type="text" style="color: red;" @click="deleteUploadTwo(item)">删除</el-button>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<div v-if="pageType == 'detail'">
|
|
|
|
<div v-if="pageType == 'detail'">
|
|
|
|
<!-- 项目落户奖补模版 1-->
|
|
|
|
<!-- 项目落户奖补模版 1-->
|
|
|
@ -1652,6 +1794,39 @@
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 2024年度淘汰落后和退出低端低效产能装备清单模板 -->
|
|
|
|
|
|
|
|
<div v-if="templateId == 12 " class="detail_main">
|
|
|
|
|
|
|
|
<div class="left">
|
|
|
|
|
|
|
|
<div class="upload_title">{{ form.template_type == '1' ? '淘汰落后生产工艺装备':'退出低端低效产能装备' }}</div>
|
|
|
|
|
|
|
|
<div class="title_explain">1、填报具体装备名称、规格型号、数量)等共XX台套</div>
|
|
|
|
|
|
|
|
<div class="title_explain">2、落后生产工艺装备特指《产业结构调整指导目录》中明列的“淘汰类”“落后生产工艺装备”;低端低效生产工艺装备主要指经过较长时间运行,在能耗、环保、安全、技术指标等方面已弱化、企业拟主动提前退出的设备,它不属强制淘汰范畴。</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="right">
|
|
|
|
|
|
|
|
<ul class="upload_ul">
|
|
|
|
|
|
|
|
<li v-for="item in uploadListOne" :key="item.url" class="upload_li">
|
|
|
|
|
|
|
|
<a :href="VUE_APP_BASE_API + item.url" target="_blank">
|
|
|
|
|
|
|
|
<img src="../../../assets/images/uploadBgc.jpg" class="li_img" alt="">
|
|
|
|
|
|
|
|
<span class="icon_name">{{ item.name | dealURL }}</span>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div v-if="templateId == 12 " class="detail_main">
|
|
|
|
|
|
|
|
<div class="left">
|
|
|
|
|
|
|
|
<div class="upload_title">其他相关情况说明</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="right">
|
|
|
|
|
|
|
|
<ul class="upload_ul">
|
|
|
|
|
|
|
|
<li v-for="item in uploadListTwo" :key="item.url" class="upload_li">
|
|
|
|
|
|
|
|
<a :href="VUE_APP_BASE_API + item.url" target="_blank">
|
|
|
|
|
|
|
|
<img src="../../../assets/images/uploadBgc.jpg" class="li_img" alt="">
|
|
|
|
|
|
|
|
<span class="icon_name">{{ item.name | dealURL }}</span>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
@ -1739,8 +1914,8 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="operate_btn">
|
|
|
|
<div class="operate_btn">
|
|
|
|
<el-button @click="goBack">返回</el-button>
|
|
|
|
<el-button @click="goBack">返回</el-button>
|
|
|
|
<el-button v-if="pageType == 'edit'" @click="submitForm">暂存</el-button>
|
|
|
|
<el-button v-if="pageType == 'edit'" @click="submitForm('ts')">暂存</el-button>
|
|
|
|
<el-button v-if="pageType == 'edit'" type="success" @click="submitForm">提交</el-button>
|
|
|
|
<el-button v-if="pageType == 'edit'" type="success" @click="submitForm('sub')">提交</el-button>
|
|
|
|
<el-button v-if="pageType == 'detail'" @click="printOutpdf" class="btn">导出申报信息</el-button>
|
|
|
|
<el-button v-if="pageType == 'detail'" @click="printOutpdf" class="btn">导出申报信息</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -1759,15 +1934,15 @@ import { getTemplateInfo, getBasicInfo, getOpenInterface, uploadFile, getDeclara
|
|
|
|
addManufacturingServicesAward, putManufacturingServicesAward,
|
|
|
|
addManufacturingServicesAward, putManufacturingServicesAward,
|
|
|
|
addLogisticsDevelopmentAward, putLogisticsDevelopmentAward,
|
|
|
|
addLogisticsDevelopmentAward, putLogisticsDevelopmentAward,
|
|
|
|
addIntegrationIndustries, putIntegrationIndustries,
|
|
|
|
addIntegrationIndustries, putIntegrationIndustries,
|
|
|
|
|
|
|
|
addOutQuitProducts, putOutQuitProducts
|
|
|
|
} from "@/api/onlineDeclartion/declareAddContent"
|
|
|
|
} from "@/api/onlineDeclartion/declareAddContent"
|
|
|
|
import { dealFormatDate } from "@/utils/index.js"
|
|
|
|
import { dealFormatDate } from "@/utils/index.js"
|
|
|
|
import html2canvas from 'html2canvas';
|
|
|
|
import html2canvas from 'html2canvas';
|
|
|
|
import JsPDF from 'jspdf';
|
|
|
|
import JsPDF from 'jspdf';
|
|
|
|
|
|
|
|
// 'sys_show_hide', 'sys_normal_disable', 'bms_product_area', 'bms_declaration_type', 'bms_template_type', 'bms_declaration_channels'
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "declareDetailContent",
|
|
|
|
name: "declareDetailContent",
|
|
|
|
dicts: ['sys_show_hide', 'sys_normal_disable', 'bms_product_area', 'bms_declaration_type',
|
|
|
|
dicts: ['bms_responsibility_unit', 'bms_level', 'bms_affiliation_type', 'sys_declaration_type', 'jjh_project_type', 'template_industry', 'new_template_type'],
|
|
|
|
'bms_responsibility_unit', 'bms_level', 'bms_template_type', 'bms_declaration_channels', 'bms_affiliation_type', 'sys_declaration_type', 'jjh_project_type'],
|
|
|
|
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
VUE_APP_BASE_API:process.env.VUE_APP_BASE_API,
|
|
|
|
VUE_APP_BASE_API:process.env.VUE_APP_BASE_API,
|
|
|
@ -1775,7 +1950,10 @@ export default {
|
|
|
|
templateInfo: {},
|
|
|
|
templateInfo: {},
|
|
|
|
baseInfo: {},
|
|
|
|
baseInfo: {},
|
|
|
|
openInterfaceInfo: {},
|
|
|
|
openInterfaceInfo: {},
|
|
|
|
form: {},
|
|
|
|
form: {
|
|
|
|
|
|
|
|
industry: "",
|
|
|
|
|
|
|
|
template_type: "1",
|
|
|
|
|
|
|
|
},
|
|
|
|
active: 4,
|
|
|
|
active: 4,
|
|
|
|
templateId: null, //公司id
|
|
|
|
templateId: null, //公司id
|
|
|
|
templateRecordId: null, //模版ID
|
|
|
|
templateRecordId: null, //模版ID
|
|
|
@ -1886,6 +2064,9 @@ export default {
|
|
|
|
declarationType: [
|
|
|
|
declarationType: [
|
|
|
|
{ required: true, message: "请选择项目", trigger: "blur" }
|
|
|
|
{ required: true, message: "请选择项目", trigger: "blur" }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
industry: [
|
|
|
|
|
|
|
|
{ required: true, message: "请选择所属行业", trigger: "blur" }
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
fileList: [],
|
|
|
|
fileList: [],
|
|
|
|
fileListOne: [],
|
|
|
|
fileListOne: [],
|
|
|
@ -1913,12 +2094,13 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async mounted(){
|
|
|
|
async mounted(){
|
|
|
|
let { templateId, templateRecordId, pageType, detailId, enterpriseId} = this.$route.query;
|
|
|
|
// enterpriseId, templateRecordId
|
|
|
|
|
|
|
|
let { templateId, pageType, detailId} = this.$route.query;
|
|
|
|
this.templateId = templateId
|
|
|
|
this.templateId = templateId
|
|
|
|
this.templateRecordId = templateRecordId
|
|
|
|
// this.templateRecordId = templateRecordId
|
|
|
|
this.detailId = detailId
|
|
|
|
this.detailId = detailId
|
|
|
|
this.pageType = pageType
|
|
|
|
this.pageType = pageType
|
|
|
|
this.enterpriseId = enterpriseId
|
|
|
|
// this.enterpriseId = enterpriseId
|
|
|
|
let { data } = await getTemplateInfo({templateId: templateId})
|
|
|
|
let { data } = await getTemplateInfo({templateId: templateId})
|
|
|
|
this.templateInfo = data
|
|
|
|
this.templateInfo = data
|
|
|
|
switch (this.templateId){
|
|
|
|
switch (this.templateId){
|
|
|
@ -2201,6 +2383,7 @@ export default {
|
|
|
|
if(this.templateId == "11") {
|
|
|
|
if(this.templateId == "11") {
|
|
|
|
this.form = response.data.bmsIntegrationIndustries //11
|
|
|
|
this.form = response.data.bmsIntegrationIndustries //11
|
|
|
|
this.form.declarationType = this.form.declarationType + ''
|
|
|
|
this.form.declarationType = this.form.declarationType + ''
|
|
|
|
|
|
|
|
this.form.industry = this.form.industry + ''
|
|
|
|
let evidence = this.form.evidence.split(',')
|
|
|
|
let evidence = this.form.evidence.split(',')
|
|
|
|
let businessLicense = this.form.businessLicense.split(',')
|
|
|
|
let businessLicense = this.form.businessLicense.split(',')
|
|
|
|
let taxPaymentCertificate = this.form.taxPaymentCertificate.split(',')
|
|
|
|
let taxPaymentCertificate = this.form.taxPaymentCertificate.split(',')
|
|
|
@ -2256,9 +2439,27 @@ export default {
|
|
|
|
this.form.fileListNine = [...this.uploadListNine]
|
|
|
|
this.form.fileListNine = [...this.uploadListNine]
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(this.templateId == "12") {
|
|
|
|
|
|
|
|
this.form = response.data.bmsOutQuitProducts //3
|
|
|
|
|
|
|
|
this.form.template_type = this.form.type + '';
|
|
|
|
|
|
|
|
this.form.industry = this.form.industry + '';
|
|
|
|
|
|
|
|
let specifics = this.form.specifics.split(',')
|
|
|
|
|
|
|
|
let otherSpecifics = this.form.otherSpecifics.split(',')
|
|
|
|
|
|
|
|
specifics.forEach(item => {
|
|
|
|
|
|
|
|
this.uploadListOne.push({name: item,url: item})
|
|
|
|
|
|
|
|
this.fileListOne = [...this.uploadListOne]
|
|
|
|
|
|
|
|
this.form.fileListOne = [...this.uploadListOne]
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
otherSpecifics.forEach(item => {
|
|
|
|
|
|
|
|
this.uploadListTwo.push({name: item,url: item})
|
|
|
|
|
|
|
|
this.fileListTwo = [...this.uploadListTwo]
|
|
|
|
|
|
|
|
this.form.fileListTwo = [...this.uploadListTwo]
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
// console.log(this.form);
|
|
|
|
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
submitForm() {
|
|
|
|
submitForm(type) {
|
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
if (valid) {
|
|
|
|
if (valid) {
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
@ -2274,7 +2475,7 @@ export default {
|
|
|
|
templateRecordId: this.templateRecordId,
|
|
|
|
templateRecordId: this.templateRecordId,
|
|
|
|
declarationRecordsId: this.detailId,
|
|
|
|
declarationRecordsId: this.detailId,
|
|
|
|
id: this.form.id,
|
|
|
|
id: this.form.id,
|
|
|
|
status: 1,
|
|
|
|
status: type == 'ts' ? 0 : 1,
|
|
|
|
agreement:'', //招商协议1
|
|
|
|
agreement:'', //招商协议1
|
|
|
|
businessLicense: '', //营业执照1,3,11
|
|
|
|
businessLicense: '', //营业执照1,3,11
|
|
|
|
otherMaterials: '', //其它证明材料1
|
|
|
|
otherMaterials: '', //其它证明材料1
|
|
|
@ -2697,6 +2898,36 @@ export default {
|
|
|
|
this.$router.go(-1)
|
|
|
|
this.$router.go(-1)
|
|
|
|
}).catch((response) => {
|
|
|
|
}).catch((response) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if(this.templateId == "12") {
|
|
|
|
|
|
|
|
params.mainProducts = this.form.mainProducts
|
|
|
|
|
|
|
|
params.industry = Number(this.form.industry)
|
|
|
|
|
|
|
|
params.workContact = this.form.workContact
|
|
|
|
|
|
|
|
params.iphone = this.form.iphone
|
|
|
|
|
|
|
|
params.type = Number(this.form.template_type)
|
|
|
|
|
|
|
|
params.fillingTime = dealFormatDate(new Date())
|
|
|
|
|
|
|
|
params.specifics = ''; //拟淘汰或退出生产工艺装备情况(和类别对应)
|
|
|
|
|
|
|
|
params.otherSpecifics = ''; //其他相关情况说明
|
|
|
|
|
|
|
|
this.uploadListOne.forEach((item,index) => {
|
|
|
|
|
|
|
|
if(this.uploadListOne.length-1 == index){
|
|
|
|
|
|
|
|
params.specifics+=`${item.url}`
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
params.specifics+=`${item.url},`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
this.uploadListTwo.forEach((item,index) => {
|
|
|
|
|
|
|
|
if(this.uploadListTwo.length-1 == index){
|
|
|
|
|
|
|
|
params.otherSpecifics+=`${item.url}`
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
params.otherSpecifics+=`${item.url},`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
putOutQuitProducts(params).then((response) => {
|
|
|
|
|
|
|
|
this.$message.success("修改成功");
|
|
|
|
|
|
|
|
this.$router.go(-1)
|
|
|
|
|
|
|
|
}).catch((response) => {
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -3038,6 +3269,9 @@ list-style: none; /* 清除列表项前的标记 */
|
|
|
|
border-bottom: 1px solid #ebeef5;
|
|
|
|
border-bottom: 1px solid #ebeef5;
|
|
|
|
padding: 10px 30px;
|
|
|
|
padding: 10px 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload_col_one {
|
|
|
|
|
|
|
|
padding-bottom: 100px;
|
|
|
|
|
|
|
|
}
|
|
|
|
.detail_main {
|
|
|
|
.detail_main {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
justify-content: flex-start;
|
|
|
|