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