Commit 56117f61 authored by Mac's avatar Mac

财务新增跳转方式

parent 7f6e6772
...@@ -529,9 +529,12 @@ ...@@ -529,9 +529,12 @@
}, },
goDetail: function (url, id) { goDetail: function (url, id) {
// this.$router.push({ name: url,query:{id: id, blank: 'y', tab: '资金调拨详情'}}) // this.$router.push({ name: url,query:{id: id, blank: 'y', tab: '资金调拨详情'}})
var tempStr = '/financial/financalDocument/' + url + '?id=' + id; // var tempStr = '/financial/financalDocument/' + url + '?id=' + id;
this.$router.push({ // this.$router.push({
path: tempStr // path: tempStr
// });
this.OpenNewUrl("/financial/financalDocument/"+url, {
id: id
}); });
}, },
Financial_post_GetFinancLogList: function (id) { // 获取单据日志 Financial_post_GetFinancLogList: function (id) { // 获取单据日志
......
...@@ -1761,15 +1761,18 @@ import treeItemVue from 'src/components/common/tree-table/tree-item.vue'; ...@@ -1761,15 +1761,18 @@ import treeItemVue from 'src/components/common/tree-table/tree-item.vue';
this.currentPage = 1; this.currentPage = 1;
}, },
goUrl(path, rowData, Conditon, pageIndex) { goUrl(path, rowData, Conditon, pageIndex) {
this.$router.push({ // this.$router.push({
path: '/financial/financalDocument/' + path, // path: '/financial/financalDocument/' + path,
query: { // query: {
"id": rowData.FrID, // "id": rowData.FrID,
blank: 'y', // blank: 'y',
tab: '单据详情' // tab: '单据详情'
} // }
}) // })
this.OpenNewUrl("/financial/financalDocument/"+path, {
id: rowData.FrID
});
}, },
goEit(path, type, id, edit, Conditon, pageIndex) { goEit(path, type, id, edit, Conditon, pageIndex) {
this.$router.push({ this.$router.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment