From 8152ad92d3aebbac4ee66a14a318bbac19e57d8d Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期五, 14 二月 2025 17:27:21 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/YiWuProject
---
UI-Project/src/views/hollow/hollowequipmenttwo.vue | 64 +++++++++++++++++++++++---------
1 files changed, 46 insertions(+), 18 deletions(-)
diff --git a/UI-Project/src/views/hollow/hollowequipmenttwo.vue b/UI-Project/src/views/hollow/hollowequipmenttwo.vue
index d2bafbb..71df887 100644
--- a/UI-Project/src/views/hollow/hollowequipmenttwo.vue
+++ b/UI-Project/src/views/hollow/hollowequipmenttwo.vue
@@ -28,33 +28,38 @@
</el-button>
<el-switch style="margin-top: 7px;margin-left: 10px;" v-model="ganghua" class="mb-2" :inactive-text="$t('hellow.schedulingswitch')" @change="handleChange" />
</div>
- <div style="margin-bottom: -5px;margin-left: 5px;">
- <el-form>
- <el-row>
- <el-col :span="4">
+
+ <div id="dotClass">
+ <!-- <div style="margin-bottom: -5px;margin-left: 5px;"> -->
+ <!-- <el-form> -->
+ <!-- <el-row> -->
+ <!-- <el-col :span="4">
<div style="font-size: 15px;">
<el-form-item :label="$t('hellow.currenttask')" style="width: 14vw">
{{ temperingtotal }}
</el-form-item>
</div>
- </el-col>
- <el-col :span="5">
+ </el-col> -->
+ <!-- <el-col :span="5">
<div style="font-size: 15px;">
<el-form-item :label="$t('hellow.claimednumber')" style="width: 14vw">
{{ glasstotal }}
</el-form-item>
</div>
- </el-col>
- <el-col :span="4">
+ </el-col> -->
+ <!-- <el-col :span="4">
<div style="font-size: 15px;">
<el-form-item :label="$t('hellow.linenumber')" style="width: 14vw">
{{ fulltotals }}
</el-form-item>
</div>
- </el-col>
- </el-row>
- </el-form>
- </div>
+ </el-col> -->
+ <div style="margin-left: 70px;">{{ $t('hellow.freetwo') }}</div>
+ <i :style="{ marginTop: '2px', backgroundColor: freetwo, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i>
+ <!-- </el-row> -->
+ <!-- </el-form> -->
+ <!-- </div> -->
+ </div>
<div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;">
<el-table height="650" ref="table" :data="tableDataa"
:header-cell-style="{ background: '#F2F3F5', color: '#1D2129' }">
@@ -483,7 +488,7 @@
</el-dialog>
<!-- 涓┖閰嶆柟 -->
<el-dialog v-model="mulan" top="15vh" width="70%" :title="$t('hellow.hollowformula')">
- <el-button id="searchButton" type="primary" @click="add = true">
+ <el-button id="searchButton" type="primary" @click="openAddDialog">
{{ $t('basicData.add') }}
</el-button>
<el-table ref="table" style="margin-top: 20px;height: 400px;"
@@ -539,6 +544,7 @@
const topRemove = ref('')
const filmsId = ref('')
const flowCardId = ref('')
+const freetwo = ref('#911005');
const dialogFormVisiblea = ref(false)
const dialogFormVisibleb = ref(false)
const dialogFormVisiblec = ref(false)
@@ -582,10 +588,13 @@
};
const handleMessage = (data) => {
try {
- tableDataa.value = data[931][0];
- const allPageData = data;
+ tableDataa.value = data[931][0];
+ const allPageData = data;
const currentPageKeyValue = currentPageKey.value;
const currentPageData = allPageData[currentPageKeyValue];
+ if (data.freeTwoReqvestEntity != null) {
+ freetwo.value = data.freeTwoReqvestEntity[0] == true ? 'green' : '#911005';
+ }
// if (currentPageData && Array.isArray(currentPageData) && currentPageData.length > 0) {
// tableDataa.value = currentPageData[0];
// } else {
@@ -632,7 +641,16 @@
rightRemove.value = row.rightRemove;
topRemove.value = row.topRemove;
adda.value = true;
-}
+}
+function openAddDialog() {
+ formulaName.value = '';
+ filmRemove.value = '';
+ bottomRemove.value = '';
+ leftRemove.value = '';
+ rightRemove.value = '';
+ topRemove.value = '';
+ add.value = true;
+}
const handlezhiban = () => {
dialogFormVisiblea.value = true;
fetchFlowCardId();
@@ -747,6 +765,7 @@
leftRemove.value = '';
rightRemove.value = '';
topRemove.value = '';
+ fetchmulan()
} else {
ElMessage.error('Failed to fetch data');
}
@@ -797,7 +816,8 @@
const response = await request.post(url)
if (response.code === 200) {
ElMessage.success(response.message);
- } else {
+ fetchmulan()
+ } else {
ElMessage.error(response.msg);
}
}
@@ -1024,4 +1044,12 @@
#dialog-footer {
text-align: center;
margin-top: -15px;
-}</style>
\ No newline at end of file
+}
+#dotClass {
+ display: flex;
+ margin-left: 20px;
+ size: 50px;
+ margin-top: 20px;
+ margin-bottom: 10px;
+}
+</style>
\ No newline at end of file
--
Gitblit v1.8.0