Commit 850ac6eb authored by LiXuyang's avatar LiXuyang

任务流-版本管理-改

parent cb0d63df
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
/**确定按钮*/ /**确定按钮*/
const { createMessage } = useMessage(); const { createMessage } = useMessage();
async function handleSubmit() { async function handleSubmit() {
createMessage.success('版本发布成功'); createMessage.success('版本发布成功');
closeModal(); closeModal();
emit('setUploadFlag', true); emit('setUploadFlag', true);
} }
......
...@@ -15,16 +15,27 @@ ...@@ -15,16 +15,27 @@
<div> <div>
<span style="font-size: 16px">{{ item.version }}</span> <span style="font-size: 16px">{{ item.version }}</span>
<span style="margin-left: 5px; flex: 1">{{ item.time }}</span> <span style="margin-left: 5px; flex: 1">{{ item.time }}</span>
<div>
<span>{{ item.createdBy }}</span>
</div>
</div> </div>
<div> <div>
{{ item.createdBy }} <Tooltip placement="top" title="查看详情">
<FileSearchOutlined style="font-size: 18px" @click="handleDetail(item)" /> <FileSearchOutlined
<RollbackOutlined style="font-size: 18px" @click="handleRollback(item)" /> class="right-button"
style="margin-top: 15px"
@click="handleDetail(item)"
/>
</Tooltip>
<Tooltip placement="top" title="回滚">
<RollbackOutlined
class="right-button"
style="margin: 15px 10px 0 10px"
@click="handleRollback(item)"
/>
</Tooltip>
</div> </div>
</div> </div>
<div>
<span>{{ item.remark }}</span>
</div>
</div> </div>
</template> </template>
</BasicTree> </BasicTree>
...@@ -35,7 +46,7 @@ ...@@ -35,7 +46,7 @@
<SearchOutlined /> <SearchOutlined />
</template> </template>
</Input> </Input>
<div style="display: flex"> <div style="display: flex; margin: 15px 0">
<Select v-model:value="type" style="width: 100%" :options="typeOptions" /> <Select v-model:value="type" style="width: 100%" :options="typeOptions" />
<SyncOutlined style="font-size: 18px" /> <SyncOutlined style="font-size: 18px" />
</div> </div>
...@@ -79,7 +90,7 @@ ...@@ -79,7 +90,7 @@
SyncOutlined, SyncOutlined,
} from '@ant-design/icons-vue'; } from '@ant-design/icons-vue';
import Icon from '@/components/Icon/Icon.vue'; import Icon from '@/components/Icon/Icon.vue';
import { Select, Tabs, TabPane, Input, List } from 'ant-design-vue'; import { Select, Tabs, TabPane, Input, List, Tooltip } from 'ant-design-vue';
import { BasicModal, useModalInner } from '@/components/Modal'; import { BasicModal, useModalInner } from '@/components/Modal';
import { BasicTree, TreeActionItem, ContextMenuItem } from '@/components/Tree'; import { BasicTree, TreeActionItem, ContextMenuItem } from '@/components/Tree';
import { BasicForm, useForm } from '@/components/Form'; import { BasicForm, useForm } from '@/components/Form';
...@@ -122,28 +133,20 @@ ...@@ -122,28 +133,20 @@
value: '所有任务类型', value: '所有任务类型',
}, },
{ {
label: 'SLA明细信息', label: '数据加载',
value: 'SLA明细信息', value: '数据加载',
},
{
label: 'sla沟通指标实时统计-视图',
value: 'sla沟通指标实时统计-视图',
}, },
{ {
label: '全量加载', label: '数据同步',
value: '全量加载', value: '数据同步',
}, },
{ {
label: 'sla升级频次指标实时统计-临时视图', label: '嵌套任务流',
value: 'sla升级频次指标实时统计-临时视图', value: '嵌套任务流',
}, },
{ {
label: 'sla分组件指标实时统计-临时视图', label: 'SQL任务',
value: 'sla分组件指标实时统计-临时视图', value: 'SQL任务',
},
{
label: '未解决严重sla明细',
value: '未解决严重sla明细',
}, },
]; ];
const type = ref('所有任务类型'); const type = ref('所有任务类型');
...@@ -183,3 +186,11 @@ ...@@ -183,3 +186,11 @@
closeModal(); closeModal();
} }
</script> </script>
<style scoped>
.right-button {
font-size: 18px;
}
.right-button:hover {
color: #0581ff;
}
</style>
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