|
@@ -51,11 +51,11 @@
|
|
<div class="notice-table" @click.stop v-loading="loading" >
|
|
<div class="notice-table" @click.stop v-loading="loading" >
|
|
<div class="tabs">
|
|
<div class="tabs">
|
|
<ul>
|
|
<ul>
|
|
- <li style="padding-left: 0; border: none" @click="pushInfoReq.type = '';getPushInfo()" :class="pushInfoReq.type == '' ? 'active' : ''">
|
|
|
|
|
|
+ <li style="padding-left: 0; border: none" @click="pushInfoReq.whetherFlow = '';getPushInfo()" :class="pushInfoReq.whetherFlow === '' ? 'active' : ''">
|
|
全部({{pushInfoReq.total}})
|
|
全部({{pushInfoReq.total}})
|
|
</li>
|
|
</li>
|
|
- <li @click="pushInfoReq.type = 1;getPushInfo()" :class="pushInfoReq.type == 1 ? 'active' : ''">流程(0)</li>
|
|
|
|
- <li @click="pushInfoReq.type = 2;getPushInfo()" :class="pushInfoReq.type == 2 ? 'active' : ''">业务(0)</li>
|
|
|
|
|
|
+ <li @click="pushInfoReq.whetherFlow = 1;getPushInfo()" :class="pushInfoReq.whetherFlow === 1 ? 'active' : ''">流程</li>
|
|
|
|
+ <li @click="pushInfoReq.whetherFlow = 0;getPushInfo()" :class="pushInfoReq.whetherFlow === 0 ? 'active' : ''">业务</li>
|
|
</ul>
|
|
</ul>
|
|
<!-- <div class="more">查看更多></div> -->
|
|
<!-- <div class="more">查看更多></div> -->
|
|
</div>
|
|
</div>
|
|
@@ -68,7 +68,7 @@
|
|
:content="scope.row.title"
|
|
:content="scope.row.title"
|
|
placement="top"
|
|
placement="top"
|
|
>
|
|
>
|
|
- <div class="noticeData-title">{{ scope.row.title }}</div>
|
|
|
|
|
|
+ <div class="noticeData-title" @click="toDealWith(scope.row)">{{ scope.row.title }}</div>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
|
|
|
</template>
|
|
</template>
|
|
@@ -119,6 +119,18 @@ const moreFn = () => {
|
|
noticeTableModal.value = true
|
|
noticeTableModal.value = true
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+const toDealWith = (item) => {
|
|
|
|
+
|
|
|
|
+ let urlConfig = {
|
|
|
|
+ "0":'DealWith',
|
|
|
|
+ "5":'Claim',
|
|
|
|
+ "6":"Abnormal"
|
|
|
|
+ }
|
|
|
|
+ proxy.$router.push({
|
|
|
|
+ name:urlConfig[item.businessType],
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
const allReadFn = () => {
|
|
const allReadFn = () => {
|
|
ElMessageBox.confirm('此操作将会把所有未读消息标记为已读,是否继续?', '提示', {
|
|
ElMessageBox.confirm('此操作将会把所有未读消息标记为已读,是否继续?', '提示', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
@@ -219,6 +231,7 @@ let pushInfoReq = ref({
|
|
pushRead: 0,
|
|
pushRead: 0,
|
|
type: '',
|
|
type: '',
|
|
total:0,
|
|
total:0,
|
|
|
|
+ whetherFlow:'',
|
|
})
|
|
})
|
|
|
|
|
|
const handlePageChange = (val) => {
|
|
const handlePageChange = (val) => {
|
|
@@ -231,7 +244,7 @@ const getPushInfo = () => {
|
|
loading.value = true
|
|
loading.value = true
|
|
proxy.post('/pushInfo/page',pushInfoReq.value).then(res=>{
|
|
proxy.post('/pushInfo/page',pushInfoReq.value).then(res=>{
|
|
noticeData.value = res.rows
|
|
noticeData.value = res.rows
|
|
- pushInfoReq.value.total = res.total
|
|
|
|
|
|
+ pushInfoReq.value.total = pushInfoReq.value.whetherFlow === '' ? res.total : pushInfoReq.value.total
|
|
console.log(pushInfoReq)
|
|
console.log(pushInfoReq)
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
loading.value = false
|
|
loading.value = false
|