Commit 4b1e8914 authored by 罗林杰's avatar 罗林杰

修改自助建表

parent 98d36d57
......@@ -27,7 +27,7 @@
@register="registerGuideModeForm"
>
<template #tableConfiguration>
<h1 class="title-text">表配置</h1>
<span class="title-text">表配置</span>
</template>
</BasicForm>
<div style="margin-left: 20px">
......@@ -53,7 +53,7 @@
</div>
<div>
<div style="background: white">
<a-button type="primary" style="margin-left: 5px" @click="addFields">添加字段</a-button>
<a-button type="primary" style="margin-left: 100px;margin-top: 10px" @click="addFields">添加字段</a-button>
</div>
<BasicForm style="background: white" @register="partitionConfigurationTemplate">
<template #tableConfiguration>
......@@ -263,7 +263,6 @@
font-weight: bold;
font-size: 20px;
color: #1a1a1a;
width: 313px;
}
.title {
font-size: 16px;
......
<template>
<BasicModal
width="40%"
width="35%"
v-bind="$attrs"
@register="registerModal"
:title="getTitle"
@ok="handleSubmit"
>
<div class="flex">
<span style="font-size: 20px">SQL</span>
<span style="font-size: 17px">SQL</span>
<textarea
v-model="sql"
style="width: 70%; height: 250px; margin-left: 30px; border: black 1px solid"
style="width: 100%; height: 250px; margin-left: 10px; border: black 1px solid"
></textarea>
</div>
<template #footer>
......
......@@ -7,30 +7,45 @@
:deptId="selectedDeptId"
/>
<div class="w-3/4 xl:w-4/5 m-4 mr-0" v-else>
<div style="display: flex; align-items: center; background-color: white">
<Icon icon="majesticons:table-plus-line" :size="40" :color="'#e9a064'" />
<div style="margin-left: 10px">
<span class="title">test</span>
<div>
<span class="path">自助建表文件/test</span>
<div
style="
justify-content: space-between;
display: flex;
align-items: center;
background-color: white;
"
>
<div style="display: flex; align-content: center">
<Icon icon="majesticons:table-plus-line" :size="40" :color="'#e9a064'" />
<div style="margin-left: 10px">
<span class="title">test</span>
<div>
<span class="path">自助建表文件/test</span>
</div>
</div>
</div>
<a-button style="margin-left: 500px" type="primary" @click="handleMove(0)">复制到</a-button>
<a-button style="margin-left: 10px" type="primary" @click="handleDeleteIds">删除</a-button>
<a-button style="margin-left: 10px" type="primary" @click="handleMove(1)">移动</a-button>
<a-button style="margin-left: 10px" type="primary" @click="handleExport('文件')"
>导出</a-button
>
<a-button style="margin-left: 10px" type="primary" @click="handleExport('模板')"
>导出模版</a-button
>
<a-button style="margin-left: 10px" type="primary" @click="handleImport">导入</a-button>
<a-button style="margin-left: 10px" type="primary" @click="handleNewFolder"
>新建文件夹</a-button
>
<a-button style="margin-left: 10px" type="primary" @click="handleNewFile"
>新建文件</a-button
>
<div>
<a-button style="margin-left: 500px" type="primary" @click="handleMove(0)"
>复制到</a-button
>
<a-button style="margin-left: 10px" type="primary" @click="handleDeleteIds"
>删除</a-button
>
<a-button style="margin-left: 10px" type="primary" @click="handleMove(1)">移动</a-button>
<a-button style="margin-left: 10px" type="primary" @click="handleExport('文件')"
>导出</a-button
>
<a-button style="margin-left: 10px" type="primary" @click="handleExport('模板')"
>导出模版</a-button
>
<a-button style="margin-left: 10px" type="primary" @click="handleImport">导入</a-button>
<a-button style="margin-left: 10px" type="primary" @click="handleNewFolder"
>新建文件夹</a-button
>
<a-button style="margin-left: 10px" type="primary" @click="handleNewFile"
>新建文件</a-button
>
</div>
</div>
<BasicTable @register="registerTable" :searchInfo="searchInfo">
<template #bodyCell="{ column, record }">
......
......@@ -9,7 +9,7 @@
>
<div class="toolbar" style="background: white">
<div style="display: flex; align-items: center">
<Icon icon="ion:arrow-back-sharp" :size="30" :color="'#0e0d0d'" />
<Icon @click="goback" icon="ion:arrow-back-sharp" :size="30" :color="'#0e0d0d'" />
<Icon icon="majesticons:table-plus-line" :size="40" :color="'#e9a064'" />
<div style="margin-left: 10px">
<span class="title">{{ info.name }}</span>
......@@ -57,6 +57,7 @@
import { Alert } from 'ant-design-vue';
import { useMessage } from '@/hooks/web/useMessage';
import Icon from '@/components/Icon/Icon.vue';
import { router } from '@/router';
const { createMessage } = useMessage();
const isCheck = ref('false');
......@@ -82,6 +83,10 @@
createMessage.success('保存成功');
}
function goback() {
router.push('/scriptDevelopment/sqlAudit');
}
function palyStart() {
setFieldsValue(info.value);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment