调整页面布局(继续优化)

This commit is contained in:
季圣华
2022-12-11 23:41:11 +08:00
parent f163150761
commit 256282c21a
45 changed files with 90 additions and 78 deletions

View File

@@ -19,7 +19,7 @@
} }
/*列表页面弹出modal*/ /*列表页面弹出modal*/
.ant-modal-cust-warp { .ant-modal-cust-warp {
margin-top: 101px; margin-top: 89px;
margin-left: 151px; margin-left: 151px;
height: 100% height: 100%
} }
@@ -40,7 +40,7 @@
} }
/*商品-列表页面弹出modal*/ /*商品-列表页面弹出modal*/
.ant-modal-material-warp { .ant-modal-material-warp {
margin-top: 101px; margin-top: 89px;
margin-left: 151px; margin-left: 151px;
height: 100% height: 100%
} }

View File

@@ -5,7 +5,7 @@
:class="getClass(modalClass)" :class="getClass(modalClass)"
:style="getStyle(modalStyle)" :style="getStyle(modalStyle)"
:visible="visible" :visible="visible"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
v-bind="_attrs" v-bind="_attrs"
v-on="$listeners" v-on="$listeners"

View File

@@ -6,7 +6,6 @@
v-if="multipage" v-if="multipage"
:active-key="activePage" :active-key="activePage"
class="tab-layout-tabs" class="tab-layout-tabs"
style="height:52px"
:hide-add="true" :hide-add="true"
type="editable-card" type="editable-card"
@change="changePage" @change="changePage"
@@ -401,7 +400,7 @@
/*美化弹出Tab样式*/ /*美化弹出Tab样式*/
.ant-tabs-nav-container { .ant-tabs-nav-container {
margin-top: 4px; margin-top: 0px;
} }
/* 修改 ant-tabs 样式 */ /* 修改 ant-tabs 样式 */
@@ -412,7 +411,7 @@
padding: 0 20px; padding: 0 20px;
.ant-tabs-bar { .ant-tabs-bar {
margin: 4px 0 0; margin: 0px;
border: none; border: none;
} }
@@ -452,6 +451,7 @@
border-bottom: 1px solid transparent !important; border-bottom: 1px solid transparent !important;
} }
.ant-tabs-tab-active { .ant-tabs-tab-active {
height: 35px !important;
border-color: @primary-color!important; border-color: @primary-color!important;
} }
} }

View File

@@ -6,11 +6,11 @@
:visible="visible" :visible="visible"
:confirm-loading="confirmLoading" :confirm-loading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:25%;height: 45%;overflow-y: hidden"> style="top:20%;height: 45%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" @click="handleCancel">取消</a-button> <a-button key="back" @click="handleCancel">取消</a-button>
</template> </template>

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -64,7 +64,7 @@ export const JeecgListMixin = {
}, },
created() { created() {
if(this.isDesktop()) { if(this.isDesktop()) {
this.cardStyle = 'height:' + (document.documentElement.clientHeight-125) + 'px' this.cardStyle = 'height:' + (document.documentElement.clientHeight-100) + 'px'
} }
if(!this.disableMixinCreated){ if(!this.disableMixinCreated){
//console.log(' -- mixin created -- ') //console.log(' -- mixin created -- ')

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,9 +6,9 @@
:maskClosable="false" :maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
:style="modalStyle"
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button v-if="billPrintFlag" @click="handlePrint">三联打印预览</a-button> <a-button v-if="billPrintFlag" @click="handlePrint">三联打印预览</a-button>
<!--此处为解决缓存问题--> <!--此处为解决缓存问题-->
@@ -1019,6 +1019,7 @@
title: "详情", title: "详情",
width: '1600px', width: '1600px',
visible: false, visible: false,
modalStyle: '',
model: {}, model: {},
isCanBackCheck: true, isCanBackCheck: true,
billType: '', billType: '',
@@ -1456,8 +1457,9 @@
this.billType = type this.billType = type
//附件下载 //附件下载
this.fileList = record.fileName this.fileList = record.fileName
this.visible = true; this.visible = true
this.model = Object.assign({}, record); this.modalStyle = 'top:20px;height: 95%;'
this.model = Object.assign({}, record)
if(this.model.backAmount) { if(this.model.backAmount) {
this.model.getAmount = (this.model.changeAmount + this.model.backAmount).toFixed(2) this.model.getAmount = (this.model.changeAmount + this.model.backAmount).toFixed(2)
} else { } else {
@@ -1523,8 +1525,9 @@
this.close() this.close()
}, },
close() { close() {
this.$emit('close'); this.$emit('close')
this.visible = false; this.visible = false
this.modalStyle = ''
}, },
myHandleDetail(billNumber) { myHandleDetail(billNumber) {
findBillDetailByNumber({ number: billNumber }).then((res) => { findBillDetailByNumber({ number: billNumber }).then((res) => {

View File

@@ -5,12 +5,12 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
:style="modalStyle"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" @click="handleCancel">取消</a-button> <a-button key="back" @click="handleCancel">取消</a-button>
</template> </template>
@@ -41,6 +41,7 @@
title: "三联打印预览", title: "三联打印预览",
width: '1000px', width: '1000px',
visible: false, visible: false,
modalStyle: '',
billPrintUrl: '', billPrintUrl: '',
height: "", height: "",
model: {}, model: {},
@@ -54,8 +55,9 @@
show(record, billPrintUrl, billPrintHeight) { show(record, billPrintUrl, billPrintHeight) {
this.height = billPrintHeight this.height = billPrintHeight
this.billPrintUrl = billPrintUrl this.billPrintUrl = billPrintUrl
this.visible = true; this.visible = true
this.model = Object.assign({}, record); this.modalStyle = 'top:20px;height: 95%;'
this.model = Object.assign({}, record)
this.$nextTick(() => { this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model,'id')) this.form.setFieldsValue(pick(this.model,'id'))
}); });
@@ -65,8 +67,9 @@
}, },
close() { close() {
this.billPrintUrl = '' this.billPrintUrl = ''
this.$emit('close'); this.$emit('close')
this.visible = false; this.visible = false
this.modalStyle = ''
} }
} }
} }

View File

@@ -5,7 +5,7 @@
:width="1250" :width="1250"
:visible="visible" :visible="visible"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"

View File

@@ -5,7 +5,7 @@
:width="1250" :width="1250"
:visible="visible" :visible="visible"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -5,7 +5,7 @@
:width="1300" :width="1300"
:visible="visible" :visible="visible"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,9 +6,9 @@
:maskClosable="false" :maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
:style="modalStyle"
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp">
style="top:5%;height: 100%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<!--此处为解决缓存问题--> <!--此处为解决缓存问题-->
<a-button v-if="financialType === '收预付款'" v-print="'#advanceInPrint'" ghost type="primary">打印</a-button> <a-button v-if="financialType === '收预付款'" v-print="'#advanceInPrint'" ghost type="primary">打印</a-button>
@@ -410,6 +410,7 @@
title: "详情", title: "详情",
width: '1600px', width: '1600px',
visible: false, visible: false,
modalStyle: '',
model: {}, model: {},
isCanBackCheck: true, isCanBackCheck: true,
financialType: '', financialType: '',
@@ -478,8 +479,9 @@
this.financialType = type this.financialType = type
//附件下载 //附件下载
this.fileList = record.fileName this.fileList = record.fileName
this.visible = true; this.visible = true
this.model = Object.assign({}, record); this.modalStyle = 'top:20px;height: 95%;'
this.model = Object.assign({}, record)
this.$nextTick(() => { this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model,'id')) this.form.setFieldsValue(pick(this.model,'id'))
}); });
@@ -525,8 +527,9 @@
this.close() this.close()
}, },
close() { close() {
this.$emit('close'); this.$emit('close')
this.visible = false; this.visible = false
this.modalStyle = ''
}, },
} }
} }

View File

@@ -6,12 +6,12 @@
:visible="visible" :visible="visible"
:confirm-loading="confirmLoading" :confirm-loading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:25%;height: 45%;overflow-y: hidden"> style="top:20%;height: 45%;overflow-y: hidden">
<a-spin :spinning="confirmLoading"> <a-spin :spinning="confirmLoading">
<a-form :form="form"> <a-form :form="form">
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">

View File

@@ -6,13 +6,13 @@
:visible="visible" :visible="visible"
:confirm-loading="confirmLoading" :confirm-loading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:35%;height: 30%;overflow-y: hidden"> style="top:30%;height: 30%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭

View File

@@ -6,13 +6,13 @@
:visible="visible" :visible="visible"
:confirm-loading="confirmLoading" :confirm-loading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:35%;height: 30%;overflow-y: hidden"> style="top:30%;height: 30%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -8,7 +8,7 @@
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:okButtonProps="{ props: {disabled: disableSubmit} }" :okButtonProps="{ props: {disabled: disableSubmit} }"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -13,7 +13,7 @@
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-material-warp" wrapClassName="ant-modal-material-warp"
:id="prefixNo" :id="prefixNo"
style="top:20px;height: 95%;overflow-y: hidden"> :style="modalStyle">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭
@@ -295,6 +295,7 @@
return { return {
title:"操作", title:"操作",
visible: false, visible: false,
modalStyle: '',
categoryTree: [], categoryTree: [],
unitList: [], unitList: [],
depotList: [], depotList: [],
@@ -436,10 +437,10 @@
this.getAllTable().then(editableTables => { this.getAllTable().then(editableTables => {
editableTables[0].add() editableTables[0].add()
}) })
this.edit({}); this.edit({})
this.$nextTick(() => { this.$nextTick(() => {
handleIntroJs('material', 11) handleIntroJs('material', 11)
}); })
}, },
edit (record) { edit (record) {
this.form.resetFields(); this.form.resetFields();
@@ -450,6 +451,7 @@
this.manySkuStatus = false this.manySkuStatus = false
this.maxBarCodeInfo = '' this.maxBarCodeInfo = ''
this.visible = true this.visible = true
this.modalStyle = 'top:20px;height: 95%;'
if(JSON.stringify(record) === '{}') { if(JSON.stringify(record) === '{}') {
this.fileList = [] this.fileList = []
} else { } else {
@@ -517,8 +519,9 @@
}) })
}, },
close () { close () {
this.$emit('close'); this.$emit('close')
this.visible = false this.visible = false
this.modalStyle = ''
this.unitStatus = false this.unitStatus = false
this.manyUnitStatus = true this.manyUnitStatus = true
this.unitChecked = false this.unitChecked = false

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -5,7 +5,7 @@
:width="1000" :width="1000"
:visible="visible" :visible="visible"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"

View File

@@ -5,7 +5,7 @@
:width="1250" :width="1250"
:visible="visible" :visible="visible"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"

View File

@@ -5,7 +5,7 @@
:width="1250" :width="1250"
:visible="visible" :visible="visible"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"

View File

@@ -6,13 +6,13 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:20%;height: 65%;overflow-y: hidden"> style="top:15%;height: 65%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,13 +6,13 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:15%;height: 70%;overflow-y: hidden"> style="top:10%;height: 70%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"

View File

@@ -6,13 +6,13 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:25%;height: 50%;overflow-y: hidden"> style="top:20%;height: 50%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭

View File

@@ -6,13 +6,13 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:20%;height: 60%;overflow-y: hidden"> style="top:15%;height: 60%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭

View File

@@ -7,7 +7,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
:okButtonProps="{ props: {disabled: disableSubmit} }" :okButtonProps="{ props: {disabled: disableSubmit} }"
@ok="handleOk" @ok="handleOk"

View File

@@ -6,13 +6,13 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:30%;height: 45%;overflow-y: hidden"> style="top:20%;height: 45%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,13 +6,13 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:20%;height: 60%;overflow-y: hidden"> style="top:15%;height: 60%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"

View File

@@ -6,13 +6,13 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" wrapClassName="ant-modal-cust-warp"
style="top:10%;height: 85%;overflow-y: hidden"> style="top:5%;height: 85%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭

View File

@@ -6,7 +6,7 @@
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}" :maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"