From d972548e283da9334fb0878c3b733c7ffd49f327 Mon Sep 17 00:00:00 2001 From: zhangyao Date: Thu, 6 Jul 2023 15:50:56 +0800 Subject: [PATCH] feat: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 对接工单管理接口和预警列表接口 --- src/components/manual-distribution/env.js | 4 + src/components/manual-distribution/form.vue | 6 +- src/components/manual-distribution/index.vue | 28 +- src/components/warn-detail/index.vue | 10 +- .../main/forewarning/list/detail/index.vue | 123 +++++++- src/page/main/forewarning/list/index.vue | 293 +++++++----------- .../main/forewarning/rule-set/add/index.vue | 1 - .../business-ticket-list/close-ticket.vue | 37 ++- .../business-ticket-list/detail/index.vue | 114 +++---- .../ticket/business-ticket-list/index.vue | 181 +++++------ .../business-ticket-manage/add/index.vue | 13 +- .../business-ticket-manage/detail/index.vue | 270 +++++++++------- .../business-ticket-manage/edit/index.vue | 102 +++--- .../ticket/business-ticket-manage/index.vue | 236 +++++++------- .../modules/add-form.vue | 4 +- .../modules/interface.js | 57 ++++ .../ticket/modules/feedback-detail/detail.vue | 14 +- src/page/main/ticket/modules/feedback.vue | 21 +- .../my-business-ticket/detail/index.vue | 115 +++---- .../main/ticket/my-business-ticket/index.vue | 153 +++++---- src/page/main/ticket/my-warn-ticket/index.vue | 93 +++--- 21 files changed, 1082 insertions(+), 793 deletions(-) create mode 100644 src/page/main/ticket/business-ticket-manage/modules/interface.js diff --git a/src/components/manual-distribution/env.js b/src/components/manual-distribution/env.js index 3e56b1e..755a042 100644 --- a/src/components/manual-distribution/env.js +++ b/src/components/manual-distribution/env.js @@ -3,6 +3,10 @@ export const METHODS = { dingtalk: '钉钉', sms: '短信' } +export const ORDER_METHODS = { + 1: '钉钉', + 2: '短信' +} // 可以新增的数量 // export const ADD_NUM = 5 diff --git a/src/components/manual-distribution/form.vue b/src/components/manual-distribution/form.vue index 448896d..adfdae6 100644 --- a/src/components/manual-distribution/form.vue +++ b/src/components/manual-distribution/form.vue @@ -8,7 +8,7 @@ style="width: 100%"> - + {{ value }} @@ -103,6 +103,10 @@ const props = defineProps({ type: String, default: "110px", }, + methodLists: { + type: Object, + default: METHODS, + }, }); const form_ref = ref(null); // 表单数据 diff --git a/src/components/manual-distribution/index.vue b/src/components/manual-distribution/index.vue index 2f17d7b..f849f60 100644 --- a/src/components/manual-distribution/index.vue +++ b/src/components/manual-distribution/index.vue @@ -4,7 +4,7 @@
-
+