From 791db9676de3fac540b3a508d222a77a83f11d29 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期六, 27 一月 2024 14:00:12 +0800 Subject: [PATCH] 设备管理添加导出按钮 --- src/views/system/modules/UserModal.vue | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/views/system/modules/UserModal.vue b/src/views/system/modules/UserModal.vue index e5ea623..463cb62 100644 --- a/src/views/system/modules/UserModal.vue +++ b/src/views/system/modules/UserModal.vue @@ -74,7 +74,14 @@ placeholder="璇风淮鎶ょ彮缁�" ></j-dict-select-tag> </a-form-model-item> - + <a-form-model-item label="涓績鍒嗛厤" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="areaId"> + <j-dict-select-tag + v-model="model.areaId" + :triggerChange="true" + dictCode="mom_base_area,name,id,del_flag = 0" + placeholder="璇风淮鎶や腑蹇�" + ></j-dict-select-tag> + </a-form-model-item> <a-form-model-item label="璐熻矗閮ㄩ棬" :labelCol="labelCol" :wrapperCol="wrapperCol" v-if="departIdShow==true"> <j-multi-select-tag :disabled="disableSubmit" @@ -124,7 +131,7 @@ </a-spin> - <div class="drawer-bootom-button" v-show="!disableSubmit"> + <div class="drawer-bottom-button" v-show="!disableSubmit"> <a-popconfirm title="纭畾鏀惧純缂栬緫锛�" @confirm="handleCancel" okText="纭畾" cancelText="鍙栨秷"> <a-button style="margin-right: .8rem">鍙栨秷</a-button> </a-popconfirm> @@ -420,10 +427,16 @@ } obj.then((res)=>{ if(res.success){ - that.$message.success(res.message); + that.$notification.success({ + message:'娑堟伅', + description:res.message + }); that.$emit('ok'); }else{ - that.$message.warning(res.message); + that.$notification.warning({ + message:'娑堟伅', + description:res.message + }); } }).finally(() => { that.confirmLoading = false; @@ -589,7 +602,7 @@ padding-bottom:10px; } - .drawer-bootom-button { + .drawer-bottom-button { position: absolute; bottom: -8px; width: 100%; -- Gitblit v1.9.3