From 5ae68e2ac8215a85885453cb2cfd4fdbf68f1795 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Mon, 17 Jan 2022 16:41:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=8E=B7=E5=8F=96=E4=BA=A4=E4=BB=98?= =?UTF-8?q?=E7=89=A9=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + apis/plugin.js | 2 ++ plugins/p-deliver/p-deliver.vue | 27 +++++++++++++++++++-------- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fff1944..253ef14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ ### 📝 文档 范围|描述|commitId --|--|-- + - | deliver http 文件更新 | [568115c](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/568115c) - | 添加交付物http测试文件 | [0b7e6ab](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/0b7e6ab) diff --git a/apis/plugin.js b/apis/plugin.js index 61267de..a3616b5 100644 --- a/apis/plugin.js +++ b/apis/plugin.js @@ -19,4 +19,6 @@ export function setupPlugin(app) { uni.$u.api.queryDeliverOfTask = param => uni.$u.post(`${defaultwbs}/deliver/queryDeliverOfTask`, param); // 检查交付物 uni.$u.api.checkDeliver = param => uni.$u.post(`${defaultwbs}/deliver/checkDeliver`, param); + // 根据任务id获取任务的交付物信息 + uni.$u.api.getDeliverByTaskId = param => uni.$u.post(`${defaultwbs}/deliver/getDeliver`, param); } diff --git a/plugins/p-deliver/p-deliver.vue b/plugins/p-deliver/p-deliver.vue index f9520e8..ad66c54 100644 --- a/plugins/p-deliver/p-deliver.vue +++ b/plugins/p-deliver/p-deliver.vue @@ -8,9 +8,9 @@ - + - {{ task.name }} + {{ deliver.deliverName }} @@ -66,8 +66,8 @@