Commit 9ad04140 by 刘泽奇

123

parent 6bea4b63
......@@ -51,7 +51,7 @@
<body>
<div class="jc_hd"> </div>
<div id="app" v-loading="loading" class="app-main" style="visibility:hidden">
<div id="app" v-loading.fullscreen.lock="loading" element-loading-background="rgba(0, 0, 0, 0.8)" class="app-main" style="visibility:hidden">
<div id="admin-warpper" v-if="0">
<div class="admin-menu">
<el-menu default-active="2" class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -475,3 +475,4 @@
.jdindentdetail-diag .el-dialog__header {
border-bottom: 1px solid #E8E8E8;
}
......@@ -70,8 +70,8 @@
</div>
<div class="jdindentdetail-main-type-title">
{{item.nclOneCodes}}
<span>{{item.tbCode}}</span>
<span>初审公告</span>
<span>{{item.tmRegistNum}}</span>
<span>{{item.officialTypeName}}</span>
<span v-if="itemName" @click="showDialog(2,index)"><i class="el-icon-edit"></i> 修改</span>
</div>
<div class="jdindentdetail-main-type-services">
......@@ -85,7 +85,8 @@
</div>
<div class="jdindentdetail-main-receipt">
官方回执文件:
<span>{{item.officialTypeName}}</span>
<span v-for="(el, index) in item.tmOfficials"
:key="item.officialType">{{el.officialTypeName}}</span>
</div>
</div>
<div class="jdindentdetail-main-infohr"></div>
......@@ -125,6 +126,16 @@
</div>
<p>优先权证明</p>
</div>
<div v-if="applyInfo.customerType == \'person\'">
<div class="license-uploader">
<img v-if="imageUrl" :src="imageUrl" class="license">
<div class="license-uploader-icon" v-else>
<img :src="applyInfo.identityCardPic?applyInfo.identityCardPic:\'/imgs/indent/jpg.png\'"
alt="">
</div>
</div>
<p>身份证</p>
</div>
</div>
</div>
<div class="jdindentdetail-main-infohr"></div>
......@@ -149,7 +160,7 @@
<li><span>联系人:</span><span>{{applyInfo.contacts?applyInfo.contacts:\'-\'}}</span></li>
<li><span>手机号码:</span><span>{{applyInfo.mobile?applyInfo.mobile:\'-\'}}</span></li>
<li><span>电子邮箱:</span><span>{{applyInfo.email?applyInfo.email:\'-\'}}</span></li>
<li><span>座机号码:</span><span>{{applyInfo.zipCode?applyInfo.zipCode:\'-\'}}</span></li>
<li><span>座机号码:</span><span>{{applyInfo.tel?applyInfo.tel:\'-\'}}</span></li>
</ul>
</div>
<div class="jdindentdetail-main-infohr"></div>
......@@ -158,12 +169,9 @@
付款信息
</div>
<div>
<span>实付金额:<span>¥{{form.totalSum}}</span></span>
<span>实付金额: <span>¥{{form.totalSum?form.totalSum:\' -\'}}</span></span>
<span>官费:<span>¥300.00</span></span>
<!-- <span>支付时间:<span>¥300.00</span></span> -->
<!-- <span>优惠额度:<span>¥300.00</span></span> -->
<span>服务费:<span>¥213</span></span>
<!-- <span>支付方式:<span>¥213</span></span> -->
</div>
</div>
</div>
......@@ -172,9 +180,9 @@
<!-- 修改弹窗 -->
<div class="jdindentdetail-diag">
<el-dialog :title="headerInfo" width="62.5%" :visible.sync="dialogTableVisible" center>
<el-dialog :title="headerInfo" width="62.5%" :visible.sync="dialogTableVisible" center >
<div v-show="headerInfo==\'商标信息\'">
<el-form v-if="step==1" ref="form" :rules="rules" :model="form" class="demo-ruleForm"
<el-form v-show="step==1" ref="form" :rules="rules" :model="form" class="demo-ruleForm"
label-width="120px">
<div class="selftmreg_main">
<div class="categoryFrom">
......@@ -184,11 +192,10 @@
<el-radio :label="4">图形</el-radio>
<el-radio :label="5">文字及图形</el-radio>
</el-radio-group>
<div class="categoryFrom-jieshao" @click="announcementsType = true">如何选择商标类型?</div>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item label="商标名称" style="width:845px;float:left" prop="name"
<el-form-item label="商标名称" style="width:845px;float:left" prop="tmName"
v-if="form.tmFormType != 4">
<el-input v-model="form.tmName" style="width:330px" placeholder="请输入商标名称"></el-input>
<span v-if="form.tmFormType == 5"
......@@ -325,17 +332,17 @@
<el-tree class="gsb_tree" class="selftmreg_filter-tree" :data="ncldata"
:props="defaultProps" node-key="name" default-expand-all show-checkbox accordion
@check-change="handleCheckChange" @node-click="nodeClick"
:filter-node-method="filterNode" ref="tree">
:filter-node-method="filterNode" ref="tree" >
</el-tree>
</div>
</el-aside>
<el-container width="60%">
<el-header v-if="false"
<!-- <el-header v-if="false"
style="text-align: right; font-size: 12px;background-color:white;padding-top:10px;">
<el-button style="float:right" type="primary">导入Contact</el-button>
<el-input style="float:right;width:40%" placeholder="请输入历史订单号" clearable></el-input>
</el-header>
</el-header> -->
<el-main style="background-color: white; padding:0px;position: relative;">
<div class="selftmreg_title">已选择的商品/服务项
......@@ -381,6 +388,7 @@
</div>
<div v-show="headerInfo==\'交官文件\'">
<h4 style="color:#535353"><i class="selftmreg_shuxian"></i>交官文件</h4>
<el-form ref="apply" :rules="applyrules" :model="apply" class="demo-ruleForm" label-width="120px">
<div class="selftmreg_main">
<div style="clear:both;"></div>
......@@ -404,8 +412,8 @@
<div class="title special">上传材料:营业执照</div>
<div class="upload-box" v-loading="loading" @mouseover="mouseOverDemo(1,\'a\')"
@mouseleave="mouseLeaveDemo(1,\'a\')">
<img class="upload-applyimg" v-if="apply.businessLicensePic"
src="/imgs/sbzc/yyzzD.png" />
<img class="upload-applyimg" v-if="editApply.businessLicensePic"
:src="editApply.businessLicensePic?editApply.businessLicensePic:\'/imgs/sbzc/yyzzD.png\'" />
<gsb-upload v-else flag="yyzz" ref="yyzz" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
......@@ -415,8 +423,8 @@
</div>
</gsb-upload>
<div class="upload-dialog"
v-show="apply.businessLicensePic && toViewImgKey == \'a\'">
<div @click="window.open(apply.businessLicensePic)">查看大图</div>
v-show="editApply.businessLicensePic && toViewImgKey == \'a\'">
<div @click="window.open(editApply.businessLicensePic)">查看大图</div>
<gsb-upload flag="yyzz" ref="yyzz" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
......@@ -434,12 +442,13 @@
</div>
</el-form-item>
<el-form-item class="gsb_items" v-if="applyInfo.customerType==\'person\'" label="">
<el-form-item class="gsb_items" v-if="editApply.customerType==\'person\'" label="">
<div class="title special">上传材料:身份证明</div>
<div class="upload-box" v-loading="loading1" @mouseover="mouseOverDemo(4,\'d\')"
@mouseleave="mouseLeaveDemo(4,\'d\')">
<img @click="window.open(apply.identityCardPic)" class="upload-applyimg"
v-if="apply.identityCardPic" src="/imgs/sbzc/pdf.png" />
<img @click="window.open(editApply.identityCardPic)" class="upload-applyimg"
v-if="editApply.identityCardPic"
:src="editApply.identityCardPic?editApply.identityCardPic:\'/imgs/sbzc/pdf.png\'" />
<gsb-upload v-else flag="sfz" ref="sfz" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
......@@ -449,8 +458,8 @@
</div>
</gsb-upload>
<div class="upload-dialog"
v-show="apply.identityCardPic && toViewImgKey == \'d\'">
<div @click="window.open(apply.identityCardPic)">查看大图</div>
v-show="editApply.identityCardPic && toViewImgKey == \'d\'">
<div @click="window.open(editApply.identityCardPic)">查看大图</div>
<gsb-upload flag="sfz" ref="sfz" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
......@@ -474,8 +483,8 @@
</div>
<div class="upload-box" v-loading="loading2" @mouseover="mouseOverDemo(2,\'b\')"
@mouseleave="mouseLeaveDemo(2,\'b\')">
<img @click="window.open(apply.gzwtsUrl)" class="upload-applyimg"
v-if="apply.gzwtsUrl" :src="apply.gzwtsUrl" />
<img @click="window.open(editDeliveryInfo.gzwtsUrl)" class="upload-applyimg"
v-if="editDeliveryInfo.gzwtsUrl" :src="editDeliveryInfo.gzwtsUrl" />
<gsb-upload v-else flag="wts" ref="wts" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
......@@ -484,8 +493,9 @@
<div>(需盖公章)</div>
</div>
</gsb-upload>
<div class="upload-dialog" v-show="apply.gzwtsUrl && toViewImgKey == \'b\'">
<div @click="window.open(apply.gzwtsUrl)">查看大图</div>
<div class="upload-dialog"
v-show="editDeliveryInfo.gzwtsUrl && toViewImgKey == \'b\'">
<div @click="window.open(editDeliveryInfo.gzwtsUrl)">查看大图</div>
<gsb-upload flag="wts" ref="wts" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
......@@ -496,9 +506,9 @@
<div class="upload-img" @mouseover="mouseOverDemo(2)"
@mouseleave="mouseLeaveDemo(2)">
<img
:src="applyInfo.customerType == \'ent\' ? \'/imgs/sbzc/wts1.png\' : \'imgs/sbzc/wts.png\'" />
:src="editApply.customerType == \'ent\' ? \'/imgs/sbzc/wts1.png\' : \'imgs/sbzc/wts.png\'" />
<div v-if="toViewImgKey == 2" class="toViewImg"
@click="toViewImg(applyInfo.customerType == \'ent\' ? \'/imgs/sbzc/wtsD1.png\' : \'imgs/sbzc/wtsD.png\')">
@click="toViewImg(editApply.customerType == \'ent\' ? \'/imgs/sbzc/wtsD1.png\' : \'imgs/sbzc/wtsD.png\')">
查看大图</div>
</div>
......@@ -510,8 +520,8 @@
</div>
<div class="upload-box" v-loading="loading3" @mouseover="mouseOverDemo(3,\'c\')"
@mouseleave="mouseLeaveDemo(3,\'c\')">
<img @click="window.open(apply.smwjUrl)" class="upload-applyimg"
v-if="apply.smwjUrl" :src="apply.smwjUrl" />
<img @click="window.open(editDeliveryInfo.smwjUrl)" class="upload-applyimg"
v-if="editDeliveryInfo.smwjUrl" :src="editDeliveryInfo.smwjUrl" />
<gsb-upload v-else flag="yxq" ref="yxq" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
......@@ -520,8 +530,9 @@
<div>(需盖公章)</div>
</div>
</gsb-upload>
<div class="upload-dialog" v-show="apply.smwjUrl && toViewImgKey == \'c\'">
<div @click="window.open(apply.smwjUrl)">查看大图</div>
<div class="upload-dialog"
v-show="editDeliveryInfo.smwjUrl && toViewImgKey == \'c\'">
<div @click="window.open(editDeliveryInfo.smwjUrl)">查看大图</div>
<gsb-upload flag="yxq" ref="yxq" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
......@@ -548,7 +559,7 @@
</el-form>
</div>
<div v-show="headerInfo==\'申请人信息\'">
<el-form ref="apply" :rules="applyrules" :model="apply" class="demo-ruleForm" label-width="120px">
<el-form ref="apply" :rules="applyrules" :model="editApply" class="demo-ruleForm" label-width="120px">
<div class="selftmreg_main">
<div style="clear:both;"></div>
<div style="width:100%;padding-left: 30px;box-sizing: border-box;">
......@@ -556,59 +567,59 @@
<el-form-item label-width="140px" label="申请人类型"
style="width:493px;float:left;padding-right:50px;" prop="customerType">
<div class="selftmregType" v-model="apply.customerType"
:style="apply.customerType==\'ent\' ? \'border: 1px solid #409EFF;color: #409EFF;\' : \'\'"
@click="apply.customerType = \'ent\'">企业<img v-if="apply.customerType==\'ent\'"
<div class="selftmregType" v-model="editApply.customerType"
:style="editApply.customerType==\'ent\' ? \'border: 1px solid #409EFF;color: #409EFF;\' : \'\'"
@click="editApply.customerType = \'ent\'">企业<img v-if="editApply.customerType==\'ent\'"
src="/imgs/sjd.png" alt=""></div>
<div class="selftmregType" v-model="apply.customerType"
:style="apply.customerType==\'person\' ? \'border: 1px solid #409EFF;color: #409EFF;\' : \'\'"
@click="apply.customerType = \'person\'">个体户<img
v-if="apply.customerType==\'person\'" src="/imgs/sjd.png" alt=""></div>
<div class="selftmregType" v-model="editApply.customerType"
:style="editApply.customerType==\'person\' ? \'border: 1px solid #409EFF;color: #409EFF;\' : \'\'"
@click="editApply.customerType = \'person\'">个体户<img
v-if="editApply.customerType==\'person\'" src="/imgs/sjd.png" alt=""></div>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item v-if="apply.customerType==\'ent\'" label-width="140px" label="公司名称"
<el-form-item v-if="editApply.customerType==\'ent\'" label-width="140px" label="公司名称"
style="width:493px;float:left;padding-right:50px;" prop="name">
<gsb-selectentjd v-if="currentUser" allowcreate="true" showhistory="false"
@change="applierChange" size="medium" v-model="apply.name"
@change="applierChange" size="medium" v-model="editApply.name"
refMethod="getCompanyInfoByLikeName" autoComplete="true" isFilter="true"
refModel="tool" labelField="entName" valueField="entName"
style="position:relative;width:100%;" placeHolder="请输入选择公司名称">
</gsb-selectentjd>
<gsb-selectentjd v-if="!currentUser" frombrowser="true" allowcreate="true"
showhistory="false" @change="applierChange" size="medium" v-model="apply.name"
showhistory="false" @change="applierChange" size="medium" v-model="editApply.name"
refMethod="getCompanyInfoByLikeName" autoComplete="true" isFilter="true"
refModel="tool" labelField="entName" valueField="entName"
style="position:relative;width:100%;" placeHolder="请输入选择公司名称">
</gsb-selectentjd>
</el-form-item>
<el-form-item v-if="apply.customerType==\'person\'" label-width="140px" label="姓名"
<el-form-item v-if="editApply.customerType==\'person\'" label-width="140px" label="姓名"
style="width:493px;float:left;padding-right:50px;" prop="name">
<gsb-selectperson v-if="currentUser" @input="selectpersoninput" allowcreate="true"
showhistory="true" @historychange="historyapplierchange" size="medium"
v-model="apply.name" refMethod="getCompanyInfoByLikeName" autoComplete="true"
v-model="editApply.name" refMethod="getCompanyInfoByLikeName" autoComplete="true"
isFilter="true" refModel="tool" labelField="entName" valueField="entName"
style="position:relative;width:100%;" placeHolder="请输入身份证姓名"></gsb-selectperson>
<gsb-selectperson v-if="!currentUser" frombrowser="true" @input="selectpersoninput"
allowcreate="true" showhistory="true" @historychange="historyapplierchange"
size="medium" v-model="apply.name" refMethod="getCompanyInfoByLikeName"
size="medium" v-model="editApply.name" refMethod="getCompanyInfoByLikeName"
autoComplete="true" isFilter="true" refModel="tool" labelField="entName"
valueField="entName" style="position:relative;width:100%;" placeHolder="请输入身份证姓名">
</gsb-selectperson>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item v-if="apply.customerType==\'person\'" label-width="140px" label="身份证号码"
<el-form-item v-if="editApply.customerType==\'person\'" label-width="140px" label="身份证号码"
style="width:493px;float:left;padding-right:50px;" prop="identityCardNo">
<el-input placeHolder="请输入身份证号码" v-model="apply.identityCardNo"> </el-input>
<el-input placeHolder="请输入身份证号码" v-model="editApply.identityCardNo"> </el-input>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item v-if="apply.customerType==\'person\'" label-width="140px" label="身份证住址"
<el-form-item v-if="editApply.customerType==\'person\'" label-width="140px" label="身份证住址"
style="width:493px;float:left;padding-right:50px;" prop="applyAddr">
<el-input placeHolder="请输入身份证住址" v-model="apply.applyAddr"></el-input>
<el-input placeHolder="请输入身份证住址" v-model="editApply.applyAddr"></el-input>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item label-width="140px" label="统一社会信用代码"
style="width:493px;float:left;padding-right:50px;" prop="code">
<el-input placeHolder="请输入统一社会信用代码" v-model="apply.code"></el-input>
<el-input placeHolder="请输入统一社会信用代码" v-model="editApply.code"></el-input>
<div class="floatBox-right">
<i class="el-icon-question" @mouseover="mouseOverDemo(99)"
@mouseleave="mouseLeaveDemo(99)"></i>
......@@ -617,115 +628,88 @@
</div>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item v-if="applyInfo.customerType==\'ent\'" label-width="140px" label="执照详细地址"
<el-form-item v-if="editApply.customerType==\'ent\'" label-width="140px" label="执照详细地址"
style="width:493px;float:left;padding-right:50px;" prop="applyAddr">
<el-input placeHolder="请输入执照详细地址" v-model="apply.applyAddr"></el-input>
<el-input placeHolder="请输入执照详细地址" v-model="editApply.editApplyAddr"></el-input>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item label-width="140px" label="邮政编码"
style="width:493px;float:left;padding-right:50px;" prop="zipCode">
<el-input placeHolder="请输入邮政编码" v-model="apply.zipCode"></el-input>
<el-input placeHolder="请输入邮政编码" v-model="editApply.zipCode"></el-input>
</el-form-item>
<div style="clear:both;"></div>
</div>
<el-form-item class="gsb_items" label="">
<div class="title special">上传材料:营业执照</div>
<div class="upload-box" v-loading="loading" @mouseover="mouseOverDemo(1,\'a\')"
@mouseleave="mouseLeaveDemo(1,\'a\')">
<img class="upload-applyimg" v-if="apply.businessLicensePic"
src="/imgs/sbzc/yyzzD.png" />
<gsb-upload v-else flag="yyzz" ref="yyzz" :d="d" @setKey="setKey" :action="action"
filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess"
@error="error">
<div class="upload-button" @click="loadingKey = 0">
<div><i class="el-icon-circle-plus-outline"></i></div>
<div>(需盖公章)</div>
</div>
</gsb-upload>
<div class="upload-dialog" v-show="apply.businessLicensePic && toViewImgKey == \'a\'">
<div @click="window.open(apply.businessLicensePic)">查看大图</div>
<gsb-upload flag="yyzz" ref="yyzz" :d="d" @setKey="setKey" :action="action"
filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess"
@error="error">
<div @click="loadingKey = 0">重新上传</div>
<div class="title special">上传材料:营业执照</div>
<div class="upload-box" v-loading="loading" @mouseover="mouseOverDemo(1,\'a\')"
@mouseleave="mouseLeaveDemo(1,\'a\')">
<img class="upload-applyimg" v-if="editApply.businessLicensePic"
:src="editApply.businessLicensePic?editApply.businessLicensePic:\'/imgs/sbzc/yyzzD.png\'" />
<gsb-upload v-else flag="yyzz" ref="yyzz" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
<div class="upload-button" @click="loadingKey = 0">
<div><i class="el-icon-circle-plus-outline"></i></div>
<div>(需盖公章)</div>
</div>
</gsb-upload>
<div class="upload-dialog"
v-show="editApply.businessLicensePic && toViewImgKey == \'a\'">
<div @click="window.open(editApply.businessLicensePic)">查看大图</div>
<gsb-upload flag="yyzz" ref="yyzz" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
<div @click="loadingKey = 0">重新上传</div>
</gsb-upload>
</div>
</div>
<div class="upload-img" @mouseover="mouseOverDemo(1)"
@mouseleave="mouseLeaveDemo(1)">
<img
:src="editApply.customerType == \'ent\' ? \'/imgs/sbzc/yyzz1.png\' : \'imgs/sbzc/yyzz.png\'" />
<div v-if="toViewImgKey == 1" class="toViewImg"
@click="toViewImg(editApply.customerType == \'ent\' ? \'/imgs/sbzc/yyzzD1.png\' : \'imgs/sbzc/yyzzD.png\')">
查看大图</div>
</div>
</div>
<div class="upload-img" @mouseover="mouseOverDemo(1)" @mouseleave="mouseLeaveDemo(1)">
<img
:src="applyInfo.customerType == \'ent\' ? \'/imgs/sbzc/yyzz1.png\' : \'imgs/sbzc/yyzz.png\'" />
<div v-if="toViewImgKey == 1" class="toViewImg"
@click="toViewImg(applyInfo.customerType == \'ent\' ? \'/imgs/sbzc/yyzzD1.png\' : \'imgs/sbzc/yyzzD.png\')">
查看大图</div>
</div>
</el-form-item>
<el-form-item class="gsb_items" v-if="applyInfo.customerType==\'person\'" label="">
<div class="title special">上传材料:身份证明</div>
<div class="upload-box" v-loading="loading1" @mouseover="mouseOverDemo(4,\'d\')"
@mouseleave="mouseLeaveDemo(4,\'d\')">
<img @click="window.open(apply.identityCardPic)" class="upload-applyimg"
v-if="apply.identityCardPic" src="/imgs/sbzc/pdf.png" />
<gsb-upload v-else flag="sfz" ref="sfz" :d="d" @setKey="setKey" :action="action"
filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess"
@error="error">
<div class="upload-button" @click="loadingKey = 1">
<div><i class="el-icon-circle-plus-outline"></i></div>
<div>(需盖公章)</div>
</div>
</gsb-upload>
<div class="upload-dialog" v-show="apply.identityCardPic && toViewImgKey == \'d\'">
<div @click="window.open(apply.identityCardPic)">查看大图</div>
<gsb-upload flag="sfz" ref="sfz" :d="d" @setKey="setKey" :action="action"
filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess"
@error="error">
<div @click="loadingKey = 1">重新上传</div>
</el-form-item>
<el-form-item class="gsb_items" v-if="editApply.customerType==\'person\'" label="">
<div class="title special">上传材料:身份证明</div>
<div class="upload-box" v-loading="loading1" @mouseover="mouseOverDemo(4,\'d\')"
@mouseleave="mouseLeaveDemo(4,\'d\')">
<img @click="window.open(editApply.identityCardPic)" class="upload-applyimg"
v-if="editApply.identityCardPic"
:src="editApply.identityCardPic?editApply.identityCardPic:\'/imgs/sbzc/pdf.png\'" />
<gsb-upload v-else flag="sfz" ref="sfz" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
<div class="upload-button" @click="loadingKey = 1">
<div><i class="el-icon-circle-plus-outline"></i></div>
<div>(需盖公章)</div>
</div>
</gsb-upload>
<div class="upload-dialog"
v-show="applyInfo.identityCardPic && toViewImgKey == \'d\'">
<div @click="window.open(applyInfo.identityCardPic)">查看大图</div>
<gsb-upload flag="sfz" ref="sfz" :d="d" @setKey="setKey"
:action="action" filetype="image/jpeg" :ifshowlist="false"
@uploadsuccess="uploadsuccess" @error="error">
<div @click="loadingKey = 1">重新上传</div>
</gsb-upload>
</div>
</div>
</div>
<div class="upload-img" @mouseover="mouseOverDemo(4)" @mouseleave="mouseLeaveDemo(4)">
<img src="/imgs/sbzc/sfz.png" />
<div v-if="toViewImgKey == 4" class="toViewImg"
@click="toViewImg(\'/imgs/sbzc/sfzD.png\')">查看大图</div>
</div>
<div class="text"> <i class="el-icon-warning"></i> 格式为<span>PDF</span>
<span>JPG</span>,大小不能超过<span>10M</span></div>
</el-form-item>
</div>
<!-- <div class="selftmreg_main">
<h4 style="color:#535353"><i class="selftmreg_shuxian"></i>订单联系人</h4>
<div style="clear:both;"></div>
<div style="width:100%;padding-left: 30px;box-sizing: border-box;">
<el-form-item label-width="140px" label="客户联系人"
style="width:493px;float:left;padding-right:50px;" prop="contacts">
<el-input v-model="apply.contacts" placeHolder="此信息很重要,官方文件送达需与您联系"></el-input>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item label-width="140px" label="联系电话"
style="width:493px;float:left;padding-right:50px;" prop="mobile">
<el-input v-model="apply.mobile" placeHolder="请填写11位手机号码"></el-input>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item label-width="140px" label="电子邮箱"
style="width:493px;float:left;padding-right:50px;" prop="email">
<el-input v-model="apply.email" placeHolder="重要官文会通过邮件通知,请注意查收并及时回复"> </el-input>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item label-width="140px" label="座机"
style="width:493px;float:left;padding-right:50px;">
<el-input v-model="apply.tel" placeHolder="区号-座机号码"> </el-input>
</el-form-item>
<div style="clear:both;"></div>
<el-form-item label-width="140px" label="传真"
style="width:493px;float:left;padding-right:50px;">
<el-input v-model="apply.fax" placeHolder="请输入传真号"> </el-input>
<div class="upload-img" @mouseover="mouseOverDemo(4)"
@mouseleave="mouseLeaveDemo(4)">
<img src="/imgs/sbzc/sfz.png" />
<div v-if="toViewImgKey == 4" class="toViewImg"
@click="toViewImg(\'/imgs/sbzc/sfzD.png\')">查看大图</div>
</div>
<div class="text"> <i class="el-icon-warning"></i> 格式为<span>PDF</span>
<span>JPG</span>,大小不能超过<span>10M</span></div>
</el-form-item>
<div style="clear:both;"></div>
<div style="clear:both;"></div>
</div>
</div> -->
</div>
</el-form>
</div>
<div v-show="headerInfo==\'订单联系人\'">
......
......@@ -200,6 +200,7 @@
tel: "",
fax: "",
businessLicensePic: "",
businessLicensePdf: "",
identityCardPic: "",
gzwtsUrl: "",
smwjUrl: "",
......@@ -309,6 +310,8 @@
/*大类下标 */
nclIndex: "",
editNcl: {},
editDeliveryInfo: {},
editApply: {},
}
},
mounted: function() {
......@@ -383,6 +386,10 @@
if (d.status == 0 && d.data) {
console.log(d, `deliveryInfo`);
this.deliveryInfo = d.data.tm;
this.form = JSON.parse(JSON.stringify(this.deliveryInfo));
this.editDeliveryInfo = JSON.parse(JSON.stringify(this.deliveryInfo));
this.form.tmFormType = Number(this.form.tmFormType);
console.log(this.form, "lllllllllllllllllllllllllllllll");
this.orderFlow = d.data.orderFlow;
this.orderFlow.map((item, index) => {
item.createDate = new Date(item.createDate).toLocaleString('chinese', { hour12: false });
......@@ -398,6 +405,8 @@
console.log(d, `applyObj`);
if (d.status == 0 && d.data) {
this.applyInfo = d.data;
this.apply = JSON.parse(JSON.stringify(this.applyInfo));
this.editApply = JSON.parse(JSON.stringify(this.apply));
}
}).then(() => {
if (loadingA == 0 && loadingB == 0 && loadingC == 0) {
......@@ -409,9 +418,13 @@
console.log(d, `nclObj`);
if (d.status == 0 && d.data) {
this.nclInfo = d.data;
/*
this.nclOne = this.nclInfo;
*/
this.nclInfo.map((item, index) => {
item.nclSmallCodes = JSON.parse(item.nclSmallCodes);
})
});
this.ncl = JSON.parse(JSON.stringify(this.nclInfo));
}
}).then(() => {
if (loadingA == 0 && loadingB == 0 && loadingC == 0) {
......@@ -611,6 +624,8 @@
}
if (obj.flag == "yyzz") {
console.log(obj, "oooooooooooooooooooooooooooooooo");
that.apply.businessLicensePic = obj.result;
that.editApply = JSON.parse(JSON.stringify(that.apply));
var pic2pdf = { "key": obj.result };
var pic2pdf = this.$root.copyParams(pic2pdf, "pic2pdf", "/action/tmTools/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", pic2pdf).then(function (d) {
......@@ -619,15 +634,15 @@
that.loading3 = false;
that.loading = false;
if (d.status == 0) {
that.apply["businessLicensePic"] = d.data.url;
that.apply["businessLicensePdf"] = d.data.url;
return
} else {
that.apply.businessLicensePic = "";
that.apply.businessLicensePdf = "";
that.$message.warning(`上传失败请重新上传`);
return false;
}
}).catch(function (e) {
that.apply.businessLicensePic = "";
that.apply.businessLicensePdf = "";
that.loading1 = false;
that.loading2 = false;
that.loading3 = false;
......@@ -638,6 +653,8 @@
}
if (obj.flag == "sfz") {
var sfz = { "key": obj.result };
that.apply.identityCardPic = obj.result;
that.editApply = JSON.parse(JSON.stringify(that.apply));
var sfz = this.$root.copyParams(sfz, "pic2pdf", "/action/tmTools/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", sfz).then(function (d) {
that.loading1 = false;
......@@ -645,15 +662,15 @@
that.loading3 = false;
that.loading = false;
if (d.status == 0) {
that.apply["identityCardPic"] = d.data.url;
that.apply["identityCardPdf"] = d.data.url;
return;
} else {
that.apply.identityCardPic = "";
that.apply.identityCardPdf = "";
that.$message.warning(`上传失败请重新上传`);
return false;
}
}).catch(function (e) {
that.apply.identityCardPic = "";
that.apply.identityCardPdf = "";
that.loading1 = false;
that.loading2 = false;
that.loading3 = false;
......@@ -664,6 +681,8 @@
}
if (obj.flag == "wts") {
var adjustWTSSize = { "key": obj.result };
that.deliveryOrderNo.gzwtsUrl = obj.result;
that.editDeliveryOrderNo = JSON.parse(JSON.stringify(that.apply));
var adjustWTSSize = this.$root.copyParams(adjustWTSSize, "adjustWTSSize", "/action/tmTools/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", adjustWTSSize).then(function (d) {
that.loading1 = false;
......@@ -691,7 +710,10 @@
}
if (obj.flag == "yxq") {
console.log(obj);
that.apply["smwjUrl"] = obj.result;
that.form.gzwtsUrl = obj.result;
that.editDeliveryInfo = JSON.parse(JSON.stringify(that.deliveryInfo));
console.log(that.editDeliveryInfo,`mmmmmmmmmmmmmmmmmmmmmmmmmmmmm`);
/**that.apply["smwjUrl"] = obj.result; */
setTimeout(() => {
that.loading1 = false;
that.loading2 = false;
......@@ -803,8 +825,8 @@
})
},
handleCheckChange(obj, a, b) {
console.log(obj, a, b, '1233333333333333333333344444444444444444444', this.checkedNcl);
let dataRecieve = this.$refs.tree.getCheckedNodes();
console.log(obj, a, b, '1233333333333333333333344444444444444444444',dataRecieve,this.checkedNcl);
if (obj.type) {
return
}
......@@ -1272,6 +1294,7 @@
},
submitEdit(v){
console.log(v);
this.$root.loading = true;
switch (v) {
case '商标信息':
/*
......@@ -1287,10 +1310,11 @@
type: 'success',
message: '修改成功!'
});
this.$root.loading = false;
this.$router.go(0);
} else {
this.$message(res.msg);
this.$root.loading = false;
}
}).catch((e) => {
this.$message(e);
......@@ -1311,6 +1335,7 @@
type: 'success',
message: '修改成功!'
});
this.$root.loading = false;
this.$router.go(0);
} else {
this.$message(res.msg);
......@@ -1320,8 +1345,8 @@
});
break;
case '交官文件':
this.apply.deliveryOrderNo = this.deliveryOrderNo;
console.log(this.apply);
var obj = this.$root.copyParams(this.apply, "updateOfficial", "/action/tmOrder/springBoard", "yes", "yes");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((res) => {
if (res.status == 0) {
......@@ -1331,6 +1356,7 @@
type: 'success',
message: '提交成功!'
});
this.$root.loading = false;
this.$router.go(0);
} else {
this.$message(res.msg);
......@@ -1350,6 +1376,7 @@
type: 'success',
message: '提交成功!'
});
this.$root.loading = false;
this.$router.go(0);
} else {
this.$message(res.msg);
......@@ -1370,6 +1397,7 @@
type: 'success',
message: '提交成功!'
});
this.$root.loading = false;
this.$router.go(0);
} else {
this.$message(res.msg);
......@@ -1382,7 +1410,8 @@
break;
}
}
},
},
vname: "gsb-jdindentdetail"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment