|
@@ -206,23 +206,25 @@ class Inspect extends React.Component {
|
|
|
return (
|
|
|
<li className={`${styles.itemPart} ${fillActive.details.length > 1 ? '' : styles.itemPartOne}`}>
|
|
|
<span className={styles.itemPartL}>{item.name}</span>
|
|
|
- <select className={styles.itemPartR} onChange={(e) => {
|
|
|
- if (e.target.value == '请选择') {
|
|
|
- this.changeActivePart(idx, '')
|
|
|
- return;
|
|
|
- }
|
|
|
- this.changeActivePart(idx, e.target.value);
|
|
|
- }}
|
|
|
- >
|
|
|
- <option value="请选择">请选择</option>
|
|
|
- {
|
|
|
- (item.questionDetailList).map((val) => {
|
|
|
- return <option value={val.name}
|
|
|
- selected={val.name == item.value ? true : false}
|
|
|
- >{val.name}</option>
|
|
|
- })
|
|
|
- }
|
|
|
- </select>
|
|
|
+ <span className={styles.itemPartT}>
|
|
|
+ <select className={styles.itemPartR} onChange={(e) => {
|
|
|
+ if (e.target.value == '请选择') {
|
|
|
+ this.changeActivePart(idx, '')
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.changeActivePart(idx, e.target.value);
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ <option value="请选择">请选择</option>
|
|
|
+ {
|
|
|
+ (item.questionDetailList).map((val) => {
|
|
|
+ return <option value={val.name}
|
|
|
+ selected={val.name == item.value ? true : false}
|
|
|
+ >{val.name}</option>
|
|
|
+ })
|
|
|
+ }
|
|
|
+ </select>
|
|
|
+ </span>
|
|
|
</li>
|
|
|
)
|
|
|
} else if (item.controlType == 6) {
|