|
|
@ -48,197 +48,130 @@ |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">合格证照片:</el-col> |
|
|
|
<img v-for="(map_item,index) in temp.certificatePhoto" style="width: 100px; height: 100px;margin-right: 5px;" |
|
|
|
:key="index" :src="map_item"> |
|
|
|
<img v-for="(map_item,index) in temp.certificatePhoto" style="width: 100px; height: 100px;margin-right: 5px;" :key="index" :src="map_item"> |
|
|
|
</el-row> |
|
|
|
<div class="title">合格证详细信息</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">底盘ID:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.chassisId }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">转向类型:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.steeringType }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">车辆制造企业名称:</el-col> |
|
|
|
<el-col :span="20"> {{ temp.manufacturer }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">制造日期:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.manufactureDate }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">排放标准:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.emissionStandard }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">车辆品牌:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.carBrand }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">车辆名称:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.carName }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">轴距:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.wheelbase }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">驾驶室准乘人数:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.seatingCapacity }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">车辆型号:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.carModel }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">车架号:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.vinNo }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">轴数:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.axleNum }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">燃料类型:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.fuelType }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">车身颜色:</el-col> |
|
|
|
<el-col :span="20"> {{ temp.carColor }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">额定载客人数:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.limitPassenger }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">车身颜色:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.carColor }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">底盘型号:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.chassisModel }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">底盘ID:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.chassisId }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">制造厂商:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.manufacturer }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">发动机型号:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.engineType }} </el-col> |
|
|
|
<el-col :span="20"> {{ temp.engineType }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">整备质量:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.saddleMass }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">发动机号:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.engineNo }} </el-col> |
|
|
|
<el-col :span="20" class="tleft"> {{ temp.engineNo }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">最高设计时速:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.speedLimit }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">合格印章:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.qualifySeal }} </el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">车辆名称:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.carName }} </el-col> |
|
|
|
<el-col :span="4" class="trightb">燃料种类:</el-col> |
|
|
|
<el-col :span="4"> {{ temp.fuelType }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">排量:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.displacement }} </el-col> |
|
|
|
<el-col :span="4" class="tleft"> {{ temp.displacement }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">功率:</el-col> |
|
|
|
<el-col :span="4" class="tleft"> {{ temp.power }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">CGS印章:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.cgsseal }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">功率:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.power }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">排放标准:</el-col> |
|
|
|
<el-col :span="20"> {{ temp.emissionStandard }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">轮胎数:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.tyreNum }}</el-col> |
|
|
|
<el-col :span="20"> {{ temp.tyreNum }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">轴距:</el-col> |
|
|
|
<el-col :span="20"> {{ temp.wheelbase }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">轴数:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.axleNum }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">转向型式:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.steeringType }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">总质量:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.totalWeight }}</el-col> |
|
|
|
<el-col :span="8"> {{ temp.totalWeight }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">整备质量:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.saddleMass }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">车辆品牌:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.carBrand }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">车辆型号:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.carModel }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">驾驶室准乘人数:</el-col> |
|
|
|
<el-col :span="20"> {{ temp.seatingCapacity }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">车架号:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.vinNo }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">底盘型号:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.chassisModel }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">额定载客(人):</el-col> |
|
|
|
<el-col :span="20"> {{ temp.limitPassenger }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">最高设计车速:</el-col> |
|
|
|
<el-col :span="20"> {{ temp.speedLimit }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">车辆制造日期:</el-col> |
|
|
|
<el-col :span="20"> {{ temp.manufactureDate }}</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4" class="trightb">合格印章:</el-col> |
|
|
|
<el-col :span="8"> {{ temp.qualifySeal }}</el-col> |
|
|
|
<el-col :span="4" class="trightb">CGS印章:</el-col> |
|
|
|
<el-col :span="8" class="tleft"> {{ temp.cgsseal }}</el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
import { details } from '@/api/cheliang/basevehiclecertificate' |
|
|
|
// import { getFileType, parseDate, parseTime, ConvertMenuState } from "@/utils"; |
|
|
|
// import { findButtonByUserId } from '@/api/sys/permission' |
|
|
|
export default { |
|
|
|
name: 'PinpaiAdd', |
|
|
|
// components: { }, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
// --按钮菜单------- |
|
|
|
menuState: { |
|
|
|
add: false, // 添加 |
|
|
|
edit: false, // 编辑 |
|
|
|
delete: false, // 删除 |
|
|
|
view: false, // 查看 |
|
|
|
audit: false, // 审核 |
|
|
|
input: false, // 导入 |
|
|
|
output: false, // 导出 |
|
|
|
upload: false, // 同步 |
|
|
|
release: false, // 下发 |
|
|
|
}, |
|
|
|
FormLoading: false, |
|
|
|
listLoading: false, |
|
|
|
temp: {}, // 添加和修改 |
|
|
|
templook: {}, // 查看实体 |
|
|
|
textMap: { |
|
|
|
update: '修改', |
|
|
|
create: '创建', |
|
|
|
}, |
|
|
|
tempDate: {}, |
|
|
|
stateId: 0, |
|
|
|
dialogFormVisible: false, // 添加修改对话框状态 |
|
|
|
dialogFormShowVisible: false, // 查看对话框默认关闭状态 |
|
|
|
dialogStatus: '', // 对话框状态 |
|
|
|
fenzuOptions: [], |
|
|
|
rules: { |
|
|
|
// title: [{ required: true, message: '请填写', trigger: 'blur' }], |
|
|
|
// qc: [{ required: true, message: '请填写', trigger: 'blur' }], |
|
|
|
}, |
|
|
|
// ------------------------------------ |
|
|
|
rules: {} |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
...mapGetters([ |
|
|
|
'id', |
|
|
|
'roles', |
|
|
|
'rolesIds', |
|
|
|
'departmentId', |
|
|
|
'departmentCode', |
|
|
|
]), |
|
|
|
}, |
|
|
|
created() { |
|
|
|
// this.tempDate.sid = this.$route.query.sid |
|
|
|
// console.log('66666666666666', this.tempDate.sid) |
|
|
|
// 初始化变量 |
|
|
|
// this.init() |
|
|
|
// 加载列表 |
|
|
|
// this.handleCheck() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
init() {}, |
|
|
|
// 序号 |
|
|
|
// indexMethod(index) { |
|
|
|
// var pagestart = (this.listQuery.pageNumber - 1) * this.listQuery.pageSize |
|
|
|
// var pageindex = index + 1 + pagestart |
|
|
|
// return pageindex |
|
|
|
// }, |
|
|
|
|
|
|
|
// ----------------------------------方法-------------------- |
|
|
|
// 返回 |
|
|
|
handleReturn() { |
|
|
|
this.temp = {} |
|
|
|
this.$emit('doback') |
|
|
|
// this.$router.go(-1) |
|
|
|
}, |
|
|
|
|
|
|
|
// 添加前数据初始化 |
|
|
|
resetTemp() { |
|
|
|
this.temp = { |
|
|
|
jc: '', // false string |
|
|
|
organizationId: '', // false string |
|
|
|
qc: '', // false string |
|
|
|
remark: '', // false |
|
|
|
string: '', // |
|
|
|
state: '', // 状态 |
|
|
|
} |
|
|
|
}, |
|
|
|
// 打开查看 |
|
|
|
showInfo(sid) { |
|
|
|
details(sid).then((response) => { |
|
|
|
console.log('0000000000000') |
|
|
|
if (response.code === '200') { |
|
|
|
if (response.success) { |
|
|
|
this.temp = response.data |
|
|
|
console.log(this.temp, 555555555555) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style lang="scss" scoped > |
|
|
|
.addinputwda { |
|
|
|
width: 600px; |
|
|
|
} |
|
|
|
<style scoped> |
|
|
|
</style> |
|
|
|