徐景良 2024-08-08 18:27:29 +08:00
commit 13fdc6dbdf
4 changed files with 21 additions and 20 deletions

View File

@ -427,15 +427,17 @@
}
console.log(subTableDataStore.getGroupData);
let resultObj = {}
tabsFormRef.value.forEach((item,index) => {
console.log(item.getFieldsValue(),index)
let data = item.getFieldsValue()
Object.keys(data).forEach(key => {
if(!resultObj[key]){
resultObj[key] = data[key]
}
if(tabsFormRef.value){
tabsFormRef.value.forEach((item,index) => {
console.log(item.getFieldsValue(),index)
let data = item.getFieldsValue()
Object.keys(data).forEach(key => {
if(!resultObj[key]){
resultObj[key] = data[key]
}
})
})
})
}
//form
setFieldsValue({
...resultObj,

View File

@ -188,15 +188,15 @@
//
setTimeout(() => (isActMsg.value = true), 1000);
}
// const isLt = file.size / 1024 / 1024 > maxSize;
// if (isLt) {
// createMessage.error(t('component.upload.maxSizeMultiple', [maxSize]));
// isLtMsg.value = false;
// //
// setTimeout(() => (isLtMsg.value = true), 1000);
// }
// return (isAct && !isLt) || Upload.LIST_IGNORE;
return isAct || Upload.LIST_IGNORE;
const isLt = file.size / 1024 / 1024 > 50;
if (isLt) {
createMessage.error(t('component.upload.maxSizeMultiple', [50]));
isLtMsg.value = false;
//
setTimeout(() => (isLtMsg.value = true), 1000);
}
return (isAct && !isLt) || Upload.LIST_IGNORE;
// return isAct || Upload.LIST_IGNORE;
};
async function customRequest(info: UploadRequestOption<any>) {

View File

@ -233,7 +233,7 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
// authentication schemese.g: Bearer
// authenticationScheme: 'Bearer',
authenticationScheme: '',
timeout: 10 * 1000,
timeout: 30 * 1000,
// 基础接口地址
// baseURL: globSetting.apiUrl,

View File

@ -12,7 +12,7 @@
<ChartsContianer v-show="!isFullScreen"></ChartsContianer>
<!-- full screen button -->
<div class="full-screen-button" :style="{right:isFullScreen?'20px':'590px'}" >
<div class="full-screen-button" :style="{right:isFullScreen?'20px':'590px', zIndex:isFullScreen? 100:1, }" >
<img v-if="!isFullScreen" @click="fullScreen" src="/public/statistical/full-scrren-button.png" alt="">
<img v-else @click="exitScreen" src="/public/statistical/full-scrren-button.png" alt="">
</div>
@ -328,7 +328,6 @@ function exitScreen() {
position:absolute;
bottom:46px;
right:590px;
z-index:1;
cursor:pointer;
img{
width:100%;