新增在线合同查看功能,更新协议页面以使用新接口
This commit is contained in:
parent
85a00eccc1
commit
b8765918cd
@ -102,6 +102,14 @@ export async function contractView(data) {
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
export async function contractViewOnline(data) {
|
||||||
|
|
||||||
|
return await request( {
|
||||||
|
url:'/api/v1/contract/contract-view-online',
|
||||||
|
method: 'POST',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
export async function createBuyOrderV3(data) {
|
export async function createBuyOrderV3(data) {
|
||||||
|
|
||||||
return await request( {
|
return await request( {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import {showToast,showLoadingToast } from 'vant';
|
import {showToast,showLoadingToast } from 'vant';
|
||||||
import pdfView from './pdfView'
|
import pdfView from './pdfView'
|
||||||
import { contractView } from "~/api/goods/index.js"
|
import { contractViewOnline } from "~/api/goods/index.js"
|
||||||
import { signOnline } from "~/api/goods/index.js"
|
import { signOnline } from "~/api/goods/index.js"
|
||||||
import { authStore } from "~/stores/auth/index.js"
|
import { authStore } from "~/stores/auth/index.js"
|
||||||
import {useI18n} from "vue-i18n";
|
import {useI18n} from "vue-i18n";
|
||||||
@ -35,7 +35,7 @@ const toast=ref(false)
|
|||||||
// 获取拍卖笔录PDF
|
// 获取拍卖笔录PDF
|
||||||
const fetchPmblPdf = async () => {
|
const fetchPmblPdf = async () => {
|
||||||
try {
|
try {
|
||||||
const res = await contractView({
|
const res = await contractViewOnline({
|
||||||
auctionArtworkUuid: payment.value.auctionArtworkUuid,
|
auctionArtworkUuid: payment.value.auctionArtworkUuid,
|
||||||
phone:userInfo.value.telNum,
|
phone:userInfo.value.telNum,
|
||||||
registerType:1,
|
registerType:1,
|
||||||
|
Loading…
Reference in New Issue
Block a user