1、服务指令-日志 详情边距调整

2、服务指令-指令备份 详情 边距调整
This commit is contained in:
1378012178@qq.com 2025-10-29 09:19:08 +08:00
parent 7d68032a76
commit 2eb7b8deb7
3 changed files with 56 additions and 55 deletions

View File

@ -100,7 +100,7 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
useSearchForm: false, useSearchForm: false,
immediate: false, immediate: false,
scroll: { y: '58vh' }, scroll: { y: '58vh' },
showActionColumn:false, showActionColumn: false,
actionColumn: { actionColumn: {
width: 100, width: 100,
fixed: 'right', fixed: 'right',
@ -246,7 +246,7 @@ defineExpose({
<style lang="less" scoped> <style lang="less" scoped>
.jeecg-basic-table-form-container { .jeecg-basic-table-form-container {
padding: 0; padding: 0;
padding-bottom: 14px; margin-bottom: 14px;
.table-page-search-submitButtons { .table-page-search-submitButtons {
display: block; display: block;

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="p-2"> <div>
<!--查询区域--> <!--查询区域-->
<div class="jeecg-basic-table-form-container"> <div class="jeecg-basic-table-form-container">
<a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" <a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol"
@ -202,11 +202,11 @@ defineExpose({
<style lang="less" scoped> <style lang="less" scoped>
.jeecg-basic-table-form-container { .jeecg-basic-table-form-container {
padding: 0; padding: 0;
margin-bottom: 18px; margin-bottom: 14px;
.table-page-search-submitButtons { .table-page-search-submitButtons {
display: block; display: block;
margin-bottom: 0px; margin-bottom: 14px;
white-space: nowrap; white-space: nowrap;
} }
@ -221,7 +221,7 @@ defineExpose({
} }
.ant-form-item:not(.ant-form-item-with-help) { .ant-form-item:not(.ant-form-item-with-help) {
margin-bottom: 18px; margin-bottom: 14px;
height: 32px; height: 32px;
} }

View File

@ -2,9 +2,10 @@
<!-- <j-modal :title="title" width="75vw" :visible="visible" @cancel="handleCancel" cancelText="关闭" :maskClosable="false"> <!-- <j-modal :title="title" width="75vw" :visible="visible" @cancel="handleCancel" cancelText="关闭" :maskClosable="false">
<ConfigServiceDirectiveList ref="registerForm" v-if="visible" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false"></ConfigServiceDirectiveList> <ConfigServiceDirectiveList ref="registerForm" v-if="visible" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false"></ConfigServiceDirectiveList>
</j-modal> --> </j-modal> -->
<a-drawer :title="title" width="80vw" v-model:visible="visible" v-if="visible" :closable="true" <a-drawer :title="title" width="80vw" v-model:visible="visible" v-if="visible" :closable="true"
:footer-style="{ textAlign: 'right' }" @close="handleCancel"> :footer-style="{ textAlign: 'right' }" :bodyStyle="{ padding: '14px' }" @close="handleCancel">
<ConfigServiceDirectiveList ref="registerForm" v-if="visible" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false"></ConfigServiceDirectiveList> <ConfigServiceDirectiveList ref="registerForm" v-if="visible" @ok="submitCallback" :formDisabled="disableSubmit"
:formBpm="false"></ConfigServiceDirectiveList>
<template #footer> <template #footer>
<a-button type="primary" style="margin-right: 8px" @click="handleCancel">关闭</a-button> <a-button type="primary" style="margin-right: 8px" @click="handleCancel">关闭</a-button>
</template> </template>
@ -12,59 +13,59 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, nextTick, defineExpose , defineProps} from 'vue'; import { ref, nextTick, defineExpose, defineProps } from 'vue';
import ConfigServiceDirectiveList from './ConfigServiceDirectiveList.vue' import ConfigServiceDirectiveList from './ConfigServiceDirectiveList.vue'
import JModal from '/@/components/Modal/src/JModal/JModal.vue'; import JModal from '/@/components/Modal/src/JModal/JModal.vue';
const props = defineProps({ const props = defineProps({
sysUrlValue: { type: String, default: '' }, sysUrlValue: { type: String, default: '' },
});
const title = ref<string>('');
const visible = ref<boolean>(false);
const disableSubmit = ref<boolean>(false);
const registerForm = ref();
const emit = defineEmits(['register', 'success']);
/**
* 编辑
* @param record
*/
function init(record) {
title.value = '详情';
visible.value = true;
nextTick(() => {
registerForm.value.init(record);
}); });
const title = ref<string>(''); }
const visible = ref<boolean>(false);
const disableSubmit = ref<boolean>(false);
const registerForm = ref();
const emit = defineEmits(['register', 'success']);
/**
/** * form保存回调事件
* 编辑 */
* @param record function submitCallback() {
*/ handleCancel();
function init(record) { emit('success');
title.value = '详情'; }
visible.value = true;
nextTick(() => {
registerForm.value.init(record);
});
}
/** /**
* form保存回调事件 * 取消按钮回调事件
*/ */
function submitCallback() { function handleCancel() {
handleCancel(); visible.value = false;
emit('success'); }
}
/** defineExpose({
* 取消按钮回调事件 init,
*/ disableSubmit,
function handleCancel() { });
visible.value = false;
}
defineExpose({
init,
disableSubmit,
});
</script> </script>
<style lang="less"> <style lang="less">
/**隐藏样式-modal确定按钮 */ /**隐藏样式-modal确定按钮 */
.jee-hidden { .jee-hidden {
display: none !important; display: none !important;
} }
</style> </style>
<style lang="less" scoped></style> <style lang="less" scoped></style>