Commit 484517b2 by 刘泽奇

123

parent f83ebbff
...@@ -430,8 +430,8 @@ ...@@ -430,8 +430,8 @@
<div class="title special">上传材料:身份证明</div> <div class="title special">上传材料:身份证明</div>
<div class="upload-box" v-loading="loading1" @mouseover="mouseOverDemo(4,\'d\')" <div class="upload-box" v-loading="loading1" @mouseover="mouseOverDemo(4,\'d\')"
@mouseleave="mouseLeaveDemo(4,\'d\')"> @mouseleave="mouseLeaveDemo(4,\'d\')">
<img @click="window.open(apply.identityCardPic)" class="upload-applyimg" v-if="apply.identityCardPic" <img @click="window.open(apply.identityCardPdf)" class="upload-applyimg" v-if="apply.identityCardPic"
src="/imgs/sbzc/pdf.png" /> :src="apply.identityCardPic?apply.identityCardPic:\'\'" />
<gsb-upload v-else flag="sfz" ref="sfz" :d="d" @setKey="setKey" :action="action" filetype="image/jpeg" <gsb-upload v-else flag="sfz" ref="sfz" :d="d" @setKey="setKey" :action="action" filetype="image/jpeg"
:ifshowlist="false" @uploadsuccess="uploadsuccess" @error="error"> :ifshowlist="false" @uploadsuccess="uploadsuccess" @error="error">
<div class="upload-button" @click="loadingKey = 1"> <div class="upload-button" @click="loadingKey = 1">
......
...@@ -601,6 +601,7 @@ ...@@ -601,6 +601,7 @@
} }
if (obj.flag == "sfz") { if (obj.flag == "sfz") {
var pic2pdf = { 'key': obj.result }; var pic2pdf = { 'key': obj.result };
console.log(obj.result,`ccccccccccccccccccccccccc`);
var pic2pdf = this.$root.copyParams(pic2pdf, "pic2pdf", "/action/tmTools/springBoard"); var pic2pdf = this.$root.copyParams(pic2pdf, "pic2pdf", "/action/tmTools/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", pic2pdf).then(function (d) { this.$root.postReq("/web/trademark/tmqueryCtl/doPost", pic2pdf).then(function (d) {
that.loading1 = false; that.loading1 = false;
...@@ -613,6 +614,7 @@ ...@@ -613,6 +614,7 @@
return; return;
} else { } else {
that.apply.identityCardPic = ""; that.apply.identityCardPic = "";
that.apply["identityCardPdf"] = "";
that.$message.warning(`上传失败请重新上传`); that.$message.warning(`上传失败请重新上传`);
return false; return false;
} }
......
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