Browse Source

完善合格证管理详情页面

master
yunuo970428 3 years ago
parent
commit
612675097e
  1. 197
      anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengInfo.vue

197
anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengInfo.vue

@ -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>

Loading…
Cancel
Save