From 475455f8f4b8cd407d0f3cc7c821aa35ddda29e6 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期四, 06 三月 2025 11:09:00 +0800 Subject: [PATCH] 清除低代码 --- src/views/business/inspectionTask/index.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/business/inspectionTask/index.vue b/src/views/business/inspectionTask/index.vue index d9ded15..d7df57a 100644 --- a/src/views/business/inspectionTask/index.vue +++ b/src/views/business/inspectionTask/index.vue @@ -376,6 +376,9 @@ formatData: (params) => { return this.urgencyLevel.find((m) => m.value == params).label; }, + formatType: (params) => { + return this.urgencyLevel.find((m) => m.value == params).type; + }, }, { label: "妫�楠岀被鍨�", @@ -394,8 +397,7 @@ prop: "insState", dataType: "tag", formatData: (params) => { - return this.inspectionTaskState.find((m) => m.value == params) - .label; + return this.inspectionTaskState.find((m) => m.value == params).label; }, formatType: (params) => { return this.inspectionTaskState.find((m) => m.value == params).type; @@ -566,7 +568,7 @@ // 鏁版嵁鏌ョ湅鐩稿叧瀛楁---缁撴潫 }; }, - created() { + mounted() { this.getAuthorizedPerson(); this.currentTime = getYearAndMonthAndDays(); this.getDicts("urgency_level").then((response) => { @@ -576,8 +578,6 @@ this.inspectionTaskState = this.dictToValue(response.data); }); this.refreshTable(); - }, - mounted() { this.queryParams.userId = this.userId; }, activated() { -- Gitblit v1.9.3