diff --git a/src/assets/js/constant.js b/src/assets/js/constant.js index 29ac496..cf2c357 100644 --- a/src/assets/js/constant.js +++ b/src/assets/js/constant.js @@ -16,7 +16,7 @@ export const MENU = [ { title: "双重预防", model: MODEL["3"] }, { title: "教育培训", model: MODEL["4"] }, { title: "综合管理", model: MODEL["5"] }, - { title: "定位管理", model: MODEL["6"] }, + // { title: "定位管理", model: MODEL["6"] }, ]; // 安全生成及电子运单管理 export const PRACTITIONERMENU = [ @@ -139,11 +139,11 @@ export const REMINDER_STATUS = [ { ID: "1", NAME: "关闭" }, ]; -export const REMIND_DAYS = [ +export const REMIND_DAYS = [ // 提醒天数 { ID: "0", NAME: "30天", NUM: "30" }, { ID: "1", NAME: "45天", NUM: "45" }, - { ID: "2", NAME: "90天", NUM: "90" } + { ID: "2", NAME: "90天", NUM: "90" }, ]; // export const MAINTENANCE_LEVEL_LIST = [ diff --git a/src/assets/js/utils.js b/src/assets/js/utils.js index 5b6acdb..a601c10 100644 --- a/src/assets/js/utils.js +++ b/src/assets/js/utils.js @@ -414,8 +414,6 @@ export function subtractDaysFromDate(date, daysToSubtract, type = false) { } else if (Object.prototype.toString.call(date) === "[object Date]") { // 直接传入了 Date 对象 newDate = date; - } else { - console.log("无效的输入参数"); } if (type) { newDate.setDate(newDate.getDate() + daysToSubtract); diff --git a/src/layout/header/index.vue b/src/layout/header/index.vue index d376b91..aeb8e35 100644 --- a/src/layout/header/index.vue +++ b/src/layout/header/index.vue @@ -4,9 +4,9 @@