From 8dab72dbcd321ab3545f388acbd84869291b022b Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 23 Sep 2025 13:23:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20base=20=E5=A2=9E=E5=8A=A0wf=20ticketd?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=8F=AF=E5=9C=A8=E4=B8=9A=E5=8A=A1=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E9=87=8C=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/fix.scss | 5 + src/utils/enum.js | 14 +++ src/views/wf/myticket.vue | 54 ++++------ src/views/wf/ticketd.vue | 176 ++++++++++++++++++++++++++++++- src/views/wf/ticketd_b_start.vue | 95 +++++++++++++++++ src/views/wf/ticketd_default.vue | 21 ++++ 6 files changed, 331 insertions(+), 34 deletions(-) create mode 100644 src/views/wf/ticketd_b_start.vue create mode 100644 src/views/wf/ticketd_default.vue diff --git a/src/style/fix.scss b/src/style/fix.scss index 5b9b577a..4fa224ac 100644 --- a/src/style/fix.scss +++ b/src/style/fix.scss @@ -22,6 +22,11 @@ --el-color-primary-dark-9: #060f19; --el-border-radius-base: 2px; } + +.el-collapse-item__content { + padding-bottom: 1px; +} + .el-tag { --el-tag-border-radius: 2px; } diff --git a/src/utils/enum.js b/src/utils/enum.js index a6511d7c..2aa1b961 100644 --- a/src/utils/enum.js +++ b/src/utils/enum.js @@ -224,6 +224,20 @@ export const actStateEnum = new EnumFactory({ 5: { text: '已关闭', type: 'info' }, }) +export const interveneTypeEnum = new EnumFactory({ + 0: { text: '正常', type: 'primary' }, + 1: { text: '转交', type: 'primary' }, + 2: { text: '加签', type: 'info' }, + 3: { text: '加签处理完成', type: 'primary' }, + 4: { text: '接单', type: 'success' }, + 5: { text: '评论', type: 'info' }, + 6: { text: '删除', type: 'danger' }, + 7: { text: '强制关闭', type: 'danger' }, + 8: { text: '强制修改状态', type: 'danger' }, + 10: { text: '撤回', type: 'danger' }, + 11: { text: '抄送', type: 'info' }, +}) + export const mCateEnum = new EnumFactory({ 'list': ['主要辅材','办公辅料','设备维护辅料','包装辅材','标识辅材','防护辅材','其他辅材','常规辅材','医护辅材','检测辅材','倒角辅材','减薄辅材','磨抛辅材','多线切辅材','精雕辅材','扫边辅材','黑化辅材'] }) \ No newline at end of file diff --git a/src/views/wf/myticket.vue b/src/views/wf/myticket.vue index 005af0cb..c33e81f4 100644 --- a/src/views/wf/myticket.vue +++ b/src/views/wf/myticket.vue @@ -72,43 +72,28 @@ - + - + - + - + \ No newline at end of file diff --git a/src/views/wf/ticketd_b_start.vue b/src/views/wf/ticketd_b_start.vue new file mode 100644 index 00000000..8a1d8464 --- /dev/null +++ b/src/views/wf/ticketd_b_start.vue @@ -0,0 +1,95 @@ + + \ No newline at end of file diff --git a/src/views/wf/ticketd_default.vue b/src/views/wf/ticketd_default.vue new file mode 100644 index 00000000..dd5600e4 --- /dev/null +++ b/src/views/wf/ticketd_default.vue @@ -0,0 +1,21 @@ + + \ No newline at end of file