|
@@ -18,14 +18,14 @@
|
|
|
|
|
|
<div class="table">
|
|
|
<dilTable v-bind.sync="options">
|
|
|
- <el-table-column fixed="right" label="操作" width="150" header-align="center">
|
|
|
+ <el-table-column fixed="right" label="操作" width="200" header-align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
type="text"
|
|
|
size="small"
|
|
|
- @click="noticeDetail(scope)"
|
|
|
+ @click="showDetails(scope)"
|
|
|
>
|
|
|
- 详情
|
|
|
+ 阅读详情
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
type="text"
|
|
@@ -52,6 +52,13 @@
|
|
|
</el-table-column>
|
|
|
</dilTable>
|
|
|
</div>
|
|
|
+ <el-dialog
|
|
|
+ title="阅读详情"
|
|
|
+ :visible.sync="dialogVisible"
|
|
|
+ width="70%">
|
|
|
+ <dilTable v-bind.sync="detailOptions">
|
|
|
+ </dilTable>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -70,7 +77,14 @@ export default {
|
|
|
// first请求数据的地址
|
|
|
requestUrl: "/api/v1/ams/getCarrierNoticeList?apiId=414",
|
|
|
},
|
|
|
- userId:""
|
|
|
+ userId:"",
|
|
|
+ dialogVisible:false,
|
|
|
+ detailOptions:{
|
|
|
+ requestUrl: "/api/v1/ams/getNoticeUser?apiId=520",
|
|
|
+ requestQuery:{
|
|
|
+ noticeId:0
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -78,6 +92,11 @@ export default {
|
|
|
this.options.requestUrl = "/api/v1/ams/getCarrierNoticeList?apiId=414&con="+this.textInput;
|
|
|
},
|
|
|
|
|
|
+ showDetails(scope) {
|
|
|
+ console.log(scope.row.noticeId)
|
|
|
+ this.detailOptions.requestQuery.noticeId=scope.row.noticeId;
|
|
|
+ this.dialogVisible=true;
|
|
|
+ },
|
|
|
//发布
|
|
|
releaseNotice(scope){
|
|
|
console.log("发布")
|