钢化前大理片笼、中空理片笼进片添加是否相同,相同该行添加背景色,中空一线二线新增进入页面清空流程卡号
7个文件已修改
82 ■■■■■ 已修改文件
UI-Project/src/lang/en.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI-Project/src/lang/py.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI-Project/src/lang/zh.js 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI-Project/src/views/Slicecage/slicecage.vue 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI-Project/src/views/hollow/hollowequipment.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI-Project/src/views/hollow/hollowequipmenttwo.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI-Project/src/views/hollow/hollowslicecage.vue 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI-Project/src/lang/en.js
@@ -132,6 +132,9 @@
          takeon:'The arrangement is complete',
      },
      searchOrder:{
          whethersame:'是否相同',
          same:'相同',
          notsame:'不相同',
          partask:'任务重置',
          partasks:'是否任务重置?',
          empty:'默认空任务',
UI-Project/src/lang/py.js
@@ -132,6 +132,9 @@
        takeaway: 'Взять вручную',
    },
    searchOrder: {
        whethersame:'是否相同',
        same:'相同',
        notsame:'不相同',
        partasks:'是否任务重置?',
        empty:'默认空任务',
        partask:'任务重置',
UI-Project/src/lang/zh.js
@@ -131,7 +131,9 @@
          takeon:'摆片完成',
      },
      searchOrder:{
          partask:'任务重置',
          whethersame:'是否相同',
          same:'相同',
          notsame:'不相同',
          partasks:'是否任务重置?',
          empty:'默认空任务',
          historicaltasks:'历史任务',
UI-Project/src/views/Slicecage/slicecage.vue
@@ -1065,6 +1065,28 @@
    return t('searchOrder.waiting');
  }  
}
function getcasOnea(isSame) {
  switch (isSame) {
    case 1:
      return 'danger';
    case 0:
      return 'info';
  }
}
function getStatuscasOnea(isSame) {
  switch (isSame) {
    case 1:
      return t('searchOrder.same');
    case 0:
      return t('searchOrder.notsame');
  }
}
function tableRowClassName({ row }) {
  if (row.isSame === 1) {
    return 'row-red-background'; // 设置红色背景
  }
  return '';
}
onBeforeUnmount(() => {
  closeWebSocket();
});
@@ -1112,6 +1134,7 @@
    <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" v-loading="loading">
      <el-table height="300px" ref="table" 
        @selection-change="handleSelectionChange"
        :row-class-name="tableRowClassName"
        :data="tableDatad" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}">
          <el-table-column prop="glassId" align="center" :label="$t('searchOrder.intoglassid')" min-width="140" />
          <el-table-column prop="startSlot" align="center" :label="$t('searchOrder.startposition')" min-width="120" />
@@ -1120,6 +1143,13 @@
          <template #default="scope">
            <el-tag type="success" >{{ scope.row.taskState==0? $t('searchOrder.filmenter') : $t('searchOrder.infilm') }}</el-tag>
          </template>
          </el-table-column>
          <el-table-column prop="isSame" align="center" :label="$t('searchOrder.whethersame')" min-width="120">
          <template #default="scope">
        <el-tag :type="getcasOnea(scope.row.isSame)">
          {{ getStatuscasOnea(scope.row.isSame) }}
        </el-tag>
      </template>
          </el-table-column>
        </el-table>
            </el-card>
@@ -1680,7 +1710,7 @@
                 :printGlassId="printGlassId" style=""/>
  </el-dialog>
</template>
<style scoped>
<style>
#dt { display:block; float:left;line-height: 20px;margin-left: 100px;}
#dta { display:block; float:left;line-height: 20px;margin-left: 80%;}
#dialog-footer{
@@ -1826,4 +1856,7 @@
  margin-top: 20px;
  margin-bottom: 10px;
}
.row-red-background {
  background-color: #CDAF95 !important;
}
</style>
UI-Project/src/views/hollow/hollowequipment.vue
@@ -1112,6 +1112,7 @@
};
onMounted(() => {
  socket = initializeWebSocket(socketUrl, handleMessage);
  window.localStorage.setItem('flowCardId', '')
});
onUnmounted(() => {
  if (socket) {
UI-Project/src/views/hollow/hollowequipmenttwo.vue
@@ -587,6 +587,7 @@
};
onMounted(() => {
  socket = initializeWebSocket(socketUrl, handleMessage);
  window.localStorage.setItem('flowCardId', '')
});
onUnmounted(() => {
  if (socket) {
UI-Project/src/views/hollow/hollowslicecage.vue
@@ -594,6 +594,28 @@
      return t('searchOrder.rengongxp'); 
  }  
}
function getcasOnea(isSame) {
  switch (isSame) {
    case 1:
      return 'danger';
    case 0:
      return 'info';
  }
}
function getStatuscasOnea(isSame) {
  switch (isSame) {
    case 1:
      return t('searchOrder.same');
    case 0:
      return t('searchOrder.notsame');
  }
}
function tableRowClassName({ row }) {
  if (row.isSame === 1) {
    return 'row-red-background'; // 设置红色背景
  }
  return '';
}
onBeforeUnmount(() => {
  closeWebSocket();
});
@@ -637,6 +659,7 @@
    <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" v-loading="loading">
      <el-table height="300px" ref="table" 
        @selection-change="handleSelectionChange"
        :row-class-name="tableRowClassName"
        :data="tableDatad" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}">
          <el-table-column prop="glassId" align="center" :label="$t('searchOrder.intoglassid')" min-width="140" />
          <el-table-column prop="startSlot" align="center" :label="$t('searchOrder.startposition')" min-width="120" />
@@ -645,6 +668,13 @@
          <template #default="scope">
            <el-tag type="success" >{{ scope.row.taskState==0? $t('searchOrder.filmenter') : $t('searchOrder.infilm') }}</el-tag>
          </template>
          </el-table-column>
          <el-table-column prop="isSame" align="center" :label="$t('searchOrder.whethersame')" min-width="120">
          <template #default="scope">
        <el-tag :type="getcasOnea(scope.row.isSame)">
          {{ getStatuscasOnea(scope.row.isSame) }}
        </el-tag>
      </template>
          </el-table-column>
        </el-table>
            </el-card>
@@ -903,7 +933,7 @@
  </div>
  </el-dialog>
</template>
<style scoped>
<style>
#dt { display:block; float:left;line-height: 20px;margin-left: 100px;}
#dta { display:block; float:left;line-height: 20px;margin-left: 80%;}
#dialog-footer{
@@ -1049,4 +1079,7 @@
  margin-top: 20px;
  margin-bottom: 10px;
}
.row-red-background {
  background-color: #CDAF95 !important;
}
</style>