From 400a5a6e53c30d43c92e1f527a582a679645ffcc Mon Sep 17 00:00:00 2001
From: zhangzhen <525765282@qq.com>
Date: Thu, 12 Jun 2025 15:47:42 +0800
Subject: [PATCH] 处理建议反馈列表功能;
---
src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js | 31 +++++++++----------------------
src/components/Common/WorkOrderSystem/WorkOrderSystemConfig/index.js | 19 ++++++++++++++++++-
src/components/Common/WorkOrderSystem/WorkOrderSystemDetail.js | 856 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
src/components/Common/WorkOrderSystem/index.less | 50 +++++++++++++++++++++++++-------------------------
src/index.less | 54 ++++++++++++++++++++++++++++--------------------------
5 files changed, 451 insertions(+), 559 deletions(-)
diff --git a/src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js b/src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js
index 108ab73..7735c7b 100644
--- a/src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js
+++ b/src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js
@@ -21,6 +21,7 @@ import commonConfig from "@/utils/config";
import * as commonUtils from "@/utils/utils";
import moment from "moment";
import WorkOrderSystemService from "./WorkOrderSystemService";
+import WorkOrderSystemConfig from "./WorkOrderSystemConfig";
let _dispatch, _props;
const reducer = (state, action) => {
@@ -43,7 +44,7 @@ const reducer = (state, action) => {
const WorkOrderSystemAdd = props => {
const [state, dispatch] = useReducer(reducer, {
sType: 4,
- bBug: false,
+ sBug: '0',
bVsersion: false
});
const { customerData, moduleData, userData, loading = false } = state;
@@ -53,24 +54,7 @@ const WorkOrderSystemAdd = props => {
const [customerOption, setCustomerOption] = useState([]); // 【所属客户】下拉选项
const [moduleOption, setModuleOption] = useState([]); // 【所属模块】下拉选项
const [userOption, setUserOption] = useState([]); // 【处理人、抄送人】下拉选项
- const priorityOption = [
- {
- label: "严重",
- value: 1
- },
- {
- label: "紧急",
- value: 2
- },
- {
- label: "一般",
- value: 3
- },
- {
- label: "优化",
- value: 4
- }
- ];
+ const { priorityOption, sBugOption } = WorkOrderSystemConfig; // 各种固定下拉选项
// 初始化加载数据
useEffect(() => {
@@ -291,10 +275,13 @@ const WorkOrderSystemAdd = props => {
-
+