Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1c75d684
authored
2025-03-09 10:16:38 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
c63089e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
src/views/legao/advertisement/index.vue
src/views/legao/advertisement/index.vue
View file @
1c75d68
...
...
@@ -6,7 +6,7 @@
<!-- 列表操作 -->
<el-row
:gutter=
"10"
class=
"mb8"
justify=
"end"
>
<el-col
:span=
"1.5"
>
<el-button
<el-button
type=
"primary"
plain
icon=
"Plus"
...
...
@@ -17,7 +17,7 @@
</el-header>
<el-main
id=
"max-height"
>
<!-- 列表内容 -->
<el-table
<el-table
v-loading=
"status.loading"
:data=
"list"
:max-height=
"windowSize.height - 70"
...
...
@@ -42,7 +42,7 @@
</el-table-column>
<el-table-column
:label=
"$t('advertisement.tableControlsName')"
class-name=
"small-padding fixed-width"
>
<
template
#
default=
"{ row }"
>
<el-button
<el-button
link
type=
"info"
@
click=
"handleEdit(row)"
...
...
@@ -59,7 +59,7 @@
type=
"info"
@
click=
"handleChangeStatus(row, 1)"
>
{{
$t
(
'advertisement.controlsReleaseName'
)
}}
</el-button>
<el-button
<el-button
link
type=
"info"
@
click=
"handleDel(row)"
...
...
@@ -94,7 +94,10 @@
<el-button
type=
"info"
@
click=
"submitForm(1)"
>
{{
$t
(
'advertisement.dialogSubmit'
)
}}
</el-button>
<el-button
type=
"info"
@
click=
"submitForm(0)"
>
{{
$t
(
'advertisement.dialogSave'
)
}}
</el-button>
</
template
>
<el-button
v-else
type=
"info"
@
click=
"submitForm(null)"
>
{{ $t('advertisement.dialogSave') }}
</el-button>
<
template
v-else
>
<el-button
type=
"info"
@
click=
"submitForm(1)"
>
{{
$t
(
'advertisement.dialogSubmit'
)
}}
</el-button>
<el-button
type=
"info"
@
click=
"submitForm(null)"
>
{{
$t
(
'advertisement.dialogSave'
)
}}
</el-button>
</
template
>
<el-button
@
click=
"showForm.open = false"
>
{{ $t('advertisement.dialogExit') }}
</el-button>
</div>
</template>
...
...
@@ -192,7 +195,7 @@ function handleDel(row) {
getList
();
proxy
.
$modal
.
msgSuccess
(
res
.
msg
);
}).
finally
(()
=>
{
});
}
...
...
@@ -227,4 +230,4 @@ function closeDialog() {
form
:
{}
}
}
</
script
>
\ No newline at end of file
</
script
>
...
...
Write
Preview
Styling with
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