|
@@ -3,6 +3,7 @@
|
|
|
<el-form size="small" :inline="true" class="query-form" ref="searchForm" :model="searchForm" @keyup.enter.native="refreshList()" @submit.native.prevent>
|
|
|
<el-form-item label="创建时间" prop="searchDates">
|
|
|
<el-date-picker
|
|
|
+ placement="bottom-start"
|
|
|
v-model="searchDates"
|
|
|
type="daterange"
|
|
|
size="small"
|
|
@@ -163,7 +164,22 @@
|
|
|
created () {
|
|
|
this.taskService = new TaskService()
|
|
|
},
|
|
|
+ mounted () {
|
|
|
+ },
|
|
|
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()
|
|
|
},
|
|
|
components: {
|