Commit c58ec623 by Sweet Zhang

应收款管理、弹窗组件修改

parent 44ffb5e2
......@@ -33,6 +33,9 @@
color: #383838;
padding: 0.2em 0;
}
.el-dialog__header.dialog-header.show-close {
padding-right: 0 ;
}
#loader-wrapper {
position: fixed;
......
<template>
<router-view />
<el-watermark :font="font" :content="content">
<router-view />
</el-watermark>
</template>
<script setup>
import useSettingsStore from '@/store/modules/settings'
import { handleThemeStyle } from '@/utils/theme'
import { reactive } from 'vue'
const font = reactive({
color: 'rgba(0, 0, 0, .15)',
})
const content = reactive('csf')
onMounted(() => {
nextTick(() => {
......
......@@ -256,3 +256,19 @@ export function expectedFortuneStatistics(data) {
data: data
})
}
// 入账记录查询
export function commissionEntryRecord(data) {
return request({
url: '/csf/api/commission/compare/records',
method: 'post',
data: data
})
}
// 入账操作记录查询
export function commissionEntryEditRecords(data) {
return request({
url: '/csf/api/commission/edit/records',
method: 'post',
data: data
})
}
......@@ -8,7 +8,8 @@
:close-on-click-modal="closeOnClickModal"
:before-close="handleClose"
center
:show-close="false"
:show-close="showClose"
header-class="dialog-header"
>
<template #header>
<div class="titleBox">{{ dialogTitle }}</div>
......@@ -18,7 +19,7 @@
</div>
<template #footer>
<div class="dialog-footer">
<div class="dialog-footer" v-if="showAction">
<!-- 取消按钮 -->
<el-button type="info" plain v-if="showCancle" @click="close">{{ cancleText }}</el-button>
<!-- 确认按钮 -->
......@@ -50,7 +51,14 @@ const props = defineProps({
type: String,
default: '确认'
},
showAction: {
type: Boolean,
default: true
},
showClose: {
type: Boolean,
default: false
},
showConfirm: {
type: Boolean,
default: true
......@@ -78,11 +86,9 @@ const props = defineProps({
const showDialog = ref(props.openDialog)
const emit = defineEmits(['confirm', 'close'])
const close = () => {
showDialog.value = false
emit('close')
}
const confirm = () => {
showDialog.value = false
emit('confirm')
}
const handleClose = done => {
......@@ -109,6 +115,7 @@ watch(
justify-content: center;
align-items: center;
padding: 15px 0;
color: rgba(0,0,0,0.9);
}
.content {
padding: 0 15px;
......@@ -120,4 +127,5 @@ watch(
align-items: center;
padding: 20px 0;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment