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
3ad79218
Commit
3ad79218
authored
Dec 20, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改上传附加的删除校验方法
parent
8617c1cb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
config.js
.../src/commonComponents/components/DeeUploadTable/config.js
+8
-0
index.vue
.../src/commonComponents/components/DeeUploadTable/index.vue
+13
-2
No files found.
applications/architecture-dee/src/commonComponents/components/DeeUploadTable/config.js
View file @
3ad79218
...
...
@@ -48,6 +48,14 @@ export default {
activeValue
:
'edit'
,
inactiveValue
:
'view'
}
},
{
'dynamicProp'
:
true
,
'key'
:
'component.checkRemoveFn'
,
'title'
:
'删除校验方法'
,
'prop'
:
'component'
,
'component'
:
{
name
:
'btnCodeEdit'
}
},
{
'dynamicProp'
:
true
,
'key'
:
'isSupportSecret'
,
...
...
applications/architecture-dee/src/commonComponents/components/DeeUploadTable/index.vue
View file @
3ad79218
...
...
@@ -9,7 +9,7 @@
:data=
"tableData"
:state=
"isViews"
:link=
"true"
:remove-check-fn=
"removeCheckFn"
:remove-check-fn=
"removeCheck
Judge
Fn"
:filter-key=
"filterKey"
:upload-fiter=
"uploadFiter"
@
uploadData=
"update"
...
...
@@ -23,7 +23,7 @@
:data=
"tableData"
:state=
"isViews"
:link=
"true"
:remove-check-fn=
"removeCheckFn"
:remove-check-fn=
"removeCheck
Judge
Fn"
:parent-key=
"parentKey"
@
uploadData=
"update"
/>
...
...
@@ -179,6 +179,17 @@ export default {
uploadFiter
()
{
return
this
.
showTableConfig
&&
this
.
showTableConfig
.
uploadFilter
},
// 删除校验方法的选择
removeCheckJudgeFn
()
{
if
(
this
.
showTableConfig
&&
this
.
showTableConfig
.
checkRemoveFn
)
{
let
fun1
// eslint-disable-next-line no-eval
eval
(
`fun1=
${
this
.
showTableConfig
.
checkRemoveFn
}
`
)
return
fun1
}
else
{
return
this
.
removeCheckFn
}
},
// filterKey() {
// if (!this.tableConfig || !this.tableConfig.filterKey) {
// return ''
...
...
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