bug:14368

master
LiuJiaNan 2026-02-02 14:26:17 +08:00
parent 7c666064f1
commit 8c0e0e09a5
1 changed files with 4 additions and 4 deletions

View File

@ -68,8 +68,8 @@ function Detail(props) {
<Divider orientation="left">{detail.promiseType === 1 ? "受状人" : "承诺人"}</Divider>
<Descriptions
bordered
column={2}
styles={{ label: { width: 200 }, content: { width: 720 } }}
column={detail.releasePlatform === 1 ? 2 : 3}
styles={{ label: { width: 200 }, content: { width: detail.releasePlatform === 1 ? 720 : 420 } }}
items={[
...(detail.promisePersons || []).flatMap((item, index) => {
const base = [
@ -93,8 +93,8 @@ function Detail(props) {
<Divider orientation="left">{detail.promiseType === 1 ? "发状人" : "被承诺人"}</Divider>
<Descriptions
bordered
column={2}
styles={{ label: { width: 200 }, content: { width: 720 } }}
column={detail.releasePlatform === 1 ? 2 : 3}
styles={{ label: { width: 200 }, content: { width: detail.releasePlatform === 1 ? 720 : 420 } }}
items={[
{ label: "部门", children: detail.promisePeople?.departmentName || "-" },
{ label: "岗位", children: detail.promisePeople?.postName || "-" },