From 0a845649839ed1d5c23f5810142e396ea08f510b Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期四, 08 九月 2022 16:56:40 +0800
Subject: [PATCH] lct

---
 src/views/specialWorkSystem/workPlan/workAppointSummary/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/specialWorkSystem/workPlan/workAppointSummary/index.vue b/src/views/specialWorkSystem/workPlan/workAppointSummary/index.vue
index 2aebc33..b9f54fa 100644
--- a/src/views/specialWorkSystem/workPlan/workAppointSummary/index.vue
+++ b/src/views/specialWorkSystem/workPlan/workAppointSummary/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>
@@ -427,7 +427,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