Commit a0e58785 authored by caimeng's avatar caimeng

公告列表

parent 15fc20d3
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
v-if="true" v-if="true"
class="action-bar" class="action-bar"
> >
<div class="action-bar-left"> <div class="action-bar-left" />
<div class="action-bar-right">
<router-link to="/notice/new"> <router-link to="/notice/new">
<el-button <el-button
type="primary" type="primary"
...@@ -15,7 +16,6 @@ ...@@ -15,7 +16,6 @@
</el-button> </el-button>
</router-link> </router-link>
</div> </div>
<div class="action-bar-right" />
</div> </div>
<!--表格--> <!--表格-->
...@@ -61,13 +61,7 @@ ...@@ -61,13 +61,7 @@
type="text" type="text"
@click="handleView(row)" @click="handleView(row)"
> >
详情 上架
</el-button>
<el-button
type="text"
@click="handleView(row)"
>
推送
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
...@@ -94,54 +88,27 @@ export default { ...@@ -94,54 +88,27 @@ export default {
name: "Fence", name: "Fence",
data() { data() {
return { return {
checkList: ["产品等级", "产品编号", "产品名称", "LOGO", "机构编号", "机构名称", "产品状态","对接方式","创建时间",], checkList: ["标题", "公告内容", "公告状态","创建时间",],
columns: [ columns: [
{ {
order: 1, order: 1,
label: "产品等级", label: "标题",
prop: "gradeSort" prop: "znxTitle"
}, },
{ {
order: 2, order: 2,
label: "产品编号", label: "公告内容",
prop: "appNo" prop: "znxContent"
}, },
{ {
order: 3, order: 3,
label: "产品名称", label: "公告状态",
prop: "appName"
},
{
order: 4,
label: "LOGO",
prop: "appLogo"
},
{
order: 5,
label: "机构编号",
prop: "tenantNo",
overflow: true
},
{
order: 6,
label: "机构名称",
prop: "loanLicenseUrl"
},
{
order: 7,
label: "产品状态",
prop: "status" prop: "status"
}, },
{ {
order: 8, order: 4,
label: "对接方式",
prop: "abutmentWay"
},
{
order: 9,
width:170,
label: "创建时间", label: "创建时间",
prop: "gmtCreated" prop: "appLogo"
} }
], ],
list: [], list: [],
...@@ -228,6 +195,15 @@ export default { ...@@ -228,6 +195,15 @@ export default {
} }
.action-bar { .action-bar {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 15px; margin-bottom: 15px;
.action-bar-left,.action-bar-right{
flex:1;
}
.action-bar-right{
text-align: right;
}
} }
</style> </style>
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