Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INET-TWO
web
Commits
cc861378
Commit
cc861378
authored
Nov 04, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
归档流程创建功能开发
parent
a3442ae2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
5 deletions
+73
-5
index.vue
.../privateComponents/components/AddExtTransferDoc/index.vue
+57
-0
index.vue
.../privateComponents/components/gotoProjectDetial/index.vue
+14
-3
view.js
.../src/privateComponents/components/leftProjectTree/view.js
+2
-2
No files found.
applications/dee-doc/src/privateComponents/components/AddExtTransferDoc/index.vue
0 → 100644
View file @
cc861378
/**
* @Description:
* @author gjn
* @date 2024/11/04
*/
<
template
>
<div
class=
"AddExtTransferDoc"
>
<dee-as-com
ref=
"tableCom"
class=
"list-table"
:lay-config=
"layConfig"
@
selectionChange=
"selectionChange"
/>
</div>
</
template
>
<
script
>
export
default
{
componentName
:
'添加归档文件清单'
,
name
:
'AddExtTransferDoc'
,
components
:
{},
props
:
{
basicData
:
{
type
:
Object
,
default
:
()
=>
{}
},
componentProp
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{
layConfig
:
{
typeName
:
'ExtTransferDocLink'
,
layKey
:
'9f8e3a0e-c021-44ef-b6e7-90e2fc0bc699'
}
}
},
computed
:
{
},
watch
:
{
},
created
()
{
},
mounted
()
{},
methods
:
{
selectionChange
(
val
)
{
this
.
$emit
(
'input'
,
val
)
}
}
}
</
script
>
<
style
lang=
'scss'
>
.AddExtTransferDoc
{
.list-table
{
height
:
600px
!
important
;
}
}
</
style
>
applications/dee-project/src/privateComponents/components/gotoProjectDetial/index.vue
View file @
cc861378
<
template
>
<
template
>
<div
:class=
"className"
@
click=
"
ToRelatedPage
"
>
{{
currentValue
}}
</div>
<div
:class=
"className"
@
click=
"
getTransferDocProject
"
>
{{
currentValue
}}
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
get
}
from
'@/utils/http'
export
default
{
export
default
{
name
:
'GotoProjectDetail'
,
name
:
'GotoProjectDetail'
,
componentName
:
'详情-项目要素'
,
componentName
:
'详情-项目要素'
,
...
@@ -33,7 +34,8 @@ export default {
...
@@ -33,7 +34,8 @@ export default {
return
{
return
{
currentValue
:
this
.
value
?
this
.
value
.
number
||
this
.
value
:
null
,
currentValue
:
this
.
value
?
this
.
value
.
number
||
this
.
value
:
null
,
className
:
this
.
scope
.
row
.
parentId
?
'link'
:
'default'
,
className
:
this
.
scope
.
row
.
parentId
?
'link'
:
'default'
,
form
:
null
form
:
null
,
transferDocProject
:
{}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -60,9 +62,18 @@ export default {
...
@@ -60,9 +62,18 @@ export default {
const
type
=
this
.
form
.
projectClass
===
'project'
?
'项目'
:
'子项'
const
type
=
this
.
form
.
projectClass
===
'project'
?
'项目'
:
'子项'
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/page/
${
pageNumber
}
/
${
id
}
?type=
${
type
}
&title=
${
title
}
&id=
${
id
}
&name=
${
name
}
&secretCode=
${
secretCode
}
`
,
path
:
`/page/
${
pageNumber
}
/
${
id
}
?type=
${
type
}
&title=
${
title
}
&id=
${
id
}
&name=
${
name
}
&secretCode=
${
secretCode
}
`
,
query
:
{
name
:
name
,
id
:
id
}
query
:
{
name
:
name
,
id
:
id
,
...
this
.
transferDocProject
}
})
})
}
}
},
getTransferDocProject
()
{
this
.
transferDocProject
=
{}
get
(
`ExtTransferDocument/getTransferDocProject?id=
${
this
.
form
.
id
}
`
).
then
(
res
=>
{
if
(
res
.
items
)
{
this
.
transferDocProject
=
res
.
items
}
this
.
ToRelatedPage
()
})
}
}
}
}
...
...
applications/dee-project/src/privateComponents/components/leftProjectTree/view.js
View file @
cc861378
...
@@ -44,8 +44,8 @@ export default {
...
@@ -44,8 +44,8 @@ export default {
name
:
'归档'
,
name
:
'归档'
,
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
:
'68414c76-5d72-4fb8-afd3-f66e45a637a3
'
}
}
// {
// {
// name: '子项',
// name: '子项',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment