From 0ba53a33eb8e263cf761f1071d148ee61b797d1f Mon Sep 17 00:00:00 2001 From: WeiRan <2392355487@qq.com> Date: Wed, 4 Sep 2024 09:14:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E7=AE=A1=E7=90=86=E5=AE=8C?= =?UTF-8?q?=E5=96=84=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/apitest/apitest.js | 10 ++- src/api/market/workbench.js | 9 +++ src/router/index.js | 26 +++++++- src/views/market/apitest/index.vue | 12 ++-- src/views/market/workbench/index.vue | 92 ++++++++++++++++++++++++---- 5 files changed, 130 insertions(+), 19 deletions(-) diff --git a/src/api/apitest/apitest.js b/src/api/apitest/apitest.js index 68480e4..016c551 100644 --- a/src/api/apitest/apitest.js +++ b/src/api/apitest/apitest.js @@ -13,7 +13,7 @@ export function apitest(email){ export function reducetestcount(data){ return request({ - url:"/market/product/reducetestcount", + url:"/market/producttest/reducetestcount", method: "POST", data: data }) @@ -27,6 +27,14 @@ export function iftest(data){ }) } +export function findcount(data){ + return request({ + url:"/market/producttest/findcount", + method: "POST", + data: data + }) +} + export function sendrequest(options){ diff --git a/src/api/market/workbench.js b/src/api/market/workbench.js index 21ed163..5479913 100644 --- a/src/api/market/workbench.js +++ b/src/api/market/workbench.js @@ -7,3 +7,12 @@ export function gethostportList(){ method: "GET", }) } + +export function getcompany(){ + return request({ + url:"/market/company/selectcompany", + method: "POST", + }) +} + + diff --git a/src/router/index.js b/src/router/index.js index 815bfcf..1e7b554 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -148,7 +148,31 @@ export const constantRoutes = [ path: 'index', name: 'apiupdmessage', component: () => import('@/views/background/apiupdmessage/index.vue'), - meta: { title: '接口列表', icon: 'form' } + meta: { title: '接口信息修改页面', icon: 'form' } + } + ] + }, + { + path: '/product', + component: Layout, + children: [ + { + path: 'index', + name: 'product', + component: () => import('@/views/market/product/index.vue'), + meta: { title: '数据块', icon: 'form' } + } + ] + }, + { + path: '/Workbench', + component: Layout, + children: [ + { + path: 'index', + name: 'Workbench', + component: () => import('@/views/market/workbench/index.vue'), + meta: { title: '信息', icon: 'form' } } ] }, diff --git a/src/views/market/apitest/index.vue b/src/views/market/apitest/index.vue index b157f23..5ad4004 100644 --- a/src/views/market/apitest/index.vue +++ b/src/views/market/apitest/index.vue @@ -198,7 +198,7 @@