| | |
| | | } |
| | | } |
| | | paramVOS.component=component; |
| | | let name="查看详情" |
| | | if(paramVOS.showname){ |
| | | name="查看【"+replaceFreeMarker(paramVOS.showname,options.dataStore,options.sourceData)+"】" |
| | | const name="查看【"+replaceFreeMarker(paramVOS.showname,options.dataStore,options.sourceData)+"】"; |
| | | paramVOS.title=name; |
| | | } |
| | | paramVOS.title=name; |
| | | |
| | | const params= { |
| | | options:options, |
| | | paramVOS:paramVOS, |
| | |
| | | router.push({ |
| | | name: "查看详情", |
| | | params:params, |
| | | query:{ |
| | | name:paramVOS.title |
| | | } |
| | | }); |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | paramVOS.component=component; |
| | | let name="查看详情" |
| | | if(paramVOS.showname){ |
| | | name="查看【"+replaceFreeMarker(paramVOS.showname,options.dataStore,options.sourceData)+"】" |
| | | const name="查看【"+replaceFreeMarker(paramVOS.showname,options.dataStore,options.sourceData)+"】" |
| | | paramVOS.title=name; |
| | | } |
| | | paramVOS.title=name; |
| | | const dialogConstructor = Vue.extend(ViewDialog); |
| | | let instance = new dialogConstructor(); |
| | | instance.sourceData = options.sourceData; |
| | |
| | | this.$refs.dataTable.rowView(row,index) |
| | | }, |
| | | rowClickChange(row){ |
| | | this.$refs.dataTable.toggleRowSelection(row); |
| | | this.$refs.dataTable.toggleRowSelection(row,true); |
| | | }, |
| | | selectChange(row) { |
| | | this.selectList = row; |
| | |
| | | const label = to.query.name || to.name; |
| | | const meta = to.meta || router.$avueRouter.meta || {}; |
| | | const i18n = to.query.i18n; |
| | | if(to.query.name){ |
| | | //修改路由标题 |
| | | meta.title=to.query.name; |
| | | } |
| | | if (to.query.target) { |
| | | window.open(value) |
| | | } else if (meta.isTab !== false && !validatenull(value) && !validatenull(label)) { |
| | |
| | | import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail') |
| | | }] |
| | | },{ |
| | | path: '/viewTab', |
| | | path: '/base', |
| | | component: Layout, |
| | | redirect: '/viewTab/index', |
| | | redirect: '/viewTab', |
| | | children: [{ |
| | | path: 'index', |
| | | path: 'viewTab', |
| | | name: '查看详情', |
| | | meta: { |
| | | i18n: 'viewTab' |
| | | i18n: 'viewTab', |
| | | title:'查看详情' |
| | | }, |
| | | component: () => |
| | | import('@/views/base/ViewTab') |
| | |
| | | }, |
| | | getters, |
| | | state: { |
| | | viewtabparams:undefined, //查看tab Action参数 |
| | | viewtabparams:undefined, //tab浏览 Action参数 |
| | | }, |
| | | mutations: { |
| | | // 规程详情参数 |