Commit 437c7776 authored by wangdanlei's avatar wangdanlei

项目文档、基线

parent 5f12a943
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -53,13 +53,14 @@ export default { ...@@ -53,13 +53,14 @@ export default {
methods: { methods: {
ToRelatedPage() { ToRelatedPage() {
if (this.form.subTypeName !== 'ExtProgram') { if (this.form.subTypeName !== 'ExtProgram') {
const secretCode = this.form.secretCode
const name = this.form.name const name = this.form.name
const id = this.form.id const id = this.form.id
const pageNumber = '7cbdc38f-0122-4e78-b162-57601a33bb7a' const pageNumber = '7cbdc38f-0122-4e78-b162-57601a33bb7a'
const title = '项目要素' const title = '项目要素'
const type = this.form.projectCategory === '项目' ? '项目' : '子项' const type = this.form.projectCategory === '项目' ? '项目' : '子项'
this.$router.push({ this.$router.push({
path: `/page/${pageNumber}/${id}?type=${type}&title=${title}&id=${id}&name=${name}`, path: `/page/${pageNumber}/${id}?type=${type}&title=${title}&id=${id}&name=${name}&secretCode=${secretCode}`,
query: { name: name, id: id } query: { name: name, id: id }
}) })
} }
......
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
icon: '/icons/dee-project/baseline.png', icon: '/icons/dee-project/baseline.png',
componentType: 'formConfig', componentType: 'formConfig',
formConfigType: 'page', formConfigType: 'page',
pageKey: 'fe0b5925-0b7f-42bd-adbc-8ecb738013a0' pageKey: '58a374ef-3bb0-4124-8e69-516101b1467a'
}, },
{ {
name: '文档', name: '文档',
......
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