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