diff --git a/src/api/function.ts b/src/api/function.ts index c16e720..ad88b3c 100644 --- a/src/api/function.ts +++ b/src/api/function.ts @@ -46,4 +46,16 @@ export const DelFunctionService = (Data) => { 'token': Data.token, //token } }) +} + +export const FindModelListByFunctionName= (Data) => { + const params = new URLSearchParams(); + for (let key in Data) { + params.append(key, Data[key]) + } + return request.post('/func/find_models_by_function', params,{ + headers: { + 'token': Data.token, //token + } + }) } \ No newline at end of file diff --git a/src/components/table-edit.vue b/src/components/table-edit.vue index d8184de..7cf2478 100644 --- a/src/components/table-edit.vue +++ b/src/components/table-edit.vue @@ -39,7 +39,6 @@