测试修改
This commit is contained in:
parent
fa7fbaaa97
commit
66c40cfb4c
|
|
@ -11,17 +11,17 @@
|
|||
<div class="title">
|
||||
<div class="name">{{ pageData.modelName }}{{ pageData.deviceName }}</div>
|
||||
<div class="tag">
|
||||
<div class="item">{{ pageData.maStatus }}</div>
|
||||
<div class="item">{{ pageData.maStatus == '16' ? '待租' : pageData.maStatus }}</div>
|
||||
<div class="item otherItem" v-if="pageData.isAudit == 1">已审核</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="viewNnum">浏览{{ pageData.searchNum }}</div>
|
||||
<div class="viewNnum">浏览{{ pageData.searchNum || 1050 }}</div>
|
||||
<div class="infoBox">
|
||||
<div class="item" v-for="(v, i) in equipBaseInfoList" :key="i">
|
||||
<div class="label">{{ v.label }}:</div>
|
||||
<div class="value">{{
|
||||
v.key.split(',').map(key => {
|
||||
return pageData[key]
|
||||
return pageData[key] || v.default
|
||||
}).join('')
|
||||
}}
|
||||
</div>
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
:key="i"
|
||||
:url="v.picUrl"
|
||||
:name="`${v.modelName}${v.deviceName}`"
|
||||
:tags="[v.maStatus,v.location]"
|
||||
:tags="[v.maStatus=='16' ? '待租' : v.maStatus,v.location]"
|
||||
:company="v.companyName"
|
||||
:price="v.monthLeasePrice"
|
||||
timeUnit="月"
|
||||
|
|
@ -232,7 +232,7 @@
|
|||
width="30%"
|
||||
>
|
||||
<div style="font-size: 16px;font-weight: 600;">
|
||||
{{ pageData.authPhone }}
|
||||
{{ pageData.authPhone || '18815622887' }}
|
||||
</div>
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
|
|
@ -264,11 +264,13 @@ const pageParams = route.params
|
|||
const equipBaseInfoList = reactive([
|
||||
{
|
||||
label: '设备规格',
|
||||
key: 'specification'
|
||||
key: 'specification',
|
||||
default:'起重量:5吨'
|
||||
},
|
||||
{
|
||||
label: '设备单位',
|
||||
key: 'companyName'
|
||||
key: 'companyName',
|
||||
default: '滁州公司'
|
||||
},
|
||||
{
|
||||
label: '配备机手',
|
||||
|
|
@ -534,7 +536,7 @@ const goDetail = (val) => {
|
|||
|
||||
//提交申请
|
||||
const submit = async() => {
|
||||
console.log(ruleForm.value)
|
||||
console.log(pageData.value)
|
||||
const params = {
|
||||
addressId: ruleForm.value.address[2],
|
||||
address: ruleForm.value.detailAddress,
|
||||
|
|
@ -542,7 +544,8 @@ const submit = async() => {
|
|||
duration: ruleForm.value.duration,
|
||||
isMachinist: ruleForm.value.machinist,
|
||||
invoiceType: ruleForm.value.invoiceType,
|
||||
description: ruleForm.value.projectDescription
|
||||
description: ruleForm.value.projectDescription,
|
||||
maId:pageData.value.maId
|
||||
}
|
||||
|
||||
const res = await apiSubmitLease(params)
|
||||
|
|
|
|||
Loading…
Reference in New Issue