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
Show 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,6 +3,8 @@
...
@@ -3,6 +3,8 @@
<div
class=
"formSearch"
>
<div
class=
"formSearch"
>
<el-form
:model=
"queryParams"
ref=
"queryRef"
:inline=
"true"
label-width=
"120px"
>
<el-form
:model=
"queryParams"
ref=
"queryRef"
:inline=
"true"
label-width=
"120px"
>
<!-- 默认显示的查询条件 -->
<!-- 默认显示的查询条件 -->
<el-row
:gutter=
"25"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"项目名称"
prop=
"projectName"
>
<el-form-item
label=
"项目名称"
prop=
"projectName"
>
<el-select
<el-select
v-model=
"queryParams.id"
v-model=
"queryParams.id"
...
@@ -19,9 +21,12 @@
...
@@ -19,9 +21,12 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"事业部负责人"
prop=
"departmentLeaderId"
>
<el-form-item
label=
"事业部负责人"
prop=
"departmentLeaderId"
>
<el-select
<el-select
v-model=
"queryParams.departmentLeaderId"
v-model=
"queryParams.departmentLeaderId"
filterable
placeholder=
"请选择事业部负责人"
placeholder=
"请选择事业部负责人"
style=
"width: 220px"
style=
"width: 220px"
clearable
clearable
...
@@ -34,6 +39,8 @@
...
@@ -34,6 +39,8 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"项目状态"
prop=
"projectStatus"
>
<el-form-item
label=
"项目状态"
prop=
"projectStatus"
>
<el-select
<el-select
v-model=
"queryParams.projectStatus"
v-model=
"queryParams.projectStatus"
...
@@ -49,25 +56,27 @@
...
@@ -49,25 +56,27 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
<!-- 操作按钮 -->
<!-- 操作按钮 -->
<el-form-item
style=
"padding-left: 5.4%"
>
<el-col
:span=
"6"
>
<el-form-item
style=
"margin-left: 30px"
>
<el-button
@
click=
"resetQuery"
class=
"el-button-defalut"
>
<el-button
@
click=
"resetQuery"
class=
"el-button-defalut"
>
<template
#
icon
>
<template
#
icon
>
<img
src=
"../../assets/icons/common/reset.png"
height=
"25"
width=
"24"
alt=
"re
"
/>
<img
src=
"../../assets/icons/common/reset.png"
height=
"25"
width=
"24
"
/>
</
template
>
</
template
>
重置
重置
</el-button>
</el-button>
<el-button
type=
"primary"
@
click=
"handleQuery"
class=
"el-button-primary"
>
<el-button
type=
"primary"
@
click=
"handleQuery"
class=
"el-button-primary"
>
<
template
#
icon
>
<
template
#
icon
>
<img
src=
"../../assets/icons/common/search.png"
height=
"24"
width=
"24"
alt=
"se
"
/>
<img
src=
"../../assets/icons/common/search.png"
height=
"24"
width=
"24
"
/>
</
template
>
</
template
>
查询
查询
</el-button>
</el-button>
<el-button
<el-button
size=
"large"
size=
"large"
icon=
"ArrowDown"
icon=
"ArrowDown"
type=
"primary"
link
link
type=
"primary"
v-show=
"!isExpanded"
v-show=
"!isExpanded"
@
click=
"toggleSearch"
@
click=
"toggleSearch"
>
>
...
@@ -84,12 +93,17 @@
...
@@ -84,12 +93,17 @@
收起
收起
</el-button>
</el-button>
</el-form-item>
</el-form-item>
</el-col>
</el-row>
<!-- 可折叠的查询条件 -->
<!-- 可折叠的查询条件 -->
<transition>
<transition>
<div
v-if=
"isExpanded"
>
<div
v-if=
"isExpanded"
>
<el-row
:gutter=
"25"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"项目经理"
prop=
"projectManagerId"
>
<el-form-item
label=
"项目经理"
prop=
"projectManagerId"
>
<el-select
<el-select
v-model=
"queryParams.projectManagerId"
v-model=
"queryParams.projectManagerId"
filterable
placeholder=
"请选择项目经理"
placeholder=
"请选择项目经理"
style=
"width: 220px"
style=
"width: 220px"
clearable
clearable
...
@@ -102,6 +116,8 @@
...
@@ -102,6 +116,8 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"项目类型"
prop=
"projectType"
>
<el-form-item
label=
"项目类型"
prop=
"projectType"
>
<el-select
<el-select
v-model=
"queryParams.projectType"
v-model=
"queryParams.projectType"
...
@@ -117,21 +133,23 @@
...
@@ -117,21 +133,23 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-row>
</div>
</div>
</transition>
</transition>
</el-form>
</el-form>
</div>
</div>
<div
class=
"contentTable"
>
<div
class=
"contentTable"
>
<div
style=
"padding-left: 8px ;padding-bottom: 25px"
>
<div
class=
"title"
>
<div
class=
"contentBt"
>
<span
class=
"bold-text"
>
项目草稿箱
</span>
<span
class=
"bold-text"
>
项目草稿箱
</span>
<span
style=
"padding-left: 86%"
>
<el-button
<el-button
icon=
"ArrowLeft"
icon=
"ArrowLeft"
class=
"el-button-primary-pain"
class=
"el-button-primary-pain"
@
click=
"fanhui"
>
返回项目
</el-button>
@
click=
"fanhui"
>
返回项目
</span>
</el-button>
</div>
</div>
</div>
<el-table
v-loading=
"loading"
:data=
"projectList"
border
style=
"width: 100%"
>
<el-table
v-loading=
"loading"
:data=
"projectList"
border
style=
"width: 100%"
>
<el-table-column
type=
"selection"
width=
"40"
align=
"right"
/>
<el-table-column
type=
"selection"
width=
"40"
align=
"right"
/>
<el-table-column
label=
"项目编号"
align=
"center"
prop=
"projectNumber"
min-width=
"150"
/>
<el-table-column
label=
"项目编号"
align=
"center"
prop=
"projectNumber"
min-width=
"150"
/>
...
@@ -305,7 +323,7 @@ function resetQuery() {
...
@@ -305,7 +323,7 @@ function resetQuery() {
/** 修改按钮操作 */
/** 修改按钮操作 */
function
handleUpdate
(
row
)
{
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();
...
@@ -342,6 +360,18 @@ getList();
border
-
bottom
:
4
px
solid
#
0062
FF
;
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
{
.
pagination
-
containerA
{
padding
-
right
:
43
%
;
padding
-
right
:
43
%
;
}
}
...
...
src/views/project/edit.vue
View file @
d3677c9f
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
v-model=
"form.projectMemberIds[index]"
v-model=
"form.projectMemberIds[index]"
:placeholder=
"'成员' + (index + 1)"
:placeholder=
"'成员' + (index + 1)"
size=
"large"
size=
"large"
style=
"width: 12
2
px"
style=
"width: 12
3
px"
clearable
clearable
filterable
filterable
@
change=
"onMemberChange(index,$event)"
@
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