Commit e2a6256b authored by baiyinhao's avatar baiyinhao

修改质量任务

parent 78509b44
...@@ -53,60 +53,14 @@ export const storageManagementColumns: BasicColumn[] = [ ...@@ -53,60 +53,14 @@ export const storageManagementColumns: BasicColumn[] = [
dataIndex: 'useTime', dataIndex: 'useTime',
width: 80, width: 80,
}, },
{
title: '执行状态',
dataIndex: 'status',
width: 120,
},
{
title: '清理策略',
dataIndex: 'type',
width: 120,
},
{
title: '清理表顶点数',
dataIndex: 'pointNum',
width: 120,
},
{
title: '清理血缘关系数',
dataIndex: 'num',
width: 120,
},
{
title: '操作者',
dataIndex: 'user',
width: 80,
},
]; ];
export const storageManagementFormSchema: FormSchema[] = [ export const storageManagementFormSchema: FormSchema[] = [
{ {
field: 'startTime', field: 'keyword',
label: '清理开始时间', label: '',
component: 'DatePicker',
colProps: { lg: 4, md: 4 },
},
{
field: 'endTime',
label: '清理结束时间',
component: 'DatePicker',
colProps: { lg: 4, md: 4 },
},
{
field: 'user',
label: '清理者',
component: 'Input', component: 'Input',
colProps: { lg: 4, md: 4 },
},
{
field: 'type',
label: '清理策略',
component: 'Select',
componentProps: { componentProps: {
options: [ placeholder: '请输入关键字搜索',
{ label: '手动清理', value: '1' },
{ label: '自动清理', value: '2' },
],
}, },
colProps: { lg: 4, md: 4 }, colProps: { lg: 4, md: 4 },
}, },
......
<template> <template>
<BasicModal <BasicModal
width="80%" width="35%"
v-bind="$attrs" v-bind="$attrs"
@register="registerModal" @register="registerModal"
:title="getTitle" :title="getTitle"
@ok="handleSubmit" @ok="handleSubmit"
> >
<div style="display: flex; justify-content: flex-end; padding-bottom: 10px"> <!-- <div style="display: flex; justify-content: flex-end; padding-bottom: 10px">
<a-button style="margin-right: 5px" type="primary" @click="deleteAll">批量删除</a-button> <a-button style="margin-right: 5px" type="primary" @click="deleteAll">批量删除</a-button>
<a-button style="margin-right: 5px" type="primary" @click="handleImport">规则设置</a-button> <a-button style="margin-right: 5px" type="primary" @click="handleImport">规则设置</a-button>
</div> </div> -->
<template #footer> <template #footer>
<a-button type="primary" @click="handleSubmit">关闭</a-button> <a-button type="primary" @click="handleSubmit">关闭</a-button>
</template> </template>
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
const { createMessage, createConfirm } = useMessage(); const { createMessage, createConfirm } = useMessage();
const title = ref(); const title = ref();
const isRunning = ref(false); const isRunning = ref(false);
const getTitle = computed(() => (!unref(isRunning) ? '配置运行' : '配置运行')); const getTitle = computed(() => (!unref(isRunning) ? '全局参数配置' : '全局参数配置'));
const tableData = ref([]); const tableData = ref([]);
//获取接口数据并放在下拉框里(这里是打开了一个弹框) //获取接口数据并放在下拉框里(这里是打开了一个弹框)
//初始化表单 //初始化表单
......
...@@ -232,13 +232,13 @@ ...@@ -232,13 +232,13 @@
} }
/** 上线 未完成 应为弹窗*/ /** 上线 未完成 应为弹窗*/
function handleQualityTaskOnline() { function handleQualityTaskOnline() {
go('/dataQuality/task'); go('/dataQuality/dataSheet/task');
isOnline.value = false; isOnline.value = false;
isOffline.value = true; isOffline.value = true;
} }
/** 下线 未完成 应为弹窗*/ /** 下线 未完成 应为弹窗*/
function handleQualityTaskOffline() { function handleQualityTaskOffline() {
go('/dataQuality/task'); go('/dataQuality/dataSheet/task');
isOnline.value = true; isOnline.value = true;
isOffline.value = false; isOffline.value = false;
} }
......
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