diff --git a/src/api/Pricesystem/index.js b/src/api/Pricesystem/index.js index 5fa7398c..5992fc4d 100644 --- a/src/api/Pricesystem/index.js +++ b/src/api/Pricesystem/index.js @@ -56,10 +56,12 @@ export const $_putpriceTemplate = data => { }); }; -// 查看详情 +/** + * 查看详情 + */ export const $_InfopriceTemplate = params => { return request({ - url: '/api/logpm-basicdata/priceTemplate/' + params.id, + url: '/api/logpm-basicdata/basicdataPrice/' + params.id, method: 'get', }); }; diff --git a/src/views/Pricesystem/ListOfPriceSystems.vue b/src/views/Pricesystem/ListOfPriceSystems.vue index 34306065..71cc4dbf 100644 --- a/src/views/Pricesystem/ListOfPriceSystems.vue +++ b/src/views/Pricesystem/ListOfPriceSystems.vue @@ -413,14 +413,15 @@ const Deletetemplate = () => { }); }; -// 修改模板 +// 设置价格 const Modifytemplate = row => { console.log(row); $router.push({ query: { id: row.id, + templateId: row.templateId, }, - path: '/financialsector/FinanceHome', + path: '/Pricesystem/PricesyHome', }); }; diff --git a/src/views/Pricesystem/PricesyHome.vue b/src/views/Pricesystem/PricesyHome.vue index 13aff3dd..9ae5734c 100644 --- a/src/views/Pricesystem/PricesyHome.vue +++ b/src/views/Pricesystem/PricesyHome.vue @@ -1,59 +1,5 @@ - +