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
9e415cb0
Commit
9e415cb0
authored
Nov 25, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1ea4c5d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
30 deletions
+30
-30
index.vue
src/views/resContainerInstance/index.vue
+29
-29
index.vue
src/views/system/user/index.vue
+1
-1
No files found.
src/views/resContainerInstance/index.vue
View file @
9e415cb0
...
@@ -88,8 +88,8 @@
...
@@ -88,8 +88,8 @@
style=
"width: 150px"
style=
"width: 150px"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"
flag
"
>
<el-form-item
label=
"状态"
prop=
"
dockerStatus
"
>
<el-select
v-model=
"queryParams.
flag
"
placeholder=
"请选择状态"
clearable
size=
"small"
>
<el-select
v-model=
"queryParams.
dockerStatus
"
placeholder=
"请选择状态"
clearable
size=
"small"
>
<el-option
<el-option
v-for=
"dict in statusOptions"
v-for=
"dict in statusOptions"
:key=
"dict.dictValue"
:key=
"dict.dictValue"
...
@@ -157,11 +157,11 @@
...
@@ -157,11 +157,11 @@
{{
scope
.
row
.
superiName
||
'-'
}}
{{
scope
.
row
.
superiName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"容器模版"
prop=
"dockerTemplateId"
width=
"130"
:show-overflow-tooltip=
"true"
>
<!-- <el-table-column label="容器模版" prop="dockerTemplateId" width="130" :show-overflow-tooltip="true">--
>
<
template
slot-scope=
"scope"
>
<!-- <template slot-scope="scope">--
>
{{
scope
.
row
.
quotaName
||
'-'
}}
<!-- {{ scope.row.quotaName || '-' }}-->
</
template
>
<!-- </template>--
>
</el-table-column
>
<!-- </el-table-column>--
>
<el-table-column
label=
"CPU"
prop=
"dockerCpu"
width=
"60"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"CPU"
prop=
"dockerCpu"
width=
"60"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
dockerCpu
||
'-'
}}
{{
scope
.
row
.
dockerCpu
||
'-'
}}
...
@@ -192,10 +192,10 @@
...
@@ -192,10 +192,10 @@
{{
scope
.
row
.
imageName
||
'-'
}}
{{
scope
.
row
.
imageName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"70"
label=
"状态"
prop=
"
flag
"
>
<el-table-column
width=
"70"
label=
"状态"
prop=
"
dockerStatus
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-switch
<el-switch
v-model=
"scope.row.
flag
"
v-model=
"scope.row.
dockerStatus
"
class=
"switchDisabledStyle"
class=
"switchDisabledStyle"
inactive-value=
"0"
inactive-value=
"0"
active-value=
"1"
active-value=
"1"
...
@@ -253,17 +253,24 @@
...
@@ -253,17 +253,24 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"容器
模版"
prop=
"dockerTemplat
eId"
>
<el-form-item
label=
"容器
镜像"
prop=
"dockerImag
eId"
>
<el-select
v-model=
"form.docker
TemplateId"
placeholder=
"请选择容器模版"
@
change=
"templateChange
"
clearable
style=
"width: 205px"
>
<el-select
v-model=
"form.docker
ImageId"
placeholder=
"请选择容器镜像
"
clearable
style=
"width: 205px"
>
<el-option
v-for=
"item in res
QuotaTemplateList"
:key=
"item.businessId"
:label=
"item.quota
Name"
:value=
"item.businessId"
/>
<el-option
v-for=
"item in res
PublicImageList"
:key=
"item.businessId"
:label=
"item.image
Name"
:value=
"item.businessId"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!-- <el-col :span="12">-->
<!-- <el-form-item label="容器模版" prop="dockerTemplateId">-->
<!-- <el-select v-model="form.dockerTemplateId" placeholder="请选择容器模版" @change="templateChange" clearable style="width: 205px">-->
<!-- <el-option v-for="item in resQuotaTemplateList" :key="item.businessId" :label="item.quotaName" :value="item.businessId" />-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
v-if=
"title === '修改容器实例'"
:span=
"12"
>
<el-form-item
label=
"容器状态"
prop=
"dockerStatus"
>
<el-form-item
label=
"容器状态"
prop=
"dockerStatus"
>
<el-select
v-model=
"form.dockerStatus"
placeholder=
"请选择容器状态"
clearable
style=
"width: 205px"
>
<el-select
v-model=
"form.dockerStatus"
disabled
placeholder=
"请选择容器状态"
clearable
style=
"width: 205px"
>
<el-option
value=
"1"
label=
"启动"
/>
<el-option
value=
"1"
label=
"启动"
/>
<el-option
value=
"2"
label=
"退出"
/>
<el-option
value=
"2"
label=
"退出"
/>
</el-select>
</el-select>
...
@@ -316,21 +323,14 @@
...
@@ -316,21 +323,14 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<!-- <el-col :span="12">-->
<el-form-item
label=
"容器镜像"
prop=
"dockerImageId"
>
<!-- <el-form-item label="状态">-->
<el-select
v-model=
"form.dockerImageId"
placeholder=
"请选择容器镜像"
clearable
style=
"width: 205px"
>
<!-- <el-radio-group v-model="form.flag">-->
<el-option
v-for=
"item in resPublicImageList"
:key=
"item.businessId"
:label=
"item.imageName"
:value=
"item.businessId"
/>
<!-- <el-radio label="1">启用</el-radio>-->
</el-select>
<!-- <el-radio label="0">停用</el-radio>-->
</el-form-item>
<!-- </el-radio-group>-->
</el-col>
<!-- </el-form-item>-->
<el-col
:span=
"12"
>
<!-- </el-col>-->
<el-form-item
label=
"状态"
>
<el-radio-group
v-model=
"form.flag"
>
<el-radio
label=
"1"
>
启用
</el-radio>
<el-radio
label=
"0"
>
停用
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
...
...
src/views/system/user/index.vue
View file @
9e415cb0
...
@@ -285,7 +285,7 @@
...
@@ -285,7 +285,7 @@
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"角色"
prop=
"postId"
>
<el-form-item
label=
"角色"
prop=
"postId"
>
<el-select
v-model=
"form.roleList"
multiple
placeholder=
"请选择"
style=
"width: 100%"
@
change=
"roleChange"
>
<el-select
v-model=
"form.roleList"
placeholder=
"请选择"
style=
"width: 100%"
@
change=
"roleChange"
>
<el-option
<el-option
v-for=
"item in options"
v-for=
"item in options"
:key=
"item.businessId"
:key=
"item.businessId"
...
...
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