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