修改禅道已知bug
This commit is contained in:
@@ -97,6 +97,13 @@
|
|||||||
this.visibleTree = false
|
this.visibleTree = false
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
if (this.userName.length > 1) {
|
||||||
|
this.$message.warning(this.$t('onlyOnePersonCanBeSelected'))
|
||||||
|
return
|
||||||
|
} else if (this.userName.length == 0) {
|
||||||
|
this.$message.warning(this.$t('pleaseSelectPersonFirst'))
|
||||||
|
return
|
||||||
|
}
|
||||||
let query = {
|
let query = {
|
||||||
id: this.tableKey,
|
id: this.tableKey,
|
||||||
createBy: this.userName.join(',')
|
createBy: this.userName.join(',')
|
||||||
|
|||||||
@@ -33,10 +33,10 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
<div @click="setCreatorClick" class="operator-text" v-has="'dummyInventoryBase:add'">
|
<!-- <div @click="setCreatorClick" class="operator-text" v-has="'dummyInventoryBase:add'">-->
|
||||||
<a-icon type="setting"/>
|
<!-- <a-icon type="setting"/>-->
|
||||||
{{$t('setCreator')}}
|
<!-- {{$t('setCreator')}}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div @click="handleAdd" class="operator-text" v-has="'dummyInventoryBase:add'">
|
<div @click="handleAdd" class="operator-text" v-has="'dummyInventoryBase:add'">
|
||||||
<a-icon type="plus"/>
|
<a-icon type="plus"/>
|
||||||
{{$t('newlyAdded')}}
|
{{$t('newlyAdded')}}
|
||||||
|
|||||||
@@ -70,6 +70,7 @@
|
|||||||
<updateLog :url="url" ref="updateLogRef"/>
|
<updateLog :url="url" ref="updateLogRef"/>
|
||||||
<historicalVersionList ref="historicalVersionListRef"/>
|
<historicalVersionList ref="historicalVersionListRef"/>
|
||||||
<commentList ref="commentListRef"/>
|
<commentList ref="commentListRef"/>
|
||||||
|
<JLoading :loading="loading"></JLoading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -103,6 +104,7 @@
|
|||||||
isDisplayNum: '',
|
isDisplayNum: '',
|
||||||
textTitle: '',
|
textTitle: '',
|
||||||
isTrue: true,
|
isTrue: true,
|
||||||
|
loading: false,
|
||||||
url: {
|
url: {
|
||||||
logList: '/project/projectLawsInventoryLogEO/page',
|
logList: '/project/projectLawsInventoryLogEO/page',
|
||||||
historicalVersionUrl: '',
|
historicalVersionUrl: '',
|
||||||
@@ -224,10 +226,14 @@
|
|||||||
postAction('/project/projectRelatedPersonnel/page', query).then((res) => {
|
postAction('/project/projectRelatedPersonnel/page', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
let dataSource = res.result || []
|
let dataSource = res.result || []
|
||||||
|
console.log(dataSource)
|
||||||
dataSource.forEach(res => {
|
dataSource.forEach(res => {
|
||||||
this.engineeringInterfacePerson += res.engineeringInterfacePerson + ','
|
if (res.engineeringInterfacePerson || res.certificationEngineer || res.lawEngineer) {
|
||||||
|
this.engineeringInterfacePerson += res.engineeringInterfacePerson + ',' + res.certificationEngineer + ',' + res.lawEngineer + ','
|
||||||
|
}
|
||||||
})
|
})
|
||||||
if (this.engineeringInterfacePerson.includes(this.userInfo().id)) {
|
if (this.engineeringInterfacePerson.includes(this.userInfo().id) ||
|
||||||
|
this.$route.query.studioEngineer == this.userInfo().id) {
|
||||||
this.isTrue = true
|
this.isTrue = true
|
||||||
} else {
|
} else {
|
||||||
this.isTrue = false
|
this.isTrue = false
|
||||||
@@ -235,8 +241,10 @@
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.textColor(0)
|
this.textColor(0)
|
||||||
})
|
})
|
||||||
|
this.loading = false
|
||||||
} else {
|
} else {
|
||||||
this.textColor(0)
|
this.textColor(0)
|
||||||
|
this.loading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -264,6 +272,7 @@
|
|||||||
.doc-detail {
|
.doc-detail {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
.Virtual-detail-header {
|
.Virtual-detail-header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user