wangting
2024-11-15 89600b73ad557ff3e1b4614536379d1a30ea78df
修改action
已修改6个文件
31 ■■■■■ 文件已修改
Source/plt-web/plt-web-ui/src/components/actions/base/ViewAction.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/components/actions/base/ViewDialogAction.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/permission.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/router/views/index.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/store/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/components/actions/base/ViewAction.js
@@ -53,11 +53,11 @@
    }
  }
  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,
@@ -68,6 +68,9 @@
  router.push({
    name: "查看详情",
    params:params,
    query:{
      name:paramVOS.title
    }
  });
}
Source/plt-web/plt-web-ui/src/components/actions/base/ViewDialogAction.js
@@ -51,11 +51,10 @@
    }
  }
  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;
Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue
@@ -354,7 +354,7 @@
      this.$refs.dataTable.rowView(row,index)
    },
    rowClickChange(row){
      this.$refs.dataTable.toggleRowSelection(row);
      this.$refs.dataTable.toggleRowSelection(row,true);
    },
    selectChange(row) {
      this.selectList = row;
Source/plt-web/plt-web-ui/src/permission.js
@@ -30,6 +30,10 @@
         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)) {
Source/plt-web/plt-web-ui/src/router/views/index.js
@@ -104,14 +104,15 @@
      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')
Source/plt-web/plt-web-ui/src/store/index.js
@@ -21,7 +21,7 @@
  },
  getters,
  state: {
    viewtabparams:undefined, //查看tab Action参数
    viewtabparams:undefined, //tab浏览 Action参数
  },
  mutations: {
    // 规程详情参数