From 162bae7fc30083e054b7f5b37578266bec770fcd Mon Sep 17 00:00:00 2001
From: KindSeven <2845382437@qq.com>
Date: Sun, 15 Sep 2024 01:16:00 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E6=90=AD=E5=A5=BD=E4=BA=86=E5=B7=A5?=
=?UTF-8?q?=E4=BD=9C=E5=8F=B0=E6=9E=B6=E5=AD=90=EF=BC=8C=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=E4=BA=86=E5=B7=A5=E5=8D=95=E7=9A=84=E6=90=9C=E7=B4=A2=E6=96=B9?=
=?UTF-8?q?=E6=B3=95=EF=BC=8C=E4=BF=AE=E6=94=B9=E4=BA=86=E9=83=A8=E5=88=86?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 2 +-
src/views/home/index.vue | 134 +++++++++++++++++-
.../task-management/all-work-order/index.vue | 21 ++-
.../task-management/components/WorkDialog.vue | 21 ++-
.../historical-work-order/index.vue | 22 ++-
.../pending-work-order/index.vue | 22 ++-
vite.config.js | 4 +-
7 files changed, 204 insertions(+), 22 deletions(-)
diff --git a/.env.development b/.env.development
index c2d2c3d..52ccbeb 100644
--- a/.env.development
+++ b/.env.development
@@ -1,2 +1,2 @@
# 开发环境基地址
-VITE_BASE_URL='http://frp.feashow.cn:31800/'
+VITE_BASE_URL='/api'
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 766f114..8c2230a 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -1,12 +1,142 @@
- 工作台
+
-
diff --git a/src/views/task-management/all-work-order/index.vue b/src/views/task-management/all-work-order/index.vue
index b20d76d..2d6222e 100644
--- a/src/views/task-management/all-work-order/index.vue
+++ b/src/views/task-management/all-work-order/index.vue
@@ -144,8 +144,8 @@ const tableConfig = reactive({
align: 'center',
showOverflowTooltip: false,
currentRender: ({ row, index }) => {
- if (row.state !== null) {
- return ()
+ if (row.orderState !== null) {
+ return ()
} else {
return '--'
}
@@ -155,6 +155,7 @@ const tableConfig = reactive({
prop: 'callState',
label: '电话拨打状态',
align: 'center',
+ width: 150,
showOverflowTooltip: false,
currentRender: ({ row, index }) => {
if (row.callState !== null) {
@@ -169,6 +170,7 @@ const tableConfig = reactive({
label: '处理人',
align: 'center'
},
+
{
prop: 'processedContent',
label: '处理内容',
@@ -192,6 +194,11 @@ const tableConfig = reactive({
align: 'center',
width: 200
},
+ {
+ prop: 'workOrderNumber',
+ label: '关单人',
+ align: 'center'
+ },
{
prop: 'oper',
label: '操作',
@@ -231,6 +238,16 @@ const tableConfig = reactive({
// {name: '新增', key: 'add', color: '#DED0B2', auth: auths.report},
]
})
+const search = (val) => {
+ let obj = { ...val }
+ if (obj.dateValue) {
+ obj.startTime = obj.dateValue[0]
+ obj.endTime = obj.dateValue[1]
+ delete obj.dateValue
+ }
+ tableConfig.params = obj
+ tableIns.value.refresh()
+}
const headBtnClick = (key) => {
// console.log(key);
diff --git a/src/views/task-management/components/WorkDialog.vue b/src/views/task-management/components/WorkDialog.vue
index af47bcc..f16e025 100644
--- a/src/views/task-management/components/WorkDialog.vue
+++ b/src/views/task-management/components/WorkDialog.vue
@@ -112,7 +112,7 @@ defineExpose({
auto>
-