|
|
@@ -20,7 +20,7 @@
|
|
|
</a-form>
|
|
|
</div>
|
|
|
<!-- 查询区域-END -->
|
|
|
-
|
|
|
+ <div style="margin-bottom: 10px">{{msg}}</div>
|
|
|
<!-- 操作按钮区域 -->
|
|
|
<div class="table-operator">
|
|
|
<a-button @click="uploadContract()" type="primary" icon="plus" v-has="'companySubcontractor:addContract'">上传合同</a-button>
|
|
|
@@ -44,7 +44,7 @@
|
|
|
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
<template v-if="record.contractStatus==2">
|
|
|
- <a @click="uploadContract1(record)" v-has="'companySubcontractor:editContract'">--</a>
|
|
|
+ --
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<a @click="uploadContract1(record)" v-has="'companySubcontractor:editContract'">编辑</a>
|
|
|
@@ -96,6 +96,7 @@
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
+ msg:"",
|
|
|
companyId:0,
|
|
|
subcontractorId: 0,
|
|
|
cpType:1,
|
|
|
@@ -177,6 +178,7 @@
|
|
|
this.ipagination.total=0
|
|
|
this.subcontractorId=record.subcontractorId
|
|
|
this.companyId=record.companyId
|
|
|
+ this.msg=record.msg
|
|
|
this.cpType=record.cpType
|
|
|
this.visible = true
|
|
|
this.loadData(1)
|