对接项目库详情的项目状态
This commit is contained in:
@@ -246,7 +246,17 @@
|
|||||||
text: title
|
text: title
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: 'item'
|
trigger: 'item',
|
||||||
|
textStyle : {
|
||||||
|
fontWeight : 'normal',
|
||||||
|
fontSize : 14,
|
||||||
|
color:'#040B29',
|
||||||
|
fontFamily:'BlueSkyNoto',
|
||||||
|
},
|
||||||
|
formatter: function (parms) {
|
||||||
|
let str = parms.marker+' '+parms.data.name+' '+parms.data.value+' ('+parms.percent+'%)'
|
||||||
|
return str
|
||||||
|
}
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
itemWidth: 12,
|
itemWidth: 12,
|
||||||
|
|||||||
@@ -98,7 +98,17 @@
|
|||||||
text: title
|
text: title
|
||||||
},
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: 'item'
|
trigger: 'item',
|
||||||
|
textStyle : {
|
||||||
|
fontWeight : 'normal',
|
||||||
|
fontSize : 14,
|
||||||
|
color:'#040B29',
|
||||||
|
fontFamily:'BlueSkyNoto',
|
||||||
|
},
|
||||||
|
formatter: function (parms) {
|
||||||
|
let str = parms.marker+' '+parms.data.name+' '+parms.data.value+' ('+parms.percent+'%)'
|
||||||
|
return str
|
||||||
|
}
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
itemWidth: 12,
|
itemWidth: 12,
|
||||||
@@ -287,6 +297,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
responsibility(item) {
|
responsibility(item) {
|
||||||
|
console.log(item)
|
||||||
this.$emit('currentStatus', item)
|
this.$emit('currentStatus', item)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,9 +27,10 @@
|
|||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
<a slot="areaOfResponsibility" slot-scope="text,result" @click="areaOfResponsibilityClick(result)">
|
<!-- @click="areaOfResponsibilityClick(result)"-->
|
||||||
|
<span slot="areaOfResponsibility" slot-scope="text,result">
|
||||||
{{text}}
|
{{text}}
|
||||||
</a>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</template>
|
</template>
|
||||||
@@ -59,7 +60,7 @@
|
|||||||
title: this.$t('areaOfResponsibility'),
|
title: this.$t('areaOfResponsibility'),
|
||||||
dataIndex: 'dutyTerritoryName',
|
dataIndex: 'dutyTerritoryName',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 100,
|
width: 150,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
scopedSlots: { customRender: 'areaOfResponsibility' }
|
scopedSlots: { customRender: 'areaOfResponsibility' }
|
||||||
},
|
},
|
||||||
@@ -107,14 +108,14 @@
|
|||||||
handleCancel() {
|
handleCancel() {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
},
|
},
|
||||||
areaOfResponsibilityClick(item) {
|
// areaOfResponsibilityClick(item) {
|
||||||
if (this.queryParam.operatorType == 'queryFGTaskToConfirmStatistics' ||
|
// if (this.queryParam.operatorType == 'queryFGTaskToConfirmStatistics' ||
|
||||||
this.queryParam.operatorType == 'queryDesignStatistics' ||
|
// this.queryParam.operatorType == 'queryDesignStatistics' ||
|
||||||
this.queryParam.operatorType == 'queryVerifyStatistics') {
|
// this.queryParam.operatorType == 'queryVerifyStatistics') {
|
||||||
item.isListing = '1'
|
// item.isListing = '1'
|
||||||
}
|
// }
|
||||||
this.$emit('responsibility', item)
|
// this.$emit('responsibility', item)
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user