From 7de94e2ea37803216e5afe9d40e7121c87a5344e Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期四, 24 四月 2025 14:21:14 +0800
Subject: [PATCH] 富文本复制粘贴图片上传至url
---
src/views/system/dept/index.vue | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 889867d..a25e204 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -123,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>
@@ -180,11 +180,13 @@
loading.value = false;
});
}
+
/** 鍙栨秷鎸夐挳 */
function cancel() {
open.value = false;
reset();
}
+
/** 琛ㄥ崟閲嶇疆 */
function reset() {
form.value = {
@@ -199,15 +201,18 @@
};
proxy.resetForm("deptRef");
}
+
/** 鎼滅储鎸夐挳鎿嶄綔 */
function handleQuery() {
getList();
}
+
/** 閲嶇疆鎸夐挳鎿嶄綔 */
function resetQuery() {
proxy.resetForm("queryRef");
handleQuery();
}
+
/** 鏂板鎸夐挳鎿嶄綔 */
function handleAdd(row) {
reset();
@@ -220,6 +225,7 @@
open.value = true;
title.value = "娣诲姞閮ㄩ棬";
}
+
/** 灞曞紑/鎶樺彔鎿嶄綔 */
function toggleExpandAll() {
refreshTable.value = false;
@@ -228,6 +234,7 @@
refreshTable.value = true;
});
}
+
/** 淇敼鎸夐挳鎿嶄綔 */
function handleUpdate(row) {
reset();
@@ -240,6 +247,7 @@
title.value = "淇敼閮ㄩ棬";
});
}
+
/** 鎻愪氦鎸夐挳 */
function submitForm() {
proxy.$refs["deptRef"].validate(valid => {
@@ -260,6 +268,7 @@
}
});
}
+
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
function handleDelete(row) {
proxy.$modal.confirm('鏄惁纭鍒犻櫎鍚嶇О涓�"' + row.deptName + '"鐨勬暟鎹」?').then(function() {
--
Gitblit v1.9.3