|
@ -11,37 +11,6 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="bg-[#fff] p-5"> |
|
|
<div class="bg-[#fff] p-5"> |
|
|
<a-spin :spinning="loading"> |
|
|
<a-spin :spinning="loading"> |
|
|
<div class="my-3"> |
|
|
|
|
|
<a-steps :current="current" size="small"> |
|
|
|
|
|
<a-step title="初始化"> |
|
|
|
|
|
<template #icon> |
|
|
|
|
|
<SvgIcon :size="22" name="init" /> |
|
|
|
|
|
</template> |
|
|
|
|
|
</a-step> |
|
|
|
|
|
|
|
|
|
|
|
<a-step title="退回"> |
|
|
|
|
|
<template #icon> |
|
|
|
|
|
<SvgIcon :size="24" name="back" /> |
|
|
|
|
|
</template> |
|
|
|
|
|
</a-step> |
|
|
|
|
|
<a-step title="开发"> |
|
|
|
|
|
<template #icon> |
|
|
|
|
|
<SvgIcon :size="24" name="dev" /> |
|
|
|
|
|
</template> |
|
|
|
|
|
</a-step> |
|
|
|
|
|
<a-step title="测试"> |
|
|
|
|
|
<template #icon> |
|
|
|
|
|
<SvgIcon :size="24" name="test" /> |
|
|
|
|
|
</template> |
|
|
|
|
|
</a-step> |
|
|
|
|
|
<a-step title="结束"> |
|
|
|
|
|
<template #icon> |
|
|
|
|
|
<SvgIcon :size="24" name="end" /> |
|
|
|
|
|
</template> |
|
|
|
|
|
</a-step> |
|
|
|
|
|
</a-steps> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<a-tabs default-active-key="1"> |
|
|
<a-tabs default-active-key="1"> |
|
|
<a-tab-pane key="1" tab="基础信息"> |
|
|
<a-tab-pane key="1" tab="基础信息"> |
|
|
<SchemaForm> |
|
|
<SchemaForm> |
|
@ -58,16 +27,6 @@ |
|
|
</template> |
|
|
</template> |
|
|
</SchemaForm> |
|
|
</SchemaForm> |
|
|
</a-tab-pane> |
|
|
</a-tab-pane> |
|
|
<a-tab-pane key="2" tab="处理历史"> |
|
|
|
|
|
<a-steps progress-dot :current="historyList.length - 1" direction="vertical"> |
|
|
|
|
|
<a-step |
|
|
|
|
|
v-for="(item, index) in historyList" |
|
|
|
|
|
:key="index" |
|
|
|
|
|
:title="item.title" |
|
|
|
|
|
:description="item.remark" |
|
|
|
|
|
/> |
|
|
|
|
|
</a-steps> |
|
|
|
|
|
</a-tab-pane> |
|
|
|
|
|
</a-tabs> |
|
|
</a-tabs> |
|
|
</a-spin> |
|
|
</a-spin> |
|
|
</div> |
|
|
</div> |
|
@ -80,7 +39,7 @@ |
|
|
import { getEditFormSchema } from './formSchemas'; |
|
|
import { getEditFormSchema } from './formSchemas'; |
|
|
import { useRoute } from 'vue-router'; |
|
|
import { useRoute } from 'vue-router'; |
|
|
import { onMounted, ref } from 'vue'; |
|
|
import { onMounted, ref } from 'vue'; |
|
|
import { findOneById } from '@/api/issue'; |
|
|
|
|
|
|
|
|
import { findOneById } from '@/api/knowledgeBase'; |
|
|
import { SvgIcon } from '@/components/basic/svg-icon'; |
|
|
import { SvgIcon } from '@/components/basic/svg-icon'; |
|
|
import { stateTypeList } from './data'; |
|
|
import { stateTypeList } from './data'; |
|
|
const route = useRoute(); |
|
|
const route = useRoute(); |
|
|