发展党员
This commit is contained in:
		| @@ -590,7 +590,9 @@ export default { | ||||
|     confirm() { | ||||
|       this.$refs.form.validate((valid) => { | ||||
|         if (valid) { | ||||
|           this.form.partyOrgId = this.$route.query.partyOrgId | ||||
|           if(!this.isEdit) { | ||||
|             this.form.partyOrgId = this.$route.query.partyOrgId | ||||
|           } | ||||
|           this.instance.post(`/app/apppartydevelop/addOrUpdate`, {...this.form}).then((res) => { | ||||
|             if (res.code == 0) { | ||||
|               this.$message.success(this.isEdit ? "编辑成功" : "添加成功"); | ||||
| @@ -622,12 +624,9 @@ export default { | ||||
|       }); | ||||
|     }, | ||||
|     remove(index) { | ||||
|       console.log(index) | ||||
|       this.$confirm("确定删除该数据?").then(() => { | ||||
|         this.form.introducerList.splice(index, 1) | ||||
|       }); | ||||
|       // this.form.introducerList.splice(index, 1) | ||||
|       // this.$forceUpdate() | ||||
|     }, | ||||
|     checkName(val) { | ||||
|       for (let i in this.form) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user