From 3453eed4c505a5ffe765cc702836f5f5d9d5d5da Mon Sep 17 00:00:00 2001
From: kimi <kimi42345@gmail.com>
Date: 星期四, 23 一月 2020 14:50:52 +0800
Subject: [PATCH] 添加逻辑

---
 src/components/popup/newProject.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/components/popup/newProject.vue b/src/components/popup/newProject.vue
index d93a4e0..589a4cc 100644
--- a/src/components/popup/newProject.vue
+++ b/src/components/popup/newProject.vue
@@ -75,6 +75,8 @@
 	},
   data () {
     return {
+		userId: undefined,
+		assign: undefined,
       add_Step: 0,
 			loading_nextStep: false,
 			nextStepName: "涓嬩竴姝�",
@@ -136,6 +138,8 @@
 		this.ruleForm = this.rowData;
 		this.xmId = this.rowData.id;
 	}
+	this.userId = localStorage.getItem('userId');
+	this.assign = localStorage.getItem('assign');
 },
   methods:{
 		Cancel() {
@@ -201,7 +205,8 @@
 					startTime: items1,
 					endTime: items2,
 					id: this.xmId,
-					desp:ruleForm_.desp
+					desp:ruleForm_.desp,
+					userId: this.userId
 			  }
 			}).then(data_ => {
 			  console.log(data_);
@@ -269,7 +274,7 @@
 		},
 		saveStep3() {
 			let url = "/api/scheme/working/" + this.ruleForm.id;
-			this.$axios.get(url + datas).then(data_ => {
+			this.$axios.get(url).then(data_ => {
 				if(data_.data.success) {
 					this.$message('椤圭洰鍚姩鎴愬姛');
 					this.Cancel();

--
Gitblit v1.8.0