|
|
@ -12,39 +12,46 @@ |
|
|
<el-step v-for="(item,index) in dicts.menuStatus" :title="item.name" :description="item.name" :key="index"> |
|
|
<el-step v-for="(item,index) in dicts.menuStatus" :title="item.name" :description="item.name" :key="index"> |
|
|
<span slot="description"> |
|
|
<span slot="description"> |
|
|
<span v-if="item.id=='0'"><!--打开--> |
|
|
<span v-if="item.id=='0'"><!--打开--> |
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='6'" plain>基础信息</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='6'" plain>概述</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" icon="el-icon-d-caret" @click="editXmMenuSomeFields(editForm,'status','2')" plain>设为进行中</el-button> |
|
|
|
|
|
|
|
|
<span v-if="item.id==editForm.status"> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='1'" plain>基础信息</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='4'" plain>概述</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="danger" size="mini" icon="el-icon-d-caret" @click="editXmMenuSomeFields(editForm,'status','1')" plain>设为进行中</el-button> |
|
|
|
|
|
</span> |
|
|
</span> |
|
|
</span> |
|
|
<span v-else-if="item.id=='1'"> <!--执行中--> |
|
|
<span v-else-if="item.id=='1'"> <!--执行中--> |
|
|
<span v-if="editForm.dclass<='1'"> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='4'" plain>创建特性</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='4'" plain>创建故事</el-button> |
|
|
|
|
|
</span> |
|
|
|
|
|
<span v-else-if="editForm.dclass=='2'"> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='4'" plain>创建故事</el-button> |
|
|
|
|
|
</span> |
|
|
|
|
|
<span v-else-if="editForm.dclass>='3'"> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='4'" plain>创建任务</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='4'" plain>测试用例</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='4'" plain>创建缺陷</el-button> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<span v-if="item.id==editForm.status"> |
|
|
|
|
|
<span v-if="editForm.dclass<='1'"> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='6'" plain>创建特性</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='6'" plain>创建故事</el-button> |
|
|
|
|
|
</span> |
|
|
|
|
|
<span v-else-if="editForm.dclass=='2'"> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='6'" plain>创建故事</el-button> |
|
|
|
|
|
</span> |
|
|
|
|
|
<span v-else-if="editForm.dclass>='3'"> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='6'" plain>创建任务</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='62'" plain>测试用例</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='6'" plain>创建缺陷</el-button> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" icon="el-icon-d-caret" @click="editXmMenuSomeFields(editForm,'status','2')" plain>设为已完工</el-button> |
|
|
|
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='3'" plain>成本</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="danger" size="mini" icon="el-icon-d-caret" @click="editXmMenuSomeFields(editForm,'status','2')" plain>设为已完工</el-button> |
|
|
|
|
|
</span> |
|
|
</span> |
|
|
</span> |
|
|
<span v-else-if="item.id=='2'"> <!--已完工--> |
|
|
<span v-else-if="item.id=='2'"> <!--已完工--> |
|
|
<span v-if="editForm.dclass>='3'"> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='4'" plain>wiki</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='4'" plain>附件</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='4'" plain>成本</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" icon="el-icon-d-caret" @click="editXmMenuSomeFields(editForm,'status','3')" plain>去关闭</el-button> |
|
|
|
|
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
<span v-if="item.id==editForm.status"> |
|
|
|
|
|
<span v-if="editForm.dclass>='3'"> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='7'" plain>wiki</el-button> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" @click="activateTabPaneName='8'" plain>附件</el-button> |
|
|
|
|
|
</span> |
|
|
|
|
|
<el-button class="step-btn" type="danger" size="mini" icon="el-icon-d-caret" @click="editXmMenuSomeFields(editForm,'status','3')" plain>去关闭</el-button> |
|
|
|
|
|
</span> |
|
|
</span> |
|
|
</span> |
|
|
<span v-else-if="item.id=='3'"> <!--已关闭--> |
|
|
|
|
|
<el-button class="step-btn" type="primary" size="mini" icon="el-icon-d-caret" @click="editXmMenuSomeFields(editForm,'status','0')" plain>去重新打开</el-button> |
|
|
|
|
|
|
|
|
<span v-else-if="item.id=='3'"> <!--已关闭--> |
|
|
|
|
|
<span v-if="item.id==editForm.status"> |
|
|
|
|
|
<el-button class="step-btn" type="danger" size="mini" icon="el-icon-d-caret" @click="editXmMenuSomeFields(editForm,'status','0')" plain>去重新打开</el-button> |
|
|
|
|
|
</span> |
|
|
</span> |
|
|
</span> |
|
|
</span> |
|
|
</span> |
|
|
</el-step> |
|
|
</el-step> |
|
|
|