|
|
@ -100,16 +100,7 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span slot="action" slot-scope="text, record" v-if="role==2"> |
|
|
|
|
|
|
|
<a @click="fabu(record)" v-if="record.workStatus==0">发布</a> |
|
|
|
|
|
|
|
<a v-else="">已发布</a> |
|
|
|
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
|
|
|
<a @click="kaishi(record)">开始</a> |
|
|
|
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
|
|
|
<a @click="tijiao(record)">提交</a> |
|
|
|
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
|
|
|
<a @click="handleDetail(record)">详情</a> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -137,6 +128,16 @@ |
|
|
|
<a>删除</a> |
|
|
|
<a>删除</a> |
|
|
|
</a-popconfirm> |
|
|
|
</a-popconfirm> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
<span slot="action" slot-scope="text, record" v-else=""> |
|
|
|
|
|
|
|
<a @click="fabu(record)" v-if="record.workStatus==0">发布</a> |
|
|
|
|
|
|
|
<a v-else="">已发布</a> |
|
|
|
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
|
|
|
<a @click="kaishi(record)">开始</a> |
|
|
|
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
|
|
|
<a @click="tijiao(record)">提交</a> |
|
|
|
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
|
|
|
<a @click="handleDetail(record)">详情</a> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
</a-table> |
|
|
|
</a-table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -390,11 +391,11 @@ |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
loginrole(id){ |
|
|
|
loginrole(id){ |
|
|
|
|
|
|
|
let that = this |
|
|
|
getAction(this.url.loginrole,{id:id}).then((res)=>{ |
|
|
|
getAction(this.url.loginrole,{id:id}).then((res)=>{ |
|
|
|
if (res.success) { |
|
|
|
if (res.success) { |
|
|
|
//重新计算分页问题 |
|
|
|
//重新计算分页问题 |
|
|
|
this.role=res.result; |
|
|
|
that.role=res.result; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|