|
|
|
@ -117,14 +117,24 @@
|
|
|
|
|
负责人电话 |
|
|
|
|
</view> |
|
|
|
|
<view class="value"> |
|
|
|
|
<input |
|
|
|
|
<!-- <input |
|
|
|
|
class="input-value" |
|
|
|
|
type="text" |
|
|
|
|
placeholder-class="txt" |
|
|
|
|
placeholder="请输入负责人电话" |
|
|
|
|
v-model="form.environmentalContactPhone" |
|
|
|
|
@blur="proofName" |
|
|
|
|
/> |
|
|
|
|
/> --> |
|
|
|
|
<uni-easyinput |
|
|
|
|
type="text" |
|
|
|
|
placeholder="请输入负责人电话" |
|
|
|
|
:inputBorder="false" |
|
|
|
|
style="text-align: center" |
|
|
|
|
v-model="form.environmentalContactPhone" |
|
|
|
|
@blur="proofName" |
|
|
|
|
:clearable="false" |
|
|
|
|
:autoHeight="true" |
|
|
|
|
></uni-easyinput> |
|
|
|
|
<u-icon name="arrow-right"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -150,44 +160,41 @@
|
|
|
|
|
<u-icon name="plus-circle" color="#17C653" size="14"></u-icon> |
|
|
|
|
<text style="line-height: 1rem">新增资质</text> |
|
|
|
|
</view> |
|
|
|
|
<view |
|
|
|
|
class="wd-flex" |
|
|
|
|
style="justify-content: space-between" |
|
|
|
|
v-for="(p, index) in prove" |
|
|
|
|
:key="index" |
|
|
|
|
v-if="prove.length > 0" |
|
|
|
|
> |
|
|
|
|
<image |
|
|
|
|
src="@/static/images/enterprise/zz.png" |
|
|
|
|
style="width: 90px; height: 70px" |
|
|
|
|
mode="widthFix" |
|
|
|
|
></image> |
|
|
|
|
<view |
|
|
|
|
style="flex: 1; justify-content: space-between" |
|
|
|
|
class="wd-flex wd-flex-col" |
|
|
|
|
> |
|
|
|
|
<view class="wd-flex" style="gap: 8px; align-items: center"> |
|
|
|
|
<text class="label">资质名称</text> |
|
|
|
|
<view> |
|
|
|
|
{{ |
|
|
|
|
$dict.echoDicValue( |
|
|
|
|
dictMap.enterprise_qua, |
|
|
|
|
prove.qualificationName.toString() |
|
|
|
|
) |
|
|
|
|
}} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view |
|
|
|
|
class="prove" |
|
|
|
|
v-for="(p, index) in prove" |
|
|
|
|
:key="index" |
|
|
|
|
v-if="prove.length > 0" |
|
|
|
|
@tap="editProve(p)" |
|
|
|
|
> |
|
|
|
|
<image |
|
|
|
|
:src="p.photo[0].url" |
|
|
|
|
style="width: 90px; height: 70px" |
|
|
|
|
mode="widthFix" |
|
|
|
|
></image> |
|
|
|
|
<view class="info"> |
|
|
|
|
<view class="wd-flex" style="gap: 8px; align-items: center"> |
|
|
|
|
<text class="label">资质名称</text> |
|
|
|
|
<view class="wd-font-800"> |
|
|
|
|
{{ |
|
|
|
|
$dict.echoDicValue( |
|
|
|
|
dictMap.enterprise_qua, |
|
|
|
|
p.qualificationName.toString() |
|
|
|
|
) |
|
|
|
|
}} |
|
|
|
|
</view> |
|
|
|
|
<view class="wd-flex" style="gap: 8px; align-items: center"> |
|
|
|
|
<text class="label">资质编号</text> |
|
|
|
|
<view> |
|
|
|
|
{{ prove.enterpriseAuth }} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="wd-flex" style="gap: 8px; align-items: center"> |
|
|
|
|
<text class="label">资质编号</text> |
|
|
|
|
<view class="wd-font-800"> |
|
|
|
|
{{ p.enterpriseAuth }} |
|
|
|
|
</view> |
|
|
|
|
<view class="wd-flex" style="gap: 8px; align-items: center"> |
|
|
|
|
<text class="label">资质到期</text> |
|
|
|
|
<view> |
|
|
|
|
{{ $util.formatDate(prove.expiryDate, 'YYYY/M/D') }} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="wd-flex" style="gap: 8px; align-items: center"> |
|
|
|
|
<text class="label">资质到期</text> |
|
|
|
|
<view class="wd-font-800"> |
|
|
|
|
{{ $util.formatDate(p.expiryDate, 'YYYY/M/D') }} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -217,7 +224,22 @@ export default {
|
|
|
|
|
tags: {} |
|
|
|
|
}, |
|
|
|
|
dictMap: {}, |
|
|
|
|
prove: [], |
|
|
|
|
prove: [ |
|
|
|
|
{ |
|
|
|
|
enterpriseAuth: '123', |
|
|
|
|
expiryDate: '2025-02-24', |
|
|
|
|
id: '', |
|
|
|
|
photo: [ |
|
|
|
|
{ |
|
|
|
|
id: 1890, |
|
|
|
|
message: '', |
|
|
|
|
status: 'success', |
|
|
|
|
url: 'http://60.23.29.213:19001/huanbao/7f71a5ed324fd6d35d61c7b6d68d8e6e06f16557f3150af3dece8ab386f9f189.png' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
qualificationName: '1' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
inviteId: undefined |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -309,6 +331,11 @@ export default {
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/sub/invite/prove' |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
editProve(prove) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: `/sub/invite/prove?prove=${JSON.stringify(prove)}` |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -345,6 +372,12 @@ export default {
|
|
|
|
|
text-align: right; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
cursor: auto; |
|
|
|
|
display: block; |
|
|
|
|
font-family: UICTFontTextStyleBody; |
|
|
|
|
height: 1.4rem; |
|
|
|
|
min-height: 1.4rem; |
|
|
|
|
overflow: hidden; |
|
|
|
|
} |
|
|
|
|
.input-textarea { |
|
|
|
|
flex: 1; |
|
|
|
@ -352,15 +385,38 @@ export default {
|
|
|
|
|
overflow: hidden; |
|
|
|
|
text-align: right; |
|
|
|
|
max-height: 3rem; |
|
|
|
|
line-height: 1rem; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
-webkit-line-clamp: 3; |
|
|
|
|
-webkit-box-orient: vertical; |
|
|
|
|
word-break: break-all; |
|
|
|
|
cursor: auto; |
|
|
|
|
display: block; |
|
|
|
|
font-family: UICTFontTextStyleBody; |
|
|
|
|
height: 1.4rem; |
|
|
|
|
min-height: 1.4rem; |
|
|
|
|
overflow: hidden; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.prove { |
|
|
|
|
border-radius: var(--Number-12px, 12px); |
|
|
|
|
border: 1px solid var(--LightMode-Grey-Grey-100, #f9f9f9); |
|
|
|
|
background: var(--LightMode-Light-Light, #fff); |
|
|
|
|
display: flex; |
|
|
|
|
padding: var(--Number-12px, 12px); |
|
|
|
|
align-items: center; |
|
|
|
|
gap: var(--Number-12px, 12px); |
|
|
|
|
font-size: 28rpx; |
|
|
|
|
flex-flow: row nowrap; |
|
|
|
|
.info { |
|
|
|
|
height: 72px; |
|
|
|
|
display: flex; |
|
|
|
|
flex-flow: column nowrap; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.upload-wrapper { |
|
|
|
|
display: flex; |
|
|
|
|
flex-flow: column nowrap; |
|
|
|
@ -370,6 +426,32 @@ export default {
|
|
|
|
|
gap: 12px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
::v-deep .uni-easyinput__content-input { |
|
|
|
|
flex: 1; |
|
|
|
|
text-align: right; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
cursor: auto; |
|
|
|
|
display: block; |
|
|
|
|
font-family: UICTFontTextStyleBody; |
|
|
|
|
height: 1.4rem; |
|
|
|
|
min-height: 1.4rem; |
|
|
|
|
overflow: hidden; |
|
|
|
|
padding-right: 0; |
|
|
|
|
} |
|
|
|
|
::v-deep .uni-easyinput__placeholder-class { |
|
|
|
|
flex: 1; |
|
|
|
|
text-align: right; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
cursor: auto; |
|
|
|
|
display: block; |
|
|
|
|
font-family: UICTFontTextStyleBody; |
|
|
|
|
height: 1.4rem; |
|
|
|
|
min-height: 1.4rem; |
|
|
|
|
font-size: 14px; |
|
|
|
|
overflow: hidden; |
|
|
|
|
} |
|
|
|
|
.operation { |
|
|
|
|
padding: 12px; |
|
|
|
|
display: flex; |
|
|
|
|