|
@@ -200,14 +200,14 @@
|
|
|
|
|
|
<WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')"
|
|
|
@on-cancel="handleClose">
|
|
|
- <!-- <div v-if="applstatus"> -->
|
|
|
+ <div v-if="applstatus">
|
|
|
<ws-upload ref="upload" :size-limit="size" @onChange="onChange" :comp-id="compId" :appendix-ids="appendixIdss"
|
|
|
accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .zip, .rar"
|
|
|
v-hasPermission="`contractManagement.buyContract.buyContractInfo.appl`"
|
|
|
/>
|
|
|
- <!-- </div>
|
|
|
+ </div>
|
|
|
<ws-upload v-else ref="upload" :comp-id="compId" :appendix-ids="appendixIdss" :editable="false"
|
|
|
- accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" /> -->
|
|
|
+ accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
|
|
|
</WinseaContentModal>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -224,6 +224,7 @@
|
|
|
import {
|
|
|
downloadFile
|
|
|
} from '@/utils/batchDown'
|
|
|
+ import { hasPermission } from '../../utils/getHasPermission'
|
|
|
import Pagination from '@/components/Pagination'
|
|
|
import WsUpload from '@/components/WsUpload'
|
|
|
import {
|
|
@@ -357,8 +358,9 @@
|
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
|
- console.log(this.global)
|
|
|
- // this.applstatus=this.global.hasPermission('contractManagement.buyContract.buyContractInfo.appl')
|
|
|
+
|
|
|
+ this.applstatus=hasPermission('contractManagement.buyContract.buyContractInfo.appl')
|
|
|
+ console.log(this.applstatus)
|
|
|
//cg.viewBudget
|
|
|
//cg.viewSpareMoney
|
|
|
// this.getVesselData();
|