From 459eb95b4d18f081f769ba9cb2d3b101c1fb49f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E7=86=99=E6=9C=9D?=
<13694051+wangxizhao123@user.noreply.gitee.com>
Date: Mon, 13 May 2024 22:41:18 +0800
Subject: [PATCH] =?UTF-8?q?feat()=E9=9A=8F=E6=9C=BA=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/accredit.js | 7 ++
src/api/test/testData.js | 9 ++
src/views/engine/edition/index.vue | 152 ++++++++++++++++++++++++++---
3 files changed, 155 insertions(+), 13 deletions(-)
create mode 100644 src/api/test/testData.js
diff --git a/src/api/system/accredit.js b/src/api/system/accredit.js
index 48abb51..8083223 100644
--- a/src/api/system/accredit.js
+++ b/src/api/system/accredit.js
@@ -89,6 +89,13 @@ export function selectFrimary(data) {
})
}
+export function selectTableList(id) {
+ return request({
+ url: '/system/accredit/selectTableList/'+ id ,
+ method: 'post'
+ })
+}
+
export function selStatus(databaseName,tableName) {
return request({
url: '/system/accredit/selStatus?databaseName=' + databaseName + '&tableName=' + tableName,
diff --git a/src/api/test/testData.js b/src/api/test/testData.js
new file mode 100644
index 0000000..e73ed67
--- /dev/null
+++ b/src/api/test/testData.js
@@ -0,0 +1,9 @@
+import request from '@/utils/request'
+
+// 查询引擎列表
+export function randomField(id,tableName) {
+ return request({
+ url: '/test/data/randomField?id=' + id + "&tableName=" + tableName,
+ method: 'get'
+ })
+}
diff --git a/src/views/engine/edition/index.vue b/src/views/engine/edition/index.vue
index 0f28ceb..e6f9908 100644
--- a/src/views/engine/edition/index.vue
+++ b/src/views/engine/edition/index.vue
@@ -149,21 +149,122 @@
-
-
- {{}}
-
-
-
-
-
-
-
+
+ {{selectList.versionClass}}
+ {{selectList.name}}
+ {{selectList.versionCode}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选择资产结构
+
+
+
+
+
+
+
+
+
+ 选择资产模型
+
+
+
+ 任务
+
+
+
+
+
+ 选择资产模型
+
+ 数据集
+
+
+
+
+
+
+
+
+
+
+ 选择资产模型
+
+ 记录
+
+
+
+
+
+
+
+
+
+
+
+ 选择资产模型
+
+ 数据字段
+
+
+
+
+
+
+
+
+
+ 选择字段
+
+ 记录
+
+
+
+ 选择字段
+
+ 字段
+
+
+ {{tab.val}}
+
+
+
@@ -172,6 +273,8 @@