From 48abacbb12851bd17eada19441a1482242823eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E8=B1=AA?= <1437200870@qq.com> Date: Mon, 2 Sep 2024 11:12:49 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E5=89=8D?= =?UTF-8?q?=E5=8F=B0=E4=BB=BB=E5=8A=A1=E8=AE=BE=E8=AE=A1=E9=9B=8F=E5=BD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/task/task.js | 10 ++ src/views/components/task/formData.vue | 59 +++------- src/views/components/task/formDataOut.vue | 75 ++++++++++++ src/views/components/task/formJoin.vue | 135 ++++++++++++++++++++++ src/views/task/task/antvX6.vue | 108 +++++++++++------ src/views/task/task/index.vue | 2 +- 6 files changed, 308 insertions(+), 81 deletions(-) create mode 100644 src/views/components/task/formDataOut.vue create mode 100644 src/views/components/task/formJoin.vue diff --git a/src/api/task/task.js b/src/api/task/task.js index 6af774c..d05e80f 100644 --- a/src/api/task/task.js +++ b/src/api/task/task.js @@ -77,5 +77,15 @@ export function findByNodeId(nodeId) { }) } +//联查记录添加 +export function addTaskJoin(data) { + return request({ + url: "/task/taskJoin/addTaskJoin/", + method: "POST", + data:data + }) +} + + diff --git a/src/views/components/task/formData.vue b/src/views/components/task/formData.vue index 117a4c1..985f474 100644 --- a/src/views/components/task/formData.vue +++ b/src/views/components/task/formData.vue @@ -97,7 +97,7 @@ - + + diff --git a/src/views/components/task/formJoin.vue b/src/views/components/task/formJoin.vue new file mode 100644 index 0000000..0a111a0 --- /dev/null +++ b/src/views/components/task/formJoin.vue @@ -0,0 +1,135 @@ + + + + diff --git a/src/views/task/task/antvX6.vue b/src/views/task/task/antvX6.vue index 9c71c1d..3b15bb5 100644 --- a/src/views/task/task/antvX6.vue +++ b/src/views/task/task/antvX6.vue @@ -20,7 +20,20 @@ - + + + + + + + + + + + @@ -30,52 +43,33 @@ + diff --git a/src/views/port/port/employee.vue b/src/views/port/port/employee.vue index 0dad770..92c785a 100644 --- a/src/views/port/port/employee.vue +++ b/src/views/port/port/employee.vue @@ -21,6 +21,8 @@ 测试API 测试API 测试API + + 申请API @@ -180,8 +182,10 @@ - + +

余额:{{ userBalanceData.userBalance || '加载中...' }}

+ 共计:{{buyForm.connectorPrice*buyForm.connectorFrequency}}元