diff --git a/src/views/person/PersonForm.vue b/src/views/person/PersonForm.vue index 80aa59f..912209b 100644 --- a/src/views/person/PersonForm.vue +++ b/src/views/person/PersonForm.vue @@ -15,7 +15,7 @@ - + @@ -26,7 +26,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -38,7 +38,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -106,7 +106,9 @@ :wrapperCol="{span: 20}" has-feedback > - + + {{ item.name }} + @@ -120,7 +122,9 @@ :wrapperCol="wrapperCol" has-feedback > - + + {{ item.name }} + @@ -132,7 +136,9 @@ :wrapperCol="wrapperCol" has-feedback > - + + {{ item.name }} + @@ -146,20 +152,8 @@ :wrapperCol="{span: 20}" > - - 单位主要负责人 - - - 安全管理员 - - - 班组长 - - - 特种作业人员 - - - 其他 + + {{ item.name }} @@ -175,7 +169,7 @@ :wrapperCol="wrapperCol" has-feedback > - + @@ -183,6 +177,9 @@ + + 上传身份证 + @@ -192,6 +189,7 @@ + diff --git a/src/views/sys/dictionary/DictionaryList.vue b/src/views/sys/dictionary/DictionaryList.vue index 02c2509..2c97272 100644 --- a/src/views/sys/dictionary/DictionaryList.vue +++ b/src/views/sys/dictionary/DictionaryList.vue @@ -7,6 +7,8 @@ @search="handleRefresh" @reset="() => {queryParam = {}, handleRefresh()}" > + + 新增 import { dictionaryItemPage, dictionaryItemDel } from '@/api/sys/dictionaryItem' -import { STable } from '@/components' +import { STable, GoBack } from '@/components' import DictionaryItemForm from './DictionaryItemForm' export default { name: 'DictionaryItemList', components: { STable, + GoBack, DictionaryItemForm }, data () { @@ -91,6 +92,10 @@ export default { } }, methods: { + goBack () { + // 返回到上一级 + this.$router.push({ path: '/dictionary' }) + }, // 增 handleCreate () { this.$refs.modal.add()