You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
695 B
37 lines
695 B
<template> |
|
<basic-container> |
|
<h3>{{ $route.query.id ? '编辑' : '新增' }}</h3> |
|
<avue-form :option="option" v-model="form"> |
|
<template #menu-form> |
|
<el-button icon="el-icon-back" @click="handleBack()">返 回</el-button> |
|
</template> |
|
</avue-form> |
|
</basic-container> |
|
</template> |
|
|
|
<script> |
|
export default { |
|
data() { |
|
return { |
|
form: {}, |
|
option: { |
|
labelWidth: 110, |
|
column: [ |
|
{ |
|
label: '姓名', |
|
prop: 'name', |
|
}, |
|
], |
|
}, |
|
}; |
|
}, |
|
methods: { |
|
handleBack() { |
|
this.$router.$avueRouter.closeTag(); |
|
this.$router.back(); |
|
}, |
|
}, |
|
}; |
|
</script> |
|
|
|
<style></style>
|
|
|