bug:14368
parent
7c666064f1
commit
8c0e0e09a5
|
|
@ -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 || "-" },
|
||||
|
|
|
|||
Loading…
Reference in New Issue