소스 검색

数据建模

xuezizhuo 2 년 전
부모
커밋
8f2ee799eb
3개의 변경된 파일1184개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      ruoyi-ui/src/api/dataEngine/index.js
  2. 84 0
      ruoyi-ui/src/views/dataEngine/datamodeling/index.vue
  3. 1089 0
      sql/ry-vue2023-6-19-3.sql

+ 11 - 0
ruoyi-ui/src/api/dataEngine/index.js

@@ -0,0 +1,11 @@
+import request from '@/utils/request'
+
+export function tableInfoList() {
+  return request({
+    url: '/tableInfo/tableInfoList?databaseName=',
+    method: 'get',
+    baseURL:process.env.VUE_APP_BASE_API2
+  })
+}
+
+  

+ 84 - 0
ruoyi-ui/src/views/dataEngine/datamodeling/index.vue

@@ -0,0 +1,84 @@
+<template>
+  <div class="app-container">
+
+    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="表名称" prop="tableName">
+        <el-input v-model="queryParams.tableName" placeholder="请输入表名称" clearable @keyup.enter.native="handleQuery" />
+      </el-form-item>
+      <el-form-item label="表描述" prop="tableComment">
+        <el-input v-model="queryParams.tableComment" placeholder="请输入表描述" clearable @keyup.enter.native="handleQuery" />
+      </el-form-item>
+      <el-form-item>
+        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+  
+    <el-row :gutter="10" class="mb8">
+      <el-col :span="1.5">
+        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
+          >新增</el-button>
+      </el-col>
+      
+      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="aaaList">
+      <el-table-column label="表名称" align="center" prop="tableName" />
+      <el-table-column label="表描述" align="center" prop="tableComment" />
+      <el-table-column label="创建时间" align="center" prop="createTime" />
+    </el-table>
+
+    <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
+      @pagination="getList" />
+  </div>
+</template>
+  
+<script>
+import { tableInfoList } from '@/api/dataEngine/index'
+export default {
+  name: "Aaa",
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      showSearch: true,
+      aaaList: [],
+      total: 10,
+      queryParams: {
+        pageNum: 1,
+        pageSize: 10,
+        tableName: null,
+        tableComment: null
+      }
+    }
+  },
+  created() {
+    this.getList();
+  },
+  methods: {
+    getList() {
+      this.loading = true;
+      tableInfoList().then(response => {
+        this.aaaList = response.data;
+        this.loading = false;
+      });
+    },
+    /** 新增按钮操作 */
+    handleAdd() {
+      this.$router.push("datasheet")
+    },
+    /** 搜索按钮操作 */
+    handleQuery() {
+      this.queryParams.pageNum = 1;
+      this.getList();
+    },
+    /** 重置按钮操作 */
+    resetQuery() {
+      this.resetForm("queryForm");
+      this.handleQuery();
+    },
+  }
+}
+</script>
+  

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1089 - 0
sql/ry-vue2023-6-19-3.sql


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.