| | |
| | | import OperaVisitsDesWindow from '@/components/business/OperaVisitsDesWindow' |
| | | import dayjs from 'dayjs' |
| | | import { |
| | | getAppHeaderNav, |
| | | taskCenterHeadPC, |
| | | taskCenterPage, |
| | | taskSignRead |
| | |
| | | }, |
| | | pagination: { |
| | | capacity: 10, |
| | | page: 1 |
| | | page: 1, |
| | | total: 0, |
| | | }, |
| | | loading: false, |
| | | dataList: [], |
| | | headData: {}, |
| | | total: 0, |
| | | |
| | | cateList: [ |
| | | { name: '访客申请', id: 0 }, |
| | |
| | | this[str] = false |
| | | this.getTaskList() |
| | | }, |
| | | handleTest (row) { |
| | | getAppHeaderNav(5).then(res => { |
| | | if (res === undefined || res == null) { |
| | | return |
| | | } |
| | | const myWindow = window.open(res) |
| | | setTimeout(() => { |
| | | myWindow.postMessage('{"method":"goToApp","argument":' + row.param5 + '}', '*') |
| | | }, 3000) |
| | | }) |
| | | }, |
| | | handleDetail (row) { |
| | | if (row.type === 7) { |
| | | this.handleTest(row); |
| | | return |
| | | } |
| | | if (this.filters.queryType == 3) { |
| | | taskSignRead({ |
| | | noticesId: row.id, |
| | |
| | | }).then(res => { |
| | | console.log('res', res) |
| | | this.dataList = res.records || [] |
| | | this.pagination.total = res.total || 0 |
| | | this.dataList.forEach(i => { |
| | | i.param1 = JSON.parse(i.param1) |
| | | }) |