master
lion 2 years ago
parent 2c2ed58b01
commit ffe14bbbb8

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

@ -1028,8 +1028,10 @@
message: `请增加题库题目` message: `请增加题库题目`
}) })
return 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') { if (this.type === 'add' || this.type=== 'pid') {
save({ 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> <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> -->
<div v-if="scope.row.audit_status==3"> <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" <Button style='margin-right:5px;margin-bottom:5px;' size="small"
@click="backPlan(scope.row)">归档</Button> @click="backPlan(scope.row)">归档</Button>
</div> </div>

Loading…
Cancel
Save