Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intelligent_station_web
Project
Project
Details
Activity
Releases
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
张伯涛
intelligent_station_web
Commits
35ea2c39
Commit
35ea2c39
authored
Sep 13, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
b1b85f3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
index.vue
src/views/resQuotaTemplate/index.vue
+6
-6
No files found.
src/views/resQuotaTemplate/index.vue
View file @
35ea2c39
...
...
@@ -2,10 +2,10 @@
<div
class=
"app-container"
>
<div
class=
"mb12 font-small-bold"
style=
"font-size: 16px"
>
资源限额模版列表
</div>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryParams"
:inline=
"true"
>
<el-form-item
label=
"
限额
模版名称"
prop=
"quotaName"
>
<el-form-item
label=
"模版名称"
prop=
"quotaName"
>
<el-input
v-model=
"queryParams.quotaName"
placeholder=
"请输入
限额
模版名称"
placeholder=
"请输入模版名称"
clearable
:maxlength=
"255"
size=
"small"
...
...
@@ -80,7 +80,7 @@
<div
style=
"padding:5px 10px"
>
<el-table
v-loading=
"loading"
border
:data=
"resQuotaTemplateList"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"
限额
模版名称"
width=
"140px"
prop=
"quotaName"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"模版名称"
width=
"140px"
prop=
"quotaName"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
quotaName
||
'-'
}}
</
template
>
...
...
@@ -164,8 +164,8 @@
<!-- 添加或修改资源限额模版配置对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
label-width=
"auto"
:model=
"form"
:rules=
"rules"
size=
"small"
>
<el-form-item
label=
"
限额
模版名称"
prop=
"quotaName"
>
<el-input
v-model
.
trim=
"form.quotaName"
show-word-limit
:maxlength=
"255"
placeholder=
"请输入
限额
模版名称"
/>
<el-form-item
label=
"模版名称"
prop=
"quotaName"
>
<el-input
v-model
.
trim=
"form.quotaName"
show-word-limit
:maxlength=
"255"
placeholder=
"请输入模版名称"
/>
</el-form-item>
<el-form-item
label=
"cpu限额"
prop=
"quotaCpuSum"
>
<el-input
v-model
.
trim=
"form.quotaCpuSum"
controls-position=
"right"
:min=
"0"
placeholder=
"请输入cpu限额"
/>
...
...
@@ -282,7 +282,7 @@ export default {
// 表单校验
rules
:
{
quotaName
:
[
{
required
:
true
,
message
:
'
限额
模版名称不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'模版名称不能为空'
,
trigger
:
'blur'
}
],
quotaCpuSum
:
[
{
required
:
true
,
message
:
'cpu限额不能为空'
,
trigger
:
'blur'
}
...
...
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