|
|
|
@ -19,7 +19,7 @@ |
|
|
|
<el-form> |
|
|
|
<!--添加按钮--> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="addOrUpdateHandle()">{{"新增典型案例"}}</el-button> |
|
|
|
<el-button type="primary" @click="addHandle()">{{"新增典型案例"}}</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<!-- 列表--> |
|
|
|
@ -90,6 +90,10 @@ export default { |
|
|
|
detailHandle (id) { |
|
|
|
this.$parent.selectComponent = 'CaseInfoDetailView' |
|
|
|
this.$router.push({ path: '/case-typicalcasedetail', query: { id: id } }) |
|
|
|
}, |
|
|
|
addHandle () { |
|
|
|
this.$parent.selectComponent = 'CaseInfoAdd' |
|
|
|
this.$router.push({ path: '/case-typicalcase-add-or-update' }) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|