mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-15 03:08:44 +08:00
加入定时任务编辑功能
This commit is contained in:
parent
38b29ce36a
commit
bf9ec0ca79
@ -65,18 +65,20 @@
|
||||
return;
|
||||
}
|
||||
|
||||
vc.http.post(
|
||||
'editJob',
|
||||
'update',
|
||||
vc.http.apiPost(
|
||||
'task.updateTask',
|
||||
JSON.stringify(vc.component.editJobInfo),
|
||||
{
|
||||
emulateJSON: true
|
||||
},
|
||||
function (json, res) {
|
||||
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
|
||||
if (res.status == 200) {
|
||||
let _json = JSON.parse(json);
|
||||
let data = res.data;
|
||||
if (_json.code == 200) {
|
||||
//关闭model
|
||||
$('#editJobModel').modal('hide');
|
||||
vc.component.clearEditJobInfo();
|
||||
vc.emit('jobManage', 'listJob', {});
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user