This commit is contained in:
吴克举 2023-08-15 11:32:24 +08:00
parent acdcf6dee9
commit c818a6f6fa
8 changed files with 17 additions and 11 deletions

View File

@ -238,7 +238,7 @@ const passIf = ref(true);
const getDataStream = () => {
http
.post("/api/metadata/data_stream/exec", {
.post("/metadata/data_stream/exec", {
lineList: lineList.value,
nodeList: conArr.value,
streamId: 1,

View File

@ -283,7 +283,7 @@ const dataColumnList = ref([]);
const columnListData = ref([]);
const getDataStream = () => {
http
.post("/api/metadata/data_stream/exec", {
.post("/metadata/data_stream/exec", {
lineList: lineList.value,
nodeList: conArr.value,
streamId: 1,

View File

@ -173,7 +173,7 @@ const setData = () => {
const getDataStream = () => {
http
.post("/api/metadata/data_stream/exec", {
.post("/metadata/data_stream/exec", {
lineList: lineList.value,
nodeList: conArr.value,
streamId: 1,

View File

@ -42,7 +42,7 @@ const columnListData = ref([]);
const getDataStream = () => {
http
.post("/api/metadata/data_stream/exec", {
.post("/metadata/data_stream/exec", {
lineList: lineList.value,
nodeList: conArr.value,
streamId: 1,

View File

@ -201,7 +201,7 @@ const dataColumnList = ref([]);
const columnListData = ref([]);
const getDataStream = () => {
http
.post("/api/metadata/data_stream/exec", {
.post("/metadata/data_stream/exec", {
lineList: lineList.value,
nodeList: conArr.value,
streamId: 1,

View File

@ -681,7 +681,7 @@ const columnListData = ref([]);
const columnList = ref([]);
const getDataStream = () => {
http
.post("/api/metadata/data_stream/exec", {
.post("/metadata/data_stream/exec", {
lineList: data.lineList,
nodeList: conArr.value,
streamId: 1,
@ -760,7 +760,7 @@ const clickSave = () => {
console.log("submitData", submitData);
http.post("/api/metadata/data_stream/exec", submitData).then((res) => {
http.post("/metadata/data_stream/exec", submitData).then((res) => {
if (res.code == 200) {
proxy.$message.success({
content: `保存成功`,
@ -772,7 +772,7 @@ const clickSave = () => {
const getDataStreamData = () => {
http
.get("/api/metadata/data_stream", {
.get("/metadata/data_stream", {
id: 1,
})
.then((res) => {

View File

@ -57,7 +57,7 @@ const metadataName = ref(""); //选中的表单id
//
const getProject = (resolve) => {
http.get("/api/metadata/project").then((resp) => {
http.get("/metadata/project").then((resp) => {
let arr = [];
resp.data.records.map((item) => {
arr.push({
@ -76,7 +76,7 @@ const getProject = (resolve) => {
const getMetadata = (id) => {
loading.value = true;
http
.get("/api/metadata/metadataColumn", {
.get("/metadata/metadataColumn", {
metadataId: id,
})
.then((resp) => {
@ -116,7 +116,7 @@ const loadMore = (nodeData, resolve) => {
}
http
.get("api/metadata/metadata", {
.get("/metadata/metadata", {
projectId: nodeData.data.key,
})
.then((resp) => {

View File

@ -34,6 +34,12 @@ export default defineConfig({
changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, '')
// ws: true,// 开启webSocket
},
'/metadata': {
target: 'http://122.112.237.44',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
// ws: true,// 开启webSocket
}
}
}