|
@@ -1,30 +1,30 @@
|
|
|
<template>
|
|
|
<a-card :bordered="false">
|
|
|
- <a-result status="success" :sub-title="description" :title="title">
|
|
|
+ <a-result status="success" :title="result.title" :sub-title="result.description">
|
|
|
<template #extra>
|
|
|
- <a-button type="primary">返回列表</a-button>
|
|
|
- <a-button style="margin-left: 8px">查看项目</a-button>
|
|
|
- <a-button style="margin-left: 8px">打印</a-button>
|
|
|
+ <a-button type="primary">{{ $t('result.success.btn-return') }}</a-button>
|
|
|
+ <a-button style="margin-left: 8px">{{ $t('result.success.btn-project') }}</a-button>
|
|
|
+ <a-button style="margin-left: 8px">{{ $t('result.success.btn-print') }}</a-button>
|
|
|
</template>
|
|
|
<div class="content">
|
|
|
- <div style="font-size: 16px; color: rgba(0, 0, 0, 0.85); font-weight: 500; margin-bottom: 20px;">项目名称</div>
|
|
|
+ <div style="font-size: 16px; color: rgba(0, 0, 0, 0.85); font-weight: 500; margin-bottom: 20px;">{{ $t('result.success.operate-title') }}</div>
|
|
|
<a-row style="margin-bottom: 16px">
|
|
|
<a-col :xs="24" :sm="12" :md="12" :lg="12" :xl="6">
|
|
|
- <span style="color: rgba(0, 0, 0, 0.85)">项目 ID:</span>
|
|
|
+ <span style="color: rgba(0, 0, 0, 0.85)">{{ $t('result.success.operate-id') }}:</span>
|
|
|
20180724089
|
|
|
</a-col>
|
|
|
<a-col :xs="24" :sm="12" :md="12" :lg="12" :xl="6">
|
|
|
- <span style="color: rgba(0, 0, 0, 0.85)">负责人:</span>
|
|
|
+ <span style="color: rgba(0, 0, 0, 0.85)">{{ $t('result.success.principal') }}:</span>
|
|
|
曲丽丽是谁?
|
|
|
</a-col>
|
|
|
<a-col :xs="24" :sm="24" :md="24" :lg="24" :xl="12">
|
|
|
- <span style="color: rgba(0, 0, 0, 0.85)">生效时间:</span>
|
|
|
+ <span style="color: rgba(0, 0, 0, 0.85)">{{ $t('result.success.operate-time') }}:</span>
|
|
|
2016-12-12 ~ 2017-12-12
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
<a-steps :current="1" :direction="isMobile && directionType.vertical || directionType.horizontal" progressDot>
|
|
|
- <a-step >
|
|
|
- <span style="font-size: 14px" slot="title">创建项目</span>
|
|
|
+ <a-step :title="$t('result.success.step1-title')">
|
|
|
+ <span style="font-size: 14px" slot="title">{{ $t('result.success.step1-title') }}</span>
|
|
|
<template slot="description">
|
|
|
<div style="fontSize: 12px; color: rgba(0, 0, 0, 0.45); position: relative; left: 42px;text-align: left;" slot="description" >
|
|
|
<div style="margin: 8px 0 4px">
|
|
@@ -35,8 +35,8 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</a-step>
|
|
|
- <a-step title="部门初审">
|
|
|
- <span style="font-size: 14px" slot="title">部门初审</span>
|
|
|
+ <a-step :title="$t('result.success.step2-title')">
|
|
|
+ <span style="font-size: 14px" slot="title">{{ $t('result.success.step2-title') }}</span>
|
|
|
<template slot="description">
|
|
|
<div style="fontSize: 12px; color: rgba(0, 0, 0, 0.45); position: relative; left: 42px;text-align: left;" slot="description" >
|
|
|
<div style="margin: 8px 0 4px">
|
|
@@ -47,11 +47,11 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</a-step>
|
|
|
- <a-step title="财务复核">
|
|
|
- <span style="font-size: 14px" slot="title">财务复核</span>
|
|
|
+ <a-step :title="$t('result.success.step3-title')">
|
|
|
+ <span style="font-size: 14px" slot="title">{{ $t('result.success.step3-title') }}</span>
|
|
|
</a-step>
|
|
|
- <a-step title="完成" >
|
|
|
- <span style="font-size: 14px" slot="title">完成</span>
|
|
|
+ <a-step :title="$t('result.success.step4-title')" >
|
|
|
+ <span style="font-size: 14px" slot="title">{{ $t('result.success.step4-title') }}</span>
|
|
|
</a-step>
|
|
|
</a-steps>
|
|
|
</div>
|
|
@@ -73,11 +73,16 @@ export default {
|
|
|
data () {
|
|
|
this.directionType = directionType
|
|
|
return {
|
|
|
- title: '提交成功',
|
|
|
- description: '提交结果页用于反馈一系列操作任务的处理结果,\n' +
|
|
|
- ' 如果仅是简单操作,使用 Message 全局提示反馈即可。\n' +
|
|
|
- ' 本文字区域可以展示简单的补充说明,如果有类似展示\n' +
|
|
|
- ' “单据”的需求,下面这个灰色区域可以呈现比较复杂的内容。'
|
|
|
+ // title: this.$t('result.success.title'),
|
|
|
+ // description: this.$t('result.success.description')
|
|
|
+ }
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ result () {
|
|
|
+ return {
|
|
|
+ title: this.$t('result.success.title'),
|
|
|
+ description: this.$t('result.success.description')
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|