|
@@ -32,7 +32,7 @@
|
|
|
position: absolute;
|
|
|
background: #fff;
|
|
|
overflow: hidden;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
.w-i-tips-item{
|
|
|
line-height: 26px;
|
|
@@ -140,7 +140,7 @@
|
|
|
max-height: 180px;
|
|
|
overflow: auto;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
@@ -161,7 +161,7 @@ overflow: auto;
|
|
|
<span class="tips-title">审核类型</span>
|
|
|
<span class="dialog-desc">{{noticeDetail.approvalTypeName?noticeDetail.approvalTypeName:'无'}}</span>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="detail-title-item clearfloat">
|
|
|
<span class="tips-title">封面图片</span>
|
|
|
<img :src="noticeDetail.coverUrl" alt="" class="dialog-image">
|
|
@@ -179,7 +179,7 @@ overflow: auto;
|
|
|
<span class="tips-title">摘要</span>
|
|
|
<span class="dialog-desc">{{noticeDetail.summaryInfo}}</span>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div v-if="noticeDetail.auditList">
|
|
|
<div v-for="item in noticeDetail.auditList" :key="item.id" >
|
|
|
<div>
|
|
@@ -199,11 +199,11 @@ overflow: auto;
|
|
|
<span class="w-i-approve">{{item.approvalOpinion}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="noticeDetail.noticeType==2 &¬iceDetail.contentType==1">
|
|
|
+ <div v-if="(noticeDetail.noticeType==2||noticeDetail.noticeType==5||noticeDetail.noticeType==6||noticeDetail.noticeType==7) &¬iceDetail.contentType==1">
|
|
|
<div class="dialog dialog-detail-con">
|
|
|
<div class="dialog-detail-wp">
|
|
|
<div class="nav-title-wrap">
|
|
@@ -216,7 +216,7 @@ overflow: auto;
|
|
|
<span class="tips-title">审核类型</span>
|
|
|
<span class="dialog-desc">{{noticeDetail.approvalTypeName?noticeDetail.approvalTypeName:'无'}}</span>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="detail-title-item clearfloat">
|
|
|
<span class="tips-title">发布内容</span>
|
|
|
<span class="dialog-desc">图文消息</span>
|
|
@@ -234,7 +234,7 @@ overflow: auto;
|
|
|
<div v-html="noticeDetail.content" class="dialog-textarea-desc" readonly="readonly"></div>
|
|
|
<!-- <div class="dialog-textarea-desc" readonly="readonly">{{noticeDetail.content}}</div > -->
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div v-if="noticeDetail.auditList">
|
|
|
<div v-for="item in noticeDetail.auditList" :key="item.id" >
|
|
|
<div>
|
|
@@ -254,11 +254,11 @@ overflow: auto;
|
|
|
<span class="w-i-approve">{{item.approvalOpinion}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="noticeDetail.noticeType==2 &¬iceDetail.contentType==2">
|
|
|
+ <div v-if="(noticeDetail.noticeType==2||noticeDetail.noticeType==5||noticeDetail.noticeType==6||noticeDetail.noticeType==7) &¬iceDetail.contentType==2">
|
|
|
<div class="dialog dialog-detail-con">
|
|
|
<div class="dialog-detail-wp">
|
|
|
<div class="nav-title-wrap">
|
|
@@ -271,17 +271,17 @@ overflow: auto;
|
|
|
<span class="tips-title">审核类型</span>
|
|
|
<span class="dialog-desc">{{noticeDetail.approvalTypeName?noticeDetail.approvalTypeName:'无'}}</span>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="detail-title-item clearfloat">
|
|
|
<span class="tips-title">发布内容</span>
|
|
|
<span class="dialog-desc">跳转链接</span>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="detail-title-item clearfloat">
|
|
|
<span class="tips-title">跳转链接</span>
|
|
|
<span class="dialog-desc">{{noticeDetail.urlAddress}}</span>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div v-if="noticeDetail.auditList">
|
|
|
<div v-for="item in noticeDetail.auditList" :key="item.id" >
|
|
|
<div>
|
|
@@ -301,7 +301,7 @@ overflow: auto;
|
|
|
<span class="w-i-approve">{{item.approvalOpinion}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -318,7 +318,7 @@ overflow: auto;
|
|
|
<span class="tips-title">审核类型</span>
|
|
|
<span class="dialog-desc">{{noticeDetail.approvalTypeName?noticeDetail.approvalTypeName:'无'}}</span>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="detail-title-item clearfloat">
|
|
|
<span class="tips-title">主题</span>
|
|
|
<span class="dialog-desc">{{noticeDetail.title}}</span>
|
|
@@ -328,7 +328,7 @@ overflow: auto;
|
|
|
<div v-html="noticeDetail.content" class="dialog-textarea-desc" readonly="readonly"></div>
|
|
|
<!-- <div class="dialog-textarea-desc" readonly="readonly">{{noticeDetail.content}}</div > -->
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div v-if="noticeDetail.auditList">
|
|
|
<div v-for="item in noticeDetail.auditList" :key="item.id" >
|
|
|
<div>
|
|
@@ -348,7 +348,7 @@ overflow: auto;
|
|
|
<span class="w-i-approve">{{item.approvalOpinion}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -360,7 +360,7 @@ overflow: auto;
|
|
|
<span class="dialog-desc" >
|
|
|
<span>{{item.createTime?formatTime(item.createTime):""}} </span>
|
|
|
<span class="mg-l-20">{{item.content}}</span>
|
|
|
-
|
|
|
+
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -380,7 +380,7 @@ overflow: auto;
|
|
|
</div>
|
|
|
<div class="detail-title-item clearfloat" v-if="showTable && showTable.length > 0">
|
|
|
<span class="tips-title"></span>
|
|
|
- <el-table :data="showTable" style="width: 601px;max-height: 350px;overflow: auto;" border
|
|
|
+ <el-table :data="showTable" style="width: 601px;max-height: 350px;overflow: auto;" border
|
|
|
class="table-box-index mg-l-58" >
|
|
|
<el-table-column prop="department" label="部门" width="250"> </el-table-column>
|
|
|
<el-table-column prop="username" label="用户" width="250"> </el-table-column>
|
|
@@ -407,8 +407,8 @@ overflow: auto;
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
</div>
|
|
|
<script type="text/javascript">
|
|
|
// 在页面加载好后就初始化vue实例,也可以在外面直接初始化
|
|
@@ -437,10 +437,10 @@ overflow: auto;
|
|
|
orgId:'',
|
|
|
readNun:'',
|
|
|
tbRecordList:[],
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
methods:{
|
|
|
formatTime(v) {
|
|
|
var date = new Date(v);//时间戳为10位需*1000,时间戳为13位的话不需乘1000
|
|
@@ -462,7 +462,7 @@ overflow: auto;
|
|
|
data: {
|
|
|
id: _this.detailId,
|
|
|
orgId:_this.orgId,
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
success: function (data) {
|
|
|
if (data.code == 200) {
|
|
@@ -471,7 +471,7 @@ overflow: auto;
|
|
|
}
|
|
|
},
|
|
|
error: function (error) {
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -484,7 +484,7 @@ overflow: auto;
|
|
|
})
|
|
|
.then(() => {
|
|
|
_this.exprotHandler();
|
|
|
-
|
|
|
+
|
|
|
})
|
|
|
.catch(() => {});
|
|
|
},
|
|
@@ -524,8 +524,8 @@ overflow: auto;
|
|
|
//contentType 图文类型: 1 图文消息 ;2 跳转链接
|
|
|
* 显示详情弹窗 noticeType 创建公告类型 1 公告 2 banner图文链接 3 banner跳转链接 4 生成链接
|
|
|
* @param id
|
|
|
- *
|
|
|
- *
|
|
|
+ *
|
|
|
+ *
|
|
|
*/
|
|
|
ajaxDetail(id){
|
|
|
let _this = this
|
|
@@ -613,9 +613,9 @@ overflow: auto;
|
|
|
}else{
|
|
|
_this.showTable=[]
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
error: function (error) {
|
|
@@ -630,9 +630,9 @@ overflow: auto;
|
|
|
if (r != null) return unescape(r[2]);
|
|
|
return null;
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
created(){
|
|
|
var id = this.getQueryString("id")
|
|
@@ -652,4 +652,4 @@ overflow: auto;
|
|
|
|
|
|
|
|
|
</body>
|
|
|
-</html>
|
|
|
+</html>
|