|
@@ -14,7 +14,7 @@
|
|
|
<el-col :span="1">
|
|
|
<el-tag>时 间</el-tag>
|
|
|
</el-col >
|
|
|
- <el-col :span="22"><span class="hg">{{form.readTime}}</span></el-col>
|
|
|
+ <el-col :span="22"><span class="hg">{{form.createTime | format('yyyy-MM-dd hh:mm:ss')}}</span></el-col>
|
|
|
</el-row>
|
|
|
<el-row :gutter="80">
|
|
|
<el-col :span="1">
|
|
@@ -28,26 +28,33 @@
|
|
|
</el-col >
|
|
|
<el-col :span="22"><span class="hg">{{form.mailTheme}}</span></el-col>
|
|
|
</el-row>
|
|
|
- <!--<el-row :gutter="80">-->
|
|
|
- <!--<el-col :span="1">-->
|
|
|
- <!--<el-tag>附件</el-tag>-->
|
|
|
- <!--</el-col >-->
|
|
|
- <!--<el-col :span="22">-->
|
|
|
- <!--<span class="hg" v-for="site in fujianpath">-->
|
|
|
- <!--<img :src="devapi + site" alt="">-->
|
|
|
- <!--</span></el-col>-->
|
|
|
- <!--</el-row>-->
|
|
|
+ <el-row :gutter="80">
|
|
|
+ <el-col :span="1">
|
|
|
+ <el-tag>附件</el-tag>
|
|
|
+ </el-col >
|
|
|
+ <el-col :span="22">
|
|
|
+ <span class="hg" v-for="site in fujian">
|
|
|
+ <a class="fujian" :href="devapi + site.path">{{site.name}} </a>
|
|
|
+ </span></el-col>
|
|
|
+ </el-row>
|
|
|
</el-card>
|
|
|
<el-row>
|
|
|
<p class="text">
|
|
|
+ <!--<el-row>-->
|
|
|
+ <!--<span class="hg" v-for="site in fujian">-->
|
|
|
+ <!--<!–<img :src="devapi + site.path">–>-->
|
|
|
+ <!--<a :href="devapi + site.path">{{site.name}} </a>-->
|
|
|
+ <!--</span>-->
|
|
|
+ <!--</el-row>-->
|
|
|
+ <!--<el-row>-->
|
|
|
+ <!--<span class="hg" v-for="site in fujianName">-->
|
|
|
+ <!--<img :src="devapi + site" alt="">-->
|
|
|
+ <!--<a :href="devapi + site"></a>-->
|
|
|
+ <!--</span>-->
|
|
|
+ <!--</el-row>-->
|
|
|
<el-row>
|
|
|
- <span class="hg" v-for="site in fujianpath">
|
|
|
- <img :src="devapi + site" alt="">
|
|
|
- </span>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- {{form}}
|
|
|
- {{form.mailContent}}
|
|
|
+ <!--{{form}}-->
|
|
|
+ <span v-html="form.mailContent"></span>
|
|
|
</el-row>
|
|
|
|
|
|
|
|
@@ -98,10 +105,11 @@
|
|
|
// 表单参数
|
|
|
form: {},
|
|
|
// 表单校验
|
|
|
- rules: {
|
|
|
- },
|
|
|
- // fujianpath:'',
|
|
|
- // devapi:'',
|
|
|
+ rules: {},
|
|
|
+ fujianpath:'',
|
|
|
+ fujianName:'',
|
|
|
+ fujian:[],
|
|
|
+ devapi:'',
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -126,8 +134,18 @@
|
|
|
// this.form = response.data[0];
|
|
|
console.log(this.form);
|
|
|
this.fujianpath = this.form.filePath;
|
|
|
+ this.fujianName = this.form.fileName;
|
|
|
console.log(response.data);
|
|
|
this.fujianpath =this.fujianpath.split(',')
|
|
|
+ this.fujianName =this.fujianName.split(',')
|
|
|
+
|
|
|
+ for(var i=0;i< this.fujianName.length;i++){
|
|
|
+ this.fujian.push({
|
|
|
+ "path": this.fujianpath[i],
|
|
|
+ "name":this.fujianName[i]
|
|
|
+ });
|
|
|
+ }
|
|
|
+ console.log(this.fujian);
|
|
|
this.devapi = process.env.VUE_APP_BASE_API
|
|
|
// this.open = true;
|
|
|
// this.title = "修改【请填写功能名称】";
|
|
@@ -291,9 +309,11 @@
|
|
|
}
|
|
|
.text{
|
|
|
span{
|
|
|
- margin: 20px;
|
|
|
+ /*margin:0 20px;*/
|
|
|
}
|
|
|
padding: 0 20px;
|
|
|
}
|
|
|
-
|
|
|
+ .fujian{
|
|
|
+ padding-right: 10px;
|
|
|
+ }
|
|
|
</style>
|