Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-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
TFMOM
TF-MOM-WEB
Commits
345ea7cc
Commit
345ea7cc
authored
Oct 27, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并产品代码【7367】 上传附件可以可以对附件绑定自定义参数
parent
74eeb2a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
signleUpload.vue
...mmonComponents/components/DeeUploadTable/signleUpload.vue
+18
-2
No files found.
applications/architecture-dee/src/commonComponents/components/DeeUploadTable/signleUpload.vue
View file @
345ea7cc
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
>
>
<el-button
:id=
"'upload'+ timestamp"
slot=
"trigger"
size=
"small"
type=
"primary"
>
点击上传
</el-button>
<el-button
:id=
"'upload'+ timestamp"
slot=
"trigger"
size=
"small"
type=
"primary"
>
点击上传
</el-button>
</el-upload>
</el-upload>
<dee-table
<
!--
<
dee-table
:selection-row=
"selectionRow"
:selection-row=
"selectionRow"
:index-row=
"indexRow"
:index-row=
"indexRow"
:data=
"tableData"
:data=
"tableData"
...
@@ -18,7 +18,19 @@
...
@@ -18,7 +18,19 @@
@
selection-change=
"selectionChange"
@
selection-change=
"selectionChange"
>
>
<dee-tools
v-show=
"state!=='view'"
slot=
"header"
:tools=
"tools"
mode=
"normal"
/>
<dee-tools
v-show=
"state!=='view'"
slot=
"header"
:tools=
"tools"
mode=
"normal"
/>
</dee-table>
</dee-table>
-->
<dee-up-table
edit-table
:edit-row-not-check-row=
"true"
:selection-row=
"selectionRow"
:index-row=
"indexRow"
:data=
"tableData"
:columns=
"columns"
@
selection-change=
"selectionChange"
@
cell-data-change=
"cellDataChange"
>
<dee-tools
v-show=
"state!=='view'"
slot=
"header"
:tools=
"tools"
mode=
"normal"
/>
</dee-up-table>
<!-- 设置密级-弹出框 -->
<!-- 设置密级-弹出框 -->
<dee-dialog
<dee-dialog
title=
"上传文件"
title=
"上传文件"
...
@@ -472,6 +484,10 @@ export default {
...
@@ -472,6 +484,10 @@ export default {
selectionChange
(
val
)
{
selectionChange
(
val
)
{
this
.
currentSelection
=
val
this
.
currentSelection
=
val
},
},
cellDataChange
(
val
)
{
this
.
$set
(
this
.
tableData
,
val
.
rowIndex
,
val
.
row
)
this
.
$emit
(
'uploadData'
,
this
.
tableData
)
},
upload
(
file
)
{
upload
(
file
)
{
const
fileExtName
=
'.'
+
file
.
file
.
name
.
split
(
'.'
).
pop
().
toLowerCase
()
const
fileExtName
=
'.'
+
file
.
file
.
name
.
split
(
'.'
).
pop
().
toLowerCase
()
const
acceptExtNames
=
this
.
accept
.
map
(
m
=>
m
.
toLowerCase
())
const
acceptExtNames
=
this
.
accept
.
map
(
m
=>
m
.
toLowerCase
())
...
...
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