Commit 2cdf3fe6 by 田爽

资讯管理列表宽度调整,编辑页显示时间默认

parent ad0e3627
......@@ -3,7 +3,7 @@
:title="!dataForm.id ? '新增' : this.showInfo?'详情':'修改'"
:close-on-click-modal="false"
:visible.sync="visible">
<el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="120px">
<el-form-item label='分类:' prop='announcetype'>
<el-select v-model="dataForm.announcetype" placeholder="请选择分类" clearable>
......@@ -34,7 +34,7 @@
<el-input v-model="dataForm.directpath" placeholder="请输入跳转地址" v-show="!showInfo"></el-input>
<p v-show="showInfo">{{dataForm.directpath}}</p>
</el-form-item> -->
<el-form-item label="作者:" prop="author">
<el-input v-model="dataForm.author" placeholder="请输入作者" v-show="!showInfo"></el-input>
<p v-show="showInfo">{{dataForm.author}}</p>
......@@ -42,7 +42,7 @@
<el-form-item label="显示时间:" prop="showtime">
<el-date-picker
v-show="!showInfo"
v-model="dataForm.showtime"
value-format='yyyy-MM-dd'
type="date"
......@@ -50,7 +50,7 @@
</el-date-picker>
<p v-show="showInfo">{{dataForm.showtime}}</p>
</el-form-item>
<el-form-item label="附件路径:" prop="fileUrl" >
<el-upload
v-show="!showInfo"
......@@ -100,7 +100,7 @@ export default {
levels: 1,
fileurl: '',
content: '',
showtime: '',
showtime: `${new Date().getFullYear()}-${new Date().getMonth() + 1}-${new Date().getDate()}`,
announcetype: ''
},
typeList: [
......@@ -295,5 +295,5 @@ export default {
.avatar-uploader > .el-upload{
border: none!important;
}
</style>
\ No newline at end of file
</style>
......@@ -41,7 +41,7 @@
<el-form-item label='发布日期' prop='releaseDate'>
<el-date-picker
clearable
v-model="releaseDate"
type="daterange"
start-placeholder="开始日期"
......@@ -50,7 +50,7 @@
>
</el-date-picker>
</el-form-item>
<el-button class="seach-btn" @click="getDataList2()" type="primary" >搜索</el-button>
</el-form>
<div class="add-btn">
......@@ -76,16 +76,45 @@
prop="title"
header-align="center"
align="left"
width="360px"
min-width="300px"
label="标题">
<template slot-scope="scope">
<a :href="urlsJson[scope.row.title]" target="_blank">{{ scope.row.title}}</a>
</template>
</el-table-column>
<el-table-column
prop="status"
header-align="center"
align="center"
width="70px"
label="状态">
<template slot-scope="scope">
<div>
<span v-if="scope.row.status === 0">待审核</span>
<span v-if="scope.row.status === -1">失败</span>
<span v-if="scope.row.status === 1">成功</span>
</div>
</template>
</el-table-column>
<el-table-column
header-align="center"
align="center"
width="150"
label="操作">
<template slot-scope="scope">
<el-button v-if="isAuth('manage:announce:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,1)">[成功]</el-button>
<el-button v-if="isAuth('manage:announce:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,-1)">[失败]</el-button>
<br v-if="isAuth('manage:announce:check')" />
<el-button v-if="isAuth('manage:announce:info')" type="text" size="small" @click="showMsg(scope.row)">预览</el-button>
<el-button v-if="isAuth('manage:announce:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改</el-button>
<el-button v-if="isAuth('manage:announce:delete')" type="text" size="small" @click="deleteHandle(scope.row.id,scope.row.title)">删除</el-button>
</template>
</el-table-column>
<el-table-column
prop="announcetype"
header-align="center"
align="center"
width="90px"
label="分类">
<template slot-scope="scope">
<div>
......@@ -97,6 +126,7 @@
prop="editor"
header-align="center"
align="center"
width="90px"
label="编辑">
</el-table-column>
<el-table-column
......@@ -111,7 +141,7 @@
header-align="center"
align="center"
sortable='custom'
width="120px"
width="110px"
label="显示时间">
</el-table-column>
<el-table-column
......@@ -119,11 +149,11 @@
header-align="center"
align="center"
sortable='custom'
width="120px"
width="110px"
label="发布时间">
<template slot-scope="scope">
<div>{{ scope.row.releasedate && scope.row.releasedate.substring(0,10) }}</div>
</template>
</template>
</el-table-column>
<!-- <el-table-column
prop="keyword"
......@@ -131,43 +161,17 @@
align="center"
label="关键字">
</el-table-column> -->
<el-table-column
prop="auditor"
header-align="center"
align="center"
width="90px"
label="审核人">
</el-table-column>
<el-table-column
prop="status"
header-align="center"
align="center"
label="状态">
<template slot-scope="scope">
<div>
<span v-if="scope.row.status === 0">待审核</span>
<span v-if="scope.row.status === -1">失败</span>
<span v-if="scope.row.status === 1">成功</span>
</div>
</template>
</el-table-column>
<el-table-column
header-align="center"
align="center"
width="150"
label="操作">
<template slot-scope="scope">
<el-button v-if="isAuth('manage:announce:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,1)">[成功]</el-button>
<el-button v-if="isAuth('manage:announce:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,-1)">[失败]</el-button>
<br v-if="isAuth('manage:announce:check')" />
<el-button v-if="isAuth('manage:announce:info')" type="text" size="small" @click="showMsg(scope.row)">预览</el-button>
<el-button v-if="isAuth('manage:announce:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改</el-button>
<el-button v-if="isAuth('manage:announce:delete')" type="text" size="small" @click="deleteHandle(scope.row.id,scope.row.title)">删除</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
......
......@@ -36,7 +36,7 @@
</el-form-item>
<el-form-item label='发布日期' prop='releaseDate'>
<el-date-picker
clearable
v-model="releaseDate"
type="daterange"
......@@ -52,7 +52,7 @@
<el-button v-if="isAuth('manage:indexcarouselmanage:save')" type="primary" @click="addOrUpdateHandle()"> + 添加</el-button>
<el-button v-if="isAuth('manage:indexcarouselmanage:update')" type="success" @click="getLevelBig('大轮播')" >修改大轮播顺序</el-button>
<el-button v-if="isAuth('manage:indexcarouselmanage:update')" type="success" @click="getLevelBig('小轮播')" >修改小轮播顺序</el-button>
</div>
<div class="table-list">
<el-table
......@@ -74,16 +74,50 @@
prop="title"
header-align="center"
align="left"
width="360px"
min-width="300px"
label="标题">
<template slot-scope="scope">
<a :href="urlsJson[scope.row.title]" target="_blank">{{ scope.row.title}}</a>
</template>
</el-table-column>
<el-table-column
prop="checkflagIndex"
header-align="center"
align="center"
width="70px"
label="状态">
<template slot-scope="scope">
<div>
<span v-if="scope.row.checkflagIndex === 0">待审核</span>
<span v-if="scope.row.checkflagIndex === -1">失败</span>
<span v-if="scope.row.checkflagIndex === 1">成功</span>
</div>
</template>
</el-table-column>
<el-table-column
header-align="center"
align="center"
width="150"
label="操作">
<template slot-scope="scope">
<el-button v-if="isAuth('manage:indexcarouselmanage:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,1)">[成功]</el-button>
<el-button v-if="isAuth('manage:indexcarouselmanage:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,-1)">[失败]</el-button>
<br v-if="isAuth('manage:indexcarouselmanage:check')"/>
<el-button v-if="isAuth('manage:indexcarouselmanage:info')" type="text" size="small" @click="showMsg(scope.row)">预览</el-button>
<el-button v-if="isAuth('manage:indexcarouselmanage:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改</el-button>
<el-button v-if="isAuth('manage:indexcarouselmanage:delete')" type="text" size="small" @click="deleteHandle(scope.row.id,scope.row.title)">删除</el-button>
<br v-if="scope.row.classnum=='大轮播'"/>
<el-button v-if="scope.row.classnum=='大轮播'" type="text" size="small" >
<span v-if="scope.row.isShow==1" @click="updateIsShow(scope.row.id,0)">了解更多隐藏</span>
<span v-if="scope.row.isShow==0" @click="updateIsShow(scope.row.id,1)">了解更多显示</span>
</el-button>
</template>
</el-table-column>
<el-table-column
prop="classnum"
header-align="center"
align="center"
width="90px"
label="类别">
</el-table-column>
<el-table-column
......@@ -91,71 +125,44 @@
header-align="center"
align="center"
sortable='custom'
width="110px"
label="首页添加时间">
<template slot-scope="scope">
<div>{{ scope.row.starttimeIndex && scope.row.starttimeIndex.substring(0,10) }}</div>
</template>
</template>
</el-table-column>
<el-table-column
prop="updatetimeIndex"
header-align="center"
align="center"
sortable='custom'
width="110px"
label="首页修改时间">
<template slot-scope="scope">
<div>{{ scope.row.updatetimeIndex && scope.row.updatetimeIndex.substring(0,10) }}</div>
</template>
</template>
</el-table-column>
<el-table-column
prop="editorIndex"
header-align="center"
align="center"
width="90px"
label="编辑">
</el-table-column>
<el-table-column
prop="lasteditorIndex"
header-align="center"
align="center"
width="90px"
label="最后编辑">
</el-table-column>
<el-table-column
prop="checkIndexAuthor"
header-align="center"
align="center"
width="90px"
label="审核人">
</el-table-column>
<el-table-column
prop="checkflagIndex"
header-align="center"
align="center"
label="状态">
<template slot-scope="scope">
<div>
<span v-if="scope.row.checkflagIndex === 0">待审核</span>
<span v-if="scope.row.checkflagIndex === -1">失败</span>
<span v-if="scope.row.checkflagIndex === 1">成功</span>
</div>
</template>
</el-table-column>
<el-table-column
header-align="center"
align="center"
width="150"
label="操作">
<template slot-scope="scope">
<el-button v-if="isAuth('manage:indexcarouselmanage:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,1)">[成功]</el-button>
<el-button v-if="isAuth('manage:indexcarouselmanage:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,-1)">[失败]</el-button>
<br v-if="isAuth('manage:indexcarouselmanage:check')"/>
<el-button v-if="isAuth('manage:indexcarouselmanage:info')" type="text" size="small" @click="showMsg(scope.row)">预览</el-button>
<el-button v-if="isAuth('manage:indexcarouselmanage:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改</el-button>
<el-button v-if="isAuth('manage:indexcarouselmanage:delete')" type="text" size="small" @click="deleteHandle(scope.row.id,scope.row.title)">删除</el-button>
<br v-if="scope.row.classnum=='大轮播'"/>
<el-button v-if="scope.row.classnum=='大轮播'" type="text" size="small" >
<span v-if="scope.row.isShow==1" @click="updateIsShow(scope.row.id,0)">了解更多隐藏</span>
<span v-if="scope.row.isShow==0" @click="updateIsShow(scope.row.id,1)">了解更多显示</span>
</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
@size-change="sizeChangeHandle"
......@@ -546,4 +553,4 @@ export default {
<style scoped>
</style>
\ No newline at end of file
</style>
......@@ -72,14 +72,14 @@
</el-select>
<p v-show="showInfo">{{dataForm.levels}}</p>
</el-form-item>
<el-form-item label="示时间:" prop="showtime">
<el-form-item label="示时间:" prop="showtime">
<el-date-picker
v-show="!showInfo"
v-model="dataForm.showtime"
value-format='yyyy-MM-dd'
type="date"
placeholder="请选择示时间">
placeholder="请选择示时间">
</el-date-picker>
<p v-show="showInfo">{{dataForm.showtime}}</p>
</el-form-item>
......
......@@ -104,7 +104,7 @@
<Ueditor @ready="editorReady" :value="ueditor.value" :config="ueditor.config" ref="ue" v-show="!showInfo"></Ueditor>
<div v-show="showInfo" v-html="dataForm.content"></div>
</el-form-item> -->
<el-form-item label="时间" prop="showtime">
<el-form-item label="显示时间" prop="showtime">
<el-date-picker
v-show="!showInfo"
......@@ -155,7 +155,7 @@ export default {
clanguage: '',
brief: '',
wavname: '',
showtime: ''
showtime: `${new Date().getFullYear()}-${new Date().getMonth() + 1}-${new Date().getDate()}`
},
cclassidStr: undefined,
dataRule: {
......
......@@ -45,7 +45,7 @@
</el-form-item>
<el-form-item label='更新日期' prop='updateDate' >
<el-date-picker
clearable
v-model="updateDate"
type="daterange"
......@@ -57,7 +57,7 @@
</el-form-item>
<el-form-item label='发布日期' prop='releaseDate'>
<el-date-picker
clearable
v-model="releaseDate"
type="daterange"
......@@ -67,7 +67,7 @@
>
</el-date-picker>
</el-form-item>
<el-button class="seach-btn" @click="getDataList2()" type="primary">搜索</el-button>
</el-form>
<div class="add-btn">
......@@ -86,19 +86,47 @@
prop="levels"
header-align="center"
align="center"
style="width: 50px;"
width="50px"
label="级别">
</el-table-column>
<el-table-column
prop="title"
header-align="center"
align="left"
width="360px"
min-width="300px"
label="显示标题">
<template slot-scope="scope">
<a :href="urlsJson[scope.row.title]" target="_blank">{{ scope.row.title}}</a>
</template>
</el-table-column>
<el-table-column
prop="status"
header-align="center"
align="center"
width="70"
label="状态">
<template slot-scope="scope">
<div>
<span v-if="scope.row.status === 0">待审核</span>
<span v-if="scope.row.status === -1">失败</span>
<span v-if="scope.row.status === 1">成功</span>
</div>
</template>
</el-table-column>
<el-table-column
header-align="center"
align="center"
width="150"
label="操作">
<template slot-scope="scope">
<el-button v-if="isAuth('manage:newsmovie:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,1)">[成功]</el-button>
<el-button v-if="isAuth('manage:newsmovie:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,-1)">[失败]</el-button>
<br v-if="isAuth('manage:newsmovie:check')" />
<el-button v-if="isAuth('manage:newsmovie:info')" type="text" size="small" @click="showMsg(scope.row)">预览</el-button>
<el-button v-if="isAuth('manage:newsmovie:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改</el-button>
<el-button v-if="isAuth('manage:newsmovie:delete')" type="text" size="small" @click="deleteHandle(scope.row.id,scope.row.title)">删除</el-button>
</template>
</el-table-column>
<!-- <el-table-column
prop="keyword"
header-align="center"
......@@ -109,9 +137,10 @@
prop="author"
header-align="center"
align="center"
width="90px"
label="演讲人">
</el-table-column>
<!-- <el-table-column
prop="longStr"
header-align="center"
......@@ -128,20 +157,23 @@
prop="clanguage"
header-align="center"
align="center"
width="90px"
label="语种">
</el-table-column>
<el-table-column
prop="editor"
header-align="center"
align="center"
width="90px"
label="编辑">
</el-table-column>
<el-table-column
prop="lasteditor"
header-align="center"
align="center"
width="90px"
label="最后编辑">
</el-table-column>
<el-table-column
......@@ -149,6 +181,7 @@
header-align="center"
align="center"
sortable='custom'
width="110px"
label="显示时间">
</el-table-column>
<el-table-column
......@@ -156,56 +189,32 @@
header-align="center"
align="center"
sortable='custom'
width="110px"
label="发布时间">
<template slot-scope="scope">
<div>{{ scope.row.releasedate && scope.row.releasedate.substring(0,10) }}</div>
</template>
</template>
</el-table-column>
<el-table-column
prop="updatedate"
header-align="center"
align="center"
sortable='custom'
width="110px"
label="更新时间">
<template slot-scope="scope">
<div>{{ scope.row.updatedate && scope.row.updatedate.substring(0,10) }}</div>
</template>
</template>
</el-table-column>
<el-table-column
prop="auditor"
header-align="center"
align="center"
width="90px"
label="审核人">
</el-table-column>
<el-table-column
prop="status"
header-align="center"
align="center"
label="状态">
<template slot-scope="scope">
<div>
<span v-if="scope.row.status === 0">待审核</span>
<span v-if="scope.row.status === -1">失败</span>
<span v-if="scope.row.status === 1">成功</span>
</div>
</template>
</el-table-column>
<el-table-column
header-align="center"
align="center"
width="150"
label="操作">
<template slot-scope="scope">
<el-button v-if="isAuth('manage:newsmovie:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,1)">[成功]</el-button>
<el-button v-if="isAuth('manage:newsmovie:check')" type="text" size="small" @click="checkHandle(scope.row.id,scope.row.title,-1)">[失败]</el-button>
<br v-if="isAuth('manage:newsmovie:check')" />
<el-button v-if="isAuth('manage:newsmovie:info')" type="text" size="small" @click="showMsg(scope.row)">预览</el-button>
<el-button v-if="isAuth('manage:newsmovie:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改</el-button>
<el-button v-if="isAuth('manage:newsmovie:delete')" type="text" size="small" @click="deleteHandle(scope.row.id,scope.row.title)">删除</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
......
......@@ -52,7 +52,7 @@
<el-row v-show="!showInfo">
<el-col :span="22">
<el-date-picker
v-show="!showInfo"
v-show="!showInfo"
v-model="dataForm.showtime"
value-format='yyyy-MM-dd'
type="date"
......@@ -70,7 +70,7 @@
</el-form-item>
<el-form-item label="专题图片:" prop="pic" >
<el-upload
v-show="!showInfo"
v-show="!showInfo"
class="avatar-uploader avatar2"
action=""
:show-file-list="false"
......@@ -126,7 +126,7 @@ export default {
categoryid: '',
newtmpid: '',
levels: 1,
showtime: '',
showtime: `${new Date().getFullYear()}-${new Date().getMonth() + 1}-${new Date().getDate()}`,
ppath: '',
content: '',
shortcontent: '',
......@@ -363,11 +363,11 @@ export default {
}
</script>
<style scoped>
.iconStyle{
font-size: 18px;
text-align: center;
color: #e6a23c;
cursor: pointer;
}
</style>
\ No newline at end of file
</style>
......@@ -27,7 +27,7 @@
<el-form-item label='发布日期' prop='releaseDate' >
<el-date-picker
clearable
v-model="releaseDate"
type="daterange"
start-placeholder="开始日期"
......@@ -54,14 +54,14 @@
prop="levels"
header-align="center"
align="center"
width="70px"
width="50px"
label="级别">
</el-table-column>
<el-table-column
prop="title"
header-align="center"
align="left"
width="360px"
min-width="300px"
label="专题标题">
<template slot-scope="scope">
<a :href="urlsJson[scope.row.title]" target="_blank">{{ scope.row.title}}</a>
......@@ -74,10 +74,39 @@
label="专题分类">
</el-table-column> -->
<el-table-column
prop="checkflag"
header-align="center"
align="center"
width="70px"
label="状态">
<template slot-scope="scope">
<div>
<span v-if="scope.row.checkflag === 0">待审核</span>
<span v-if="scope.row.checkflag === -1">失败</span>
<span v-if="scope.row.checkflag === 1">成功</span>
</div>
</template>
</el-table-column>
<el-table-column
header-align="center"
align="center"
width="150"
label="操作">
<template slot-scope="scope">
<el-button v-if="isAuth('manage:newtopic:check')" type="text" size="small" @click="checkHandle(scope.row.classid,scope.row.title,1)">[成功]</el-button>
<el-button v-if="isAuth('manage:newtopic:check')" type="text" size="small" @click="checkHandle(scope.row.classid,scope.row.title,-1)">[失败]</el-button>
<br v-if="isAuth('manage:newtopic:check')" />
<el-button v-if="isAuth('manage:newtopic:info')" type="text" size="small" @click="showMsg(scope.row)">预览</el-button>
<el-button v-if="isAuth('manage:newtopic:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.classid)">修改</el-button>
<el-button v-if="isAuth('manage:newtopic:delete')" type="text" size="small" @click="deleteHandle(scope.row.classid,scope.row.title)">删除</el-button>
</template>
</el-table-column>
<el-table-column
prop="showtime"
header-align="center"
align="center"
sortable='custom'
width="110px"
label="显示时间">
</el-table-column>
<el-table-column
......@@ -85,56 +114,33 @@
header-align="center"
align="center"
sortable='custom'
width="110px"
label="发布时间">
<template slot-scope="scope">
<div>{{ scope.row.time && scope.row.time.substring(0,10) }}</div>
</template>
</template>
</el-table-column>
<el-table-column
prop="editor"
header-align="center"
align="center"
width="90px"
label="编辑">
</el-table-column>
<el-table-column
prop="lasteditor"
header-align="center"
align="center"
width="90px"
label="最后编辑">
</el-table-column>
<el-table-column
prop="checkname"
header-align="center"
align="center"
width="90px"
label="审核人">
</el-table-column>
<el-table-column
prop="checkflag"
header-align="center"
align="center"
label="状态">
<template slot-scope="scope">
<div>
<span v-if="scope.row.checkflag === 0">待审核</span>
<span v-if="scope.row.checkflag === -1">失败</span>
<span v-if="scope.row.checkflag === 1">成功</span>
</div>
</template>
</el-table-column>
<el-table-column
header-align="center"
align="center"
width="150"
label="操作">
<template slot-scope="scope">
<el-button v-if="isAuth('manage:newtopic:check')" type="text" size="small" @click="checkHandle(scope.row.classid,scope.row.title,1)">[成功]</el-button>
<el-button v-if="isAuth('manage:newtopic:check')" type="text" size="small" @click="checkHandle(scope.row.classid,scope.row.title,-1)">[失败]</el-button>
<br v-if="isAuth('manage:newtopic:check')" />
<el-button v-if="isAuth('manage:newtopic:info')" type="text" size="small" @click="showMsg(scope.row)">预览</el-button>
<el-button v-if="isAuth('manage:newtopic:update')" type="text" size="small" @click="addOrUpdateHandle(scope.row.classid)">修改</el-button>
<el-button v-if="isAuth('manage:newtopic:delete')" type="text" size="small" @click="deleteHandle(scope.row.classid,scope.row.title)">删除</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
@size-change="sizeChangeHandle"
......
......@@ -22,14 +22,14 @@
ref='dataForm'
@keyup.enter.native='dataFormSubmit()'
label-width='100px'
>
<el-form-item label='标题:' prop='title'>
<el-input v-model='dataForm.title' placeholder='请输入标题' v-show="!showInfo"></el-input>
<p v-show="showInfo">{{dataForm.title}}</p>
</el-form-item>
<el-form-item label='类别:' prop='pictureType'>
<el-select v-model="dataForm.pictureType" placeholder="请选择类别" v-show="!showInfo">
<el-select v-model="dataForm.pictureType" placeholder="请选择类别" v-show="!showInfo">
<el-option
v-for="item in pictureTypeList"
:key="item.value"
......@@ -121,7 +121,7 @@ export default {
status: '',
keyword: '',
jumppath: '',
showtime: ''
showtime: `${new Date().getFullYear()}-${new Date().getMonth() + 1}-${new Date().getDate()}`
},
piclevelList,
pictureTypeList: [
......
......@@ -69,7 +69,7 @@
>
<el-table-column prop="piclevel" header-align="center" align="center" label="级别" width="50px"> </el-table-column>
<el-table-column prop="title" header-align="center" align="left" label="标题">
<el-table-column prop="title" header-align="center" align="left" label="标题" min-width="300px">
<template slot-scope="scope">
<a :href="urlsJson[scope.row.title]" target="_blank">{{ scope.row.title}}</a>
</template>
......@@ -86,7 +86,7 @@
<el-table-column
header-align="center"
align="center"
width="110"
width="150"
label="操作">
<template slot-scope="scope">
<el-button v-if="isAuth('manage:picture:check')" type="text" size="small" @click="checkHandle(scope.row.pictureid,scope.row.title,1)">[成功]</el-button>
......@@ -97,17 +97,17 @@
<el-button v-if="isAuth('manage:picture:delete')" type="text" size="small" @click="deleteHandle(scope.row.pictureid,scope.row.title)">删除</el-button>
</template>
</el-table-column>
<el-table-column prop="pictureType" header-align="center" align="center" label="分类" width="80px"> </el-table-column>
<el-table-column prop="showtime" header-align="center" align="center" sortable='custom' label="显示时间" width="105px"> </el-table-column>
<el-table-column prop="inputdate" header-align="center" align="center" sortable='custom' label="发布时间" width="105px">
<el-table-column prop="pictureType" header-align="center" align="center" label="分类" width="90px"> </el-table-column>
<el-table-column prop="showtime" header-align="center" align="center" sortable='custom' label="显示时间" width="110px"> </el-table-column>
<el-table-column prop="inputdate" header-align="center" align="center" sortable='custom' label="发布时间" width="110px">
<template slot-scope="scope">
<div>{{ scope.row.inputdate && scope.row.inputdate.substring(0,10) }}</div>
</template>
</el-table-column>
<el-table-column prop="keyword" header-align="center" align="left" label="关键字" width="120px"> </el-table-column>
<el-table-column prop="editor" header-align="center" align="center" label="编辑" width="80px"> </el-table-column>
<el-table-column prop="lasteditor" header-align="center" align="center" label="最后编辑" width="80px"> </el-table-column>
<el-table-column prop="auditor" header-align="center" align="center" label="审核人" width="80px"> </el-table-column>
<el-table-column prop="editor" header-align="center" align="center" label="编辑" width="90px"> </el-table-column>
<el-table-column prop="lasteditor" header-align="center" align="center" label="最后编辑" width="90px"> </el-table-column>
<el-table-column prop="auditor" header-align="center" align="center" label="审核人" width="90px"> </el-table-column>
</el-table>
<el-pagination
@size-change="sizeChangeHandle"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment