| @@ -4281,7 +4281,7 @@ | |||||
| "fastclick": { | "fastclick": { | ||||
| "version": "1.0.6", | "version": "1.0.6", | ||||
| "resolved": "https://registry.npmjs.org/fastclick/-/fastclick-1.0.6.tgz", | "resolved": "https://registry.npmjs.org/fastclick/-/fastclick-1.0.6.tgz", | ||||
| "integrity": "sha1-FhYlsnsaWAZAWTa9qaLBkm0Gvmo=", | |||||
| "integrity": "sha512-cXyDBT4g0uWl/Xe75QspBDAgAWQ0lkPi/zgp6YFEUHj6WV6VIZl7R6TiDZhdOVU3W4ehp/8tG61Jev1jit+ztQ==", | |||||
| "dev": true | "dev": true | ||||
| }, | }, | ||||
| "fastparse": { | "fastparse": { | ||||
| @@ -3,7 +3,7 @@ | |||||
| import Vue from 'vue' | import Vue from 'vue' | ||||
| import App from './App' | import App from './App' | ||||
| import router from './router' | import router from './router' | ||||
| import FastClick from 'fastclick' | |||||
| // import FastClick from 'fastclick' | |||||
| Vue.config.productionTip = false | Vue.config.productionTip = false | ||||
| // import 'lib-flexible/flexible.js' | // import 'lib-flexible/flexible.js' | ||||
| import 'amfe-flexible/index.js' | import 'amfe-flexible/index.js' | ||||
| @@ -183,11 +183,11 @@ Vue.use(VueHtml5Editor,{ | |||||
| }); | }); | ||||
| /*解决手动点击与真正触发click事件会存在300ms的延迟*/ | /*解决手动点击与真正触发click事件会存在300ms的延迟*/ | ||||
| if ('addEventListener' in document) { | |||||
| document.addEventListener('DOMContentLoaded', function () { | |||||
| FastClick.attach(document.body); | |||||
| }, false); | |||||
| } | |||||
| // if ('addEventListener' in document) { | |||||
| // document.addEventListener('DOMContentLoaded', function () { | |||||
| // FastClick.attach(document.body); | |||||
| // }, false); | |||||
| // } | |||||
| //设置动态登录页 | //设置动态登录页 | ||||
| router.beforeEach((to, from, next) => { | router.beforeEach((to, from, next) => { | ||||
| @@ -3609,6 +3609,7 @@ export const constantRoutes = [ | |||||
| meta: { | meta: { | ||||
| title: '现场检查笔录', | title: '现场检查笔录', | ||||
| hidden: true, | hidden: true, | ||||
| keepAlive: true | |||||
| }, | }, | ||||
| component: (resolve) => require(['@/views/lawEnforcement/record/record'], resolve) | component: (resolve) => require(['@/views/lawEnforcement/record/record'], resolve) | ||||
| }, | }, | ||||
| @@ -3634,8 +3635,9 @@ export const constantRoutes = [ | |||||
| path: '/lawEnforcement/recordDocument', | path: '/lawEnforcement/recordDocument', | ||||
| name: 'lawEnforcementRecordDocument', | name: 'lawEnforcementRecordDocument', | ||||
| meta: { | meta: { | ||||
| title: '文书打印', | |||||
| title: '全部文书', | |||||
| hidden: true, | hidden: true, | ||||
| keepAlive: true | |||||
| }, | }, | ||||
| component: (resolve) => require(['@/views/lawEnforcement/record/recordDocument'], resolve) | component: (resolve) => require(['@/views/lawEnforcement/record/recordDocument'], resolve) | ||||
| }, | }, | ||||
| @@ -110,9 +110,10 @@ | |||||
| this.popValue = action.text; | this.popValue = action.text; | ||||
| this.queryParams.number = action.value; | this.queryParams.number = action.value; | ||||
| this.list = []; | this.list = []; | ||||
| this.finished = true; | |||||
| this.loading = true; | |||||
| this.queryParams.pageNum = 1 ; | this.queryParams.pageNum = 1 ; | ||||
| this.finished = false; | |||||
| this.loading = false; | |||||
| this.queryParams.pageSize = '9999'; | |||||
| this.getList(); | this.getList(); | ||||
| }, | }, | ||||
| goSearch(){ | goSearch(){ | ||||
| @@ -64,6 +64,22 @@ | |||||
| this.headTitle = '责令改正通知书'; | this.headTitle = '责令改正通知书'; | ||||
| } | } | ||||
| }, | }, | ||||
| beforeRouteEnter (to, from, next) { | |||||
| /* | |||||
| to:获取你要跳转的路由信息 | |||||
| from: 获取你从哪个路由来的信息 | |||||
| next: (放行函数) | |||||
| // 第一种写法 | |||||
| next(); // 直接放行 | |||||
| // 第二种 | |||||
| next('/url') //放行到指定的路由 | |||||
| */ | |||||
| next(vm => { | |||||
| if (from.path === '/lawEnforcement/index_new'){ | |||||
| location.reload() | |||||
| } | |||||
| }) | |||||
| }, | |||||
| methods: { | methods: { | ||||
| getDictionaries(){ | getDictionaries(){ | ||||
| let query = { | let query = { | ||||
| @@ -52,6 +52,22 @@ | |||||
| created() { | created() { | ||||
| this.getDictionaries() | this.getDictionaries() | ||||
| }, | }, | ||||
| beforeRouteEnter (to, from, next) { | |||||
| /* | |||||
| to:获取你要跳转的路由信息 | |||||
| from: 获取你从哪个路由来的信息 | |||||
| next: (放行函数) | |||||
| // 第一种写法 | |||||
| next(); // 直接放行 | |||||
| // 第二种 | |||||
| next('/url') //放行到指定的路由 | |||||
| */ | |||||
| next(vm => { | |||||
| if (from.path === '/lawEnforcement/index_new'){ | |||||
| location.reload() | |||||
| } | |||||
| }) | |||||
| }, | |||||
| methods: { | methods: { | ||||
| getDictionaries(){ | getDictionaries(){ | ||||
| let query = { | let query = { | ||||