Commit 91ea3178 authored by Facius's avatar Facius

feat: 报价接口更换

parent f570b059
Pipeline #6612 canceled with stages
...@@ -15,6 +15,14 @@ export async function getBrandV3(data) { ...@@ -15,6 +15,14 @@ export async function getBrandV3(data) {
}) })
} }
export async function getBrandV4(data) {
return request({
url: `/rest/anno/offer/v4/getProductInfo`,
method: 'GET',
data
})
}
export function getOffer(data) { export function getOffer(data) {
return request({ return request({
url: `/rest/anno/offer/getOffer`, url: `/rest/anno/offer/getOffer`,
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<script> <script>
import QuotedPriceTips from '../components/quoted-price-tips.vue'; import QuotedPriceTips from '../components/quoted-price-tips.vue';
import QuotedPriceCrumbs from '../components/quoted-price-crumbs.vue'; import QuotedPriceCrumbs from '../components/quoted-price-crumbs.vue';
import { getBrand,getBrandV3 } from '@/api/bill/quoted-price.js'; import { getBrand,getBrandV4 } from '@/api/bill/quoted-price.js';
export default { export default {
components: { components: {
QuotedPriceTips, QuotedPriceTips,
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
this.initScrollView().then(() => { this.initScrollView().then(() => {
/* 获取列表数据,你的代码从此处开始 */ /* 获取列表数据,你的代码从此处开始 */
// this.getList(); // this.getList();
this.getBrandV3() this.getBrandV4()
}); });
}, 100); }, 100);
}, },
...@@ -135,8 +135,10 @@ export default { ...@@ -135,8 +135,10 @@ export default {
}); });
}, },
getBrandV3() { getBrandV4() {
getBrandV3().then((res)=> { getBrandV4({
serviceType: 'AZ'
}).then((res)=> {
if (res.data) { if (res.data) {
this.leftArray = res.data this.leftArray = res.data
this.mainArray = res.data this.mainArray = res.data
......
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