|
@@ -254,6 +254,7 @@
|
|
|
<template v-if='role==1'>
|
|
|
<el-button v-if='info.post_status==0' type="primary" @click="submitForm(0)" plain>暂存</el-button>
|
|
|
<el-button v-if='info.post_status==0' type="primary" @click="submitForm(1)">提交</el-button>
|
|
|
+ <el-button v-if='info.post_status==5' type="primary" @click="submitForm(5)">重新填报</el-button>
|
|
|
</template>
|
|
|
<!-- 专家帐号 -->
|
|
|
<template v-if='role==2'>
|
|
@@ -514,7 +515,6 @@ export default {
|
|
|
this.open=true
|
|
|
},
|
|
|
submitForm(type){
|
|
|
- console.log(this.form,222222222222)
|
|
|
if(type==0){
|
|
|
// return false;
|
|
|
var form={
|
|
@@ -529,6 +529,10 @@ export default {
|
|
|
this.$emit('post',form)
|
|
|
},100)
|
|
|
}else{
|
|
|
+ if(type==5){
|
|
|
+ this.$router.push({path:"/list/detail",query:{id:this.info.new_workflow_id}})
|
|
|
+ return false;
|
|
|
+ }
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
if (valid) {
|
|
|
// return false;
|