forked from JointCloud/JCC-RIP
Merge pull request 'multiple language' (#24) from annzee/JCC-RIP:master into master
This commit is contained in:
commit
9728ed7a26
|
@ -14,16 +14,31 @@
|
||||||
"reset": "Reset",
|
"reset": "Reset",
|
||||||
"count": "Count:",
|
"count": "Count:",
|
||||||
"create": "Create",
|
"create": "Create",
|
||||||
"name": "Name"
|
"name": "Name",
|
||||||
|
"confirm": "确定"
|
||||||
},
|
},
|
||||||
"menu": {
|
"menu": {
|
||||||
"taskManagement": "Task Management",
|
"taskManagement": "Task Management",
|
||||||
"taskList": "Task List",
|
"taskList": "Task List",
|
||||||
|
"jobTask": "作业任务",
|
||||||
"strategyManagement": "策略管理r",
|
"strategyManagement": "策略管理r",
|
||||||
"schedulingStrategy": "调度策略r",
|
"schedulingStrategy": "调度策略r",
|
||||||
"warnStrategy": "告警策略r",
|
"warnStrategy": "告警策略r",
|
||||||
"adapterManagement": "驱动器管理r",
|
"adapterManagement": "驱动器管理r",
|
||||||
"adapterList": "驱动器列表r"
|
"adapterList": "驱动器列表r",
|
||||||
|
"clusterManagement": "集群管理r",
|
||||||
|
"resourceUsageTop": "资源中心使用TOP3r",
|
||||||
|
"resourceCenter": "资源中心r",
|
||||||
|
"scheduleStatus": "调度情况r",
|
||||||
|
"messageList": "消息列表r",
|
||||||
|
"alertNotification": "告警通知r",
|
||||||
|
"hpcManagement": "超算管理",
|
||||||
|
"hpcOverview": "超算概览",
|
||||||
|
"aiManagement": "智算管理",
|
||||||
|
"autoStudy": "自动学习",
|
||||||
|
"warnCenter": "告警中心",
|
||||||
|
"warnList": "告警列表",
|
||||||
|
"warnSet": "告警设置"
|
||||||
},
|
},
|
||||||
"check": {
|
"check": {
|
||||||
"input": "请输入",
|
"input": "请输入",
|
||||||
|
@ -47,7 +62,7 @@
|
||||||
"cluster": "Cluster",
|
"cluster": "Cluster",
|
||||||
"startTime": "Start Time",
|
"startTime": "Start Time",
|
||||||
"more": "More",
|
"more": "More",
|
||||||
"participantName": "Participant名称",
|
"participantName": "Participant Name",
|
||||||
"calculationType":"计算类型",
|
"calculationType":"计算类型",
|
||||||
"stackName":"技术栈名称",
|
"stackName":"技术栈名称",
|
||||||
"stackVersion":"技术栈版本号",
|
"stackVersion":"技术栈版本号",
|
||||||
|
@ -58,7 +73,7 @@
|
||||||
"zhi":"智算",
|
"zhi":"智算",
|
||||||
"chao":"云算",
|
"chao":"云算",
|
||||||
"associatedCluster":"已关联集群",
|
"associatedCluster":"已关联集群",
|
||||||
"description":"描述",
|
"description":"description",
|
||||||
"edit":"编辑",
|
"edit":"编辑",
|
||||||
"total":"总条数",
|
"total":"总条数",
|
||||||
"addAdapter":"新增驱动器",
|
"addAdapter":"新增驱动器",
|
||||||
|
@ -66,12 +81,29 @@
|
||||||
"clusterAssociation":"集群关联",
|
"clusterAssociation":"集群关联",
|
||||||
"adapterSetting":"驱动器设置",
|
"adapterSetting":"驱动器设置",
|
||||||
"adapterDesc":"支持用户上传新的PCM适配技术栈,并通过当前功能,进行适配绑定",
|
"adapterDesc":"支持用户上传新的PCM适配技术栈,并通过当前功能,进行适配绑定",
|
||||||
|
"clusterDesc": "对多集群以及每个集群的基础资源, 服务组件和应用资源等的统一管理",
|
||||||
"deleteWarn":"您确定要删除吗",
|
"deleteWarn":"您确定要删除吗",
|
||||||
"deleteSuccess":"删除成功",
|
"deleteSuccess":"删除成功",
|
||||||
"viewDetail": "View Detail",
|
"viewDetail": "View Detail",
|
||||||
"cpType": "计算类型r",
|
"cpType": "计算类型r",
|
||||||
"taskType": "任务类型r",
|
"taskType": "任务类型r",
|
||||||
"createApplication": "创建容器应用r",
|
"createApplication": "创建容器应用r",
|
||||||
"createJob": "创建容器定时任务r"
|
"createJob": "创建容器定时任务r",
|
||||||
|
"memory": "内存",
|
||||||
|
"storage": "存储",
|
||||||
|
"distributedTask": "已下发任务",
|
||||||
|
"reservedTask": "已保留任务",
|
||||||
|
"errorTask": "错误任务",
|
||||||
|
"reason": "原因",
|
||||||
|
"eventDetail": "事件详情",
|
||||||
|
"updateDate": "更新时间",
|
||||||
|
"clusterName": "集群名",
|
||||||
|
"kbVersion": "kubernetes版本",
|
||||||
|
"createTime": "创建时间",
|
||||||
|
"classification": "分类r",
|
||||||
|
"vmCluster": "虚拟机集群",
|
||||||
|
"containerCluster": "容器集群",
|
||||||
|
"hpcDomain": "超算域",
|
||||||
|
"job": "作业"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -14,16 +14,31 @@
|
||||||
"reset": "重置",
|
"reset": "重置",
|
||||||
"count": "总条数:",
|
"count": "总条数:",
|
||||||
"create": "创建",
|
"create": "创建",
|
||||||
"name": "名称"
|
"name": "名称",
|
||||||
|
"confirm": "确定"
|
||||||
},
|
},
|
||||||
"menu": {
|
"menu": {
|
||||||
"taskManagement": "任务管理",
|
"taskManagement": "任务管理",
|
||||||
"taskList": "任务列表",
|
"taskList": "任务列表",
|
||||||
|
"jobTask": "作业任务",
|
||||||
"strategyManagement": "策略管理",
|
"strategyManagement": "策略管理",
|
||||||
"schedulingStrategy": "调度策略",
|
"schedulingStrategy": "调度策略",
|
||||||
"warnStrategy": "告警策略",
|
"warnStrategy": "告警策略",
|
||||||
"adapterManagement": "驱动器管理",
|
"adapterManagement": "驱动器管理",
|
||||||
"adapterList": "驱动器列表"
|
"adapterList": "驱动器列表",
|
||||||
|
"clusterManagement": "集群管理",
|
||||||
|
"resourceUsageTop": "资源中心使用TOP3",
|
||||||
|
"resourceCenter": "资源中心",
|
||||||
|
"scheduleStatus": "调度情况",
|
||||||
|
"messageList": "消息列表",
|
||||||
|
"alertNotification": "告警通知",
|
||||||
|
"hpcManagement": "超算管理",
|
||||||
|
"hpcOverview": "超算概览",
|
||||||
|
"aiManagement": "智算管理",
|
||||||
|
"autoStudy": "自动学习",
|
||||||
|
"warnCenter": "告警中心",
|
||||||
|
"warnList": "告警列表",
|
||||||
|
"warnSet": "告警设置"
|
||||||
},
|
},
|
||||||
"check": {
|
"check": {
|
||||||
"input": "请输入",
|
"input": "请输入",
|
||||||
|
@ -47,8 +62,8 @@
|
||||||
"cluster": "集群",
|
"cluster": "集群",
|
||||||
"startTime": "作业开始时间",
|
"startTime": "作业开始时间",
|
||||||
"more": "更多操作",
|
"more": "更多操作",
|
||||||
"viewDetail": "查看详情",
|
|
||||||
"participantName": "Participant名称",
|
"participantName": "Participant名称",
|
||||||
|
"calculationType":"计算类型",
|
||||||
"stackName":"技术栈名称",
|
"stackName":"技术栈名称",
|
||||||
"stackVersion":"技术栈版本号",
|
"stackVersion":"技术栈版本号",
|
||||||
"address":"地址",
|
"address":"地址",
|
||||||
|
@ -66,11 +81,29 @@
|
||||||
"clusterAssociation":"集群关联",
|
"clusterAssociation":"集群关联",
|
||||||
"adapterSetting":"驱动器设置",
|
"adapterSetting":"驱动器设置",
|
||||||
"adapterDesc":"支持用户上传新的PCM适配技术栈,并通过当前功能,进行适配绑定",
|
"adapterDesc":"支持用户上传新的PCM适配技术栈,并通过当前功能,进行适配绑定",
|
||||||
|
"clusterDesc": "对多集群以及每个集群的基础资源, 服务组件和应用资源等的统一管理",
|
||||||
"deleteWarn":"您确定要删除吗",
|
"deleteWarn":"您确定要删除吗",
|
||||||
"deleteSuccess":"删除成功",
|
"deleteSuccess":"删除成功",
|
||||||
|
"viewDetail": "View Detail",
|
||||||
"cpType": "计算类型",
|
"cpType": "计算类型",
|
||||||
"taskType": "任务类型",
|
"taskType": "任务类型",
|
||||||
"createApplication": "创建容器应用",
|
"createApplication": "创建容器应用",
|
||||||
"createJob": "创建容器定时任务"
|
"createJob": "创建容器定时任务",
|
||||||
|
"memory": "内存",
|
||||||
|
"storage": "存储",
|
||||||
|
"distributedTask": "已下发任务",
|
||||||
|
"reservedTask": "已保留任务",
|
||||||
|
"errorTask": "错误任务",
|
||||||
|
"reason": "原因",
|
||||||
|
"eventDetail": "事件详情",
|
||||||
|
"updateDate": "更新时间",
|
||||||
|
"clusterName": "集群名",
|
||||||
|
"kbVersion": "kubernetes版本",
|
||||||
|
"createTime": "创建时间",
|
||||||
|
"classification": "分类",
|
||||||
|
"vmCluster": "虚拟机集群",
|
||||||
|
"containerCluster": "容器集群",
|
||||||
|
"hpcDomain": "超算域",
|
||||||
|
"job": "作业"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -6,8 +6,8 @@ export const getAppList = (params) => {
|
||||||
export const getAppPodsByAppName = (name, params) => {
|
export const getAppPodsByAppName = (name, params) => {
|
||||||
return request({ url: '/pcm/v1/apps/pods/' + name, method: 'get', params })
|
return request({ url: '/pcm/v1/apps/pods/' + name, method: 'get', params })
|
||||||
}
|
}
|
||||||
export const addApp = (params) => {
|
export const addApp = (data) => {
|
||||||
return request({ url: '/pcm/v1/core/task/create', method: 'post', params })
|
return request({ url: '/pcm/v1/core/task/create', method: 'post', data })
|
||||||
}
|
}
|
||||||
export const addNewApp = (params) => {
|
export const addNewApp = (params) => {
|
||||||
return request({ url: '/pcm/v1/core/commitTask', method: 'post', params })
|
return request({ url: '/pcm/v1/core/commitTask', method: 'post', params })
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
<el-button @click="dialogFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitInfoEdit">更 新</el-button>
|
<el-button type="primary" @click="submitInfoEdit">更 新</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<el-dialog :close-on-click-modal="false" width="80%" :title="(isEdit? '编辑': '查看') +'配置文件'" :visible.sync="dialogVisible">
|
<el-dialog :close-on-click-modal="false" width="80%" :title="(isEdit? '编辑': '查看') +'配置文件'" :visible.sync="dialogVisible">
|
||||||
<codemirror v-model="codeData" class="code-mirror" :options="cmOption" />
|
<codemirror v-model="codeData" class="code-mirror" :options="cmOption" />
|
||||||
<div v-if="isEdit" slot="footer" class="dialog-footer">
|
<div v-if="isEdit" slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitSettingEdit">更 新</el-button>
|
<el-button type="primary" @click="submitSettingEdit">更 新</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
<auto-events v-show="stepNum === 3" ref="autoEventsForm" v-model="autoEvents" />
|
<auto-events v-show="stepNum === 3" ref="autoEventsForm" v-model="autoEvents" />
|
||||||
<add-protocal v-show="stepNum === 4" ref="addProtocalForm" />
|
<add-protocal v-show="stepNum === 4" ref="addProtocalForm" />
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createFormVisible = false">取 消</el-button>
|
<el-button @click="createFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button v-if="stepNum!==0" type="primary" @click="prev">上一步</el-button>
|
<el-button v-if="stepNum!==0" type="primary" @click="prev">上一步</el-button>
|
||||||
<el-button v-if="stepNum!==4" type="primary" @click="next">下一步</el-button>
|
<el-button v-if="stepNum!==4" type="primary" @click="next">下一步</el-button>
|
||||||
<el-button v-else type="primary" @click="createDevice">创建</el-button>
|
<el-button v-else type="primary" @click="createDevice">创建</el-button>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<mountVolumes v-if="stepNum===2" v-model="metaData" />
|
<mountVolumes v-if="stepNum===2" v-model="metaData" />
|
||||||
<advancedSettings v-if="stepNum===3" v-model="metaData" :classification="classification" />
|
<advancedSettings v-if="stepNum===3" v-model="metaData" :classification="classification" />
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createFormVisible = false;transformYaml()">取 消</el-button>
|
<el-button @click="createFormVisible = false;transformYaml()">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button v-if="stepNum!==0" type="primary" @click="prev">上一步</el-button>
|
<el-button v-if="stepNum!==0" type="primary" @click="prev">上一步</el-button>
|
||||||
<el-button v-if="stepNum!==3" type="primary" @click="next">下一步</el-button>
|
<el-button v-if="stepNum!==3" type="primary" @click="next">下一步</el-button>
|
||||||
<el-button v-else type="primary" @click="createWorkload">创建</el-button>
|
<el-button v-else type="primary" @click="createWorkload">创建</el-button>
|
||||||
|
|
|
@ -3,9 +3,9 @@ import emptyLayout from '@/layout/emptyLayout'
|
||||||
const functionsRouter = {
|
const functionsRouter = {
|
||||||
path: '/hpc',
|
path: '/hpc',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
name: '超算管理',
|
name: 'hpcManagement',
|
||||||
meta: {
|
meta: {
|
||||||
title: '超算管理',
|
title: 'hpcManagement',
|
||||||
icon: 'el-icon-s-operation'
|
icon: 'el-icon-s-operation'
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
@ -18,7 +18,7 @@ const functionsRouter = {
|
||||||
path: '',
|
path: '',
|
||||||
component: () => import('@/views/hpcOverview/index'),
|
component: () => import('@/views/hpcOverview/index'),
|
||||||
name: 'hpcOverview',
|
name: 'hpcOverview',
|
||||||
meta: { title: '超算概览', icon: 'gailan', affix: true },
|
meta: { title: 'hpcOverview', icon: 'gailan', affix: true },
|
||||||
hidden: false
|
hidden: false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,9 @@ import emptyLayout from '@/layout/emptyLayout'
|
||||||
const functionsRouter = {
|
const functionsRouter = {
|
||||||
path: '/modelarts',
|
path: '/modelarts',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
name: '智算管理',
|
name: 'aiManagement',
|
||||||
meta: {
|
meta: {
|
||||||
title: '智算管理',
|
title: 'aiManagement',
|
||||||
icon: 'el-icon-s-operation'
|
icon: 'el-icon-s-operation'
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
@ -24,7 +24,7 @@ const functionsRouter = {
|
||||||
path: '',
|
path: '',
|
||||||
component: () => import('@/views/modelarts/autoStudy/index'),
|
component: () => import('@/views/modelarts/autoStudy/index'),
|
||||||
name: 'autoStudy',
|
name: 'autoStudy',
|
||||||
meta: { title: '自动学习', icon: 'jiqunjiedian', affix: true },
|
meta: { title: 'autoStudy', icon: 'jiqunjiedian', affix: true },
|
||||||
hidden: false
|
hidden: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -35,113 +35,113 @@ const functionsRouter = {
|
||||||
hidden: true
|
hidden: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'dataManager',
|
|
||||||
component: emptyLayout,
|
|
||||||
redirect: 'dataSet',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: () => import('@/views/modelarts/dataSet/index'),
|
|
||||||
name: 'dataSet',
|
|
||||||
meta: { title: '数据集', icon: 'rongqizu', affix: true },
|
|
||||||
hidden: false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'create',
|
|
||||||
component: () => import('@/views/modelarts/dataSet/create'),
|
|
||||||
name: 'dataSetCreate',
|
|
||||||
meta: { activeMenu: '/modelarts/dataSet', keepAlive: true },
|
|
||||||
hidden: true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'detail',
|
|
||||||
component: () => import('@/views/modelarts/dataSet/detail'),
|
|
||||||
name: 'dataSetDetail',
|
|
||||||
meta: { activeMenu: '/modelarts/dataSet', keepAlive: true },
|
|
||||||
hidden: true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'algorithmManagement',
|
|
||||||
component: emptyLayout,
|
|
||||||
redirect: 'algorithmManagement',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: () => import('@/views/modelarts/algorithmManagement/index'),
|
|
||||||
name: 'algorithmManagement',
|
|
||||||
meta: { title: '算法管理', icon: 'fuwu', affix: true },
|
|
||||||
hidden: false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'create',
|
|
||||||
component: () => import('@/views/modelarts/algorithmManagement/create'),
|
|
||||||
name: 'algorithmCreate',
|
|
||||||
meta: { activeMenu: '/modelarts/algorithmManagement', keepAlive: true },
|
|
||||||
hidden: true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'detail',
|
|
||||||
component: () => import('@/views/modelarts/algorithmManagement/detail'),
|
|
||||||
name: 'algorithmDetail',
|
|
||||||
meta: { activeMenu: '/modelarts/algorithmManagement', keepAlive: true },
|
|
||||||
hidden: true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'trainingManager',
|
|
||||||
component: emptyLayout,
|
|
||||||
redirect: 'trainingWork',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: () => import('@/views/modelarts/trainingManager/index'),
|
|
||||||
name: 'trainingWork',
|
|
||||||
meta: { title: '训练作业', icon: 'celvetiaoduguanli', affix: true },
|
|
||||||
hidden: false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'create',
|
|
||||||
component: () => import('@/views/modelarts/trainingManager/create'),
|
|
||||||
name: 'trainingWorkCreate',
|
|
||||||
meta: { activeMenu: '/modelarts/trainingManager', keepAlive: true },
|
|
||||||
hidden: true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'detail',
|
|
||||||
component: () => import('@/views/modelarts/trainingManager/detail'),
|
|
||||||
name: 'trainingWorkDetail',
|
|
||||||
meta: { activeMenu: '/modelarts/trainingManager', keepAlive: true },
|
|
||||||
hidden: true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'onlineService',
|
|
||||||
component: emptyLayout,
|
|
||||||
redirect: 'onlineService',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: () => import('@/views/modelarts/onlineService/index'),
|
|
||||||
name: 'onlineService',
|
|
||||||
meta: { title: '在线服务', icon: 'xiangmuguanli', affix: true },
|
|
||||||
hidden: false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'detail',
|
|
||||||
component: () => import('@/views/modelarts/onlineService/detail'),
|
|
||||||
name: 'onlineServiceDetail',
|
|
||||||
meta: { activeMenu: '/modelarts/onlineService', keepAlive: true },
|
|
||||||
hidden: true
|
|
||||||
}
|
|
||||||
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
// {
|
||||||
|
// path: 'dataManager',
|
||||||
|
// component: emptyLayout,
|
||||||
|
// redirect: 'dataSet',
|
||||||
|
// children: [
|
||||||
|
// {
|
||||||
|
// path: '',
|
||||||
|
// component: () => import('@/views/modelarts/dataSet/index'),
|
||||||
|
// name: 'dataSet',
|
||||||
|
// meta: { title: '数据集', icon: 'rongqizu', affix: true },
|
||||||
|
// hidden: false
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'create',
|
||||||
|
// component: () => import('@/views/modelarts/dataSet/create'),
|
||||||
|
// name: 'dataSetCreate',
|
||||||
|
// meta: { activeMenu: '/modelarts/dataSet', keepAlive: true },
|
||||||
|
// hidden: true
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'detail',
|
||||||
|
// component: () => import('@/views/modelarts/dataSet/detail'),
|
||||||
|
// name: 'dataSetDetail',
|
||||||
|
// meta: { activeMenu: '/modelarts/dataSet', keepAlive: true },
|
||||||
|
// hidden: true
|
||||||
|
// }
|
||||||
|
// ]
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'algorithmManagement',
|
||||||
|
// component: emptyLayout,
|
||||||
|
// redirect: 'algorithmManagement',
|
||||||
|
// children: [
|
||||||
|
// {
|
||||||
|
// path: '',
|
||||||
|
// component: () => import('@/views/modelarts/algorithmManagement/index'),
|
||||||
|
// name: 'algorithmManagement',
|
||||||
|
// meta: { title: '算法管理', icon: 'fuwu', affix: true },
|
||||||
|
// hidden: false
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'create',
|
||||||
|
// component: () => import('@/views/modelarts/algorithmManagement/create'),
|
||||||
|
// name: 'algorithmCreate',
|
||||||
|
// meta: { activeMenu: '/modelarts/algorithmManagement', keepAlive: true },
|
||||||
|
// hidden: true
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'detail',
|
||||||
|
// component: () => import('@/views/modelarts/algorithmManagement/detail'),
|
||||||
|
// name: 'algorithmDetail',
|
||||||
|
// meta: { activeMenu: '/modelarts/algorithmManagement', keepAlive: true },
|
||||||
|
// hidden: true
|
||||||
|
// }
|
||||||
|
// ]
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'trainingManager',
|
||||||
|
// component: emptyLayout,
|
||||||
|
// redirect: 'trainingWork',
|
||||||
|
// children: [
|
||||||
|
// {
|
||||||
|
// path: '',
|
||||||
|
// component: () => import('@/views/modelarts/trainingManager/index'),
|
||||||
|
// name: 'trainingWork',
|
||||||
|
// meta: { title: '训练作业', icon: 'celvetiaoduguanli', affix: true },
|
||||||
|
// hidden: false
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'create',
|
||||||
|
// component: () => import('@/views/modelarts/trainingManager/create'),
|
||||||
|
// name: 'trainingWorkCreate',
|
||||||
|
// meta: { activeMenu: '/modelarts/trainingManager', keepAlive: true },
|
||||||
|
// hidden: true
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'detail',
|
||||||
|
// component: () => import('@/views/modelarts/trainingManager/detail'),
|
||||||
|
// name: 'trainingWorkDetail',
|
||||||
|
// meta: { activeMenu: '/modelarts/trainingManager', keepAlive: true },
|
||||||
|
// hidden: true
|
||||||
|
// }
|
||||||
|
// ]
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'onlineService',
|
||||||
|
// component: emptyLayout,
|
||||||
|
// redirect: 'onlineService',
|
||||||
|
// children: [
|
||||||
|
// {
|
||||||
|
// path: '',
|
||||||
|
// component: () => import('@/views/modelarts/onlineService/index'),
|
||||||
|
// name: 'onlineService',
|
||||||
|
// meta: { title: '在线服务', icon: 'xiangmuguanli', affix: true },
|
||||||
|
// hidden: false
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: 'detail',
|
||||||
|
// component: () => import('@/views/modelarts/onlineService/detail'),
|
||||||
|
// name: 'onlineServiceDetail',
|
||||||
|
// meta: { activeMenu: '/modelarts/onlineService', keepAlive: true },
|
||||||
|
// hidden: true
|
||||||
|
// }
|
||||||
|
|
||||||
|
// ]
|
||||||
|
// }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
export default functionsRouter
|
export default functionsRouter
|
||||||
|
|
|
@ -3,9 +3,9 @@ import emptyLayout from '@/layout/emptyLayout'
|
||||||
const permissionRouter = {
|
const permissionRouter = {
|
||||||
path: '/monitorManagement',
|
path: '/monitorManagement',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
name: '告警中心',
|
name: 'warnCenter',
|
||||||
meta: {
|
meta: {
|
||||||
title: '告警中心',
|
title: 'warnCenter',
|
||||||
icon: 'yunweijiankongmokuai'
|
icon: 'yunweijiankongmokuai'
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
@ -19,7 +19,7 @@ const permissionRouter = {
|
||||||
component: () => import('@/views/monitorManagement/warnList/index'),
|
component: () => import('@/views/monitorManagement/warnList/index'),
|
||||||
name: 'warnList',
|
name: 'warnList',
|
||||||
// redirect: 'podWarn',
|
// redirect: 'podWarn',
|
||||||
meta: { title: '告警列表', icon: 'xunijiguanli-zhuji', affix: true },
|
meta: { title: 'warnList', icon: 'xunijiguanli-zhuji', affix: true },
|
||||||
hidden: false
|
hidden: false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -33,7 +33,7 @@ const permissionRouter = {
|
||||||
path: '',
|
path: '',
|
||||||
component: () => import('@/views/monitorManagement/warnSet/index'),
|
component: () => import('@/views/monitorManagement/warnSet/index'),
|
||||||
name: 'warnSet',
|
name: 'warnSet',
|
||||||
meta: { title: '告警设置', icon: 'xunijiguanli-zhuji', affix: true },
|
meta: { title: 'warnSet', icon: 'xunijiguanli-zhuji', affix: true },
|
||||||
hidden: false
|
hidden: false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -41,8 +41,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createFormVisible = false">取 消</el-button>
|
<el-button @click="createFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitInfoEdit">确 定</el-button>
|
<el-button type="primary" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -101,8 +101,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createFormVisible = false">取 消</el-button>
|
<el-button @click="createFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitInfoEdit">确 定</el-button>
|
<el-button type="primary" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<div>
|
<div>
|
||||||
<Navbar />
|
<Navbar />
|
||||||
<el-card class="basicInfo">
|
<el-card class="basicInfo">
|
||||||
<img src="@/assets/img/xnj.png" class="sidebar-logo" alt="容器节点">
|
<img src="@/assets/img/xnj.png" class="sidebar-logo" :alt="$t('menu.clusterManagement')">
|
||||||
<h4>集群管理</h4>
|
<h4>{{ $t('menu.clusterManagement') }}</h4>
|
||||||
<span class="tips">
|
<span class="tips">
|
||||||
对多集群以及每个集群的基础资源, 服务组件和应用资源等的统一管理
|
{{ $t('page.clusterDesc') }}
|
||||||
</span>
|
</span>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-row>
|
<el-row>
|
||||||
|
@ -37,6 +37,7 @@
|
||||||
<el-card>
|
<el-card>
|
||||||
<List
|
<List
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
|
:key="$i18n.locale"
|
||||||
class="multipleTable"
|
class="multipleTable"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
|
@ -59,13 +60,12 @@ export default {
|
||||||
return {
|
return {
|
||||||
getClusterList,
|
getClusterList,
|
||||||
sumData: {},
|
sumData: {},
|
||||||
columns: [
|
clusterNum: 0
|
||||||
{ prop: 'name', label: '集群名', formatter: (row) => { return <a onClick={() => this.selectCluster(row)}>{row.name}</a> } },
|
}
|
||||||
{ prop: 'label', label: '分类', formatter: (row) => { return row.label === 'openstack' ? '虚拟机集群' : '容器集群' } },
|
},
|
||||||
{ prop: 'description', label: '描述' },
|
computed: {
|
||||||
{ prop: 'version', label: 'kubernetes版本' },
|
columns() {
|
||||||
{ prop: 'createTime', label: '创建时间', formatter: (row) => { return row.createTime } }
|
return this.setColumn()
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -74,6 +74,17 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
setColumn() {
|
||||||
|
return [
|
||||||
|
{ prop: 'name', label: this.$t('page.clusterName'), formatter: (row) => { return <a onClick={() => this.selectCluster(row)}>{row.name}</a> } },
|
||||||
|
{ prop: 'label', label: this.$t('page.classification'), formatter: (row) => { return row.label === 'openstack' ? this.$t('page.vmCluster') : this.$t('page.containerCluster') } },
|
||||||
|
{ prop: 'description', label: this.$t('page.description') },
|
||||||
|
// { prop: 'group', label: '演示环境' },
|
||||||
|
// { prop: 'node_num', label: '节点数' },
|
||||||
|
{ prop: 'version', label: this.$t('page.kbVersion') },
|
||||||
|
{ prop: 'createTime', label: this.$t('page.createTime'), formatter: (row) => { return row.createTime } }
|
||||||
|
]
|
||||||
|
},
|
||||||
selectCluster(row) {
|
selectCluster(row) {
|
||||||
// set cluster
|
// set cluster
|
||||||
// set left menu
|
// set left menu
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
<el-button type="primary" plain round :disabled="addTagNumCheck" @click="addTag">添加标签</el-button>
|
<el-button type="primary" plain round :disabled="addTagNumCheck" @click="addTag">添加标签</el-button>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
<el-button @click="dialogFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitTagEdit">确 定</el-button>
|
<el-button type="primary" @click="submitTagEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog :close-on-click-modal="false" title="污点管理" :visible.sync="dialogTaintFormVisible">
|
<el-dialog :close-on-click-modal="false" title="污点管理" :visible.sync="dialogTaintFormVisible">
|
||||||
|
@ -68,8 +68,8 @@
|
||||||
<el-button type="primary" plain round :disabled="addTaintNumCheck" @click="addTaint">添加污点</el-button>
|
<el-button type="primary" plain round :disabled="addTaintNumCheck" @click="addTaint">添加污点</el-button>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogTaintFormVisible = false">取 消</el-button>
|
<el-button @click="dialogTaintFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitTaintEdit">确 定</el-button>
|
<el-button type="primary" @click="submitTaintEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<FormData :data="formData" :data-map="dataMap" />
|
<FormData :data="formData" :data-map="dataMap" />
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
<span v-else>没有相关命令</span>
|
<span v-else>没有相关命令</span>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
<el-button type="primary" @click="dialogVisible = false">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
/>
|
/>
|
||||||
<p v-else>无相关自动采集</p>
|
<p v-else>无相关自动采集</p>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="dialogVisible2 = false">确 定</el-button>
|
<el-button type="primary" @click="dialogVisible2 = false">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-card>
|
<el-card>
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>超算域</span>
|
<span>{{ $t('page.hpcDomain') }}</span>
|
||||||
<!-- <el-button style="float: right; padding: 3px 0" type="text" @click="dialogVisible = true">超算作业创建</el-button> -->
|
<!-- <el-button style="float: right; padding: 3px 0" type="text" @click="dialogVisible = true">超算作业创建</el-button> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- <el-row :gutter="24">
|
<!-- <el-row :gutter="24">
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
<el-col :span="14"> -->
|
<el-col :span="14"> -->
|
||||||
<el-card class="list-card">
|
<el-card class="list-card">
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>作业</span>
|
<span>{{ $t('page.job') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<List
|
<List
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
|
@ -88,8 +88,8 @@
|
||||||
<div slot="tip" class="el-upload__tip">单个文件支持最大上传2G8</div>
|
<div slot="tip" class="el-upload__tip">单个文件支持最大上传2G8</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
<el-button type="primary" @click="dialogVisible = false">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
<NodeCreate v-show="stepNum===1" v-model="editInfoForm" />
|
<NodeCreate v-show="stepNum===1" v-model="editInfoForm" />
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createFormVisible = false;">取 消</el-button>
|
<el-button @click="createFormVisible = false;">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button v-if="stepNum!==0" type="primary" @click="prev">上一步</el-button>
|
<el-button v-if="stepNum!==0" type="primary" @click="prev">上一步</el-button>
|
||||||
<el-button v-if="stepNum!==1" type="primary" @click="next">下一步</el-button>
|
<el-button v-if="stepNum!==1" type="primary" @click="next">下一步</el-button>
|
||||||
<el-button v-else type="primary" :loading="loading" @click="createWorkload">创建</el-button>
|
<el-button v-else type="primary" :loading="loading" @click="createWorkload">创建</el-button>
|
||||||
|
|
|
@ -64,8 +64,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createFormVisible = false">取 消</el-button>
|
<el-button @click="createFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" :loading="btnLoading" @click="submitInfoEdit">确 定</el-button>
|
<el-button type="primary" :loading="btnLoading" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog v-if="showTextVisible" :close-on-click-modal="false" width="50%" title="集群发现" :visible.sync="showTextVisible">
|
<el-dialog v-if="showTextVisible" :close-on-click-modal="false" width="50%" title="集群发现" :visible.sync="showTextVisible">
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createVisible = false">取 消</el-button>
|
<el-button @click="createVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitInfoEdit">确 定</el-button>
|
<el-button type="primary" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -64,8 +64,8 @@
|
||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="() => { this.$emit('getList');createRelateVisible = false}">取 消</el-button>
|
<el-button @click="() => { this.$emit('getList');createRelateVisible = false}">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitInfoEdit">确 定</el-button>
|
<el-button type="primary" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createTypeVisible = false">取 消</el-button>
|
<el-button @click="createTypeVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitInfoEdit">确 定</el-button>
|
<el-button type="primary" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -130,11 +130,11 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createFormVisible = false">取 消</el-button>
|
<el-button @click="createFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="next">确 定</el-button>
|
<el-button type="primary" @click="next">{{ $t("message.confirm") }}</el-button>
|
||||||
<!-- <el-button v-if="stepNum===1" type="primary" @click="prev">上一步</el-button>
|
<!-- <el-button v-if="stepNum===1" type="primary" @click="prev">上一步</el-button>
|
||||||
<el-button v-if="stepNum===0" type="primary" @click="next">下一步</el-button>
|
<el-button v-if="stepNum===0" type="primary" @click="next">下一步</el-button>
|
||||||
<el-button v-if="stepNum===1" type="primary" @click="submitInfoEdit">确 定</el-button> -->
|
<el-button v-if="stepNum===1" type="primary" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button> -->
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="searchFormVisible = false">确 定</el-button>
|
<el-button type="primary" @click="searchFormVisible = false">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -42,8 +42,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createFormVisible = false">取 消</el-button>
|
<el-button @click="createFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitInfoEdit">确 定</el-button>
|
<el-button type="primary" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -88,8 +88,8 @@
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="() => { this.$emit('getList');createFormVisible = false}">取 消</el-button>
|
<el-button @click="() => { this.$emit('getList');createFormVisible = false}">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitInfoEdit">确 定</el-button>
|
<el-button type="primary" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -81,8 +81,8 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogCreateVisible = false">取 消</el-button>
|
<el-button @click="dialogCreateVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitInfoEdit">确 定</el-button>
|
<el-button type="primary" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-card class="basicInfo">
|
<el-card class="basicInfo">
|
||||||
<img src="@/assets/images/node.png" class="sidebar-logo" alt="项目">
|
<img src="@/assets/images/node.png" class="sidebar-logo" alt="项目">
|
||||||
<h4>告警列表</h4>
|
<h4>{{ $t('menu.warnList') }}</h4>
|
||||||
<span class="tips title-tips">
|
<span class="tips title-tips">
|
||||||
将根据项目资源进行分组, 可以按项目对资源进行查看管理</span>
|
将根据项目资源进行分组, 可以按项目对资源进行查看管理</span>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
|
@ -88,8 +88,8 @@
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button size="small" @click="dialogVisible = false">取 消</el-button>
|
<el-button size="small" @click="dialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" size="small" @click="handleDialogConfirm()">确 定</el-button>
|
<el-button type="primary" size="small" @click="handleDialogConfirm()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
<el-row :gutter="5">
|
<el-row :gutter="5">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-card class="dashboardChart">
|
<el-card class="dashboardChart">
|
||||||
<h3>资源中心使用TOP3</h3>
|
<h3>{{ $t('menu.resourceUsageTop') }}</h3>
|
||||||
<div class="floatRight" @click="go('/monitorSelectBk')">
|
<div class="floatRight" @click="go('/monitorSelectBk')">
|
||||||
资源中心
|
{{ $t('menu.resourceCenter') }}
|
||||||
</div>
|
</div>
|
||||||
<el-row v-for="(item, index) in UsageTopList" :key="index" class="usageList">
|
<el-row v-for="(item, index) in UsageTopList" :key="index" class="usageList">
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<span>cpu</span>
|
<span>CPU</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<el-progress :stroke-width="3" :percentage="item.cpu" />
|
<el-progress :stroke-width="3" :percentage="item.cpu" />
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<span>内存</span>
|
<span>{{ $t('page.memory') }}</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<el-progress :stroke-width="3" :percentage="item.memory" />
|
<el-progress :stroke-width="3" :percentage="item.memory" />
|
||||||
|
@ -41,10 +41,10 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<span>存储</span>
|
<span>{{ $t('page.storage') }}</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<el-progress :stroke-width="3" :percentage="item.stoarage" />
|
<el-progress :stroke-width="3" :percentage="item.storage" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -54,23 +54,23 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-card class="dashboardChart">
|
<el-card class="dashboardChart">
|
||||||
<h3>作业任务</h3>
|
<h3>{{ $t('menu.jobTask') }}</h3>
|
||||||
<div class="floatRight" @click="go('/taskManagement/taskList')">
|
<div class="floatRight" @click="go('/taskManagement/taskList')">
|
||||||
任务管理
|
{{ $t('menu.taskManagement') }}
|
||||||
</div>
|
</div>
|
||||||
<div id="task">
|
<div id="task">
|
||||||
<div class="ball" />
|
<div class="ball" />
|
||||||
<div class="dataset">
|
<div class="dataset">
|
||||||
<div class="data">
|
<div class="data">
|
||||||
已下发任务
|
{{ $t('page.distributedTask') }}
|
||||||
<span class="num">20</span>
|
<span class="num">20</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="data">
|
<div class="data">
|
||||||
已保留任务
|
{{ $t('page.reservedTask') }}
|
||||||
<span class="num">30</span>
|
<span class="num">30</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="data">
|
<div class="data">
|
||||||
错误任务
|
{{ $t('page.errorTask') }}
|
||||||
<span class="num">7</span>
|
<span class="num">7</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -79,16 +79,16 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-card class="dashboardChart">
|
<el-card class="dashboardChart">
|
||||||
<h3>调度情况</h3>
|
<h3>{{ $t('menu.scheduleStatus') }}</h3>
|
||||||
<div class="floatRight" @click="go('/strategyManagement/schedulingStrategy')">
|
<div class="floatRight" @click="go('/strategyManagement/schedulingStrategy')">
|
||||||
策略管理
|
{{ $t('menu.strategyManagement') }}
|
||||||
</div>
|
</div>
|
||||||
<InteractionStatistics />
|
<InteractionStatistics />
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-card class="dashboardList">
|
<el-card class="dashboardList">
|
||||||
<h3>消息列表</h3>
|
<h3>{{ $t('menu.messageList') }}</h3>
|
||||||
<List
|
<List
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:table-list-data="listData"
|
:table-list-data="listData"
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-card class="dashboardList">
|
<el-card class="dashboardList">
|
||||||
<h3>告警通知</h3>
|
<h3>{{ $t('menu.alertNotification') }}</h3>
|
||||||
<List
|
<List
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:table-list-data="listData"
|
:table-list-data="listData"
|
||||||
|
@ -159,14 +159,14 @@ export default {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
columns: [
|
columns: [
|
||||||
{ prop: 'reason', label: '原因', width: '150' },
|
{ prop: 'reason', label: this.$t('page.reason'), width: '150' },
|
||||||
{ prop: 'info', label: '事件详情', formatter: (row) => {
|
{ prop: 'info', label: this.$t('page.eventDetail'), formatter: (row) => {
|
||||||
return <div>
|
return <div>
|
||||||
<span>{row.involvedObject.kind + ' ' + row.involvedObject.name}</span> <br />
|
<span>{row.involvedObject.kind + ' ' + row.involvedObject.name}</span> <br />
|
||||||
<span>{row.message}</span>
|
<span>{row.message}</span>
|
||||||
</div>
|
</div>
|
||||||
} },
|
} },
|
||||||
{ prop: 'lastTimestamp', label: '更新时间', width: '160', formatter: (row) => {
|
{ prop: 'lastTimestamp', label: this.$t('page.updateDate'), width: '160', formatter: (row) => {
|
||||||
return <div>{this.formatDate(row.lastTimestamp)}</div>
|
return <div>{this.formatDate(row.lastTimestamp)}</div>
|
||||||
} }
|
} }
|
||||||
],
|
],
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
<el-button type="primary" plain round :disabled="addTagNumCheck" @click="addTag">添加标签</el-button>
|
<el-button type="primary" plain round :disabled="addTagNumCheck" @click="addTag">添加标签</el-button>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
<el-button @click="dialogFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitTagEdit">确 定</el-button>
|
<el-button type="primary" @click="submitTagEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog :close-on-click-modal="false" title="污点管理" :visible.sync="dialogTaintFormVisible">
|
<el-dialog :close-on-click-modal="false" title="污点管理" :visible.sync="dialogTaintFormVisible">
|
||||||
|
@ -68,8 +68,8 @@
|
||||||
<el-button type="primary" plain round :disabled="addTaintNumCheck" @click="addTaint">添加污点</el-button>
|
<el-button type="primary" plain round :disabled="addTaintNumCheck" @click="addTaint">添加污点</el-button>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogTaintFormVisible = false">取 消</el-button>
|
<el-button @click="dialogTaintFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitTaintEdit">确 定</el-button>
|
<el-button type="primary" @click="submitTaintEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<FormData :data="formData" :data-map="dataMap" />
|
<FormData :data="formData" :data-map="dataMap" />
|
||||||
|
|
|
@ -57,8 +57,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button size="small" @click="dialogVisible = false">取 消</el-button>
|
<el-button size="small" @click="dialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" size="small" @click="handleDialogConfirm()">确 定</el-button>
|
<el-button type="primary" size="small" @click="handleDialogConfirm()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button size="small" @click="dialogVisible = false">取 消</el-button>
|
<el-button size="small" @click="dialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" size="small" @click="handleDialogConfirm()">确 定</el-button>
|
<el-button type="primary" size="small" @click="handleDialogConfirm()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -55,8 +55,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button size="small" @click="dialogVisible = false">取 消</el-button>
|
<el-button size="small" @click="dialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" size="small" @click="handleDialogConfirm()">确 定</el-button>
|
<el-button type="primary" size="small" @click="handleDialogConfirm()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
|
|
@ -47,8 +47,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button size="small" @click="dialogVisible = false">取 消</el-button>
|
<el-button size="small" @click="dialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" size="small" @click="handleDialogConfirm()">确 定</el-button>
|
<el-button type="primary" size="small" @click="handleDialogConfirm()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
|
|
@ -56,8 +56,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button size="small" @click="dialogVisible = false">取 消</el-button>
|
<el-button size="small" @click="dialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" size="small" @click="handleDialogConfirm()">确 定</el-button>
|
<el-button type="primary" size="small" @click="handleDialogConfirm()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
@ -75,8 +75,8 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button size="small" @click="allocDialogVisible = false">取 消</el-button>
|
<el-button size="small" @click="allocDialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" size="small" @click="handleAllocDialogConfirm()">确 定</el-button>
|
<el-button type="primary" size="small" @click="handleAllocDialogConfirm()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="createFormVisible = false">取 消</el-button>
|
<el-button @click="createFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitInfoEdit">确 定</el-button>
|
<el-button type="primary" @click="submitInfoEdit">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -41,8 +41,8 @@
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<div>上传进度: {{ percent.toFixed()+ '%' }}</div>
|
<div>上传进度: {{ percent.toFixed()+ '%' }}</div>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitFile()">确 定</el-button>
|
<el-button type="primary" @click="submitFile()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -168,10 +168,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogSettingVisible = false">取 消</el-button>
|
<el-button @click="dialogSettingVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button v-if="stepNum!==0" type="primary" @click="prev">上一步</el-button>
|
<el-button v-if="stepNum!==0" type="primary" @click="prev">上一步</el-button>
|
||||||
<el-button v-if="stepNum !== 2" type="primary" @click="nextFun">下一步</el-button>
|
<el-button v-if="stepNum !== 2" type="primary" @click="nextFun">下一步</el-button>
|
||||||
<el-button v-else type="primary" @click="nextFun">确 定</el-button>
|
<el-button v-else type="primary" @click="nextFun">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -158,10 +158,10 @@
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogCreateVisible = false">取 消</el-button>
|
<el-button @click="dialogCreateVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button v-if="stepNum !== 0" @click="stepNum = stepNum - 1">上一步</el-button>
|
<el-button v-if="stepNum !== 0" @click="stepNum = stepNum - 1">上一步</el-button>
|
||||||
<el-button v-if="stepNum !== 2" type="primary" @click="nextFun()">下一步</el-button>
|
<el-button v-if="stepNum !== 2" type="primary" @click="nextFun()">下一步</el-button>
|
||||||
<el-button v-else type="primary" @click="nextFun()">确 定</el-button>
|
<el-button v-else type="primary" @click="nextFun()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -88,8 +88,8 @@
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button size="small" @click="dialogVisible = false">取 消</el-button>
|
<el-button size="small" @click="dialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" size="small" @click="handleDialogConfirm()">确 定</el-button>
|
<el-button type="primary" size="small" @click="handleDialogConfirm()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
>
|
>
|
||||||
<span>您试图删除卷<a @click="viewVolumeDetail(clickrow)"><u>{{ clickrow.name }}</u></a></span>
|
<span>您试图删除卷<a @click="viewVolumeDetail(clickrow)"><u>{{ clickrow.name }}</u></a></span>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="deleteDialogVisible = false">取 消</el-button>
|
<el-button @click="deleteDialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="deleteDataVolumes(clickrow.name, clickrow.namespace)">确 定</el-button>
|
<el-button type="primary" @click="deleteDataVolumes(clickrow.name, clickrow.namespace)">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
>
|
>
|
||||||
<p>注意!此操作会迁移当前节点上的所有虚拟机!</p>
|
<p>注意!此操作会迁移当前节点上的所有虚拟机!</p>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="maintainDialogVisible = false">取 消</el-button>
|
<el-button @click="maintainDialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="maintainEnable()">确 定</el-button>
|
<el-button type="primary" @click="maintainEnable()">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<Yaml v-if="dialogYamlFormVisible" v-model="dialogYamlFormVisible" :name="yamlName" :is-edit="editYaml" :get-yaml="getHostYaml" :put-yaml="putHostYaml" />
|
<Yaml v-if="dialogYamlFormVisible" v-model="dialogYamlFormVisible" :name="yamlName" :is-edit="editYaml" :get-yaml="getHostYaml" :put-yaml="putHostYaml" />
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
>
|
>
|
||||||
<span>您试图删除 镜像 {{ clickrow.name }} </span>
|
<span>您试图删除 镜像 {{ clickrow.name }} </span>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="deleteDialogVisible = false">取 消</el-button>
|
<el-button @click="deleteDialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="deleteDataImage(clickrow.name, clickrow.namespace)">确 定</el-button>
|
<el-button type="primary" @click="deleteDataImage(clickrow.name, clickrow.namespace)">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<Yaml v-if="dialogYamlFormVisible" v-model="dialogYamlFormVisible" :name="yamlName" :namespace="yamlNamespace" :is-edit="editYaml" :get-yaml="getImagesYaml" :put-yaml="putImagesYaml" />
|
<Yaml v-if="dialogYamlFormVisible" v-model="dialogYamlFormVisible" :name="yamlName" :namespace="yamlNamespace" :is-edit="editYaml" :get-yaml="getImagesYaml" :put-yaml="putImagesYaml" />
|
||||||
|
|
|
@ -100,8 +100,8 @@
|
||||||
</el-checkbox>
|
</el-checkbox>
|
||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="deleteDialogVisible = false">取 消</el-button>
|
<el-button @click="deleteDialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="deleteVirtualMachine">确 定</el-button>
|
<el-button type="primary" @click="deleteVirtualMachine">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="MoveDialogVisible = false; virtualMode = ''">取 消</el-button>
|
<el-button @click="MoveDialogVisible = false; virtualMode = ''">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="moveVirtual">应 用</el-button>
|
<el-button type="primary" @click="moveVirtual">应 用</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
|
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="deleteDialogVisible = false">取 消</el-button>
|
<el-button @click="deleteDialogVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="deleteVirtualMachine">确 定</el-button>
|
<el-button type="primary" @click="deleteVirtualMachine">{{ $t("message.confirm") }}</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="MoveDialogVisible = false; virtualMode = ''">取 消</el-button>
|
<el-button @click="MoveDialogVisible = false; virtualMode = ''">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="moveVirtual">应 用</el-button>
|
<el-button type="primary" @click="moveVirtual">应 用</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
<el-button @click="dialogFormVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="postSSHKey">保 存</el-button>
|
<el-button type="primary" @click="postSSHKey">保 存</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
|
@ -51,8 +51,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogResetVisible = false">取 消</el-button>
|
<el-button @click="dialogResetVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitReset">确 定</el-button>
|
<el-button type="primary" @click="submitReset">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog :close-on-click-modal="false" title="弹性伸缩" :visible.sync="dialogASVisible">
|
<el-dialog :close-on-click-modal="false" title="弹性伸缩" :visible.sync="dialogASVisible">
|
||||||
|
@ -99,8 +99,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogASVisible = false">取 消</el-button>
|
<el-button @click="dialogASVisible = false">{{ $t("message.cancel") }}</el-button>
|
||||||
<el-button type="primary" @click="submitAS">确 定</el-button>
|
<el-button type="primary" @click="submitAS">{{ $t("message.confirm") }}</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<FormData :data="formData" :data-map="dataMap" />
|
<FormData :data="formData" :data-map="dataMap" />
|
||||||
|
|
Loading…
Reference in New Issue