diff --git a/src/components/menu/menu.js b/src/components/menu/menu.js
index e448751..2e4d8aa 100644
--- a/src/components/menu/menu.js
+++ b/src/components/menu/menu.js
@@ -47,7 +47,7 @@ export default {
data () {
return {
rootSubmenuKeys: ['/form', '/list', '/detail', '/exception', '/result'],
- openKeys: ['/form']
+ openKeys: []
}
},
methods: {
diff --git a/src/components/page/PageHeader.vue b/src/components/page/PageHeader.vue
index e71c21f..cbc2c2f 100644
--- a/src/components/page/PageHeader.vue
+++ b/src/components/page/PageHeader.vue
@@ -23,7 +23,7 @@ export default {
props: {
title: {
type: String,
- required: true
+ required: false
},
breadcrumb: {
type: Array,
diff --git a/src/components/result/Error.vue b/src/components/result/Error.vue
new file mode 100644
index 0000000..5374b2d
--- /dev/null
+++ b/src/components/result/Error.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+ 返回修改
+
+
+
+ 您提交的内容有如下错误:
+
+
+
+
+ 您的账户还不具备申请资格
+
立即升级
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/result/Result.vue b/src/components/result/Result.vue
index f5265f1..5be41fc 100644
--- a/src/components/result/Result.vue
+++ b/src/components/result/Result.vue
@@ -3,9 +3,13 @@
- {{title}}
-
-
+
{{title}}
+
{{description}}
+
+
+
+
+
@@ -15,13 +19,12 @@ import AIcon from 'vue-antd-ui/es/icon/icon'
export default {
name: 'Result',
components: {AIcon},
- props: ['isSuccess', 'title']
+ props: ['isSuccess', 'title', 'description']
}
diff --git a/src/components/result/Success.vue b/src/components/result/Success.vue
new file mode 100644
index 0000000..33e9b25
--- /dev/null
+++ b/src/components/result/Success.vue
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+ 返回列表
+ 查看项目
+ 打印
+
+
+
项目名称
+
+
+ 项目 ID:
+ 20180724089
+
+
+ 负责人:
+ 曲丽丽是谁?
+
+
+ 生效时间:
+ 2016-12-12 ~ 2017-12-12
+
+
+
+
+ 创建项目
+
+
+
+
+
+ 部门初审
+
+
+
+
+
+ 财务复核
+
+
+ 完成
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index 4761b9b..5d365ef 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -9,6 +9,8 @@ import Form from '@/components/form/Form'
import BasicForm from '@/components/form/BasicForm'
import StepForm from '@/components/form/stepForm/StepForm'
import AdvancedForm from '@/components/form/advancedForm/AdvancedForm'
+import Success from '@/components/result/Success'
+import Error from '@/components/result/Error'
Vue.use(Router)
@@ -100,7 +102,7 @@ export default new Router({
},
{
path: '/result',
- name: '详情页',
+ name: '结果页',
icon: 'check-circle-o',
component: Exception,
children: [
@@ -108,13 +110,13 @@ export default new Router({
path: '/result/success',
name: '成功',
icon: 'none',
- component: NotFound
+ component: Success
},
{
- path: '/result/failure',
+ path: '/result/error',
name: '失败',
icon: 'none',
- component: NotFound
+ component: Error
}
]
},