style: 改个名称
This commit is contained in:
@@ -106,14 +106,16 @@ let tableColumns: ColumnsType = [
|
|||||||
title: '升级前版本',
|
title: '升级前版本',
|
||||||
dataIndex: 'preVersion',
|
dataIndex: 'preVersion',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: '60px',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '回退前版本',
|
title: '回退前版本',
|
||||||
dataIndex: 'newVersion',
|
dataIndex: 'newVersion',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
|
width: '60px',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '用户状态',
|
title: '状态',
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
key: 'status',
|
key: 'status',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -233,7 +235,12 @@ watch(
|
|||||||
@cancel="fnModalCancel"
|
@cancel="fnModalCancel"
|
||||||
>
|
>
|
||||||
<!-- 表格搜索栏 -->
|
<!-- 表格搜索栏 -->
|
||||||
<a-form :model="queryParams" name="queryParams" layout="horizontal">
|
<a-form
|
||||||
|
:model="queryParams"
|
||||||
|
name="queryParams"
|
||||||
|
layout="horizontal"
|
||||||
|
:label-col="{ span: 5 }"
|
||||||
|
>
|
||||||
<a-row :gutter="16">
|
<a-row :gutter="16">
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item label="网元类型" name="neType">
|
<a-form-item label="网元类型" name="neType">
|
||||||
|
|||||||
@@ -461,15 +461,7 @@ onMounted(() => {
|
|||||||
<template #icon><UploadOutlined /></template>
|
<template #icon><UploadOutlined /></template>
|
||||||
{{ t('views.configManage.softwareManage.uploadBtn') }}
|
{{ t('views.configManage.softwareManage.uploadBtn') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
<a-button type="primary" @click.prevent="fnModalVisibleByEdit()">
|
<a-button type="dashed" @click.prevent="fnModalVisibleByHistory()">
|
||||||
<template #icon><DownloadOutlined /></template>
|
|
||||||
{{ t('views.configManage.softwareManage.downBtn') }}
|
|
||||||
</a-button>
|
|
||||||
<a-button type="primary" @click.prevent="fnModalVisibleByEdit()">
|
|
||||||
<template #icon><ThunderboltOutlined /></template>
|
|
||||||
{{ t('views.configManage.softwareManage.actBtn') }}
|
|
||||||
</a-button>
|
|
||||||
<a-button type="primary" @click.prevent="fnModalVisibleByHistory()">
|
|
||||||
<template #icon><HistoryOutlined /></template>
|
<template #icon><HistoryOutlined /></template>
|
||||||
{{ t('views.configManage.softwareManage.historyBtn') }}
|
{{ t('views.configManage.softwareManage.historyBtn') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -535,6 +527,22 @@ onMounted(() => {
|
|||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
<template v-if="column.key === 'id'">
|
<template v-if="column.key === 'id'">
|
||||||
<a-space :size="8" align="center">
|
<a-space :size="8" align="center">
|
||||||
|
<a-tooltip>
|
||||||
|
<template #title>{{
|
||||||
|
t('views.configManage.softwareManage.downBtn')
|
||||||
|
}}</template>
|
||||||
|
<a-button type="link" @click.prevent="fnDownloadFile(record)">
|
||||||
|
<template #icon><SendOutlined /></template>
|
||||||
|
</a-button>
|
||||||
|
</a-tooltip>
|
||||||
|
<a-tooltip>
|
||||||
|
<template #title>{{
|
||||||
|
t('views.configManage.softwareManage.actBtn')
|
||||||
|
}}</template>
|
||||||
|
<a-button type="link" @click.prevent="fnDownloadFile(record)">
|
||||||
|
<template #icon><ThunderboltOutlined /></template>
|
||||||
|
</a-button>
|
||||||
|
</a-tooltip>
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>{{ t('common.downloadText') }}</template>
|
<template #title>{{ t('common.downloadText') }}</template>
|
||||||
<a-button type="link" @click.prevent="fnDownloadFile(record)">
|
<a-button type="link" @click.prevent="fnDownloadFile(record)">
|
||||||
@@ -564,36 +572,34 @@ onMounted(() => {
|
|||||||
@ok="fnModalOk"
|
@ok="fnModalOk"
|
||||||
@cancel="fnModalCancel"
|
@cancel="fnModalCancel"
|
||||||
>
|
>
|
||||||
<a-form name="modalStateFrom" layout="horizontal">
|
<a-form
|
||||||
<a-row :gutter="16">
|
name="modalStateFrom"
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
layout="horizontal"
|
||||||
<a-form-item
|
:label-col="{ span: 4 }"
|
||||||
label="网元类型"
|
>
|
||||||
name="neType"
|
<a-form-item
|
||||||
v-bind="modalStateFrom.validateInfos.neType"
|
label="网元类型"
|
||||||
>
|
name="neType"
|
||||||
<a-select
|
v-bind="modalStateFrom.validateInfos.neType"
|
||||||
v-model:value="modalState.from.neType"
|
>
|
||||||
placeholder="网元类型"
|
<a-select
|
||||||
:options="useNeInfoStore().getNeSelectOtions"
|
v-model:value="modalState.from.neType"
|
||||||
>
|
placeholder="网元类型"
|
||||||
</a-select>
|
:options="useNeInfoStore().getNeSelectOtions"
|
||||||
</a-form-item>
|
>
|
||||||
</a-col>
|
</a-select>
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
</a-form-item>
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="版本号"
|
label="版本号"
|
||||||
name="version"
|
name="version"
|
||||||
v-bind="modalStateFrom.validateInfos.version"
|
v-bind="modalStateFrom.validateInfos.version"
|
||||||
>
|
>
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="modalState.from.version"
|
v-model:value="modalState.from.version"
|
||||||
allow-clear
|
allow-clear
|
||||||
placeholder="请输入角色名称"
|
placeholder="请输入版本号"
|
||||||
></a-input>
|
></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="软件说明"
|
label="软件说明"
|
||||||
name="comment"
|
name="comment"
|
||||||
|
|||||||
Reference in New Issue
Block a user