|
@@ -22,7 +22,7 @@
|
|
<el-table-column align="center" label="轮播图" prop="imgCarouselUrl" min-width="120" show-overflow-tooltip>
|
|
<el-table-column align="center" label="轮播图" prop="imgCarouselUrl" min-width="120" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<a :href="scope.row.imgCarouselUrl" >
|
|
<a :href="scope.row.imgCarouselUrl" >
|
|
- <img :src="scope.row.imgCarouselUrl" alt="轮播图" class="el-image__inner el-image__preview"/>
|
|
|
|
|
|
+ <img :src="imageURL + scope.row.imgCarouselUrl" alt="轮播图" class="el-image__inner el-image__preview"/>
|
|
</a>
|
|
</a>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -216,7 +216,7 @@
|
|
mixins: [Mixin],
|
|
mixins: [Mixin],
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
-
|
|
|
|
|
|
+ imageURL: this.$imageUrl,
|
|
type: 0, // 0,1
|
|
type: 0, // 0,1
|
|
screenForm: {
|
|
screenForm: {
|
|
companyRecordManageId: "",
|
|
companyRecordManageId: "",
|
|
@@ -379,7 +379,7 @@
|
|
this.$refs.dialogForm.validate((valid) => {
|
|
this.$refs.dialogForm.validate((valid) => {
|
|
//console.log(...this.dialogForm)
|
|
//console.log(...this.dialogForm)
|
|
if (valid) {
|
|
if (valid) {
|
|
- this.dialogForm.imgCarouselUrl = "http://hg.zfire.top/api/img/get?key=" + this.fileList[0].url
|
|
|
|
|
|
+ this.dialogForm.imgCarouselUrl = this.fileList[0].url
|
|
const params = {
|
|
const params = {
|
|
...this.dialogForm,
|
|
...this.dialogForm,
|
|
};
|
|
};
|