src/views/dashboard/components/ProcessInfo.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/dashboard/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/dashboard/components/ProcessInfo.vue
@@ -73,9 +73,9 @@ font-weight: 600; } .process-info { width: calc(50% - 35px); width: calc(50% - 10px); height: 140px; padding: 23px 10px 10px; padding: 23px 5px 10px 10px; background: $status-done; border-radius: 8px; //float: left; @@ -85,7 +85,7 @@ margin-bottom: 30px; &:nth-of-type(odd) { margin-right: 30px; margin-right: 20px; } .item-l-bng { @@ -146,7 +146,7 @@ .btn { width: 100px; position: absolute; right: 10px; right: 5px; bottom: 10px; .el-button--primary { background: $status-running; src/views/dashboard/index.vue
@@ -16,7 +16,7 @@ </el-tab-pane> <el-tab-pane label="工艺信息" name="工艺信息"> <div style="height: 300px"> <el-scrollbar always style="height: 100%"> <el-scrollbar always class="scroller" style="height: 100%"> <div v-infinite-scroll="craftModelStore.loadMore" infinite-scroll-delay="500" @@ -185,7 +185,7 @@ const showCraftModelDetail = ref(false) // 当前要展示的工艺详情 const currentCraftModelInfo = ref<CraftModel>() const activeArr = ref([]) const activeArr = ref<string[]>([]) function openCraftModelDetailModal(craftModel: CraftModel) { currentCraftModelInfo.value = craftModel showCraftModelDetail.value = true @@ -216,7 +216,7 @@ function editActive(craftModel: CraftModel) { for (let i in activeArr.value) { if (activeArr.value[i] == craftModel.number) { activeArr.value.splice(i, 1) activeArr.value.splice(Number(i), 1) } } } @@ -290,4 +290,7 @@ align-items: center; justify-content: center; } .scroller { padding: 4px 16px; } </style>