|
|
@@ -27,16 +27,21 @@ window.$swEvent.setup("mztb.base.partyDataFill.partyDataFillList", { |
|
|
|
return false |
|
|
|
} |
|
|
|
// 检查当前机构是否重复推送 |
|
|
|
const rt = await $$http.post("mztb/partyDataFill/checkRepetition", {task: $model.ds_1.data.form.task,task_text : $model.ds_1.data.form.task_text}) |
|
|
|
$api.closeDialog("tb_dialog") |
|
|
|
$api.toPage("mztb.partyDataFillCard", { |
|
|
|
$fromAction: 'button:add' |
|
|
|
, task: $model.ds_1.data.form.task |
|
|
|
, type: $model.ds_1.data.form.month |
|
|
|
, task_text: $model.ds_1.data.form.task_text |
|
|
|
, outOldData: $model.ds_1.data.form.outOldData, |
|
|
|
year : $model.ds_1.data.form.year |
|
|
|
const rt = await $$http.post("mztb/partyDataFill/checkRepetition", {task: $model.ds_1.data.form.task, |
|
|
|
task_text : $model.ds_1.data.form.task_text, |
|
|
|
outOldData: $model.ds_1.data.form.outOldData,}).then((res)=>{ |
|
|
|
if (res.code === 0){ |
|
|
|
$api.toPage("mztb.partyDataFillCard", { |
|
|
|
$fromAction: 'button:add' |
|
|
|
, task: $model.ds_1.data.form.task |
|
|
|
, type: $model.ds_1.data.form.month |
|
|
|
, task_text: $model.ds_1.data.form.task_text |
|
|
|
, outOldData: $model.ds_1.data.form.outOldData, |
|
|
|
year : $model.ds_1.data.form.year |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
$api.closeDialog("tb_dialog") |
|
|
|
} |
|
|
|
|
|
|
|
const selectHide =(data) => { |
|
|
|