From 0a2fd0f611179661d0a131baf69a9f822f854ba6 Mon Sep 17 00:00:00 2001 From: Esacpe <1113279529@qq.com> Date: Mon, 15 Sep 2025 14:58:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MyComponents/Department/index.vue | 7 +- src/components/aboutTable/Search.vue | 8 +- src/router/index.js | 1 + .../ResearchHome/components/detailDialog.vue | 96 ++++++ .../JudgmentHome/ResearchHome/index.vue | 294 ++++++++++++------ src/views/login/index.vue | 4 +- 6 files changed, 303 insertions(+), 107 deletions(-) create mode 100644 src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/detailDialog.vue diff --git a/src/components/MyComponents/Department/index.vue b/src/components/MyComponents/Department/index.vue index 8782222..d9a97f1 100644 --- a/src/components/MyComponents/Department/index.vue +++ b/src/components/MyComponents/Department/index.vue @@ -6,6 +6,7 @@ :show-all-levels="false" clearable filterable + :disabled="props.disabled" :placeholder="modelValue ? placeholder : '请选择部门'" :options="tableData" v-model="oldmodelValue" @@ -46,7 +47,11 @@ const props = defineProps({ isAll:{ default: false, type: Boolean - } + }, + disabled:{ + default: false, + type: Boolean + }, }); const firstLoad = ref(true) const oldmodelValue = ref([]); diff --git a/src/components/aboutTable/Search.vue b/src/components/aboutTable/Search.vue index efb0e6c..e10f456 100644 --- a/src/components/aboutTable/Search.vue +++ b/src/components/aboutTable/Search.vue @@ -152,6 +152,8 @@ import { reactive, watchEffect, getCurrentInstance, + watch, + computed } from "vue"; import * as MOSTY from "@/components/MyComponents/index"; const { proxy } = getCurrentInstance(); @@ -233,7 +235,7 @@ const props = defineProps({ backgroundColor: { type: String, default: "rgb(255, 255, 255, 1)" - } + }, }); let loadingPage = ref(false); const emit = defineEmits(["submit", "reset"]); @@ -388,7 +390,7 @@ let defaultCascader = { placeholder: "请选择", checkStrictly: true, // 控制是否父子联动(是否可以选择任意节点) showAllLevels: false, // 是否显示完整路径 - lazy: true, // 是否懒加载 当设置为false时就要传入options + lazy: false, // 是否懒加载 当设置为false时就要传入options portUrl: "", // 这里必须写 接口地址 props: { label: "label", @@ -401,7 +403,7 @@ let defaultCascader = { const cascaderLazyProps = reactive({ value: "value", label: "label", - lazy: true, + lazy: false, lazyLoad(node, resolve) { // 这里要根据实际情况修改 const { level } = node; diff --git a/src/router/index.js b/src/router/index.js index 5c81321..c8d1011 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -609,6 +609,7 @@ export const publicRoutes = [ icon: "article" }, children: [ + // { // path: "/surveillanceControl", // name: "surveillanceControl", diff --git a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/detailDialog.vue b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/detailDialog.vue new file mode 100644 index 0000000..b79d0d5 --- /dev/null +++ b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/detailDialog.vue @@ -0,0 +1,96 @@ + + + \ No newline at end of file diff --git a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue index ebb525a..68e58c5 100644 --- a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue +++ b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue @@ -14,6 +14,7 @@ +
会商统计
@@ -30,32 +31,66 @@ 研判报告
-
+
- + + + + + + + + +
+ + + + + +
+
+ + + + + 查询 + 重置 + +
-
    +
    • {{ it.title }}
      +
    @@ -63,62 +98,136 @@
+ + @@ -349,6 +453,7 @@ watch(()=>D_BZ_SSZT.value, (val) => { .list-table{ height: calc(100% - 30px); margin-top: 5px; + overflow: hidden; } } .list-item:nth-child(2n+1){ @@ -391,19 +496,8 @@ watch(()=>D_BZ_SSZT.value, (val) => { color: red; } - -// .bts >>>p{ -// font-size: 16px; font-family: 黑体; -// color: rgb(255, 0, 140); -// } -// .psj >>>p{ -// text-indent: 2em; -// } -// .minbt >>>p{ -// font-size: 16px; font-family: 楷体; -// } -// .nr >>>p{ -// font-size: 16px; font-family: 仿宋; -// } +::v-deep .el-date-editor .el-range-separator { + color: #333; +} diff --git a/src/views/login/index.vue b/src/views/login/index.vue index c26ce87..0baf6fd 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -155,9 +155,7 @@ const handleLogin = () => { loginFromRef.value.validate((valid) => { if (!valid) return false; loading.value = true; - store - .dispatch("user/login", loginForm.value) - .then((res) => { + store.dispatch("user/login", loginForm.value).then((res) => { loading.value = false; // 登录后操作 if (res.deptList.length === 1) {