This commit is contained in:
parent
0b7b53fe06
commit
91ed36b383
|
|
@ -2,7 +2,7 @@
|
|||
<div class="notice-dialog">
|
||||
<!-- 消息通知弹框 -->
|
||||
<el-dialog
|
||||
:title="noticeTitle"
|
||||
:title="noticeTitleNew"
|
||||
:width="noticeDialog.outerWidth"
|
||||
:visible.sync="noticeDialog.outerVisible"
|
||||
v-if="noticeDialog.outerVisible"
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
custom-class="center-dialog"
|
||||
>
|
||||
<el-button class="notice-num" type="primary"
|
||||
>重要通知({{ unreadNUm }}/{{ noticeNum }})</el-button
|
||||
>重要通知({{ unreadNum }}/{{ noticeNum }})</el-button
|
||||
>
|
||||
<el-button
|
||||
class="notice-known"
|
||||
|
|
@ -62,20 +62,19 @@ export default {
|
|||
noticeNum() {
|
||||
return this.noticeList.length
|
||||
},
|
||||
|
||||
noticeTitle() {
|
||||
return this.noticeList[this.unreadNUm - 1].noticeTitle
|
||||
noticeTitleNew() {
|
||||
return this.noticeList[this.unreadNum - 1].noticeTitle
|
||||
},
|
||||
noticeContent() {
|
||||
return this.removeHTMLTags(
|
||||
this.noticeList[this.unreadNUm - 1].noticeContent,
|
||||
this.noticeList[this.unreadNum - 1].noticeContent,
|
||||
)
|
||||
},
|
||||
releaseTime() {
|
||||
return this.noticeList[this.unreadNUm - 1].createTime.slice(0, 10)
|
||||
return this.noticeList[this.unreadNum - 1].createTime.slice(0, 10)
|
||||
},
|
||||
releaseCreateName() {
|
||||
return this.noticeList[this.unreadNUm - 1].nickName
|
||||
return this.noticeList[this.unreadNum - 1].nickName
|
||||
},
|
||||
},
|
||||
|
||||
|
|
@ -97,7 +96,7 @@ export default {
|
|||
noticeId: [],
|
||||
userId: sessionStorage.getItem('userId'),
|
||||
}
|
||||
params.noticeId.push(this.noticeList[this.unreadNUm - 1].noticeId)
|
||||
params.noticeId.push(this.noticeList[this.unreadNum - 1].noticeId)
|
||||
const res = await setQueryNoticeApi(params)
|
||||
this.loading = false
|
||||
if (res.code == 200) {
|
||||
|
|
@ -105,9 +104,9 @@ export default {
|
|||
this.$emit('closeDialog', false)
|
||||
return
|
||||
}
|
||||
this.unreadNUm += 1
|
||||
this.unreadNum += 1
|
||||
// 如果全部点完,则关闭弹框
|
||||
if (this.unreadNUm > this.noticeNum) {
|
||||
if (this.unreadNum > this.noticeNum) {
|
||||
this.$emit('closeDialog', false)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,10 +43,10 @@ module.exports = {
|
|||
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
|
||||
// target: `https://z.csgmall.com.cn`,
|
||||
|
||||
target: `http://192.168.2.167:28080`, //超
|
||||
// target: `http://192.168.2.167:28080`, //超
|
||||
// target: `http://10.40.92.81:28080`, //韩/
|
||||
// target: `http://10.40.92.74:8080`,//旭/
|
||||
// target: `http://192.168.2.248:28080`, //帅
|
||||
target: `http://192.168.2.248:28080`, //帅
|
||||
// target: `http://192.168.2.209:28080`, //福
|
||||
|
||||
//******** 注意事项 ********* */
|
||||
|
|
|
|||
Loading…
Reference in New Issue