From 7ebf9752b95f98865bf94469b58c5abb302a69dd Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期六, 09 十二月 2023 14:45:45 +0800 Subject: [PATCH] 点击当前工序完成的时增加当前时间和任务详情中实际开始时间对比,如果小于60s增加提示并且不请求接口 --- src/views/dashboard/components/ProcessInfo.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/dashboard/components/ProcessInfo.vue b/src/views/dashboard/components/ProcessInfo.vue index b107f93..891f3ed 100644 --- a/src/views/dashboard/components/ProcessInfo.vue +++ b/src/views/dashboard/components/ProcessInfo.vue @@ -13,10 +13,15 @@ </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"> + <el-button + type="primary" + :loading="loading" + :disabled="craftModel.isUpdate ? false : true" + @click="onUpdateClick" + > + <!-- <el-icon v-if="loading" color="#fff" :size="16" class="refresh-top-icon"> <Loading /> - </el-icon> + </el-icon> --> 鏇存柊宸ヨ壓 </el-button> </div> @@ -145,9 +150,9 @@ } .btn { - width: 100px; + width: 95px; position: absolute; - right: 5px; + right: 15px; bottom: 10px; .el-button--primary { background: $status-running; -- Gitblit v1.8.0