|
|
@@ -16,8 +16,8 @@
|
|
|
<followTable :ownertable="ownertable" :disabled="disabled" @newFollow="newFollow" ref="followRef"></followTable>
|
|
|
</div>
|
|
|
<div v-show="activeName === 'file'">
|
|
|
- <attachmentList v-if="activeName === 'file'" :disabled="disabled" :status="status" :attachmentDisabled="attachmentDisabled" :attinfos="attinfo_attachment" @onSuccess="queryAttments" @cancelEdit="queryAttments">
|
|
|
- <upload slot="upload" :folderid="folderid" :status="status" :attachmentDisabled="attachmentDisabled" :disabled="disabled"
|
|
|
+ <attachmentList v-if="activeName === 'file'" :disabled="$route.path == '/contractDetail'?false:disabled" :status="status" :attachmentDisabled="$route.path == '/contractDetail'?false:attachmentDisabled" :attinfos="attinfo_attachment" @onSuccess="queryAttments" @cancelEdit="queryAttments">
|
|
|
+ <upload slot="upload" :folderid="folderid" :status="status" :attachmentDisabled="$route.path == '/contractDetail'?false:attachmentDisabled" :disabled="$route.path == '/contractDetail'?false:disabled"
|
|
|
:bindData="{ ownertable: ownertable, ownerid: editData[idname], usetype: 'default' }"
|
|
|
@onSuccess="queryAttments" :hidemediastock="hidemediastock"></upload>
|
|
|
</attachmentList>
|