发展党员

This commit is contained in:
liuye
2022-10-17 16:51:21 +08:00
parent b1b35b05cf
commit 34694492b9

View File

@@ -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) {