|
@@ -348,6 +348,19 @@
|
|
this.noticeService = new NoticeService()
|
|
this.noticeService = new NoticeService()
|
|
},
|
|
},
|
|
activated () {
|
|
activated () {
|
|
|
|
+ // 判断是否有签章页面带过来
|
|
|
|
+ if (this.commonJS.isNotEmpty(this.$route.query.signatureUrl)) {
|
|
|
|
+ this.$confirm(`确定要前往签章页面吗?`, '提示', {
|
|
|
|
+ confirmButtonText: '确定',
|
|
|
|
+ cancelButtonText: '取消',
|
|
|
|
+ type: 'warning'
|
|
|
|
+ }).then(() => {
|
|
|
|
+ console.log('前往签章页面')
|
|
|
|
+ window.open(this.$route.query.signatureUrl, '_blank')
|
|
|
|
+ }).catch(() => {
|
|
|
|
+ console.log('取消前往签章页面')
|
|
|
|
+ })
|
|
|
|
+ }
|
|
this.refreshList()
|
|
this.refreshList()
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
@@ -358,6 +371,7 @@
|
|
// watch: {
|
|
// watch: {
|
|
// },
|
|
// },
|
|
mounted () {
|
|
mounted () {
|
|
|
|
+ console.log('123')
|
|
// 页面加载后
|
|
// 页面加载后
|
|
// 1.在执行定时器前先执行一次获取接口数据的操作函数, 否则接口会1秒钟后才调用
|
|
// 1.在执行定时器前先执行一次获取接口数据的操作函数, 否则接口会1秒钟后才调用
|
|
// 2.为了避免退出当前页面后,在其他页面也继续调用接口,退出前需要清除定时器.
|
|
// 2.为了避免退出当前页面后,在其他页面也继续调用接口,退出前需要清除定时器.
|