diff --git a/src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js b/src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js
index 7735c7b..5315b0b 100644
--- a/src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js
+++ b/src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js
@@ -131,6 +131,11 @@ const WorkOrderSystemAdd = props => {
.toString();
}
+ if (values.sRDUserId) {
+ addState.sRDUserName = userData
+ .find(item => values.sRDUserId === item.sHanldeId).sHanldeName;
+ }
+
if (values.sModuleId) {
const iIndex = moduleData.findIndex(
item => item.sModuleId === values.sModuleId
@@ -266,6 +271,15 @@ const WorkOrderSystemAdd = props => {
placeholder="请选择抄送人"
/>
+
+
+
{
sModuleId,
sModuleName,
sHanldeId,
+ sRDUserId,
sCopyHanldeId,
bVsersion,
sBug,
@@ -117,14 +118,14 @@ const WorkOrderSystemDetail = props => {
} else if (bSoluted) {
defaultBtnData = ["BtnAssign", "BtnActive", "BtnClose"];
}
- // if (gdsjurisdiction) {
- // gdsjurisdiction.forEach(child => {
- // const index = defaultBtnData.findIndex(item => item === child.sAction);
- // if (index > -1) {
- // defaultBtnData.splice(index, 1);
- // }
- // });
- // }
+ if (gdsjurisdiction) {
+ gdsjurisdiction.forEach(child => {
+ const index = defaultBtnData.findIndex(item => item === child.sAction);
+ if (index > -1) {
+ defaultBtnData.splice(index, 1);
+ }
+ });
+ }
setBtnShowData(defaultBtnData);
}, [gdsjurisdiction, enabled, bSoluted]);
@@ -261,6 +262,7 @@ const WorkOrderSystemDetail = props => {
...addState,
sHanldeId,
sCopyHanldeId: sCopyHanldeId ? sCopyHanldeId.split(",") : [],
+ sRDUserId,
bVsersion,
sBug,
sType: sType !== undefined ? parseInt(sType) : "",
@@ -446,6 +448,8 @@ const WorkOrderSystemDetail = props => {
.filter(item => sCopyHanldeId.includes(item.value))
.map(item => item.label)
.toString(),
+ sRDUserId,
+ sRDUserName: userOption.find(item => sRDUserId === item.value)?.label,
bVsersion,
sBug,
sType,
@@ -456,12 +460,6 @@ const WorkOrderSystemDetail = props => {
});
setLoading(false);
-
- if (values.callback) {
- values.callback();
- return;
- }
-
if (commonUtils.isNotEmptyObject(response)) {
setFormEnabled(false);
refresh();
@@ -554,6 +552,13 @@ const WorkOrderSystemDetail = props => {
disabled={!formEnabled}
/>
+
+
+
diff --git a/src/components/Common/WorkOrderSystem/index.less b/src/components/Common/WorkOrderSystem/index.less
index 3728316..f9459e0 100644
--- a/src/components/Common/WorkOrderSystem/index.less
+++ b/src/components/Common/WorkOrderSystem/index.less
@@ -1,5 +1,5 @@
@modal-content-height: calc(100vh - 100px); // 弹窗内容高度
-@braft-height: 400px; // 富文本框高度
+@braft-height: 350px; // 富文本框高度
@level-color-1: #d50000; // 严重
@level-color-2: #ff9800; // 紧急
@level-color-3: #2098ee; // 一般
@@ -151,7 +151,7 @@
:global {
.bf-content {
- height: @braft-height - 94px;
+ height: calc(@braft-height - 94px);
background-color: #fff;
}
}
@@ -265,6 +265,9 @@
}
}
+.workOrderSystem {
+ overflow: hidden;
+}
// 居中布局
.flexCener {
@@ -348,8 +351,8 @@
}
}
- .ant-form-item:nth-child(6),
- .ant-form-item:nth-child(8) {
+ .ant-form-item:nth-child(7),
+ .ant-form-item:nth-child(9) {
width: 18%;
.ant-form-item-label {
@@ -365,8 +368,8 @@
}
- .ant-form-item:nth-child(9),
- .ant-form-item:nth-child(10) {
+ .ant-form-item:nth-child(10),
+ .ant-form-item:nth-child(11) {
width: 25%;
.ant-form-item-label {