From 1622d4cfacbb6f21eb105b6e4eec075d14c8de5e Mon Sep 17 00:00:00 2001 From: wangxk Date: Mon, 21 Apr 2025 11:18:59 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/trajectory/index.vue | 259 +++++++++++++++--------- web/src/views/system/dept/index.vue | 40 ++-- web/src/views/system/dict/index.vue | 14 +- web/src/views/system/user/index.vue | 45 ++-- web/vite.config.ts | 2 +- 5 files changed, 212 insertions(+), 148 deletions(-) diff --git a/web/src/components/trajectory/index.vue b/web/src/components/trajectory/index.vue index 20911c4..945cb08 100644 --- a/web/src/components/trajectory/index.vue +++ b/web/src/components/trajectory/index.vue @@ -6,53 +6,96 @@ - @@ -201,19 +273,24 @@ watch(() => props.coordinates, (newVal) => { right: 0; bottom: 0; margin: 0 !important; - z-index: 9999; + z-index: 1000; } .fullscreen-btn { position: absolute; top: 10px; right: 25px; - z-index: 10000; + z-index: 1001; padding: 8px 16px; background: rgba(0, 0, 0, 0.7); color: white; border: none; border-radius: 4px; cursor: pointer; + transition: opacity 0.2s; +} + +.fullscreen-btn:hover { + opacity: 0.9; } \ No newline at end of file diff --git a/web/src/views/system/dept/index.vue b/web/src/views/system/dept/index.vue index a816c2d..a3aa8c7 100644 --- a/web/src/views/system/dept/index.vue +++ b/web/src/views/system/dept/index.vue @@ -54,7 +54,7 @@ const info = ref({ description: "", custom1: "", }); -//新建企业数组 +//新建组织数组 const causeInfo = ref({ id: "", parentid: "", @@ -68,9 +68,9 @@ const causeInfo = ref({ const title = ref(""); const dialogVisible = ref(false); const dialogCause = ref(false); -//删除企业 +//删除组织 const choosetreeid = ref(""); -//获取企业树形信息 +//获取组织树形信息 function getTree() { const params = { parentid: "0", @@ -103,10 +103,10 @@ function getData() { }); } const multipleSelection = ref([]); -//定义企业填写规则 +//定义组织填写规则 const rules = reactive({ - orgname: [{ required: true, message: "请填写企业名称", trigger: "blur" }], - manager: [{ required: true, message: "请填写企业负责人名称", trigger: "blur" }], + orgname: [{ required: true, message: "请填写组织名称", trigger: "blur" }], + manager: [{ required: true, message: "请填写组织负责人名称", trigger: "blur" }], }); //定义部门填写规则 const moderules = reactive({ @@ -148,9 +148,9 @@ function switchChange(row: any) { getData(); }); } -//新建企业 +//新建组织 function causeAdd() { - title.value = "新增企业"; + title.value = "新增组织"; dialogCause.value = true; const causeInfogase = ref({ id: "", @@ -164,7 +164,7 @@ function causeAdd() { }); causeInfo.value = causeInfogase.value; } -//新键企业-保存 +//新键组织-保存 function editisrepetition(formEl: any) { formEl.validate((valid: any) => { if (valid) { @@ -214,16 +214,16 @@ function handleClose() { dialogCause.value = false; } -//修改企业 +//修改组织 function edittree(data: any) { - title.value = "修改企业"; + title.value = "修改组织"; causeInfo.value = JSON.parse(JSON.stringify(data)); dialogCause.value = true; } function remove(data: any) { choosetreeid.value = ""; choosetreeid.value = data.id; - ElMessageBox.confirm("确定删除该企业及该企业下的所有部门吗?", "删除提示", { + ElMessageBox.confirm("确定删除该组织及该组织下的所有部门吗?", "删除提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", @@ -375,7 +375,7 @@ const vMove = {
@@ -475,25 +475,25 @@ const vMove = { 确定 - + - + - - + + - + + placeholder="请输入组织描述"> + placeholder="请输入组织联系信息"> diff --git a/web/src/views/system/dict/index.vue b/web/src/views/system/dict/index.vue index 8c6fa98..0eb8a16 100644 --- a/web/src/views/system/dict/index.vue +++ b/web/src/views/system/dict/index.vue @@ -137,10 +137,10 @@ function handleNodeClick(row: any) { init(); } // 系统配置 / 用户配置 - 切换 -function activeNameChange(name: any) { - activeName.value = name.props.name - getTree() -} +// function activeNameChange(name: any) { + // activeName.value = name.props.name + // getTree() +// } // 新增字典 function dictAdd() { @@ -389,18 +389,18 @@ const total = ref()