前端完成
parent
4123bbc5f6
commit
2de1ab46f3
|
|
@ -61,6 +61,9 @@ public class AppSkillServiceImpl implements IAppSkillService
|
|||
public int insertAppSkill(AppSkill appSkill)
|
||||
{
|
||||
appSkill.setCreateTime(DateUtils.getNowDate());
|
||||
if("0".equals(appSkill.getType()) || null == appSkill.getType()) {
|
||||
appSkill.setParentId(0L);
|
||||
}
|
||||
return appSkillMapper.insertAppSkill(appSkill);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -236,6 +236,7 @@ export default {
|
|||
},
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.openUpdate = false;
|
||||
this.open = false;
|
||||
this.reset();
|
||||
},
|
||||
|
|
@ -318,6 +319,7 @@ export default {
|
|||
this.$modal.confirm('是否确认删除标签信息编号为"' + ids + '"的数据项?').then(function() {
|
||||
return delSkill(ids);
|
||||
}).then(() => {
|
||||
this.reset();
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
}).catch(() => {});
|
||||
|
|
|
|||
Loading…
Reference in New Issue