From 5ba9921fb11703c89de646c1176dbfa0f59bc4cd Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 01 八月 2023 09:27:12 +0800
Subject: [PATCH] yxh
---
src/views/project/travelexpenseslist/index.vue | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/views/project/travelexpenseslist/index.vue b/src/views/project/travelexpenseslist/index.vue
index 7fbe379..81e70dc 100644
--- a/src/views/project/travelexpenseslist/index.vue
+++ b/src/views/project/travelexpenseslist/index.vue
@@ -1439,7 +1439,7 @@
this.$modal.msgSuccess(response.msg);
this.fileList.push({ name: response.fileName, url: response.fileName });
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
},
@@ -1845,8 +1845,13 @@
/** 鏂板鎸夐挳鎿嶄綔 */
handleAdd() {
- this.reset();
+ console.log("defaultperson",this.defaultperson);
+ this.$router.push({
+ path: "/finance/travelexpenseslist/Modifydetails/",
+ query: { id: 0, pos: 1,routerparam:this.defaultperson}
+ });
+ this.reset();
this.open = true;
this.title = "鏂板鎶ラ攢鐢宠";
this.dialogType = "edit";
@@ -1866,7 +1871,7 @@
handleUpdate(row) {
this.$router.push({
path: "/finance/travelexpenseslist/Modifydetails/",
- query: { id: row.id, pos: 1 }
+ query: { id: row.id, pos: 2 }
});
this.dialogType = "edit";
this.reset();
@@ -1923,8 +1928,9 @@
handleDetail(row) {
this.$router.push({
path: "/finance/travelexpenseslist/Modifydetails/",
- query: { id: row.id, pos: 2 }
+ query: { id: row.id, pos: 3 }
});
+
this.dialogType = "detail";
this.title = "鏌ョ湅鎶ラ攢鐢宠";
--
Gitblit v1.9.3