Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psa-web
Project
Project
Details
Activity
Releases
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
高滢
psa-web
Commits
d3677c9f
Commit
d3677c9f
authored
Mar 28, 2025
by
wangjiancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:项目管理修改
parent
5a348e9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
130 additions
and
100 deletions
+130
-100
draft.vue
src/views/project/draft.vue
+129
-99
edit.vue
src/views/project/edit.vue
+1
-1
No files found.
src/views/project/draft.vue
View file @
d3677c9f
...
...
@@ -3,135 +3,153 @@
<div
class=
"formSearch"
>
<el-form
:model=
"queryParams"
ref=
"queryRef"
:inline=
"true"
label-width=
"120px"
>
<!-- 默认显示的查询条件 -->
<el-form-item
label=
"项目名称"
prop=
"projectName"
>
<el-select
v-model=
"queryParams.id"
filterable
placeholder=
"请输入项目名称"
style=
"width: 220px"
clearable
>
<el-option
v-for=
"dict in projectOptions"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"事业部负责人"
prop=
"departmentLeaderId"
>
<el-select
v-model=
"queryParams.departmentLeaderId"
placeholder=
"请选择事业部负责人"
style=
"width: 220px"
clearable
>
<el-option
v-for=
"dict in headOptions"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"项目状态"
prop=
"projectStatus"
>
<el-select
v-model=
"queryParams.projectStatus"
placeholder=
"请选择项目状态"
style=
"width: 220px"
clearable
>
<el-option
v-for=
"dict in project_status"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<!-- 操作按钮 -->
<el-form-item
style=
"padding-left: 5.4%"
>
<el-button
@
click=
"resetQuery"
class=
"el-button-defalut"
>
<template
#
icon
>
<img
src=
"../../assets/icons/common/reset.png"
height=
"25"
width=
"24"
alt=
"re"
/>
</
template
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"handleQuery"
class=
"el-button-primary"
>
<
template
#
icon
>
<img
src=
"../../assets/icons/common/search.png"
height=
"24"
width=
"24"
alt=
"se"
/>
</
template
>
查询
</el-button>
<el-button
size=
"large"
icon=
"ArrowDown"
type=
"primary"
link
v-show=
"!isExpanded"
@
click=
"toggleSearch"
>
展开
</el-button>
<el-button
size=
"large"
type=
"primary"
link
icon=
"ArrowUp"
v-show=
"isExpanded"
@
click=
"toggleSearch"
>
收起
</el-button>
</el-form-item>
<!-- 可折叠的查询条件 -->
<transition>
<div
v-if=
"isExpanded"
>
<el-form-item
label=
"项目经理"
prop=
"projectManagerId"
>
<el-row
:gutter=
"25"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"项目名称"
prop=
"projectName"
>
<el-select
v-model=
"queryParams.id"
filterable
placeholder=
"请输入项目名称"
style=
"width: 220px"
clearable
>
<el-option
v-for=
"dict in projectOptions"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"事业部负责人"
prop=
"departmentLeaderId"
>
<el-select
v-model=
"queryParams.projectManagerId"
placeholder=
"请选择项目经理"
v-model=
"queryParams.departmentLeaderId"
filterable
placeholder=
"请选择事业部负责人"
style=
"width: 220px"
clearable
>
<el-option
v-for=
"dict in
manager
Options"
v-for=
"dict in
head
Options"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"项目类型"
prop=
"projectType"
>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"项目状态"
prop=
"projectStatus"
>
<el-select
v-model=
"queryParams.project
Type
"
placeholder=
"请选择项目
类型
"
v-model=
"queryParams.project
Status
"
placeholder=
"请选择项目
状态
"
style=
"width: 220px"
clearable
>
<el-option
v-for=
"dict in project_
type
"
v-for=
"dict in project_
status
"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
<!-- 操作按钮 -->
<el-col
:span=
"6"
>
<el-form-item
style=
"margin-left: 30px"
>
<el-button
@
click=
"resetQuery"
class=
"el-button-defalut"
>
<template
#
icon
>
<img
src=
"../../assets/icons/common/reset.png"
height=
"25"
width=
"24"
/>
</
template
>
重置
</el-button>
<el-button
type=
"primary"
@
click=
"handleQuery"
class=
"el-button-primary"
>
<
template
#
icon
>
<img
src=
"../../assets/icons/common/search.png"
height=
"24"
width=
"24"
/>
</
template
>
查询
</el-button>
<el-button
size=
"large"
icon=
"ArrowDown"
link
type=
"primary"
v-show=
"!isExpanded"
@
click=
"toggleSearch"
>
展开
</el-button>
<el-button
size=
"large"
type=
"primary"
link
icon=
"ArrowUp"
v-show=
"isExpanded"
@
click=
"toggleSearch"
>
收起
</el-button>
</el-form-item>
</el-col>
</el-row>
<!-- 可折叠的查询条件 -->
<transition>
<div
v-if=
"isExpanded"
>
<el-row
:gutter=
"25"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"项目经理"
prop=
"projectManagerId"
>
<el-select
v-model=
"queryParams.projectManagerId"
filterable
placeholder=
"请选择项目经理"
style=
"width: 220px"
clearable
>
<el-option
v-for=
"dict in managerOptions"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"项目类型"
prop=
"projectType"
>
<el-select
v-model=
"queryParams.projectType"
placeholder=
"请选择项目类型"
style=
"width: 220px"
clearable
>
<el-option
v-for=
"dict in project_type"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
</div>
</transition>
</el-form>
</div>
<div
class=
"contentTable"
>
<div
style=
"padding-left: 8px ;padding-bottom: 25px
"
>
<
span
class=
"bold-text"
>
项目草稿箱
</span
>
<span
style=
"padding-left: 86%"
>
<div
class=
"title
"
>
<
div
class=
"contentBt"
>
<span
class=
"bold-text"
>
项目草稿箱
</span
>
<el-button
icon=
"ArrowLeft"
class=
"el-button-primary-pain"
@
click=
"fanhui"
>
返回项目
</el-button>
</span>
@
click=
"fanhui"
>
返回项目
</el-button>
</div>
</div>
<el-table
v-loading=
"loading"
:data=
"projectList"
border
style=
"width: 100%"
>
<el-table-column
type=
"selection"
width=
"40"
align=
"right"
/>
<el-table-column
label=
"项目编号"
align=
"center"
prop=
"projectNumber"
min-width=
"150"
/>
...
...
@@ -305,7 +323,7 @@ function resetQuery() {
/** 修改按钮操作 */
function
handleUpdate
(
row
)
{
proxy
.
$router
.
push
({
path
:
'/projectopera/editproject'
,
query
:
{
id
:
row
.
id
,
type
:
'draft'
}}
);
proxy
.
$router
.
push
({
path
:
'/projectopera/editproject'
,
query
:
{
id
:
row
.
id
,
type
:
'draft'
}}
);
}
// 切换展开/折叠状态
...
...
@@ -342,6 +360,18 @@ getList();
border
-
bottom
:
4
px
solid
#
0062
FF
;
}
.
title
{
padding
-
left
:
8
px
;
margin
-
bottom
:
25
px
;
position
:
relative
;
}
.
contentBt
{
display
:
flex
;
align
-
items
:
center
;
justify
-
content
:
space
-
between
;
}
.
pagination
-
containerA
{
padding
-
right
:
43
%
;
}
...
...
src/views/project/edit.vue
View file @
d3677c9f
...
...
@@ -116,7 +116,7 @@
v-model=
"form.projectMemberIds[index]"
:placeholder=
"'成员' + (index + 1)"
size=
"large"
style=
"width: 12
2
px"
style=
"width: 12
3
px"
clearable
filterable
@
change=
"onMemberChange(index,$event)"
...
...
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