From e553bf03da95027fc26ac06384e17ef43dd3ccf4 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期三, 26 三月 2025 11:33:56 +0800
Subject: [PATCH] 上片模块整体接口更改。控制台报错及警告
---
UI-Project/src/views/hollow/hollowequipment.vue | 30 ++++++++++--------------------
1 files changed, 10 insertions(+), 20 deletions(-)
diff --git a/UI-Project/src/views/hollow/hollowequipment.vue b/UI-Project/src/views/hollow/hollowequipment.vue
index ef63a94..39d256f 100644
--- a/UI-Project/src/views/hollow/hollowequipment.vue
+++ b/UI-Project/src/views/hollow/hollowequipment.vue
@@ -1,6 +1,6 @@
<template>
<div style="height: 600px;">
- <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" v-loading="loading">
+ <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" >
<div style="display: flex; flex-direction: row; align-items: center; margin-bottom: 10px;">
<el-button id="searchButton" type="primary" @click="handleormulan">
{{ $t('hellow.hollowformula') }}
@@ -119,12 +119,12 @@
<el-table-column prop="projectNumber" fixed align="center" :label="$t('hellow.cardnumber')" min-width="20"/>
<el-table-column fixed="right" :label="$t('hellow.operate')" align="center" width="270">
<template #default="scope">
- <el-button size="mini" type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button>
- <el-button size="mini" type="text" plain @click="handleBindRack(scope.row)">{{
+ <el-button type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button>
+ <el-button type="text" plain @click="handleBindRack(scope.row)">{{
$t('hellow.missingfilms')
}}
</el-button>
- <el-button size="mini" type="text" plain @click="handleout(scope.row)">{{
+ <el-button type="text" plain @click="handleout(scope.row)">{{
$t('hellow.forcedfilming')
}}
</el-button>
@@ -135,7 +135,7 @@
<!-- 涓┖閰嶆柟娣诲姞 -->
<el-dialog v-model="add" top="3vh" width="55%" :title="$t('hellow.hollowformula')" >
<div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;">
- <el-form size="mini" label-width="150px">
+ <el-form label-width="150px">
<!-- <el-form label-width="150px" label-position="right"> -->
<el-row style="margin-top: 10px;">
<el-col :span="6">
@@ -412,7 +412,7 @@
<!-- 涓┖閰嶆柟淇敼 -->
<el-dialog v-model="adda" top="3vh" width="55%" :title="$t('hellow.edithollowformula')" >
<div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;">
- <el-form size="mini" label-width="150px">
+ <el-form label-width="150px">
<el-form label-width="150px" label-position="right">
<el-row style="margin-top: 10px;">
<el-col :span="6">
@@ -689,7 +689,7 @@
<!-- 棰嗗彇浠诲姟 -->
<el-dialog v-model="dialogFormVisiblec" top="21vh" width="40%" :title="$t('hellow.claimquest')">
<div style="margin-left: 20px;margin-top: 10px;margin-bottom: 10px;">
- <el-form size="mini" label-width="100px">
+ <el-form label-width="100px">
<el-form label-width="210px" label-position="right">
<el-form-item :label="$t('hellow.pairQuantity')" :required="true" style="width: 25vw">
<el-input :placeholder="$t('hellow.cpairQuantity')" v-model="totalPairQuantity" autocomplete="off" />
@@ -740,7 +740,7 @@
<!-- 寮哄埗鍑虹墖 -->
<el-dialog v-model="dialogFormVisibled" top="21vh" width="40%" :title="$t('hellow.forcedfilming')">
<div style="margin-left: 20px;margin-top: 10px;margin-bottom: 10px;">
- <el-form size="mini" label-width="100px">
+ <el-form label-width="100px">
<el-form label-width="210px" label-position="right">
<el-form-item :label="$t('hellow.pairQuantity')" :required="true" style="width: 25vw">
<el-input :placeholder="$t('hellow.cpairQuantity')" v-model="totalPairQuantitya" autocomplete="off" />
@@ -862,7 +862,6 @@
clearable
:placeholder="$t('basicData.plselectproject')"
style="width: 260px"
- @input="handleInputChange"
>
<el-option
v-for="item in titleSelectJson.processType"
@@ -973,8 +972,8 @@
<el-table-column prop="rightRemove" align="center" :label="$t('hellow.rightRemovep')" min-width="95"> </el-table-column>
<el-table-column fixed="right" :label="$t('productStock.operate')" align="center" width="270">
<template #default="scope">
- <el-button size="mini" type="text" plain @click="handleEdit(scope.row)">{{ $t('productStock.exit') }}</el-button>
- <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('productStock.delete') }}</el-button>
+ <el-button type="text" plain @click="handleEdit(scope.row)">{{ $t('productStock.exit') }}</el-button>
+ <el-button type="text" plain @click="opena(scope.row)">{{ $t('productStock.delete') }}</el-button>
</template>
</el-table-column>
</el-table>
@@ -1108,7 +1107,6 @@
// console.warn('No data for the current page key:', currentPageKeyValue);
// }
} catch (error) {
- console.error('Error parsing WebSocket message:', error);
}
};
onMounted(() => {
@@ -1636,7 +1634,6 @@
}
}
} catch (error) {
- console.error('鍙戠敓閿欒:', error);
}
};
// 宸ョ▼鍙�
@@ -1693,7 +1690,6 @@
ElMessage.error(response.message);
}
} catch (error) {
- console.error(error);
}
}
// 寮�濮嬩换鍔�
@@ -1716,7 +1712,6 @@
})
}
} catch (error) {
- console.error(error);
}
}
// 鏆傚仠浠诲姟
@@ -1739,7 +1734,6 @@
})
}
} catch (error) {
- console.error(error);
}
}
// 鍒犻櫎浠诲姟
@@ -1762,7 +1756,6 @@
})
}
} catch (error) {
- console.error(error);
}
}
// 棰嗗彇浠诲姟
@@ -1782,7 +1775,6 @@
ElMessage.error(response.message);
}
} catch (error) {
- console.error(error);
}
}
// 寮哄埗鍑虹墖
@@ -1801,12 +1793,10 @@
ElMessage.error(response.message);
}
} catch (error) {
- console.error(error);
}
}
onBeforeUnmount(() => {
- console.log("鍏抽棴浜�")
closeWebSocket();
});
</script>
--
Gitblit v1.8.0