|
|
@@ -210,7 +210,7 @@ export default {
|
|
|
});
|
|
|
console.log("chexi ", obj);
|
|
|
//carTypeId 表示车系 id
|
|
|
- this.carTypeId = obj.id;
|
|
|
+ // this.carTypeId = obj.id;
|
|
|
|
|
|
//当前月份
|
|
|
let date = new Date();
|
|
|
@@ -224,7 +224,7 @@ export default {
|
|
|
id: "", //主键值
|
|
|
month: d,
|
|
|
dealerId: "254",
|
|
|
- dataId: this.ziliaoId,
|
|
|
+ dataId: "1386025423408103425",
|
|
|
informationName: this.ziliaoName,
|
|
|
releaseTime: this.ziliaoTime,
|
|
|
carService: this.carS,
|
|
|
@@ -417,6 +417,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
initialData: function () {
|
|
|
+ console.log(this.fileName,this.$route.query.informationName)
|
|
|
this.ziliaoName = this.fileName;
|
|
|
this.ziliaoId = this.LinkData.informationId;
|
|
|
|
|
|
@@ -426,13 +427,15 @@ export default {
|
|
|
|
|
|
this.carT = this.LinkData.carPlatformName;
|
|
|
let time = this.LinkData.publishDate; //发布时间
|
|
|
- if (time.length > 4) {
|
|
|
+ if(time != null){
|
|
|
+ if (time.length > 4) {
|
|
|
let y = time.slice(0, 4);
|
|
|
let m = time.slice(5, 7);
|
|
|
let d = time.slice(8, 10);
|
|
|
let temp = y + "-" + m + "-" + d;
|
|
|
this.ziliaoTime = temp;
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
//publishPlatformName 发布渠道
|
|
|
this.releaseC = this.LinkData.publishPlatformName;
|