From b01a02e25f2964cd98f4f34dd9539c8b2d883cc5 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 18 四月 2024 17:05:03 +0800 Subject: [PATCH] 看板 完成进度低于100%,和等于100,2种提示区别开 --- src/views/dashboard/components/ProcessInfo.vue | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/views/dashboard/components/ProcessInfo.vue b/src/views/dashboard/components/ProcessInfo.vue index 9c74f97..92bb945 100644 --- a/src/views/dashboard/components/ProcessInfo.vue +++ b/src/views/dashboard/components/ProcessInfo.vue @@ -13,12 +13,14 @@ </div> <div v-if="craftModel.number == task?.Procedure?.processModelNumber" class="tip-current">褰撳墠浣跨敤</div> <div class="btn"> - <el-button type="primary" :disabled="craftModel.isUpdate ? false : true" @click="onUpdateClick"> - <el-icon v-if="loading" color="#fff" :size="16" class="refresh-top-icon"> - <Loading /> - </el-icon> + <!-- <el-button + type="primary" + :loading="loading" + :disabled="craftModel.isUpdate ? false : true" + @click="onUpdateClick" + > 鏇存柊宸ヨ壓 - </el-button> + </el-button> --> </div> </div> </template> @@ -49,9 +51,10 @@ for (let i in activeArr.value) { if (activeArr.value[i] == craftModel.value.number) { loading.value = true - break + return true } } + loading.value = false } function onDetailClick() { emit('detail', craftModel.value) @@ -144,9 +147,9 @@ } .btn { - width: 100px; + width: 95px; position: absolute; - right: 5px; + right: 15px; bottom: 10px; .el-button--primary { background: $status-running; -- Gitblit v1.8.0