Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
陆宇天
/
config-center-front
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1e2e68a3
authored
Apr 12, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
f6aec564
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
src/views/project/Project.vue
src/views/projectApi/ApiList.vue
src/views/project/Project.vue
View file @
1e2e68a
...
@@ -22,14 +22,14 @@
...
@@ -22,14 +22,14 @@
src=
"../../assets/project.png"
src=
"../../assets/project.png"
class=
"image"
class=
"image"
/>
/>
<div
style=
"padding: 14px"
>
<div
style=
"padding: 14px
; position: relative
"
>
<span>
项目名称:
{{
item
.
name
}}
</span>
<span>
项目名称:
{{
item
.
name
}}
</span>
<div>
项目备注:
{{
item
.
remark
}}
</div>
<div>
项目备注:
{{
item
.
remark
}}
</div>
<div
class=
"bottom"
>
<div
class=
"bottom"
>
<el-button
<el-button
class=
"button"
class=
"button"
v-preventReClick
v-preventReClick
:disabled=
"
item.disabled"
v-if=
"!
item.disabled"
type=
"text"
type=
"text"
@
click
.
stop=
"editFn(item)"
@
click
.
stop=
"editFn(item)"
>
编辑
</el-button
>
编辑
</el-button
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<el-button
<el-button
class=
"button"
class=
"button"
v-preventReClick
v-preventReClick
:disabled=
"
item.disabled"
v-if=
"!
item.disabled"
type=
"text"
type=
"text"
@
click
.
stop=
"deleteFn(item)"
@
click
.
stop=
"deleteFn(item)"
>
删除
</el-button
>
删除
</el-button
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
src=
"../../assets/project.png"
src=
"../../assets/project.png"
class=
"image"
class=
"image"
/>
/>
<div
style=
"padding: 14px"
>
<div
style=
"padding: 14px
; position: relative
"
>
<span>
项目环境:
{{
item
.
name
}}
</span>
<span>
项目环境:
{{
item
.
name
}}
</span>
<div
class=
"bottom"
>
<div
class=
"bottom"
>
<el-button
type=
"text"
class=
"button"
>
查看
</el-button>
<el-button
type=
"text"
class=
"button"
>
查看
</el-button>
...
@@ -279,5 +279,11 @@ export default defineComponent({
...
@@ -279,5 +279,11 @@ export default defineComponent({
.el-card
{
.el-card
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
.bottom
{
position
:
absolute
;
display
:
inline-block
;
right
:
10px
;
top
:
14px
;
}
}
}
</
style
>
</
style
>
src/views/projectApi/ApiList.vue
View file @
1e2e68a
...
@@ -27,7 +27,12 @@
...
@@ -27,7 +27,12 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<AddButton
:isDisabled=
"disabled"
v-preventReClick
@
click=
"addFn"
/>
<AddButton
style=
"z-index: 1"
:isDisabled=
"disabled"
v-preventReClick
@
click=
"addFn"
/>
</div>
</div>
</template>
</template>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment