diff --git a/src/api/car_contract.ts b/src/api/car_contract.ts index 309ce6a..30b3c13 100644 --- a/src/api/car_contract.ts +++ b/src/api/car_contract.ts @@ -1,6 +1,19 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 合同列表 export function apiContractLists(params: any) { - return request.get({ url: '/contract.VehicleContract/townRentList', params }) + return request.get({ url: "/contract.VehicleContract/townRentList", params }); } +// 发送合同 +// /adminapi/accnortt.VehicleContract / initiatingRentCarContract; +export function sendContract(params: any) { + return request.post({ + url: "/contract.VehicleContract/initiatingRentCarContract", + params, + }); +} +// 重新短信 +export function sendMsg(params: any) { + return request.post({ url: "/contract.contract/sendSmsAgain", params }); +} +// /adminapi//adminapi/contract.VehicleContract/initiatingRentCarContract diff --git a/src/views/card/detail.vue b/src/views/card/detail.vue index 1b273c7..d76bc25 100644 --- a/src/views/card/detail.vue +++ b/src/views/card/detail.vue @@ -117,6 +117,7 @@
租赁信息
+ @@ -317,7 +371,9 @@ const handleAvatarSuccess_three = (response, uploadFile) => { border-radius: 6px; flex-shrink: 0; } - +.upload-demo { + display: flex; +} .avatar-uploader-head .el-upload { width: 120px; height: 140px; diff --git a/src/views/contract/vehicle_list.vue b/src/views/contract/vehicle_list.vue index 08c63b2..86ca020 100644 --- a/src/views/contract/vehicle_list.vue +++ b/src/views/contract/vehicle_list.vue @@ -121,7 +121,7 @@ import { usePaging } from "@/hooks/usePaging"; import { useDictData } from "@/hooks/useDictOptions"; // import { contractList, sendContract } from "@/api/contract"; import { leaseContractList } from "@/api/contract"; - +// 测试 // import EditPopup from "./edit.vue"; // let obj = [ // {