From 7e2b37c805ae40d04c71024ef2b42b69a75fcc84 Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Tue, 06 Sep 2022 17:17:48 +0800
Subject: [PATCH] Default Changelist
---
src/views/specialWorkSystem/workPlan/workReservation/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/specialWorkSystem/workPlan/workReservation/index.vue b/src/views/specialWorkSystem/workPlan/workReservation/index.vue
index 2c14f8a..7c89a19 100644
--- a/src/views/specialWorkSystem/workPlan/workReservation/index.vue
+++ b/src/views/specialWorkSystem/workPlan/workReservation/index.vue
@@ -26,7 +26,7 @@
<div class="main-card">
<el-row class="cardTop">
<el-col :span="12" class="mainCardBtn">
- <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新建</el-button>
+ <el-button type="primary" :icon="Plus" size="default" @click="dialogAddRecord=true">新增</el-button>
<!-- <el-button type="warning" :icon="Edit" size="default" plain>修改</el-button>-->
<el-button type="danger" :icon="Delete" size="default" plain>删除</el-button>
</el-col>
@@ -318,7 +318,7 @@
await formEl.validate((valid, fields) => {
if (valid) {
if(chosenIndex.value == -1){
- tableData.push(addRecord.value)
+ tableData.unshift(addRecord.value)
}else{
tableData[chosenIndex.value] = addRecord.value
}
--
Gitblit v1.9.2