From 294c25c617ad182e2a2ada57e443c68c003e049b Mon Sep 17 00:00:00 2001 From: zhangdi <15053473693@163.com> Date: Mon, 8 Sep 2025 15:38:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/index/setting.vue | 52 +++++----------- src/page/index/sidebar/leftMenu.vue | 2 +- .../productionSchedulingPlan/productRlue.vue | 4 +- src/views/wel/components/workBase2.vue | 60 +++++++++++++++++++ src/views/wel/index.vue | 8 ++- 5 files changed, 85 insertions(+), 41 deletions(-) create mode 100644 src/views/wel/components/workBase2.vue diff --git a/src/page/index/setting.vue b/src/page/index/setting.vue index d07aef9..1f1d13d 100644 --- a/src/page/index/setting.vue +++ b/src/page/index/setting.vue @@ -3,7 +3,7 @@
菜单风格
- + 风格一 风格二 风格三 @@ -44,6 +44,7 @@ import { setTheme } from 'utils/util'; export default { data() { return { + styleRadio:'', show: false, list1: [ { @@ -87,54 +88,33 @@ export default { ...mapGetters(['isHorizontal', 'setting', 'tagWel', 'themeName']), }, watch: { - // setting: function (val) { - // if (setting.styleRadio == '3') { - // this.$store.commit('SET_THEME_NAME', 'theme-white'); - // setTheme('theme-white'); - // if (this.$store.getters.isMacOs) { - // this.$router.push(this.tagWel); - // setTimeout(() => location.reload()); - // } - // } - - // }, - }, - methods: { - styleRadioChange(val) { + styleRadio: function (val) { + this.setting.styleRadio = val if (val == '3' || val == '5') { this.$store.commit('SET_THEME_NAME', 'theme-white'); setTheme('theme-white'); - // if (this.$store.getters.isMacOs) { - // this.$router.push(this.tagWel); - // setTimeout(() => location.reload()); - // } + } else if (val == '4') { this.$store.commit('SET_THEME_NAME', 'theme-white'); setTheme('theme-white'); - // if (this.$store.getters.isMacOs) { - // this.$router.push(this.tagWel); - // setTimeout(() => location.reload()); - // } + } else if (val == '1') { this.$store.commit('SET_THEME_NAME', 'theme-bule'); setTheme('theme-bule'); - // if (this.$store.getters.isMacOs) { - // this.$router.push(this.tagWel); - // setTimeout(() => location.reload()); - // } + } else if (val == '2') { this.$store.commit('SET_THEME_NAME', 'theme-go'); setTheme('theme-go'); + } - // else{ - // this.$store.commit('SET_THEME_NAME', 'theme-go'); - // setTheme('theme-go'); - // // if (this.$store.getters.isMacOs) { - // // this.$router.push(this.tagWel); - // // setTimeout(() => location.reload()); - // // } - // } - } + + }, + }, + methods: { + + }, + mounted(){ + this.styleRadio = this.setting.styleRadio } }; diff --git a/src/page/index/sidebar/leftMenu.vue b/src/page/index/sidebar/leftMenu.vue index 650de6e..fa6ef14 100644 --- a/src/page/index/sidebar/leftMenu.vue +++ b/src/page/index/sidebar/leftMenu.vue @@ -5,7 +5,7 @@
diff --git a/src/views/productionSchedulingPlan/productRlue.vue b/src/views/productionSchedulingPlan/productRlue.vue index 2e4ed5a..2bc51bf 100644 --- a/src/views/productionSchedulingPlan/productRlue.vue +++ b/src/views/productionSchedulingPlan/productRlue.vue @@ -142,7 +142,7 @@ export default { { label: '规则ID', prop: 'rlueId', - search: true, + search: false, sortable: true, span: 12, rules: [ @@ -212,7 +212,7 @@ export default { { label: '创建人', prop: 'createName', - search: true, + search: false, sortable: true, span: 12, rules: [ diff --git a/src/views/wel/components/workBase2.vue b/src/views/wel/components/workBase2.vue new file mode 100644 index 0000000..4f6bbb9 --- /dev/null +++ b/src/views/wel/components/workBase2.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue index 32cf0bc..83a99bf 100644 --- a/src/views/wel/index.vue +++ b/src/views/wel/index.vue @@ -1,17 +1,21 @@