eslint; 收入合同
This commit is contained in:
@@ -192,9 +192,9 @@ export default {
|
||||
)
|
||||
},
|
||||
handleAdd() {
|
||||
this.$refs.modalForm.add();
|
||||
this.$refs.modalForm.title = "新增群组";
|
||||
this.$refs.modalForm.disableSubmit = false;
|
||||
this.$refs.modalForm.add()
|
||||
this.$refs.modalForm.title = '新增群组'
|
||||
this.$refs.modalForm.disableSubmit = false
|
||||
},
|
||||
/**
|
||||
* 新增成员
|
||||
@@ -202,31 +202,31 @@ export default {
|
||||
*/
|
||||
handleAddCommitteeMember(record) {
|
||||
record.committeeId = record.id
|
||||
this.$refs.memberModalForm.add(record);
|
||||
this.$refs.memberModalForm.title = "新增成员";
|
||||
this.$refs.memberModalForm.disableSubmit = false;
|
||||
this.$refs.memberModalForm.add(record)
|
||||
this.$refs.memberModalForm.title = '新增成员'
|
||||
this.$refs.memberModalForm.disableSubmit = false
|
||||
},
|
||||
handleDeleteMember(id) {
|
||||
console.log(id)
|
||||
if (!this.url.deleteMember) {
|
||||
this.$message.error("请设置url.deleteMember属性!")
|
||||
this.$message.error('请设置url.deleteMember属性!')
|
||||
return
|
||||
}
|
||||
var that = this;
|
||||
var that = this
|
||||
this.$confirm({
|
||||
title: "确认删除",
|
||||
content: "确定要删除此条数据吗?",
|
||||
title: '确认删除',
|
||||
content: '确定要删除此条数据吗?',
|
||||
onOk: function () {
|
||||
getAction(that.url.deleteMember, {id: id}).then((res) => {
|
||||
if (res.success) {
|
||||
that.$message.success(res.message);
|
||||
that.loadData();
|
||||
that.$message.success(res.message)
|
||||
that.loadData()
|
||||
} else {
|
||||
that.$message.warning(res.message);
|
||||
that.$message.warning(res.message)
|
||||
}
|
||||
});
|
||||
})
|
||||
}
|
||||
});
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user