From db252fda6a2d5c806ada7f7a95a11e09d1a9f657 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 06 九月 2024 17:06:23 +0800 Subject: [PATCH] 查询模板 --- Source/plt-web/plt-web-ui/src/api/queryTemplate/linkTypeQuery.js | 24 ++++++++---------------- 1 files changed, 8 insertions(+), 16 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/api/queryTemplate/linkTypeQuery.js b/Source/plt-web/plt-web-ui/src/api/queryTemplate/linkTypeQuery.js index c8539ec..2e83fb8 100644 --- a/Source/plt-web/plt-web-ui/src/api/queryTemplate/linkTypeQuery.js +++ b/Source/plt-web/plt-web-ui/src/api/queryTemplate/linkTypeQuery.js @@ -1,15 +1,6 @@ import request from '@/router/axios'; //閾炬帴绫诲瀷鏌ヨ妯℃澘 -//鍒楄〃 -export function getObjTypeQTs(btName) { - return request({ - url: "/api/templateController/getObjTypeQTs", - method: "get", - params:{ - btName - } - }); -} + // 鍒涘缓 export function linkSave(params) { return request({ @@ -36,13 +27,14 @@ } // 瀵煎嚭 -export function expLinkTemplate (params) { +export function expLinkTemplate (qtNames) { return request({ url: '/api/templateController/expLinkTemplate', - method: 'get', - //headers: {'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'}, + method: 'post', responseType: 'blob', - params + data:{ + qtNames + } }) } @@ -50,9 +42,9 @@ export function impLinkTemplate (params) { return request({ url: '/api/templateController/impLinkTemplate', - method: 'get', + method: 'post', headers: {'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'}, responseType: 'blob', - params + data:params }) } -- Gitblit v1.9.3