diff --git a/src/components/manual-distribution/env.js b/src/components/manual-distribution/env.js index 3e56b1e5de56e0d5ffa0c2146180a80d8bbb595a..755a0428ca85591abf63b8031bdb2720d1269a72 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 448896d2b469266a7aa869546130ffffae916bba..adfdae646e43aabed5c8d728a5e51590700abd93 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 2f17d7b7a53886842504dcd82d383559bf48c0b7..f849f60ca08ac5e8fcccd291b026989298f5e60a 100644 --- a/src/components/manual-distribution/index.vue +++ b/src/components/manual-distribution/index.vue @@ -4,7 +4,7 @@
-
+