Commit 7c15c3ab authored by renjintao's avatar renjintao

产品、工单 图片路径更新

parent 71689157
......@@ -279,7 +279,7 @@ export default {
//返回img需要显示的src值
let tempUrl = "";
if (url && url.length > 0) {
tempUrl = url;
tempUrl = this.downUrl +url;
} else {
tempUrl = iconImg + "noPic_product.png";
}
......
......@@ -2,7 +2,7 @@
<Layout>
<Sider width="300">
<div class="add-list">
<img :src="img" />
<img :src="downUrl+img" />
</div>
</Sider>
<Content>
......@@ -90,6 +90,7 @@ export default {
levelTitle: ""
},
downUrl: fileUrlDown,
componaylist: [],
componaylist: [],
data2: [],
......@@ -133,7 +134,7 @@ export default {
},
methods: {
clickData(data, liUrl) {
this.img = data;
this.img = liUrl;
this.entity.productUrl = liUrl;
},
handleSelect1(data) {
......
......@@ -2,7 +2,7 @@
<Layout>
<Sider width="300">
<div class="add-list">
<img :src="img" />
<img :src="downUrl+img" />
</div>
</Sider>
<Content>
......@@ -69,6 +69,7 @@ export default {
entity: {
levelTitle: ""
},
downUrl: fileUrlDown,
componayId: null,
componaylist: [],
label: "",
......@@ -116,7 +117,7 @@ export default {
methods: {
clickData(data, liUrl) {
this.img = data;
this.img = liUrl;
this.entity.productUrl = liUrl;
},
handleSelect1(data) {
......@@ -149,6 +150,7 @@ export default {
}
this.entity = r.result;
this.img = this.entity.productUrl;
this.entity.productUrlList=this.parms.eid;
this.componayId = r.result.madeCompany;
this.$refs.edit.dep = r.result.levelId;
this.$refs.edit.label = r.result.levelTitle;
......
......@@ -34,7 +34,7 @@
<Row class="row-down">
<Col span="7">
<div class="img-i">
<img :src="row.productUrl" />
<img :src="downUrl +row.productUrl" />
</div>
</Col>
<Col span="17" class="c">
......@@ -91,6 +91,7 @@ export default {
modal: false,
title: "新增",
detail: null,
downUrl: fileUrlDown,
curId: 0,
columns: [
{
......
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