| | |
| | | }, |
| | | data () { |
| | | return { |
| | | userId: undefined, |
| | | assign: undefined, |
| | | add_Step: 0, |
| | | loading_nextStep: false, |
| | | nextStepName: "下一步", |
| | |
| | | this.ruleForm = this.rowData; |
| | | this.xmId = this.rowData.id; |
| | | } |
| | | this.userId = localStorage.getItem('userId'); |
| | | this.assign = localStorage.getItem('assign'); |
| | | }, |
| | | methods:{ |
| | | Cancel() { |
| | |
| | | startTime: items1, |
| | | endTime: items2, |
| | | id: this.xmId, |
| | | desp:ruleForm_.desp |
| | | desp:ruleForm_.desp, |
| | | userId: this.userId |
| | | } |
| | | }).then(data_ => { |
| | | console.log(data_); |
| | |
| | | }, |
| | | 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(); |