Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart-office-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart-office-platform
Commits
7d665069
Commit
7d665069
authored
Jan 09, 2024
by
王晓旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
有内容时基础设置不可再添加
parent
a6e54825
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
smart-office-manager-ui/admin/src/components/Table.vue
smart-office-manager-ui/admin/src/components/Table.vue
+2
-0
smart-office-manager-ui/admin/src/views/basic/set/list.vue
smart-office-manager-ui/admin/src/views/basic/set/list.vue
+12
-0
No files found.
smart-office-manager-ui/admin/src/components/Table.vue
View file @
7d665069
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
<slot
name=
"table-head-left"
></slot>
<slot
name=
"table-head-left"
></slot>
<slot
name=
"table-head-center"
>
<slot
name=
"table-head-center"
>
<el-button
<el-button
v-show=
"isshowadd"
v-if=
"isShowButton('notAdd')"
v-if=
"isShowButton('notAdd')"
type=
"primary"
type=
"primary"
icon=
"el-icon-plus"
icon=
"el-icon-plus"
...
@@ -284,6 +285,7 @@ export default {
...
@@ -284,6 +285,7 @@ export default {
loading
:
this
.
config
.
loading
,
loading
:
this
.
config
.
loading
,
showSearch
:
this
.
isShowSearch
(
this
.
$route
.
query
),
showSearch
:
this
.
isShowSearch
(
this
.
$route
.
query
),
showType
:
"
table
"
,
showType
:
"
table
"
,
isshowadd
:
true
};
};
},
},
};
};
...
...
smart-office-manager-ui/admin/src/views/basic/set/list.vue
View file @
7d665069
...
@@ -52,6 +52,18 @@
...
@@ -52,6 +52,18 @@
this
.
$refs
.
drawerform
.
view
(
row
);
this
.
$refs
.
drawerform
.
view
(
row
);
},
},
},
watch
:{
'
tableData
'
(
newval
){
if
(
newval
.
data
&&
newval
.
data
.
length
>
0
)
{
this
.
$refs
.
layoutTable
.
isshowadd
=
false
this
.
$forceUpdate
()
}
else
{
this
.
$refs
.
layoutTable
.
isshowadd
=
true
}
},
deep
:
true
,
},
},
data
()
{
data
()
{
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