|
|
@@ -35,7 +35,7 @@
|
|
|
:class="{ table_gray: index % 2 === 0 }"
|
|
|
>
|
|
|
<td v-if="flag">{{ index + 1 }}</td>
|
|
|
-
|
|
|
+
|
|
|
<td>{{ obj.publishDate }}</td>
|
|
|
<!-- 发布日期 -->
|
|
|
<td>{{ obj.informationName }}</td>
|
|
|
@@ -48,10 +48,10 @@
|
|
|
<!-- 发布版块 -->
|
|
|
<td>{{ obj.projectTypeName }}</td>
|
|
|
<!-- 项目分类 -->
|
|
|
+ <td>{{ obj.mediaTypeName }}</td>
|
|
|
+ <!-- 内容分类1 -->
|
|
|
<td>{{ obj.contentTypeName }}</td>
|
|
|
- <!-- 内容分类 -->
|
|
|
- <td>{{ obj.contentTypeName }}</td>
|
|
|
- <!-- 内容分类 -->
|
|
|
+ <!-- 内容分类2 -->
|
|
|
<td>{{ obj.mediaTitle }}</td>
|
|
|
<!-- 稿件标题 -->
|
|
|
<td>
|
|
|
@@ -59,7 +59,7 @@
|
|
|
</td>
|
|
|
<!-- 链接 -->
|
|
|
|
|
|
- <td class="operationStyle">
|
|
|
+ <td class="operationStyle" style="cursor: pointer">
|
|
|
<span @click="toggleModal(index)">编辑</span>
|
|
|
<span @click="toggleModal2(index)">删除</span>
|
|
|
<!-- 弹窗: 确定删除? -->
|
|
|
@@ -91,12 +91,17 @@
|
|
|
</div>
|
|
|
<div class="pageBottom">
|
|
|
<div class="fileOperation">
|
|
|
- <span class="operationStyle xiahuaxian" @click="importTemplate"
|
|
|
+ <span
|
|
|
+ class="operationStyle xiahuaxian"
|
|
|
+ @click="importTemplate"
|
|
|
+ style="cursor: pointer"
|
|
|
>导入模板</span
|
|
|
>
|
|
|
- <!-- <button @click="toggleModal3()">导入</button> -->
|
|
|
- <!-- <button @click="importDataList">导入</button> -->
|
|
|
- <label for="fileInput" @change="getFileInfo($event)" class="uploadFile"
|
|
|
+ <label
|
|
|
+ for="fileInput"
|
|
|
+ @change="getFileInfo($event)"
|
|
|
+ class="uploadFile"
|
|
|
+ style="cursor: pointer"
|
|
|
>导入<input
|
|
|
type="file"
|
|
|
name="fileName"
|
|
|
@@ -104,13 +109,9 @@
|
|
|
accept=".xlsx, .xls"
|
|
|
multiple
|
|
|
/></label>
|
|
|
- <!-- <button @click="toggleModal4()">导出</button> <input
|
|
|
- type="file"
|
|
|
- name="fileName"
|
|
|
- id="fileOutput"
|
|
|
- accept=".xlsx, .xls"
|
|
|
- />-->
|
|
|
- <label for="fileOutput" @click="onOutputExcel()">导出</label>
|
|
|
+ <label for="fileOutput" @click="onOutputExcel()" style="cursor: pointer"
|
|
|
+ >导出</label
|
|
|
+ >
|
|
|
</div>
|
|
|
<TablePage
|
|
|
:currentPage="currentPage"
|
|
|
@@ -227,6 +228,7 @@ export default {
|
|
|
accountId: "",
|
|
|
carPlatformName: "",
|
|
|
carTypeName: "",
|
|
|
+ mediaTypeName: "",
|
|
|
contentTypeName: "",
|
|
|
endTime: null,
|
|
|
id: "",
|
|
|
@@ -234,7 +236,7 @@ export default {
|
|
|
informationName: "",
|
|
|
localArea: "",
|
|
|
mediaTitle: null,
|
|
|
- mediaTypeName: "",
|
|
|
+ //mediaTypeName: "",
|
|
|
mediaUrl: "",
|
|
|
projectTypeName: "",
|
|
|
publishDate: "",
|
|
|
@@ -535,7 +537,13 @@ export default {
|
|
|
let date = new Date();
|
|
|
let m = date.getMonth() + 1;
|
|
|
let y = date.getFullYear();
|
|
|
- let d = y + "/" + m;
|
|
|
+ let d = "";
|
|
|
+ if (0 < m < 10) {
|
|
|
+ d = y + "/0" + m;
|
|
|
+ } else {
|
|
|
+ d = y + "/" + m;
|
|
|
+ }
|
|
|
+ // let d = y + "/0" + m;
|
|
|
this.$http({
|
|
|
// url: "/base/mediaPublishManager/selectMediaPublishList",
|
|
|
url: "/base/mediaPublishManager/selectMediaPublishListByMonth",
|
|
|
@@ -582,7 +590,7 @@ export default {
|
|
|
console.log(res);
|
|
|
if (res.data.code === 200) {
|
|
|
this.releaseMedia = res.data.data;
|
|
|
- console.log("发布版块", this.releaseMedia)
|
|
|
+ console.log("发布版块", this.releaseMedia);
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|