更新权限配置
This commit is contained in:
parent
7d23d66dda
commit
751b3ca1e4
@ -395,13 +395,14 @@
|
|||||||
v-if="formData?.status == 0"
|
v-if="formData?.status == 0"
|
||||||
:on-exceed="handleExceed"
|
:on-exceed="handleExceed"
|
||||||
ref="upload"
|
ref="upload"
|
||||||
v-perms="['contract.contract/wind_control']"
|
v-perms="['shop_contract/evidence']"
|
||||||
>
|
>
|
||||||
<el-button type="primary">{{
|
<el-button type="primary">{{
|
||||||
formData.file ? "重新上传" : "上传"
|
formData.file ? "重新上传" : "上传"
|
||||||
}}</el-button>
|
}}</el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<a
|
<a
|
||||||
|
v-perms="['shop_contract/file']"
|
||||||
v-if="formData.file"
|
v-if="formData.file"
|
||||||
style="margin-left: 10px; color: #4a5dff; align-self: flex-start"
|
style="margin-left: 10px; color: #4a5dff; align-self: flex-start"
|
||||||
:href="formData.file"
|
:href="formData.file"
|
||||||
@ -411,7 +412,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="isshow || formData.status == 0">
|
<el-form-item v-if="isshow || formData.status == 0">
|
||||||
<el-button
|
<el-button
|
||||||
v-perms="['contract.contract/wind_control']"
|
v-perms="['shop_contract/evidence']"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="submitContract"
|
@click="submitContract"
|
||||||
>确定</el-button
|
>确定</el-button
|
||||||
@ -419,6 +420,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-else-if="formData.file && formData.status">
|
<el-form-item v-else-if="formData.file && formData.status">
|
||||||
<a
|
<a
|
||||||
|
v-perms="['shop_contract/file']"
|
||||||
v-if="formData.file"
|
v-if="formData.file"
|
||||||
style="margin-left: 10px; color: #4a5dff"
|
style="margin-left: 10px; color: #4a5dff"
|
||||||
:href="
|
:href="
|
||||||
|
@ -107,7 +107,11 @@
|
|||||||
|
|
||||||
<el-table-column label="操作" width="220" fixed="right">
|
<el-table-column label="操作" width="220" fixed="right">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-button type="primary" link>
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
v-perms="['shop_contract/details']"
|
||||||
|
link
|
||||||
|
>
|
||||||
<router-link
|
<router-link
|
||||||
:to="{
|
:to="{
|
||||||
path: '/contract/shop_contract_detail',
|
path: '/contract/shop_contract_detail',
|
||||||
@ -117,7 +121,12 @@
|
|||||||
>
|
>
|
||||||
</el-button>
|
</el-button>
|
||||||
<template v-if="row.status == 0">
|
<template v-if="row.status == 0">
|
||||||
<el-button v-if="row.check_status == 1" type="warning" link>
|
<el-button
|
||||||
|
v-perms="['shop_contract/details']"
|
||||||
|
v-if="row.check_status == 1"
|
||||||
|
type="warning"
|
||||||
|
link
|
||||||
|
>
|
||||||
<router-link
|
<router-link
|
||||||
:to="{
|
:to="{
|
||||||
path: '/contract/shop_contract_detail',
|
path: '/contract/shop_contract_detail',
|
||||||
@ -128,7 +137,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
v-else-if="row.check_status == 2"
|
v-else-if="row.check_status == 2"
|
||||||
v-perms="['contract.contract/contract_send']"
|
v-perms="['shop_contract/contract_send']"
|
||||||
type="primary"
|
type="primary"
|
||||||
link
|
link
|
||||||
@click="showCreateConctPop(row)"
|
@click="showCreateConctPop(row)"
|
||||||
@ -136,7 +145,7 @@
|
|||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
v-else-if="row.check_status == 3"
|
v-else-if="row.check_status == 3"
|
||||||
v-perms="['contract.contract/contract_send_again']"
|
v-perms="['shop_contract/contract_send_again']"
|
||||||
type="primary"
|
type="primary"
|
||||||
link
|
link
|
||||||
@click="(showPop = true), (contractId = row.party_b)"
|
@click="(showPop = true), (contractId = row.party_b)"
|
||||||
@ -146,6 +155,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
v-else
|
v-else
|
||||||
type="primary"
|
type="primary"
|
||||||
|
v-perms="['shop_contract/evidence']"
|
||||||
link
|
link
|
||||||
@click="loadContractZip(row)"
|
@click="loadContractZip(row)"
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user