From 224e6e30473407dee0f90f3b0b67d3d40df6fb75 Mon Sep 17 00:00:00 2001 From: "aoli.qu" <408346101@qq.com> Date: Mon, 8 Nov 2021 10:31:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E7=AE=A1=E7=90=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/person/PersonForm.vue | 114 ++++++++++++----- src/views/person/PersonList.vue | 38 +++--- src/views/person/PersonRegister.vue | 117 ++++++++++++++++++ src/views/sys/dictionary/DictionaryList.vue | 2 + .../sys/dictionaryItem/DictionaryItemList.vue | 7 +- 5 files changed, 233 insertions(+), 45 deletions(-) create mode 100644 src/views/person/PersonRegister.vue 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()