From 221ad8872c99f75eec04d117ad5de0e8223af4e2 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 07 三月 2024 18:05:37 +0800 Subject: [PATCH] 纤度登记表列表接口联调 --- src/api/productManage/silkRegisterForm.js | 6 +++--- src/views/productManage/silkRegisterForm/index.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/productManage/silkRegisterForm.js b/src/api/productManage/silkRegisterForm.js index 5d79a89..7fc71f4 100644 --- a/src/api/productManage/silkRegisterForm.js +++ b/src/api/productManage/silkRegisterForm.js @@ -16,10 +16,10 @@ data }) } -// 鍒犻櫎璺熻繘璁板綍 -export function getDeleteFollowRecord(data) { +// 鍒犻櫎绾ゅ害鐧昏鍒楄〃 +export function getDeleteRegister(data) { return request({ - url: "/api/followRecord/delete", + url: "/api-jl/v1/fineness/register/"+data.id, method: "delete", data }) diff --git a/src/views/productManage/silkRegisterForm/index.vue b/src/views/productManage/silkRegisterForm/index.vue index ba237f2..3274070 100644 --- a/src/views/productManage/silkRegisterForm/index.vue +++ b/src/views/productManage/silkRegisterForm/index.vue @@ -46,7 +46,7 @@ </template> <script> -import { getFollowRecordList, getDeleteFollowRecord } from "@/api/productManage/silkRegisterForm.js" +import { getRegisterList, getDeleteRegister } from "@/api/productManage/silkRegisterForm.js" import pageMixin from "@/components/makepager/pager/mixin/pageMixin" export default { @@ -127,7 +127,7 @@ // 璇锋眰鏁版嵁 async getData() { this.loading = true - await getFollowRecordList({ + await getRegisterList({ search_map: this.search_map, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize @@ -197,7 +197,7 @@ type: "warning" }) .then(() => { - getDeleteFollowRecord({ ids: [id] }).then((response) => { + getDeleteRegister({ ids: id }).then((response) => { if (response.code === 200) { this.$message.success("鍒犻櫎鎴愬姛") this.getData() -- Gitblit v1.8.0