From b7029ea440dd4f879ef7d931380e1a85f6e80c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E7=BB=AA=E5=A3=AE?= <2235602974@qq.com> Date: Mon, 21 Mar 2022 19:05:38 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E8=A7=92=E8=89=B2=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E3=80=81=E5=B2=97=E4=BD=8D=E7=AE=A1=E7=90=86=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/const/crud/admin/post.js | 12 +++++----- src/views/admin/post/index.vue | 40 +++++++++++++++++++++++++++++++++- src/views/admin/role/index.vue | 35 +++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 7 deletions(-) diff --git a/src/const/crud/admin/post.js b/src/const/crud/admin/post.js index 665cc0f9..548e3b97 100644 --- a/src/const/crud/admin/post.js +++ b/src/const/crud/admin/post.js @@ -11,23 +11,23 @@ export const tableOption = { "column": [ { "type": "input", - "label": "岗位编码", - "prop": "postCode", + "label": "岗位名称", + "prop": "postName", span: 24, rules: [{ required: true, - message: '请输入岗位编码', + message: '请输入岗位名称', trigger: 'blur' }] }, { "type": "input", - "label": "岗位名称", - "prop": "postName", + "label": "岗位标识", + "prop": "postCode", span: 24, rules: [{ required: true, - message: '请输入岗位名称', + message: '请输入岗位标识', trigger: 'blur' }] }, diff --git a/src/views/admin/post/index.vue b/src/views/admin/post/index.vue index 5e22a0d7..3264c85b 100644 --- a/src/views/admin/post/index.vue +++ b/src/views/admin/post/index.vue @@ -39,19 +39,51 @@ icon="el-icon-edit" @click="$refs.crud.rowAdd()">添加 + 导入 + + 导出 + + + +