责任部门查询
This commit is contained in:
@@ -59,13 +59,26 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('areaOfResponsibility')">
|
<div class="title-text" :title="$t('statisticalNodes')">
|
||||||
<span>{{$t('areaOfResponsibility')}}</span>
|
<span>{{$t('statisticalNodes')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<j-dict-select-tag class="box-input" v-model="queryParam.dutyTerritory"
|
<a-select :placeholder="$t('PleaseSelect')+$t('statisticalNodes')"
|
||||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
allowClear
|
||||||
:type="'select'"
|
show-search
|
||||||
:triggerChange="false" :dictCode="'duty_territory'"/>
|
mode="multiple"
|
||||||
|
class="box-input-search"
|
||||||
|
optionFilterProp="label"
|
||||||
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
|
v-model="queryParam.dutyTerritory">
|
||||||
|
<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>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
@@ -214,6 +227,7 @@ export default {
|
|||||||
dataSource: [],
|
dataSource: [],
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
projectNameList: [],
|
projectNameList: [],
|
||||||
|
firstLevelDutyTerritoryList:[],
|
||||||
ProblemstateList:[this.$t('red'),this.$t('yellow'),this.$t('green'),],
|
ProblemstateList:[this.$t('red'),this.$t('yellow'),this.$t('green'),],
|
||||||
// CertificationColor: {
|
// CertificationColor: {
|
||||||
// $t('red'): 'nonConformityColor',
|
// $t('red'): 'nonConformityColor',
|
||||||
@@ -325,6 +339,7 @@ export default {
|
|||||||
this.long = localStorage.getItem('language') || 'zh-cn'
|
this.long = localStorage.getItem('language') || 'zh-cn'
|
||||||
this.getList()
|
this.getList()
|
||||||
this.getNameList()
|
this.getNameList()
|
||||||
|
this.getFirstLevelDutyTerritory()
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
'$socketPublic.state.msg': {
|
'$socketPublic.state.msg': {
|
||||||
@@ -339,6 +354,15 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getFirstLevelDutyTerritory() {
|
||||||
|
getAction('/sys/dictItem/getFirstLevelDutyTerritory', {}).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.firstLevelDutyTerritoryList = res.result
|
||||||
|
} else {
|
||||||
|
this.firstLevelDutyTerritoryList = []
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
getNameList() {
|
getNameList() {
|
||||||
getAction('/project/projectNameInfoEO/queryProjectNameList', {}).then((res) => {
|
getAction('/project/projectNameInfoEO/queryProjectNameList', {}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|||||||
@@ -59,13 +59,26 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text" :title="$t('areaOfResponsibility')">
|
<div class="title-text" :title="$t('statisticalNodes')">
|
||||||
<span>{{$t('areaOfResponsibility')}}</span>
|
<span>{{$t('statisticalNodes')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<j-dict-select-tag class="box-input" v-model="queryParam.dutyTerritory"
|
<a-select :placeholder="$t('PleaseSelect')+$t('statisticalNodes')"
|
||||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
allowClear
|
||||||
:type="'select'"
|
show-search
|
||||||
:triggerChange="false" :dictCode="'duty_territory'"/>
|
mode="multiple"
|
||||||
|
class="box-input-search"
|
||||||
|
optionFilterProp="label"
|
||||||
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
|
v-model="queryParam.dutyTerritory">
|
||||||
|
<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>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
@@ -213,6 +226,7 @@
|
|||||||
loading: false,
|
loading: false,
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
|
firstLevelDutyTerritoryList:[],
|
||||||
projectNameList: [],
|
projectNameList: [],
|
||||||
ProblemstateList:[this.$t('red'),this.$t('yellow'),this.$t('green'),],
|
ProblemstateList:[this.$t('red'),this.$t('yellow'),this.$t('green'),],
|
||||||
// CertificationColor: {
|
// CertificationColor: {
|
||||||
@@ -325,6 +339,7 @@
|
|||||||
this.long = localStorage.getItem('language') || 'zh-cn'
|
this.long = localStorage.getItem('language') || 'zh-cn'
|
||||||
this.getList()
|
this.getList()
|
||||||
this.getNameList()
|
this.getNameList()
|
||||||
|
this.getFirstLevelDutyTerritory()
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
'$socketPublic.state.msg': {
|
'$socketPublic.state.msg': {
|
||||||
@@ -339,6 +354,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getFirstLevelDutyTerritory() {
|
||||||
|
getAction('/sys/dictItem/getFirstLevelDutyTerritory', {}).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.firstLevelDutyTerritoryList = res.result
|
||||||
|
} else {
|
||||||
|
this.firstLevelDutyTerritoryList = []
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
getNameList() {
|
getNameList() {
|
||||||
getAction('/project/projectNameInfoEO/queryProjectNameList', {}).then((res) => {
|
getAction('/project/projectNameInfoEO/queryProjectNameList', {}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user