|
@@ -27,7 +27,10 @@
|
|
/>
|
|
/>
|
|
</el-select>
|
|
</el-select>
|
|
<date-picker style="margin: 0 20px; width: 240px" v-model="issueTime" type="date" range placeholder="发布时间" value-type="format" @change="conditionChange"> </date-picker>
|
|
<date-picker style="margin: 0 20px; width: 240px" v-model="issueTime" type="date" range placeholder="发布时间" value-type="format" @change="conditionChange"> </date-picker>
|
|
- <el-input @input="reportTitleHandle" v-model="reportTitle" placeholder="请输入文章标题" clearable style="display: inline-block; width: 240px">
|
|
|
|
|
|
+ <el-input @input="reportTitleHandle" v-model="reportTitle" placeholder="请输入文章标题" clearable style="display: inline-block; width: 240px; margin-right: 20px">
|
|
|
|
+ <i slot="prefix" class="el-input__icon el-icon-search"></i>
|
|
|
|
+ </el-input>
|
|
|
|
+ <el-input @input="reportTitleHandle" v-model="reportTitle" placeholder="请输入作者昵称" clearable style="display: inline-block; width: 240px">
|
|
<i slot="prefix" class="el-input__icon el-icon-search"></i>
|
|
<i slot="prefix" class="el-input__icon el-icon-search"></i>
|
|
</el-input>
|
|
</el-input>
|
|
</div>
|
|
</div>
|
|
@@ -85,7 +88,11 @@
|
|
<template v-else>
|
|
<template v-else>
|
|
<el-table-column v-for="item in authorTableColums" :width="item.widthsty" :key="item.key" :prop="item.key" :label="item.label" align="center" :sortable="isShowSortable(item)">
|
|
<el-table-column v-for="item in authorTableColums" :width="item.widthsty" :key="item.key" :prop="item.key" :label="item.label" align="center" :sortable="isShowSortable(item)">
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
- <span v-if="item.label != '总PV/UV'" @click="handleRowClick(row, item.key)" :style="handleRowStyle(item.key)">{{ handleRowContent(row, item.key) }}</span>
|
|
|
|
|
|
+ <span v-if="item.label != '总PV/UV' && item.key != 'Remark'" @click="handleRowClick(row, item.key)" :style="handleRowStyle(item.key)">{{ handleRowContent(row, item.key) }}</span>
|
|
|
|
+ <div v-else-if="item.key == 'Remark'">
|
|
|
|
+ {{ handleRowContent(row, item.key) }}
|
|
|
|
+ <span @click="lookEditRemark(row)" class="editsty" style="font-size: 22px" v-if="row[item.key] && row[item.key].length > 15"> .... </span>
|
|
|
|
+ </div>
|
|
<span v-else>{{ row.Pv }} / {{ row.Uv }}</span>
|
|
<span v-else>{{ row.Pv }} / {{ row.Uv }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -112,7 +119,7 @@
|
|
</div>
|
|
</div>
|
|
</el-card>
|
|
</el-card>
|
|
<collect-fans-dlg :iscollectFansDlgShow.sync="iscollectFansDlgShow" :collectFansDlgText.sync="collectFansDlgText" :collectFansDlgItem.sync="collectFansDlgItem" />
|
|
<collect-fans-dlg :iscollectFansDlgShow.sync="iscollectFansDlgShow" :collectFansDlgText.sync="collectFansDlgText" :collectFansDlgItem.sync="collectFansDlgItem" />
|
|
- <special-dlg :addAuthorDlgVisible.sync="addAuthorDlgVisible" :submitRejectDlgVisible.sync="submitRejectDlgVisible" :submitRejectId="submitRejectId" />
|
|
|
|
|
|
+ <special-dlg :addAuthorDlgVisible.sync="addAuthorDlgVisible" :lookEditRemarkDlgShow.sync="lookEditRemarkDlgShow" :lookEditRemarkInfo.sync="lookEditRemarkInfo" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -144,9 +151,12 @@ export default {
|
|
collectFansDlgText: "",
|
|
collectFansDlgText: "",
|
|
collectFansDlgItem: {},
|
|
collectFansDlgItem: {},
|
|
addAuthorDlgVisible: false,
|
|
addAuthorDlgVisible: false,
|
|
|
|
+ lookEditRemarkDlgShow: false, // 查看编辑备注
|
|
|
|
+ lookEditRemarkInfo:{},
|
|
topLableList: [],
|
|
topLableList: [],
|
|
sortType: "",
|
|
sortType: "",
|
|
sortParam: "",
|
|
sortParam: "",
|
|
|
|
+ authorName: "", // 作者名称
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -220,6 +230,8 @@ export default {
|
|
return row[key] == 1 ? "线上" : `线下(${row["City"]})`;
|
|
return row[key] == 1 ? "线上" : `线下(${row["City"]})`;
|
|
} else if (key == "RegisterPlatform") {
|
|
} else if (key == "RegisterPlatform") {
|
|
return row[key] == 1 ? "小程序" : row[key] == 2 ? "网页版" : row[key] == 3 ? "策略平台" : "";
|
|
return row[key] == 1 ? "小程序" : row[key] == 2 ? "网页版" : row[key] == 3 ? "策略平台" : "";
|
|
|
|
+ } else if (key == "Remark") {
|
|
|
|
+ return row[key] ? row[key].substring(0, 15) : "";
|
|
} else {
|
|
} else {
|
|
return row[key];
|
|
return row[key];
|
|
}
|
|
}
|
|
@@ -252,6 +264,7 @@ export default {
|
|
EndDate: this.issueTime[1],
|
|
EndDate: this.issueTime[1],
|
|
SortType: this.sortType,
|
|
SortType: this.sortType,
|
|
SortParam: this.sortParam,
|
|
SortParam: this.sortParam,
|
|
|
|
+ NickName: this.authorName,
|
|
};
|
|
};
|
|
const res =
|
|
const res =
|
|
this.topLableActive == 1 && (this.reportStatusActive == 1 || this.reportStatusActive == 2)
|
|
this.topLableActive == 1 && (this.reportStatusActive == 1 || this.reportStatusActive == 2)
|
|
@@ -327,6 +340,12 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ //查看或修改
|
|
|
|
+ lookEditRemark(row) {
|
|
|
|
+ this.lookEditRemarkInfo = row
|
|
|
|
+ this.lookEditRemarkDlgShow = true;
|
|
|
|
+ },
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|