数据迁移应用调整前端样式
This commit is contained in:
parent
69a05b8ee4
commit
62d6a316d1
@ -23,7 +23,7 @@
|
|||||||
:on-exceed="handleExceed"
|
:on-exceed="handleExceed"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
>
|
>
|
||||||
<el-button type="primary" @click="handleUploadBtn">导入Word文件</el-button>
|
<awsui-button type="primary" @click="handleUploadBtn">导入Word文件</awsui-button>
|
||||||
<template #tip>
|
<template #tip>
|
||||||
<div class="el-upload__tip">
|
<div class="el-upload__tip">
|
||||||
仅支持Word格式文本
|
仅支持Word格式文本
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
<div class="action-box">
|
<div class="action-box">
|
||||||
<el-button style="cursor: pointer" type="primary" @click="next">下一步</el-button>
|
<awsui-button style="cursor: pointer" type="primary" @click="next">下一步</awsui-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="data-import">
|
<div class="data-import">
|
||||||
<div class="top-box">
|
<div class="top-box">
|
||||||
<div class="title-box">批处理工具导入</div>
|
<div class="title-box">批处理工具</div>
|
||||||
<div class="step-box">
|
<div class="step-box">
|
||||||
<el-steps :active="info.activeStep" finish-status="success">
|
<el-steps :active="info.activeStep" finish-status="success">
|
||||||
<el-step :title="item.title" v-for="item in info.steps" />
|
<el-step :title="item.title" v-for="item in info.steps" />
|
||||||
@ -23,7 +23,7 @@
|
|||||||
:on-exceed="handleExceed"
|
:on-exceed="handleExceed"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
>
|
>
|
||||||
<el-button type="primary" @click="handleUploadBtn">导入Word文件</el-button>
|
<awsui-button type="primary" @click="handleUploadBtn">导入Word文件</awsui-button>
|
||||||
<template #tip>
|
<template #tip>
|
||||||
<div class="el-upload__tip">
|
<div class="el-upload__tip">
|
||||||
仅支持Word格式文本
|
仅支持Word格式文本
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
<div class="action-box">
|
<div class="action-box">
|
||||||
<el-button style="cursor: pointer" type="primary" @click="next">下一步</el-button>
|
<awsui-button style="cursor: pointer" type="primary" @click="next">下一步</awsui-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="data-import">
|
<div class="data-import">
|
||||||
<div class="top-box">
|
<div class="top-box">
|
||||||
<div class="title-box">IT系统图导入</div>
|
<div class="title-box">IT系统导入</div>
|
||||||
<div class="step-box">
|
<div class="step-box">
|
||||||
<el-steps :active="info.activeStep" finish-status="success">
|
<el-steps :active="info.activeStep" finish-status="success">
|
||||||
<el-step :title="item.title" v-for="item in info.steps" />
|
<el-step :title="item.title" v-for="item in info.steps" />
|
||||||
@ -23,7 +23,7 @@
|
|||||||
:on-exceed="handleExceed"
|
:on-exceed="handleExceed"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
>
|
>
|
||||||
<el-button type="primary" @click="handleUploadBtn">导入Excel文件</el-button>
|
<awsui-button type="primary" @click="handleUploadBtn">导入Excel文件</awsui-button>
|
||||||
<template #tip>
|
<template #tip>
|
||||||
<div class="el-upload__tip">
|
<div class="el-upload__tip">
|
||||||
仅支持Excel格式文本
|
仅支持Excel格式文本
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
<div class="action-box">
|
<div class="action-box">
|
||||||
<el-button style="cursor: pointer" type="primary" @click="next">下一步</el-button>
|
<awsui-button style="cursor: pointer" type="primary" @click="next">下一步</awsui-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
:on-exceed="handleExceed"
|
:on-exceed="handleExceed"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
>
|
>
|
||||||
<el-button type="primary" @click="handleUploadBtn">导入Word文件</el-button>
|
<awsui-button type="primary" @click="handleUploadBtn">导入Word文件</awsui-button>
|
||||||
<template #tip>
|
<template #tip>
|
||||||
<div class="el-upload__tip">
|
<div class="el-upload__tip">
|
||||||
仅支持Word格式文本
|
仅支持Word格式文本
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
<div class="action-box">
|
<div class="action-box">
|
||||||
<el-button style="cursor: pointer" type="primary" @click="next">下一步</el-button>
|
<awsui-button style="cursor: pointer" type="primary" @click="next">下一步</awsui-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="data-migration">
|
<div class="data-migration">
|
||||||
<div class="top-box">
|
<div class="top-box">
|
||||||
<div class="title-box">数据迁移</div>
|
<div class="title-box">Aris流程导入</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom-box">
|
<div class="bottom-box">
|
||||||
<div class="empty-box" v-if="info.fileList.length === 0">
|
<div class="empty-box" v-if="info.fileList.length === 0">
|
||||||
@ -18,7 +18,7 @@
|
|||||||
:on-exceed="handleExceed"
|
:on-exceed="handleExceed"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
>
|
>
|
||||||
<el-button type="primary" @click="handleUploadBtn">导入ARIS XML文件</el-button>
|
<awsui-button type="primary" @click="handleUploadBtn">导入ARIS XML文件</awsui-button>
|
||||||
<template #tip>
|
<template #tip>
|
||||||
<div class="el-upload__tip">
|
<div class="el-upload__tip">
|
||||||
仅支持XML格式文本
|
仅支持XML格式文本
|
||||||
@ -35,7 +35,7 @@
|
|||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
<div class="action-box" v-if="info.fileList.length > 0">
|
<div class="action-box" v-if="info.fileList.length > 0">
|
||||||
<el-button style="cursor: pointer" type="primary" @click="next">执行导入</el-button>
|
<awsui-button style="cursor: pointer" type="primary" @click="next">执行导入</awsui-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
:on-exceed="handleExceed"
|
:on-exceed="handleExceed"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
>
|
>
|
||||||
<el-button type="primary" @click="handleUploadBtn">导入Word文件</el-button>
|
<awsui-button type="primary" @click="handleUploadBtn">导入Word文件</awsui-button>
|
||||||
<template #tip>
|
<template #tip>
|
||||||
<div class="el-upload__tip">
|
<div class="el-upload__tip">
|
||||||
仅支持Word格式文本
|
仅支持Word格式文本
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
<div class="action-box">
|
<div class="action-box">
|
||||||
<el-button style="cursor: pointer" type="primary" @click="next">下一步</el-button>
|
<awsui-button style="cursor: pointer" type="primary" @click="next">下一步</awsui-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
:on-exceed="handleExceed"
|
:on-exceed="handleExceed"
|
||||||
:show-file-list="false"
|
:show-file-list="false"
|
||||||
>
|
>
|
||||||
<el-button type="primary" @click="handleUploadBtn">导入Word文件</el-button>
|
<awsui-button type="primary" @click="handleUploadBtn">导入Word文件</awsui-button>
|
||||||
<template #tip>
|
<template #tip>
|
||||||
<div class="el-upload__tip">
|
<div class="el-upload__tip">
|
||||||
仅支持Word格式文本
|
仅支持Word格式文本
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</div>
|
</div>
|
||||||
<div class="action-box">
|
<div class="action-box">
|
||||||
<el-button style="cursor: pointer" type="primary" @click="next">下一步</el-button>
|
<awsui-button style="cursor: pointer" type="primary" @click="next">下一步</awsui-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -6,6 +6,8 @@ import store from './store'
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import awsui from "../lib/awsui.es"; //注意awsui组件库根据情况指定路径
|
import awsui from "../lib/awsui.es"; //注意awsui组件库根据情况指定路径
|
||||||
import "../lib/awsui.css";
|
import "../lib/awsui.css";
|
||||||
|
import '../static/common/common.css';
|
||||||
|
import '../static/common/theme1.css';// 主题颜色配置
|
||||||
|
|
||||||
|
|
||||||
const app = createApp(App);
|
const app = createApp(App);
|
||||||
|
|||||||
@ -1,40 +1,37 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="home">
|
<div class="home">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="migration-type-box">
|
<div class="migration-type-box"></div>
|
||||||
<span>迁移类型</span>
|
<!-- <div class="migration-type-box">-->
|
||||||
<el-select v-model="info.migrationType" placeholder="请选择迁移类型">
|
<!-- <span>迁移类型</span>-->
|
||||||
<el-option
|
<!-- <el-select v-model="info.migrationType" placeholder="请选择迁移类型">-->
|
||||||
v-for="item in info.migrationTypes"
|
<!-- <el-option-->
|
||||||
:key="item.value"
|
<!-- v-for="item in info.migrationTypes"-->
|
||||||
:label="item.label"
|
<!-- :key="item.value"-->
|
||||||
:value="item.value"
|
<!-- :label="item.label"-->
|
||||||
/>
|
<!-- :value="item.value"-->
|
||||||
</el-select>
|
<!-- />-->
|
||||||
</div>
|
<!-- </el-select>-->
|
||||||
<el-divider />
|
<!-- </div>-->
|
||||||
|
<!-- <el-divider />-->
|
||||||
<div class="tabs-box">
|
<div class="tabs-box">
|
||||||
<el-tabs v-model="activeName" :tab-position="info.tabPosition" @tab-click="tabChange">
|
<el-tabs v-model="activeName" :tab-position="info.tabPosition" @tab-click="tabChange">
|
||||||
<el-tab-pane v-for="tab in info.tabPanes" :name="tab.name">
|
<el-tab-pane v-for="tab in info.tabPanes" :name="tab.name">
|
||||||
<template #label>
|
<template #label>
|
||||||
<span class="custom-tabs-label">
|
<div style="width: 100%;height: 100%;text-align: left;padding-left: 30px;">
|
||||||
<i class="awsui-iconfont" v-html="tab.icon"></i>
|
<span class="custom-tabs-label" style="font-size: 18px;">
|
||||||
|
<i class="awsui-iconfont" v-html="tab.icon" style="font-size: 18px;"></i>
|
||||||
<span>{{ tab.label }}</span>
|
<span>{{ tab.label }}</span>
|
||||||
</span>
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<data-migration v-if="activeName === 'dataMigration'"></data-migration>
|
<component ref="component" :is="activeName"></component>
|
||||||
<data-import v-if="activeName === 'dataImport'"></data-import>
|
|
||||||
<data-it-import v-if="activeName === 'dataItImport'"></data-it-import>
|
|
||||||
<module-change v-if="activeName === 'moduleChange'"></module-change>
|
|
||||||
<batch-data-import v-if="activeName === 'batchDataImport'"></batch-data-import>
|
|
||||||
<form-import v-if="activeName === 'formImport'"></form-import>
|
|
||||||
<performance-import v-if="activeName === 'performanceImport'"></performance-import>
|
|
||||||
<system-import v-if="activeName === 'systemImport'"></system-import>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -69,7 +66,16 @@ export default defineComponent({
|
|||||||
migrationTypes: [{value:"",label:"Aris"}],
|
migrationTypes: [{value:"",label:"Aris"}],
|
||||||
migrationType: "",
|
migrationType: "",
|
||||||
tabPosition: "left",
|
tabPosition: "left",
|
||||||
tabPanes: [{label:"数据迁移",name:"dataMigration",icon:""},{label:"流程属性数据导入",name:"dataImport",icon:""},{label:"IT系统数据导入",name:"dataItImport",icon:""},{label:"模型转换",name:"moduleChange",icon:""},{label:"制度导入",name:"systemImport",icon:""},{label:"表单导入",name:"formImport",icon:""},{label:"批处理工具",name:"batchDataImport",icon:""},{label:"绩效导入",name:"performanceImport",icon:""}],
|
tabPanes: [
|
||||||
|
{label:"Aris流程导入",name:"dataMigration",icon:""},// xml
|
||||||
|
{label:"流程属性导入",name:"dataImport",icon:""},// word
|
||||||
|
{label:"IT系统导入",name:"dataItImport",icon:""},// excel
|
||||||
|
{label:"模型转换",name:"moduleChange",icon:""},
|
||||||
|
{label:"制度导入",name:"systemImport",icon:""},// word
|
||||||
|
{label:"表单导入",name:"formImport",icon:""},// word
|
||||||
|
{label:"批处理工具",name:"batchDataImport",icon:""},// word
|
||||||
|
{label:"绩效导入",name:"performanceImport",icon:""}// word
|
||||||
|
],
|
||||||
flagBit: 1
|
flagBit: 1
|
||||||
});
|
});
|
||||||
const activeName = ref('dataMigration')
|
const activeName = ref('dataMigration')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user