-
- {{ valueData[item.prop].map((e) => METHODS[e]).join(",") }}
+
+ {{ valueData.notification_method.map((e) => METHODS[e]).join(",") }}
+
@@ -30,9 +33,12 @@
-
- {{ TIMEING_RULES[valueData[item.prop]] }}
+
+ {{ TIMEING_RULES[valueData.timeing_rules] }}
+
-
+
diff --git a/src/page/main/ticket/business-ticket-manage/index.vue b/src/page/main/ticket/business-ticket-manage/index.vue
index a5acc289c60a7ec62896804306bba2c9895364f7..ce2abed44113efa801e77c333925a221203d729c 100644
--- a/src/page/main/ticket/business-ticket-manage/index.vue
+++ b/src/page/main/ticket/business-ticket-manage/index.vue
@@ -93,13 +93,26 @@
({{ row.finish }}/{{ row.all }})
+
+
+
+
- 手动下发
+ 手动下发
- 编辑
+ 编辑
- 删除
+
+ 删除
+
@@ -115,7 +128,7 @@
-
+
@@ -197,7 +210,7 @@ let headers = reactive([
},
{
label: "定时是否启用",
- prop: "status",
+ prop: "enable",
align: "left",
width: 150,
},
@@ -215,13 +228,31 @@ let headers = reactive([
label: "操作",
prop: "operation",
align: "left",
- width: "200px",
+ width: "220px",
+ fixed: "right",
},
]);
let rows = ref([
- { ticket_name: 11, id: 111, status: 1, finish: 10, all: 10 },
- { ticket_name: 22, id: 222, status: 2, finish: 5, all: 10 },
- { ticket_name: 33, id: 333, status: 3, finish: 0, all: 10 },
+ {
+ ticket_name: 11,
+ id: 111,
+ status: 1,
+ finish: 10,
+ all: 10,
+ history: {
+ method: ["1", "2"],
+ lists: [
+ {
+ user_id: "1111",
+ user_name: "11111111",
+ phone: "13011111111",
+ },
+ ],
+ },
+ enable: true,
+ },
+ { ticket_name: 22, id: 222, status: 2, finish: 5, all: 10, enable: false },
+ { ticket_name: 33, id: 333, status: 3, finish: 0, all: 10, enable: false },
]);
const changeSize = (size) => {
filter.limit = size;
@@ -310,6 +341,7 @@ const goTo = ({ id }) => {
},
});
};
+const Enable = (row) => {};
diff --git a/src/page/main/ticket/business-ticket-manage/modules/add-form.vue b/src/page/main/ticket/business-ticket-manage/modules/add-form.vue
index 5b9631241a676a7ebe043489204b282ff7b505e6..7c40f3af7a7e98df78bb01493e1428bce6a90c6d 100644
--- a/src/page/main/ticket/business-ticket-manage/modules/add-form.vue
+++ b/src/page/main/ticket/business-ticket-manage/modules/add-form.vue
@@ -1,8 +1,8 @@
-
-
-