Commit 7a784804 by 姜雷

Merge branch 'develop' into 'test'

Develop See merge request !3
parents 1bec9421 b17c7676
...@@ -192,7 +192,7 @@ class Login extends Component { ...@@ -192,7 +192,7 @@ class Login extends Component {
<div className={styles.btnBox}> <div className={styles.btnBox}>
<Button className={styles.okbtn} onClick={this.loginHandle}> <Button className={styles.okbtn} onClick={this.loginHandle}>
</Button> </Button>
<Button className={styles.canclbtn}>取消</Button> <Button className={styles.canclbtn}>取消</Button>
</div> </div>
......
...@@ -123,7 +123,11 @@ class PublicCarItem extends Component { ...@@ -123,7 +123,11 @@ class PublicCarItem extends Component {
> >
<div className={styles.listLabel}>派车车牌:</div> <div className={styles.listLabel}>派车车牌:</div>
<div className={styles.listValue}> <div className={styles.listValue}>
{data.dealResult === 1 ? '待处理后显示' : data.carPlate} {data.dealResult === 1
? '待处理后显示'
: data.carPlate
? data.carPlate
: '无'}
</div> </div>
</div>, </div>,
data.dealResult === 3 ? ( data.dealResult === 3 ? (
...@@ -132,7 +136,9 @@ class PublicCarItem extends Component { ...@@ -132,7 +136,9 @@ class PublicCarItem extends Component {
className={`${styles.listLine} ${styles.dealedColor}`} className={`${styles.listLine} ${styles.dealedColor}`}
> >
<div className={styles.listLabel}>处理意见:</div> <div className={styles.listLabel}>处理意见:</div>
<div className={styles.listValue}>{data.dealOpinion}</div> <div className={styles.listValueMutLine}>
{data.dealOpinion}
</div>
</div> </div>
) : null, ) : null,
] ]
......
...@@ -282,7 +282,7 @@ class PublicCarDeal extends Component { ...@@ -282,7 +282,7 @@ class PublicCarDeal extends Component {
onChange={this.onSelectHandle} onChange={this.onSelectHandle}
defaultValue="-1" defaultValue="-1"
> >
<option disabled value="-1" /> <option disabled value="-1" >请选择</option>
{carPlateList.map(i => ( {carPlateList.map(i => (
<option key={i.value} value={i.lable}> <option key={i.value} value={i.lable}>
{i.lable} {i.lable}
...@@ -296,7 +296,7 @@ class PublicCarDeal extends Component { ...@@ -296,7 +296,7 @@ class PublicCarDeal extends Component {
<span className={styles.dialogLabel}>处理结果</span> <span className={styles.dialogLabel}>处理结果</span>
<TextareaItem <TextareaItem
className={styles.textarea} className={styles.textarea}
placeholder="输入报修地址" placeholder="输入处理结果"
rows={3} rows={3}
count={50} count={50}
value={dealOpinion} value={dealOpinion}
......
...@@ -68,7 +68,9 @@ ...@@ -68,7 +68,9 @@
outline: none; outline: none;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: #f2f2f2; background-color: transparent;
position: relative;
z-index: 2;
} }
.textarea { .textarea {
background-color: #f2f2f2; background-color: #f2f2f2;
......
...@@ -133,6 +133,10 @@ class ReprtRepair extends Component { ...@@ -133,6 +133,10 @@ class ReprtRepair extends Component {
Toast.fail('请输入报修人电话!'); Toast.fail('请输入报修人电话!');
return; return;
} }
if (applyForm.repairCellphone.length !== 11) {
Toast.fail('请输入正确电话!');
return;
}
if (!applyForm.applyIdentity) { if (!applyForm.applyIdentity) {
Toast.fail('请选择报修人身份!'); Toast.fail('请选择报修人身份!');
return; return;
......
...@@ -71,7 +71,7 @@ class RepairItem extends Component { ...@@ -71,7 +71,7 @@ class RepairItem extends Component {
</div> </div>
</div>, </div>,
<div key="address" className={styles.listLineArea}> <div key="address" className={styles.listLineArea}>
<div className={styles.listLabel}>报修事项</div> <div className={styles.listLabel}>报修地址</div>
<div className={styles.listValueMutLine}>{data.address}</div> <div className={styles.listValueMutLine}>{data.address}</div>
</div>, </div>,
<div key="name" className={styles.listLine}> <div key="name" className={styles.listLine}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment