From 1c2da6dfb1e23fa38c58ada5d7e98f91ae2d738e Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期三, 11 九月 2024 14:19:21 +0800 Subject: [PATCH] 修改导出文件名称 --- src/views/system/dept/index.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index af51c50..a25e204 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -89,7 +89,6 @@ value-key="deptId" placeholder="閫夋嫨涓婄骇閮ㄩ棬" check-strictly - :render-after-expand="false" /> </el-form-item> </el-col> @@ -124,7 +123,7 @@ <el-radio v-for="dict in sys_normal_disable" :key="dict.value" - :label="dict.value" + :value="dict.value" >{{ dict.label }}</el-radio> </el-radio-group> </el-form-item> @@ -181,11 +180,13 @@ loading.value = false; }); } + /** 鍙栨秷鎸夐挳 */ function cancel() { open.value = false; reset(); } + /** 琛ㄥ崟閲嶇疆 */ function reset() { form.value = { @@ -200,15 +201,18 @@ }; proxy.resetForm("deptRef"); } + /** 鎼滅储鎸夐挳鎿嶄綔 */ function handleQuery() { getList(); } + /** 閲嶇疆鎸夐挳鎿嶄綔 */ function resetQuery() { proxy.resetForm("queryRef"); handleQuery(); } + /** 鏂板鎸夐挳鎿嶄綔 */ function handleAdd(row) { reset(); @@ -221,6 +225,7 @@ open.value = true; title.value = "娣诲姞閮ㄩ棬"; } + /** 灞曞紑/鎶樺彔鎿嶄綔 */ function toggleExpandAll() { refreshTable.value = false; @@ -229,6 +234,7 @@ refreshTable.value = true; }); } + /** 淇敼鎸夐挳鎿嶄綔 */ function handleUpdate(row) { reset(); @@ -241,6 +247,7 @@ title.value = "淇敼閮ㄩ棬"; }); } + /** 鎻愪氦鎸夐挳 */ function submitForm() { proxy.$refs["deptRef"].validate(valid => { @@ -261,6 +268,7 @@ } }); } + /** 鍒犻櫎鎸夐挳鎿嶄綔 */ function handleDelete(row) { proxy.$modal.confirm('鏄惁纭鍒犻櫎鍚嶇О涓�"' + row.deptName + '"鐨勬暟鎹」?').then(function() { -- Gitblit v1.9.3