Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
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
徐俊
yn-science-front
Commits
1cf7e50b
Commit
1cf7e50b
authored
Dec 26, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
d63c7b26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
assignDetail.vue
src/views/assign/components/assignDetail.vue
+17
-2
projKeyAssign.vue
src/views/peAssign/projKeyAssign.vue
+6
-1
No files found.
src/views/assign/components/assignDetail.vue
View file @
1cf7e50b
...
@@ -5,7 +5,10 @@
...
@@ -5,7 +5,10 @@
<a-input
placeholder=
"项目名称"
v-model=
"searchForm.projName"
:maxLength=
"100"
style=
"width: 160px"
/>
<a-input
placeholder=
"项目名称"
v-model=
"searchForm.projName"
:maxLength=
"100"
style=
"width: 160px"
/>
</a-form-item>
</a-form-item>
<a-form-item>
<a-form-item>
<a-input
placeholder=
"项目分组"
v-model=
"searchForm.groupId"
:maxLength=
"100"
style=
"width: 160px"
/>
<a-select
v-if=
"groupList"
default-value=
""
placeholder=
"项目分组"
v-model=
"searchForm.groupId"
style=
"width: 160px"
@
change=
"groupChange"
>
<a-select-option
v-for=
"item in groupList"
:key=
"item.groupId"
:value=
"item.groupId"
>
{{
item
.
groupName
}}
</a-select-option>
</a-select>
<!--
<a-input
placeholder=
"项目分组"
v-model=
"searchForm.groupId"
:maxLength=
"100"
style=
"width: 160px"
/>
-->
</a-form-item>
</a-form-item>
<a-form-item>
<a-form-item>
<base-select
v-model=
"searchForm.assignYear"
:title=
"'年度'"
:type=
"8"
:isAll=
"true"
:width=
"160"
/>
<base-select
v-model=
"searchForm.assignYear"
:title=
"'年度'"
:type=
"8"
:isAll=
"true"
:width=
"160"
/>
...
@@ -74,13 +77,21 @@ import projectView from '@/views/report/project/components/projectView'
...
@@ -74,13 +77,21 @@ import projectView from '@/views/report/project/components/projectView'
export
default
{
export
default
{
name
:
'assignDetail'
,
name
:
'assignDetail'
,
props
:
{
groupList
:
{
type
:
Array
,
default
:
()
=>
{
return
[{
groupId
:
""
,
groupName
:
"--请选择分组--"
}]
}
},
},
components
:
{
components
:
{
baseSelect
,
projectView
baseSelect
,
projectView
},
},
data
()
{
data
()
{
return
{
return
{
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'assign_search'
}),
form
:
this
.
$form
.
createForm
(
this
,
{
name
:
'assign_search'
}),
searchForm
:
{
projName
:
null
,
groupId
:
null
,
assignYear
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
personName
:
null
,
auditState
:
""
,
projType
:
getType
()
},
searchForm
:
{
projName
:
null
,
groupId
:
""
,
assignYear
:
null
,
appUnitName
:
null
,
appPersonName
:
null
,
personName
:
null
,
auditState
:
""
,
projType
:
getType
()
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
},
ellipsis
:
true
,
width
:
300
,
},
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
},
ellipsis
:
true
,
width
:
300
,
},
...
@@ -119,6 +130,7 @@ export default {
...
@@ -119,6 +130,7 @@ export default {
if
(
data
)
{
if
(
data
)
{
this
.
searchForm
.
assignYear
=
data
.
year
this
.
searchForm
.
assignYear
=
data
.
year
this
.
getListByPage
()
this
.
getListByPage
()
console
.
log
(
this
.
groupList
)
}
}
}).
catch
(()
=>
{
})
}).
catch
(()
=>
{
})
},
},
...
@@ -159,6 +171,9 @@ export default {
...
@@ -159,6 +171,9 @@ export default {
this
.
pagination
.
pageIndex
=
1
this
.
pagination
.
pageIndex
=
1
this
.
getListByPage
()
this
.
getListByPage
()
},
},
groupChange
(
value
)
{
this
.
searchForm
.
groupId
=
value
},
recordClick
(
record
,
type
)
{
recordClick
(
record
,
type
)
{
if
(
type
===
'view'
)
{
if
(
type
===
'view'
)
{
this
.
projId
=
record
.
projId
this
.
projId
=
record
.
projId
...
...
src/views/peAssign/projKeyAssign.vue
View file @
1cf7e50b
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
<assign-group-expert-view
v-model=
"evaluationId"
@
close=
"closeAssignExpertView"
/>
<assign-group-expert-view
v-model=
"evaluationId"
@
close=
"closeAssignExpertView"
/>
</a-modal>
</a-modal>
<a-modal
v-model=
"assignDetailVisible"
title=
"分配明细"
width=
"90%"
:dialog-style=
"{ top: '5%' }"
:footer=
"null"
destroyOnClose
>
<a-modal
v-model=
"assignDetailVisible"
title=
"分配明细"
width=
"90%"
:dialog-style=
"{ top: '5%' }"
:footer=
"null"
destroyOnClose
>
<assign-detail
/>
<assign-detail
:groupList=
"groupList"
/>
</a-modal>
</a-modal>
<a-modal
v-model=
"projectIntoGroupVisible"
:title=
"projectIntoGroupTitle"
width=
"70%"
:dialog-style=
"{ top: '15%' }"
:maskClosable=
"false"
destroyOnClose
>
<a-modal
v-model=
"projectIntoGroupVisible"
:title=
"projectIntoGroupTitle"
width=
"70%"
:dialog-style=
"{ top: '15%' }"
:maskClosable=
"false"
destroyOnClose
>
<
template
slot=
"footer"
>
<
template
slot=
"footer"
>
...
@@ -284,6 +284,11 @@ export default {
...
@@ -284,6 +284,11 @@ export default {
this
.
groupEditVisible
=
true
this
.
groupEditVisible
=
true
},
},
onaAssignDetail
()
{
onaAssignDetail
()
{
this
.
groupList
=
[]
this
.
groupList
.
push
({
groupId
:
""
,
groupName
:
"--请选择分组--"
})
this
.
tableData2
.
forEach
(
e
=>
{
this
.
groupList
.
push
({
groupId
:
e
.
id
,
groupName
:
e
.
groupName
})
})
this
.
assignDetailVisible
=
true
this
.
assignDetailVisible
=
true
},
},
closeWindow
(
value
)
{
closeWindow
(
value
)
{
...
...
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