对接认证目录权限
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
<div class="doc-detail">
|
||||
<div class="Virtual-detail-header" style="position: fixed;top: 0">
|
||||
<div class="Virtual-detail-title">
|
||||
<!-- <span style="line-height: 74px;display: inline-block;float: left">-->
|
||||
<!-- <a-icon type="left-circle" theme="filled" style="margin-right: 6px;font-size: 30px;color: #21c9cc;"/>-->
|
||||
<!-- </span>-->
|
||||
<!-- <span style="line-height: 74px;display: inline-block;float: left">-->
|
||||
<!-- <a-icon type="left-circle" theme="filled" style="margin-right: 6px;font-size: 30px;color: #21c9cc;"/>-->
|
||||
<!-- </span>-->
|
||||
<span>
|
||||
{{this.title}}
|
||||
</span>
|
||||
@@ -51,7 +51,7 @@
|
||||
<div class="Virtual-detail-right">
|
||||
<ProjectDetailsName v-if="textTitle === '项目详情'"/>
|
||||
<listOfRegulations v-else-if="textTitle === '法规清单'"/>
|
||||
<TaskList v-else-if="textTitle === '任务清单'"/>
|
||||
<TaskList :isDisplayNum="isDisplayNum" v-else-if="textTitle === '任务清单'"/>
|
||||
<TaskParameterCollection v-else-if="textTitle === '认证参数收集'"/>
|
||||
<nonConformance v-else-if="textTitle === '未符合项'"/>
|
||||
</div>
|
||||
@@ -72,6 +72,7 @@
|
||||
import updateLog from '@/components/UpdateLog/index'
|
||||
import historicalVersionList from '../components/historicalVersionList'
|
||||
import commentList from '../components/commentList'
|
||||
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
|
||||
|
||||
export default {
|
||||
name: 'ProjectDetails',
|
||||
@@ -88,15 +89,18 @@
|
||||
data() {
|
||||
return {
|
||||
title: this.$t('projectDetails'),
|
||||
isDisplayNum:'',
|
||||
textTitle: '项目详情',
|
||||
url: {
|
||||
logList: '/project/projectLawsInventoryLogEO/page',
|
||||
historicalVersionUrl: ''
|
||||
historicalVersionUrl: '',
|
||||
queryUserPremissionByProjectLibraryId: '/project/projectCertificationDirectoryEO/queryUserPremissionByProjectLibraryId'
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.textColor()
|
||||
this.getTaskId()
|
||||
},
|
||||
methods: {
|
||||
textColor() {
|
||||
@@ -119,13 +123,23 @@
|
||||
text[num].classList.add('Virtual-detail-left-text-color')
|
||||
},
|
||||
UpdateLogClick() {
|
||||
this.$refs.updateLogRef.getList({projectLibraryId: this.$route.query.id})
|
||||
this.$refs.updateLogRef.getList({ projectLibraryId: this.$route.query.id })
|
||||
},
|
||||
historicalVersionClick() {
|
||||
this.$refs.historicalVersionListRef.getList()
|
||||
},
|
||||
commentClick() {
|
||||
this.$refs.commentListRef.getData()
|
||||
},
|
||||
getTaskId() {
|
||||
let query = {
|
||||
projectLibraryId: this.$route.query.id
|
||||
}
|
||||
getAction(this.url.queryUserPremissionByProjectLibraryId, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.isDisplayNum = res.result
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user