From 642d31285d7aff59415a5eb37f87a79f41d308a8 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 25 三月 2025 17:29:49 +0800 Subject: [PATCH] 新增自动评估扬尘监测数据统计结果上传功能(待完成) --- src/views/fysp/task/components/CompSubTaskList.vue | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/fysp/task/components/CompSubTaskList.vue b/src/views/fysp/task/components/CompSubTaskList.vue index ef20ca8..03ef062 100644 --- a/src/views/fysp/task/components/CompSubTaskList.vue +++ b/src/views/fysp/task/components/CompSubTaskList.vue @@ -44,7 +44,11 @@ <div v-else> <el-empty description="鏃犱换鍔¤褰�" /> <el-row v-if="create" justify="center"> - <el-button type="success" size="small" @click="add" + <el-button + type="success" + size="small" + :loading="createLoading" + @click="add" >娣诲姞浠诲姟</el-button > </el-row> @@ -81,7 +85,8 @@ }, // 鏄惁鏄剧ず娣诲姞浠诲姟鎸夐挳 create: Boolean, - loading: Boolean + loading: Boolean, + createLoading:Boolean, }); const dialogVisible = ref(false); @@ -100,7 +105,7 @@ return subtaskApi.deleteSubtask(item.stguid).then(res=>{ if (res == 1) { const index = data.value.indexOf(item); - data.value.splice(index, 1); + data.value.splice(index, 1); emit('update:modelValue', data.value); emit('remove', item); -- Gitblit v1.9.3