From 5890a81be95fe65622c605083b1808b6997d4417 Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: 星期三, 07 九月 2022 14:30:56 +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