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
925baa25
Commit
925baa25
authored
Dec 20, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://94.191.100.41/tfmom/tf-mom-web
into dev
parents
c2d89b47
3ad79218
Hide 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 @
925baa25
...
@@ -48,6 +48,14 @@ export default {
...
@@ -48,6 +48,14 @@ export default {
activeValue
:
'edit'
,
activeValue
:
'edit'
,
inactiveValue
:
'view'
inactiveValue
:
'view'
}
}
},
{
'dynamicProp'
:
true
,
'key'
:
'component.checkRemoveFn'
,
'title'
:
'删除校验方法'
,
'prop'
:
'component'
,
'component'
:
{
name
:
'btnCodeEdit'
}
},
{
},
{
'dynamicProp'
:
true
,
'dynamicProp'
:
true
,
'key'
:
'isSupportSecret'
,
'key'
:
'isSupportSecret'
,
...
...
applications/architecture-dee/src/commonComponents/components/DeeUploadTable/index.vue
View file @
925baa25
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
:data=
"tableData"
:data=
"tableData"
:state=
"isViews"
:state=
"isViews"
:link=
"true"
:link=
"true"
:remove-check-fn=
"removeCheckFn"
:remove-check-fn=
"removeCheck
Judge
Fn"
:filter-key=
"filterKey"
:filter-key=
"filterKey"
:upload-fiter=
"uploadFiter"
:upload-fiter=
"uploadFiter"
@
uploadData=
"update"
@
uploadData=
"update"
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
:data=
"tableData"
:data=
"tableData"
:state=
"isViews"
:state=
"isViews"
:link=
"true"
:link=
"true"
:remove-check-fn=
"removeCheckFn"
:remove-check-fn=
"removeCheck
Judge
Fn"
:parent-key=
"parentKey"
:parent-key=
"parentKey"
@
uploadData=
"update"
@
uploadData=
"update"
/>
/>
...
@@ -179,6 +179,17 @@ export default {
...
@@ -179,6 +179,17 @@ export default {
uploadFiter
()
{
uploadFiter
()
{
return
this
.
showTableConfig
&&
this
.
showTableConfig
.
uploadFilter
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() {
// filterKey() {
// if (!this.tableConfig || !this.tableConfig.filterKey) {
// if (!this.tableConfig || !this.tableConfig.filterKey) {
// return ''
// 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