💄 修改表单宽度.
This commit is contained in:
@@ -20,7 +20,6 @@
|
|||||||
size="small"
|
size="small"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '320px' }"
|
|
||||||
:label-col-props="{ span: 6 }"
|
:label-col-props="{ span: 6 }"
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
@keyup.enter="() => fetchCardData()">
|
@keyup.enter="() => fetchCardData()">
|
||||||
|
|||||||
@@ -1,19 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-drawer v-model:visible="visible"
|
<a-drawer v-model:visible="visible"
|
||||||
:title="title"
|
:title="title"
|
||||||
:width="430"
|
:width="470"
|
||||||
:mask-closable="false"
|
:mask-closable="false"
|
||||||
:unmount-on-close="true"
|
:unmount-on-close="true"
|
||||||
:ok-button-props="{ disabled: loading }"
|
:ok-button-props="{ disabled: loading }"
|
||||||
:cancel-button-props="{ disabled: loading }"
|
:cancel-button-props="{ disabled: loading }"
|
||||||
:on-before-ok="handlerOk"
|
:on-before-ok="handlerOk"
|
||||||
@cancel="handleClose">
|
@cancel="handleClose">
|
||||||
<a-spin class="full" :loading="loading">
|
<a-spin class="full modal-form" :loading="loading">
|
||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '380px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
#foreach($field in ${table.fields})
|
#foreach($field in ${table.fields})
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
#foreach($field in ${table.fields})
|
#foreach($field in ${table.fields})
|
||||||
|
|||||||
@@ -112,11 +112,21 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card-filter-wrapper {
|
.card-filter-wrapper {
|
||||||
padding: 18px 24px 14px 24px;
|
padding: 18px 24px;
|
||||||
}
|
|
||||||
|
|
||||||
.card-filter-form {
|
.card-filter-form {
|
||||||
padding: 0 4px;
|
width: 320px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-filter-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.card-filter-footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-header-icon-wrapper {
|
.card-header-icon-wrapper {
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-modal v-model:visible="visible"
|
<a-modal v-model:visible="visible"
|
||||||
body-class="modal-form"
|
|
||||||
title-align="start"
|
title-align="start"
|
||||||
:title="title"
|
:title="title"
|
||||||
:width="960"
|
:width="960"
|
||||||
|
|||||||
@@ -17,8 +17,7 @@
|
|||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:rules="rules"
|
:rules="rules"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }">
|
:wrapper-col-props="{ span: 18 }">
|
||||||
<!-- 密码 -->
|
<!-- 密码 -->
|
||||||
<a-form-item field="beforePassword" label="原始密码">
|
<a-form-item field="beforePassword" label="原始密码">
|
||||||
|
|||||||
@@ -63,14 +63,16 @@
|
|||||||
</a-badge>
|
</a-badge>
|
||||||
</div>
|
</div>
|
||||||
<template #content>
|
<template #content>
|
||||||
<!-- 过滤表单 -->
|
<div class="card-filter-container">
|
||||||
<slot name="filterContent" />
|
<!-- 过滤表单 -->
|
||||||
<!-- 操作按钮 -->
|
<slot name="filterContent" />
|
||||||
<div class="filter-bottom-container">
|
<!-- 操作按钮 -->
|
||||||
<a-space>
|
<div class="card-filter-footer">
|
||||||
<a-button size="mini" @click="filterReset">重置</a-button>
|
<a-space>
|
||||||
<a-button size="mini" type="primary" @click="filterSearch">过滤</a-button>
|
<a-button size="mini" @click="filterReset">重置</a-button>
|
||||||
</a-space>
|
<a-button size="mini" type="primary" @click="filterSearch">过滤</a-button>
|
||||||
|
</a-space>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</a-popover>
|
</a-popover>
|
||||||
|
|||||||
@@ -15,9 +15,8 @@
|
|||||||
<a-spin class="full" :loading="loading">
|
<a-spin class="full" :loading="loading">
|
||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
|
||||||
:label-col-props="{ span: 5 }"
|
:label-col-props="{ span: 5 }"
|
||||||
:wrapper-col-props="{ span: 19 }">
|
:wrapper-col-props="{ span: 18 }">
|
||||||
<!-- 连接用户 -->
|
<!-- 连接用户 -->
|
||||||
<a-form-item field="userId" label="连接用户">
|
<a-form-item field="userId" label="连接用户">
|
||||||
<user-selector v-model="formModel.userId"
|
<user-selector v-model="formModel.userId"
|
||||||
|
|||||||
@@ -40,7 +40,6 @@
|
|||||||
size="small"
|
size="small"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '320px' }"
|
|
||||||
:label-col-props="{ span: 6 }"
|
:label-col-props="{ span: 6 }"
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
@keyup.enter="() => fetchCardData()">
|
@keyup.enter="() => fetchCardData()">
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
<!-- 名称 -->
|
<!-- 名称 -->
|
||||||
@@ -31,7 +30,6 @@
|
|||||||
<!-- 用户密码 -->
|
<!-- 用户密码 -->
|
||||||
<a-form-item field="password"
|
<a-form-item field="password"
|
||||||
label="用户密码"
|
label="用户密码"
|
||||||
style="justify-content: space-between;"
|
|
||||||
:rules="passwordRules">
|
:rules="passwordRules">
|
||||||
<a-input-password v-model="formModel.password"
|
<a-input-password v-model="formModel.password"
|
||||||
:disabled="!isAddHandle && !formModel.useNewPassword"
|
:disabled="!isAddHandle && !formModel.useNewPassword"
|
||||||
@@ -182,8 +180,10 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
@switch-width: 94px;
|
||||||
|
|
||||||
.password-input {
|
.password-input {
|
||||||
width: 240px;
|
width: calc(100% - @switch-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
.password-input-full {
|
.password-input-full {
|
||||||
@@ -191,6 +191,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.password-switch {
|
.password-switch {
|
||||||
|
width: @switch-width;
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -8,14 +8,13 @@
|
|||||||
:cancel-button-props="{ disabled: loading }"
|
:cancel-button-props="{ disabled: loading }"
|
||||||
:on-before-ok="handlerOk"
|
:on-before-ok="handlerOk"
|
||||||
@cancel="handleClose">
|
@cancel="handleClose">
|
||||||
<a-spin class="form-wrapper" :loading="loading">
|
<a-spin class="full modal-form" :loading="loading">
|
||||||
<a-alert class="keygen-alert">
|
<a-alert class="keygen-alert">
|
||||||
请使用 ssh-keygen -m PEM -t rsa 生成秘钥
|
请使用 ssh-keygen -m PEM -t rsa 生成秘钥
|
||||||
</a-alert>
|
</a-alert>
|
||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '420px' }"
|
|
||||||
:label-col-props="{ span: 4 }"
|
:label-col-props="{ span: 4 }"
|
||||||
:wrapper-col-props="{ span: 20 }"
|
:wrapper-col-props="{ span: 20 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
@@ -61,7 +60,6 @@
|
|||||||
<a-form-item v-if="!isViewHandler"
|
<a-form-item v-if="!isViewHandler"
|
||||||
field="password"
|
field="password"
|
||||||
label="密码"
|
label="密码"
|
||||||
style="justify-content: space-between;"
|
|
||||||
:rules="passwordRules">
|
:rules="passwordRules">
|
||||||
<a-input-password v-model="formModel.password"
|
<a-input-password v-model="formModel.password"
|
||||||
:disabled="!isAddHandle && !formModel.useNewPassword"
|
:disabled="!isAddHandle && !formModel.useNewPassword"
|
||||||
@@ -234,6 +232,8 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
@switch-width: 94px;
|
||||||
|
|
||||||
.form-wrapper {
|
.form-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 12px 12px 0 12px;
|
padding: 12px 12px 0 12px;
|
||||||
@@ -241,11 +241,11 @@
|
|||||||
|
|
||||||
.keygen-alert {
|
.keygen-alert {
|
||||||
margin: 0 0 12px 16px;
|
margin: 0 0 12px 16px;
|
||||||
width: calc(100% - 42px);
|
width: 408px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.password-input {
|
.password-input {
|
||||||
width: 240px;
|
width: calc(100% - @switch-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
.password-input-full {
|
.password-input-full {
|
||||||
@@ -253,6 +253,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.password-switch {
|
.password-switch {
|
||||||
|
width: @switch-width;
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -120,8 +120,15 @@
|
|||||||
<!-- 操作按钮 -->
|
<!-- 操作按钮 -->
|
||||||
<div class="config-button-group">
|
<div class="config-button-group">
|
||||||
<a-space>
|
<a-space>
|
||||||
<a-button @click="resetConfig">重置</a-button>
|
<a-button size="small"
|
||||||
<a-button type="primary" @click="saveConfig">保存</a-button>
|
@click="resetConfig">
|
||||||
|
重置
|
||||||
|
</a-button>
|
||||||
|
<a-button type="primary"
|
||||||
|
size="small"
|
||||||
|
@click="saveConfig">
|
||||||
|
保存
|
||||||
|
</a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
</div>
|
</div>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
|||||||
@@ -49,7 +49,6 @@
|
|||||||
size="small"
|
size="small"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '320px' }"
|
|
||||||
:label-col-props="{ span: 6 }"
|
:label-col-props="{ span: 6 }"
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
@keyup.enter="() => fetchCardData()">
|
@keyup.enter="() => fetchCardData()">
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
<!-- 主机名称 -->
|
<!-- 主机名称 -->
|
||||||
|
|||||||
@@ -1,19 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-drawer v-model:visible="visible"
|
<a-drawer v-model:visible="visible"
|
||||||
:title="title"
|
:title="title"
|
||||||
:width="430"
|
:width="470"
|
||||||
:mask-closable="false"
|
:mask-closable="false"
|
||||||
:unmount-on-close="true"
|
:unmount-on-close="true"
|
||||||
:ok-button-props="{ disabled: loading }"
|
:ok-button-props="{ disabled: loading }"
|
||||||
:cancel-button-props="{ disabled: loading }"
|
:cancel-button-props="{ disabled: loading }"
|
||||||
:on-before-ok="handlerOk"
|
:on-before-ok="handlerOk"
|
||||||
@cancel="handleClose">
|
@cancel="handleClose">
|
||||||
<a-spin class="full" :loading="loading">
|
<a-spin class="full modal-form" :loading="loading">
|
||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '380px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
<!-- 名称 -->
|
<!-- 名称 -->
|
||||||
@@ -28,10 +27,10 @@
|
|||||||
placeholder="请输入命令"
|
placeholder="请输入命令"
|
||||||
allow-clear/>
|
allow-clear/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<!-- 超时时间秒 0不超时 -->
|
<!-- 超时时间 -->
|
||||||
<a-form-item field="timeout" label="超时时间秒 0不超时">
|
<a-form-item field="timeout" label="超时时间">
|
||||||
<a-input-number v-model="formModel.timeout"
|
<a-input-number v-model="formModel.timeout"
|
||||||
placeholder="请输入超时时间秒 0不超时"
|
placeholder="请输入超时时间 秒 0不超时"
|
||||||
hide-button />
|
hide-button />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<!-- 参数 -->
|
<!-- 参数 -->
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export const command = [{
|
|||||||
|
|
||||||
export const timeout = [{
|
export const timeout = [{
|
||||||
required: true,
|
required: true,
|
||||||
message: '请输入超时时间秒 0不超时'
|
message: '请输入超时时间 秒 0不超时'
|
||||||
}] as FieldRule[];
|
}] as FieldRule[];
|
||||||
|
|
||||||
export const parameter = [{
|
export const parameter = [{
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ const columns = [
|
|||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
slotName: 'name',
|
slotName: 'name',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
width: 200,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
tooltip: true,
|
tooltip: true,
|
||||||
}, {
|
}, {
|
||||||
@@ -23,18 +24,6 @@ const columns = [
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
tooltip: true,
|
tooltip: true,
|
||||||
}, {
|
|
||||||
title: '超时时间',
|
|
||||||
dataIndex: 'timeout',
|
|
||||||
slotName: 'timeout',
|
|
||||||
align: 'left',
|
|
||||||
}, {
|
|
||||||
title: '参数',
|
|
||||||
dataIndex: 'parameter',
|
|
||||||
slotName: 'parameter',
|
|
||||||
align: 'left',
|
|
||||||
ellipsis: true,
|
|
||||||
tooltip: true,
|
|
||||||
}, {
|
}, {
|
||||||
title: '修改时间',
|
title: '修改时间',
|
||||||
dataIndex: 'updateTime',
|
dataIndex: 'updateTime',
|
||||||
@@ -48,10 +37,12 @@ const columns = [
|
|||||||
title: '修改人',
|
title: '修改人',
|
||||||
dataIndex: 'updater',
|
dataIndex: 'updater',
|
||||||
slotName: 'updater',
|
slotName: 'updater',
|
||||||
|
width: 90,
|
||||||
|
ellipsis: true,
|
||||||
}, {
|
}, {
|
||||||
title: '操作',
|
title: '操作',
|
||||||
slotName: 'handle',
|
slotName: 'handle',
|
||||||
width: 130,
|
width: 180,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,8 +10,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }">
|
:wrapper-col-props="{ span: 18 }">
|
||||||
<!-- 文件路径 -->
|
<!-- 文件路径 -->
|
||||||
<a-form-item field="path"
|
<a-form-item field="path"
|
||||||
|
|||||||
@@ -10,8 +10,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }">
|
:wrapper-col-props="{ span: 18 }">
|
||||||
<!-- 文件路径 -->
|
<!-- 文件路径 -->
|
||||||
<a-form-item field="path"
|
<a-form-item field="path"
|
||||||
|
|||||||
@@ -10,8 +10,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }">
|
:wrapper-col-props="{ span: 18 }">
|
||||||
<!-- 原始路径 -->
|
<!-- 原始路径 -->
|
||||||
<a-form-item field="path"
|
<a-form-item field="path"
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-modal v-model:visible="visible"
|
<a-modal v-model:visible="visible"
|
||||||
body-class="modal-form"
|
|
||||||
:body-style="{'padding-bottom': '24px'}"
|
|
||||||
title-align="start"
|
title-align="start"
|
||||||
:title="title"
|
:title="title"
|
||||||
:top="80"
|
:top="80"
|
||||||
@@ -17,8 +15,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
<!-- 配置项 -->
|
<!-- 配置项 -->
|
||||||
@@ -41,16 +38,16 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
:field="`extra${index + 1}`"
|
:field="`extra${index + 1}`"
|
||||||
:label="`额外参数 ${index + 1}`">
|
:label="`额外参数 ${index + 1}`">
|
||||||
<a-input-group>
|
<a-input-group style="width: 100%;">
|
||||||
<!-- 参数类型 -->
|
<!-- 参数类型 -->
|
||||||
<a-select v-model="schema.type"
|
<a-select v-model="schema.type"
|
||||||
:options="toOptions(dictValueTypeKey)"
|
:options="toOptions(dictValueTypeKey)"
|
||||||
placeholder="类型"
|
placeholder="类型"
|
||||||
:style="{ width: '110px' }" />
|
:style="{ width: '35%' }" />
|
||||||
<!-- 参数值 -->
|
<!-- 参数值 -->
|
||||||
<a-input v-model="schema.name"
|
<a-input v-model="schema.name"
|
||||||
placeholder="参数名称"
|
placeholder="参数名称"
|
||||||
:style="{ width: '196px' }" />
|
:style="{ width: '65%' }" />
|
||||||
</a-input-group>
|
</a-input-group>
|
||||||
<!-- 操作按钮 -->
|
<!-- 操作按钮 -->
|
||||||
<div class="extra-action">
|
<div class="extra-action">
|
||||||
@@ -250,13 +247,17 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|
||||||
.minus-icon-wrapper {
|
.minus-icon-wrapper {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.param-addition {
|
.param-addition {
|
||||||
|
margin-right: 20px;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
<!-- 配置项 -->
|
<!-- 配置项 -->
|
||||||
|
|||||||
@@ -16,9 +16,8 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
|
||||||
:label-col-props="{ span: 7 }"
|
:label-col-props="{ span: 7 }"
|
||||||
:wrapper-col-props="{ span: 17 }"
|
:wrapper-col-props="{ span: 16 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
<!-- 上级菜单 -->
|
<!-- 上级菜单 -->
|
||||||
<a-form-item field="parentId" label="上级菜单">
|
<a-form-item field="parentId" label="上级菜单">
|
||||||
|
|||||||
@@ -15,9 +15,8 @@
|
|||||||
<a-spin class="full" :loading="loading">
|
<a-spin class="full" :loading="loading">
|
||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
|
||||||
:label-col-props="{ span: 5 }"
|
:label-col-props="{ span: 5 }"
|
||||||
:wrapper-col-props="{ span: 19 }">
|
:wrapper-col-props="{ span: 18 }">
|
||||||
<!-- 操作用户 -->
|
<!-- 操作用户 -->
|
||||||
<a-form-item field="userId"
|
<a-form-item field="userId"
|
||||||
label="操作用户"
|
label="操作用户"
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
<!-- 角色名称 -->
|
<!-- 角色名称 -->
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }"
|
:wrapper-col-props="{ span: 18 }"
|
||||||
:rules="formRules">
|
:rules="formRules">
|
||||||
<!-- 用户名 -->
|
<!-- 用户名 -->
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }">
|
:wrapper-col-props="{ span: 18 }">
|
||||||
<!-- 用户名 -->
|
<!-- 用户名 -->
|
||||||
<a-form-item field="username" label="用户名">
|
<a-form-item field="username" label="用户名">
|
||||||
|
|||||||
@@ -16,8 +16,7 @@
|
|||||||
<a-form :model="formModel"
|
<a-form :model="formModel"
|
||||||
ref="formRef"
|
ref="formRef"
|
||||||
label-align="right"
|
label-align="right"
|
||||||
:style="{ width: '460px' }"
|
:label-col-props="{ span: 5 }"
|
||||||
:label-col-props="{ span: 6 }"
|
|
||||||
:wrapper-col-props="{ span: 18 }">
|
:wrapper-col-props="{ span: 18 }">
|
||||||
<!-- 用户名 -->
|
<!-- 用户名 -->
|
||||||
<a-form-item field="username" label="用户名">
|
<a-form-item field="username" label="用户名">
|
||||||
|
|||||||
Reference in New Issue
Block a user