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

修改自助建表

parent 98d36d57
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
@register="registerGuideModeForm" @register="registerGuideModeForm"
> >
<template #tableConfiguration> <template #tableConfiguration>
<h1 class="title-text">表配置</h1> <span class="title-text">表配置</span>
</template> </template>
</BasicForm> </BasicForm>
<div style="margin-left: 20px"> <div style="margin-left: 20px">
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</div> </div>
<div> <div>
<div style="background: white"> <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> </div>
<BasicForm style="background: white" @register="partitionConfigurationTemplate"> <BasicForm style="background: white" @register="partitionConfigurationTemplate">
<template #tableConfiguration> <template #tableConfiguration>
...@@ -263,7 +263,6 @@ ...@@ -263,7 +263,6 @@
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 20px;
color: #1a1a1a; color: #1a1a1a;
width: 313px;
} }
.title { .title {
font-size: 16px; font-size: 16px;
......
<template> <template>
<BasicModal <BasicModal
width="40%" width="35%"
v-bind="$attrs" v-bind="$attrs"
@register="registerModal" @register="registerModal"
:title="getTitle" :title="getTitle"
@ok="handleSubmit" @ok="handleSubmit"
> >
<div class="flex"> <div class="flex">
<span style="font-size: 20px">SQL</span> <span style="font-size: 17px">SQL</span>
<textarea <textarea
v-model="sql" 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> ></textarea>
</div> </div>
<template #footer> <template #footer>
......
...@@ -7,7 +7,15 @@ ...@@ -7,7 +7,15 @@
:deptId="selectedDeptId" :deptId="selectedDeptId"
/> />
<div class="w-3/4 xl:w-4/5 m-4 mr-0" v-else> <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"> <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'" /> <Icon icon="majesticons:table-plus-line" :size="40" :color="'#e9a064'" />
<div style="margin-left: 10px"> <div style="margin-left: 10px">
<span class="title">test</span> <span class="title">test</span>
...@@ -15,8 +23,14 @@ ...@@ -15,8 +23,14 @@
<span class="path">自助建表文件/test</span> <span class="path">自助建表文件/test</span>
</div> </div>
</div> </div>
<a-button style="margin-left: 500px" type="primary" @click="handleMove(0)">复制到</a-button> </div>
<a-button style="margin-left: 10px" type="primary" @click="handleDeleteIds">删除</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="handleMove(1)">移动</a-button>
<a-button style="margin-left: 10px" type="primary" @click="handleExport('文件')" <a-button style="margin-left: 10px" type="primary" @click="handleExport('文件')"
>导出</a-button >导出</a-button
...@@ -32,6 +46,7 @@ ...@@ -32,6 +46,7 @@
>新建文件</a-button >新建文件</a-button
> >
</div> </div>
</div>
<BasicTable @register="registerTable" :searchInfo="searchInfo"> <BasicTable @register="registerTable" :searchInfo="searchInfo">
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'"> <template v-if="column.key === 'action'">
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
> >
<div class="toolbar" style="background: white"> <div class="toolbar" style="background: white">
<div style="display: flex; align-items: center"> <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'" /> <Icon icon="majesticons:table-plus-line" :size="40" :color="'#e9a064'" />
<div style="margin-left: 10px"> <div style="margin-left: 10px">
<span class="title">{{ info.name }}</span> <span class="title">{{ info.name }}</span>
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
import { Alert } from 'ant-design-vue'; import { Alert } from 'ant-design-vue';
import { useMessage } from '@/hooks/web/useMessage'; import { useMessage } from '@/hooks/web/useMessage';
import Icon from '@/components/Icon/Icon.vue'; import Icon from '@/components/Icon/Icon.vue';
import { router } from '@/router';
const { createMessage } = useMessage(); const { createMessage } = useMessage();
const isCheck = ref('false'); const isCheck = ref('false');
...@@ -82,6 +83,10 @@ ...@@ -82,6 +83,10 @@
createMessage.success('保存成功'); createMessage.success('保存成功');
} }
function goback() {
router.push('/scriptDevelopment/sqlAudit');
}
function palyStart() { function palyStart() {
setFieldsValue(info.value); 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