Commit a62a4304 by 刘泽奇

123

parent 0127decc
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<div v-loading="loading"> <div v-loading="loading">
<img width="110px" height="120px" style="border:2px dashed #e9e9e9" <img width="110px" height="120px" style="border:2px dashed #e9e9e9"
@click="window.open(stuff.businessLicensePic)" v-if="stuff.businessLicensePic" @click="window.open(stuff.businessLicensePic)" v-if="stuff.businessLicensePic"
src="imgs/sbzc/pdf.png" /> :src="stuff.businessLicensePic" />
<img width="120px" height="120px" style="border:2px dashed #e9e9e9" v-else <img width="120px" height="120px" style="border:2px dashed #e9e9e9" v-else
src="/imgs/zwcl.png" /> src="/imgs/zwcl.png" />
</div> </div>
......
...@@ -401,7 +401,8 @@ ...@@ -401,7 +401,8 @@
} }
if (obj.flag == "yyzz") { if (obj.flag == "yyzz") {
console.log(this.form); console.log(obj.result,"...........................");
this.stuff.businessLicensePic = obj.result;
var pic2pdf = { "key": obj.result }; var pic2pdf = { "key": obj.result };
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) {
...@@ -410,9 +411,9 @@ ...@@ -410,9 +411,9 @@
that.loading3 = false; that.loading3 = false;
that.loading = false; that.loading = false;
if (d.status == 0) { if (d.status == 0) {
that.stuff.businessLicensePic = d.data.url; that.stuff.businessLicensePdf = d.data.url;
} else { } else {
that.stuff.businessLicensePic = ""; that.stuff.businessLicensePdf = "";
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