明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_front
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
Administrator
jt_front
Commits
b6be8853
Commit
b6be8853
authored
Dec 10, 2025
by
yangyajing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充相关支撑材料
parent
88d8b52b
Pipeline
#104444
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
0 deletions
+53
-0
addProject.vue
src/views/managePage/addProject.vue
+53
-0
No files found.
src/views/managePage/addProject.vue
View file @
b6be8853
...
...
@@ -1917,6 +1917,30 @@
</
template
>
</el-table-column>
</el-table>
<el-form-item
label=
"补充相关支撑材料"
:label-width=
"160"
>
<el-upload
:action=
"windowConfig.baseUrl + '/api/file/upload'"
:headers=
"{Authorization: '8681f75e775447f7903708c55a35634e'}"
:show-file-list=
"false"
:on-success=
"addTpbczcclFile"
>
<el-button
type=
"default"
>
上传
</el-button>
</el-upload>
<el-button
type=
"default"
@
click=
"multiDeleteTpbczccl"
:disabled=
"!tpbczcclSelectIds.length"
>
删除选中文件
</el-button>
</el-form-item>
<el-table
:data=
"tpbczcclData"
style=
"width: 100%"
empty-text=
"暂无数据"
border
@
selection-change=
"tpbczcclSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
prop=
"originalname"
label=
"文件名"
/>
<el-table-column
prop=
"updatedAt"
label=
"上传时间"
/>
<el-table-column
prop=
"size"
label=
"大小"
/>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"60"
>
<
template
#
default=
"{ row, index }"
>
<el-button
link
type=
"danger"
size=
"small"
@
click=
"deleteTpbczccl(index)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
<el-form-item
label=
"其他相关支撑材料"
:label-width=
"160"
>
<el-upload
:action=
"windowConfig.baseUrl + '/api/file/upload'"
...
...
@@ -2795,6 +2819,33 @@
jjzbcsData
.
value
=
jjzbcsData
.
value
.
filter
(
item
=>
!
jjzbcsSelectIds
.
value
.
includes
(
item
.
id
));
}).
catch
(()
=>
{})
};
// 投评决策资料-补充相关支撑材料
let
tpbczcclData
=
ref
([]);
const
addTpbczcclFile
=
(
res
,
file
)
=>
{
tpbczcclData
.
value
.
push
(
res
.
data
);
}
const
deleteTpbczccl
=
(
index
)
=>
{
ElMessageBox
.
confirm
(
"确认删除该项?"
,
"提示"
,{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
}).
then
(()
=>
{
tpbczcclData
.
value
.
splice
(
index
,
1
);
}).
catch
(()
=>
{})
}
let
tpbczcclSelectIds
=
ref
([]);
const
tpbczcclSelectionChange
=
(
datas
)
=>
{
tpbczcclSelectIds
.
value
=
datas
.
map
(
item
=>
item
.
id
);
};
const
multiDeleteTpbczccl
=
()
=>
{
ElMessageBox
.
confirm
(
"确认删除选中数据?"
,
"提示"
,{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
}).
then
(()
=>
{
tpbczcclData
.
value
=
tpbczcclData
.
value
.
filter
(
item
=>
!
tpbczcclSelectIds
.
value
.
includes
(
item
.
id
));
}).
catch
(()
=>
{})
};
// 投评决策资料-其他相关支撑材料
let
tpzcclData
=
ref
([]);
const
addTpzcclFile
=
(
res
,
file
)
=>
{
...
...
@@ -3231,6 +3282,7 @@
Object
.
assign
(
kyclData
.
value
,
jcData
.
kycl
);
Object
.
assign
(
jjzbcsData
.
value
,
jcData
.
jjzbcbcscl
);
Object
.
assign
(
tpzcclData
.
value
,
jcData
.
qtxgzccl
);
Object
.
assign
(
tpbczcclData
.
value
,
jcData
.
bcxgzccl
);
Object
.
assign
(
shyaData
.
value
,
jcData
.
shya
);
Object
.
assign
(
jcTzzeqkjData
,
jcData
.
projectXmtzzes
);
Object
.
assign
(
jcCwpjzbData
,
jcData
.
projectCwpjzbs
);
...
...
@@ -3337,6 +3389,7 @@
kycl
:
kyclData
.
value
,
jjzbcbcscl
:
jjzbcsData
.
value
,
qtxgzccl
:
tpzcclData
.
value
,
bcxgzccl
:
tpbczcclData
.
value
,
shya
:
shyaData
.
value
,
projectXmtzzes
:
jcTzzeqkjData
,
projectCwpjzbs
:
jcCwpjzbData
,
...
...
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