修改UAT提出的问题
This commit is contained in:
@@ -52,6 +52,29 @@
|
|||||||
v-model="queryParam.serialNumber"></j-input>
|
v-model="queryParam.serialNumber"></j-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :md="6" :sm="8">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text" :title="$t('statisticalNodes')">
|
||||||
|
<span>{{ $t('statisticalNodes') }}</span>
|
||||||
|
</div>
|
||||||
|
<a-select :placeholder="$t('PleaseSelect')+$t('statisticalNodes')"
|
||||||
|
allowClear
|
||||||
|
class="box-input"
|
||||||
|
show-search
|
||||||
|
optionFilterProp="label"
|
||||||
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
|
v-model="queryParam.firstLevelDutyTerritory">
|
||||||
|
<a-select-option v-for="(item, key) in firstLevelDutyTerritoryList"
|
||||||
|
:key="key"
|
||||||
|
:label="item.key"
|
||||||
|
:value="item.key">
|
||||||
|
<span style="display: inline-block;width: 100%" :title=" item.key ">
|
||||||
|
{{ item.key }}
|
||||||
|
</span>
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
<template v-if="toggleSearchStatus">
|
<template v-if="toggleSearchStatus">
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
@@ -537,7 +560,7 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'index',
|
name: 'index',
|
||||||
props: ['isDisplayNum'],
|
props: ['isDisplayNum','areaOfResponsibility'],
|
||||||
mixins: [ResizeColumnProvide, ResizeHeader],
|
mixins: [ResizeColumnProvide, ResizeHeader],
|
||||||
components: {
|
components: {
|
||||||
globalAdvancedQuery,
|
globalAdvancedQuery,
|
||||||
@@ -827,16 +850,19 @@
|
|||||||
toDoIds: [],
|
toDoIds: [],
|
||||||
toDoNotConditions: [],
|
toDoNotConditions: [],
|
||||||
userInfoQuery: {},
|
userInfoQuery: {},
|
||||||
DeliverableTreeList: []
|
DeliverableTreeList: [],
|
||||||
|
firstLevelDutyTerritoryList:[],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.getList()
|
// this.getList()
|
||||||
|
this.getFirstLevelDutyTerritory()
|
||||||
this.long = localStorage.getItem('language') || 'zh-cn'
|
this.long = localStorage.getItem('language') || 'zh-cn'
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.userInfoQuery = this.userInfo()
|
this.userInfoQuery = this.userInfo()
|
||||||
if (this.areaOfResponsibility && this.areaOfResponsibility.dutyTerritory) {
|
console.log(this.areaOfResponsibility)
|
||||||
this.queryParam.dutyTerritory = this.areaOfResponsibility.dutyTerritory
|
if (this.areaOfResponsibility && this.areaOfResponsibility.dutyTerritoryName) {
|
||||||
|
this.queryParam.firstLevelDutyTerritory = this.areaOfResponsibility.dutyTerritoryName
|
||||||
this.queryParam = { ...this.queryParam }
|
this.queryParam = { ...this.queryParam }
|
||||||
}
|
}
|
||||||
this.getProcessStatus()
|
this.getProcessStatus()
|
||||||
@@ -884,6 +910,15 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapGetters(['userInfo']),
|
...mapGetters(['userInfo']),
|
||||||
|
getFirstLevelDutyTerritory() {
|
||||||
|
getAction('/sys/dictItem/getFirstLevelDutyTerritory', {}).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.firstLevelDutyTerritoryList = res.result
|
||||||
|
} else {
|
||||||
|
this.firstLevelDutyTerritoryList = []
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
addConfigurationClick() {
|
addConfigurationClick() {
|
||||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
this.$refs.addConfigurationRef.getData(JSON.parse(JSON.stringify(this.selectedRowKeys)))
|
this.$refs.addConfigurationRef.getData(JSON.parse(JSON.stringify(this.selectedRowKeys)))
|
||||||
@@ -1045,9 +1080,9 @@
|
|||||||
}
|
}
|
||||||
this.dataSource = res.result.records || []
|
this.dataSource = res.result.records || []
|
||||||
this.dataSource.forEach(value => {
|
this.dataSource.forEach(value => {
|
||||||
if (value.flowStatusName =='清单待校核'){
|
if (value.flowStatusName == '清单待校核') {
|
||||||
value.flowStatusName = '任务待发起'
|
value.flowStatusName = '任务待发起'
|
||||||
}else if(value.flowStatusName =='List to be checked'){
|
} else if (value.flowStatusName == 'List to be checked') {
|
||||||
value.flowStatusName = 'The task is to be initiated'
|
value.flowStatusName = 'The task is to be initiated'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -2365,6 +2400,7 @@
|
|||||||
.page {
|
.page {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.operator-text-left {
|
.operator-text-left {
|
||||||
@@ -2561,10 +2597,12 @@
|
|||||||
background: #dbf6e2;
|
background: #dbf6e2;
|
||||||
color: #26BD4B;
|
color: #26BD4B;
|
||||||
}
|
}
|
||||||
.componentColor{
|
|
||||||
|
.componentColor {
|
||||||
background: #EDFCEF;
|
background: #EDFCEF;
|
||||||
color: #6FD682;
|
color: #6FD682;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nonConformityColor {
|
.nonConformityColor {
|
||||||
background: #f3dddd;
|
background: #f3dddd;
|
||||||
color: #E83030;
|
color: #E83030;
|
||||||
|
|||||||
@@ -76,6 +76,7 @@
|
|||||||
<a-select :placeholder="$t('PleaseSelect')+$t('statisticalNodes')"
|
<a-select :placeholder="$t('PleaseSelect')+$t('statisticalNodes')"
|
||||||
allowClear
|
allowClear
|
||||||
show-search
|
show-search
|
||||||
|
class="box-input"
|
||||||
optionFilterProp="label"
|
optionFilterProp="label"
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
v-model="queryParam.firstLevelDutyTerritory">
|
v-model="queryParam.firstLevelDutyTerritory">
|
||||||
|
|||||||
Reference in New Issue
Block a user