|
@ -1,6 +1,6 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="app-container"> |
|
|
<div class="app-container"> |
|
|
<div> |
|
|
<div v-show="isCheck"> |
|
|
<div class="tab-header webtop"> |
|
|
<div class="tab-header webtop"> |
|
|
<div>{{ viewTitle }}</div> |
|
|
<div>{{ viewTitle }}</div> |
|
|
<div> |
|
|
<div> |
|
@ -92,12 +92,16 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
|
|
|
<el-row class="last_btn"> |
|
|
|
|
|
<el-button type="primary" size="small" @click="handleChecklist()">车辆检查表</el-button> |
|
|
|
|
|
</el-row> |
|
|
</el-form> |
|
|
</el-form> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<el-dialog :visible.sync="dialogVisible"> |
|
|
<el-dialog :visible.sync="dialogVisible"> |
|
|
<img width="100%" :src="dialogImageUrl" alt=""> |
|
|
<img width="100%" :src="dialogImageUrl" alt=""> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
<vehiclechecklist ref="divchecklist" v-show="!isCheck" @doback="resetState" /> |
|
|
<!-- <el-dialog :visible.sync="dialogVisible" width="1000px"--> |
|
|
<!-- <el-dialog :visible.sync="dialogVisible" width="1000px"--> |
|
|
<!-- :close-on-click-modal="false">--> |
|
|
<!-- :close-on-click-modal="false">--> |
|
|
<!-- <div class="result-cont">--> |
|
|
<!-- <div class="result-cont">--> |
|
@ -109,16 +113,20 @@ |
|
|
<!-- </div>--> |
|
|
<!-- </div>--> |
|
|
<!-- </el-dialog>--> |
|
|
<!-- </el-dialog>--> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { getCarInspected } from '@/api/supplychain/yancheguanli' |
|
|
import { getCarInspected } from '@/api/supplychain/yancheguanli' |
|
|
|
|
|
import vehiclechecklist from '@/views/supplychain/yancheguanli/vehiclechecklist' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: 'yancheguanliInfo', |
|
|
name: 'yancheguanliInfo', |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
viewTitle: '', |
|
|
viewTitle: '', |
|
|
|
|
|
isCheck:true, |
|
|
// --按钮菜单------- |
|
|
// --按钮菜单------- |
|
|
sid: '', |
|
|
sid: '', |
|
|
dialogVisible: false, |
|
|
dialogVisible: false, |
|
@ -156,6 +164,13 @@ export default { |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
handleChecklist(){ |
|
|
|
|
|
this.isCheck = false |
|
|
|
|
|
this.$refs['divchecklist'].showCheck() |
|
|
|
|
|
}, |
|
|
|
|
|
resetState(){ |
|
|
|
|
|
this.isCheck = true |
|
|
|
|
|
}, |
|
|
open(val, index) { |
|
|
open(val, index) { |
|
|
this.dialogVisible = true |
|
|
this.dialogVisible = true |
|
|
this.dialogUrl = val |
|
|
this.dialogUrl = val |
|
@ -186,4 +201,9 @@ export default { |
|
|
line-height: 40px !important; |
|
|
line-height: 40px !important; |
|
|
font-weight: 600; |
|
|
font-weight: 600; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.formadd .last_btn { |
|
|
|
|
|
float: right; |
|
|
|
|
|
top: 30px; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |
|
|