From e1c70addbf4dda88ce28a121633f021296829cc2 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 4 Sep 2025 10:16:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/svg/项目管理.svg | 1 + .../att-count/index.vue | 0 .../entry-exit/index.vue | 0 .../wage-proof/index.vue | 0 .../home-index/components/oftenUse/index.vue | 77 ++----------------- 5 files changed, 7 insertions(+), 71 deletions(-) create mode 100644 src/assets/icons/svg/项目管理.svg rename src/views/construction-person/{temp-person => temp-person-manage}/att-count/index.vue (100%) rename src/views/construction-person/{temp-person => temp-person-manage}/entry-exit/index.vue (100%) rename src/views/construction-person/{temp-person => temp-person-manage}/wage-proof/index.vue (100%) diff --git a/src/assets/icons/svg/项目管理.svg b/src/assets/icons/svg/项目管理.svg new file mode 100644 index 0000000..16180bf --- /dev/null +++ b/src/assets/icons/svg/项目管理.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/construction-person/temp-person/att-count/index.vue b/src/views/construction-person/temp-person-manage/att-count/index.vue similarity index 100% rename from src/views/construction-person/temp-person/att-count/index.vue rename to src/views/construction-person/temp-person-manage/att-count/index.vue diff --git a/src/views/construction-person/temp-person/entry-exit/index.vue b/src/views/construction-person/temp-person-manage/entry-exit/index.vue similarity index 100% rename from src/views/construction-person/temp-person/entry-exit/index.vue rename to src/views/construction-person/temp-person-manage/entry-exit/index.vue diff --git a/src/views/construction-person/temp-person/wage-proof/index.vue b/src/views/construction-person/temp-person-manage/wage-proof/index.vue similarity index 100% rename from src/views/construction-person/temp-person/wage-proof/index.vue rename to src/views/construction-person/temp-person-manage/wage-proof/index.vue diff --git a/src/views/home-index/components/oftenUse/index.vue b/src/views/home-index/components/oftenUse/index.vue index b7b7e8b..d1c881d 100644 --- a/src/views/home-index/components/oftenUse/index.vue +++ b/src/views/home-index/components/oftenUse/index.vue @@ -98,74 +98,7 @@ export default { data() { return { // 原始数据 - oftenUseList: [ - // { - // name: '考勤统计', - // icon: 'el-icon-s-help', - // id: 1, - // isChecked: true, - // }, - // { - // name: '人员库', - // icon: 'el-icon-s-help', - // id: 2, - // isChecked: true, - // }, - // { - // name: '用户管理', - // icon: 'el-icon-s-help', - // id: 3, - // isChecked: true, - // }, - // { - // name: '工资册审核', - // icon: 'el-icon-s-help', - // id: 4, - // isChecked: false, - // }, - // { - // name: '分包合同管理', - // icon: 'el-icon-s-help', - // id: 5, - // isChecked: true, - // }, - // { - // name: '组织管理', - // icon: 'el-icon-s-help', - // id: 6, - // isChecked: false, - // }, - // { - // name: '黑名单', - // icon: 'el-icon-s-help', - // id: 7, - // isChecked: false, - // }, - // { - // name: '考勤管理', - // icon: 'el-icon-s-help', - // id: 8, - // isChecked: false, - // }, - // { - // name: '出场管理', - // icon: 'el-icon-s-help', - // id: 9, - // isChecked: false, - // }, - // { - // name: '出场管理2', - // icon: 'el-icon-s-help', - // id: 10, - // isChecked: false, - // }, - // { - // name: '出场管理3', - // icon: 'el-icon-s-help', - // id: 11, - // isChecked: false, - // }, - ], + oftenUseList: [], // 弹框配置 dialogConfig: { outerVisible: false, @@ -200,9 +133,9 @@ export default { // 打开常用功能页面 onHandleOpenOftenUsePage(item) { console.log(item, 'item') - // this.$router.push({ - // path: item.url, - // }) + this.$router.push({ + path: item.url.replace(/\/index$/, ''), + }) }, // 确定按钮 @@ -251,8 +184,10 @@ export default { gap: 10px; .often-user-item { + // background-color: skyblue; display: flex; align-items: center; + justify-content: center; // flex-direction: column; cursor: pointer;