This commit is contained in:
weipengfei 2023-09-07 15:50:32 +08:00
parent f25285097d
commit b8c6bdde79
3 changed files with 13 additions and 6 deletions

View File

@ -268,9 +268,12 @@
:src="formData.avatar"
class="avatar"
/>
<el-icon v-else class="avatar-uploader-icon">
<Plus />
</el-icon>
<div v-else class="avatar-uploader-icon">
<el-icon>
<Plus />
</el-icon>
<span>上传人脸证件照</span>
</div>
</el-upload>
</div>
</el-aside>
@ -1261,6 +1264,9 @@ defineExpose({
border: 1px dashed var(--el-border-color);
border-radius: 6px;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.avatar-uploader-head .el-upload {

View File

@ -395,6 +395,7 @@
v-if="formData?.status == 0"
:on-exceed="handleExceed"
ref="upload"
v-perms="['contract.contract/wind_control']"
>
<el-button type="primary">{{
formData.file ? "重新上传" : "上传"
@ -409,7 +410,7 @@
>
</el-form-item>
<el-form-item v-if="isshow || formData.status == 0">
<el-button type="primary" @click="submitContract">确定</el-button>
<el-button v-perms="['contract.contract/wind_control']" type="primary" @click="submitContract">确定</el-button>
</el-form-item>
<el-form-item v-else-if="formData.file && formData.status">
<a

View File

@ -153,7 +153,7 @@
</el-button>
<el-button
v-else-if="row.check_status == 2"
v-perms="['company/Draftingcontracts']"
v-perms="['contract.contract/contract_send']"
type="primary"
link
@click="showCreateConctPop(row)"
@ -161,7 +161,7 @@
>
<el-button
v-else-if="row.check_status == 3"
v-perms="['company/postsms']"
v-perms="['contract.contract/contract_send_again']"
type="primary"
link
@click="(showPop = true), (contractId = row.party_b)"