mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-14 01:34:47 +08:00
fix: 计划任务列表样式调整 (#589)
This commit is contained in:
parent
aeb9135cde
commit
42531dae5a
@ -1261,7 +1261,7 @@ const message = {
|
||||
changeStrategyPortHelper1:
|
||||
'Change the port policy to [drop]. After the port policy is set, external access is denied. Do you want to continue?',
|
||||
changeStrategyPortHelper2:
|
||||
'Change the port policy to [accept]. After the policy is set, normal port access will be restored. Do you want to continue?',
|
||||
'Change the port policy to [accept]. After the port policy is set, normal port access will be restored. Do you want to continue?',
|
||||
stop: 'Stop',
|
||||
portFormatError: 'Please enter the correct port information!',
|
||||
portHelper1: 'Multiple ports, such as 8080 and 8081',
|
||||
|
@ -1248,7 +1248,7 @@ const message = {
|
||||
changeStrategyIPHelper1: 'IP 策略修改为【屏蔽】,设置后该 IP 将禁止访问服务器,是否继续?',
|
||||
changeStrategyIPHelper2: 'IP 策略修改为【放行】,设置后该 IP 将恢复正常访问,是否继续?',
|
||||
changeStrategyPortHelper1: '端口策略修改为【拒绝】,设置后端口将拒绝外部访问,是否继续?',
|
||||
changeStrategyPortHelper2: '端口策略为【允许】,设置后端口将恢复正常访问,是否继续?',
|
||||
changeStrategyPortHelper2: '端口策略修改为【允许】,设置后端口将恢复正常访问,是否继续?',
|
||||
stop: '禁止',
|
||||
portFormatError: '请输入正确的端口信息!',
|
||||
portHelper1: '多个端口,如:8080,8081',
|
||||
|
@ -54,11 +54,18 @@
|
||||
v-if="row.status === 'Enable'"
|
||||
@click="onChangeStatus(row.id, 'disable')"
|
||||
link
|
||||
icon="VideoPlay"
|
||||
type="success"
|
||||
>
|
||||
{{ $t('commons.status.enabled') }}
|
||||
</el-button>
|
||||
<el-button v-else link type="danger" @click="onChangeStatus(row.id, 'enable')">
|
||||
<el-button
|
||||
v-else
|
||||
icon="VideoPause"
|
||||
link
|
||||
type="danger"
|
||||
@click="onChangeStatus(row.id, 'enable')"
|
||||
>
|
||||
{{ $t('commons.status.disabled') }}
|
||||
</el-button>
|
||||
</template>
|
||||
|
@ -61,7 +61,6 @@
|
||||
>
|
||||
{{ $t('commons.button.disable') }}
|
||||
</el-button>
|
||||
<el-divider direction="vertical" />
|
||||
<el-button
|
||||
type="primary"
|
||||
v-if="dialogData.rowData.status === 'Disable'"
|
||||
@ -70,6 +69,7 @@
|
||||
>
|
||||
{{ $t('commons.button.enable') }}
|
||||
</el-button>
|
||||
<el-divider direction="vertical" />
|
||||
<el-button type="primary" @click="deleteVisiable = true" link>
|
||||
{{ $t('commons.button.clean') }}
|
||||
</el-button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user