master
lion 2 years ago
parent 2c2ed58b01
commit ffe14bbbb8

@ -218,7 +218,7 @@
console.log("this.form",this.form)
// return
store(this.form).then(response => {
// this.saveUnitStatus()
this.saveUnitStatus()
}).catch(error => {
//reject(error)
})

@ -1028,8 +1028,10 @@
message: `请增加题库题目`
})
return
}
if(!(this.form.audit_status==3||this.form.audit_status==5)){
this.betweenSe(this.form.start_date, this.form.end_date)
}
this.betweenSe(this.form.start_date, this.form.end_date)
if (this.type === 'add' || this.type=== 'pid') {
save({

@ -82,7 +82,9 @@
<Button v-if="scope.row.audit_admin_id==stateObj.login_id&&scope.row.audit_status==0" style="margin-right:5px;margin-bottom:5px;" type="primary" size="small" @click="checkUnits(scope.row.id,'check')"></Button>
</div> -->
<div v-if="scope.row.audit_status==3">
<!-- v-if="scope.row.audit_status==3" -->
<!-- v-if="scope.row.audit_status==3" -->
<Button style="margin-right:5px;margin-bottom:5px;" type="primary" size="small"
@click="editorUnit(scope.row.id,'editor')">编辑任务</Button>
<Button style='margin-right:5px;margin-bottom:5px;' size="small"
@click="backPlan(scope.row)">归档</Button>
</div>

Loading…
Cancel
Save