|
|
@ -22,7 +22,7 @@ |
|
|
|
<script> |
|
|
|
import card from './card.vue' |
|
|
|
import throttle from 'lodash/debounce' |
|
|
|
import { getServiceListRcv, getServiceListProcess , getServiceListCompleted} from '@/api/service' |
|
|
|
import { getServiceListRcv, getServiceListProcess , getServiceListCompleted,getCommonality,getMeasureDetail} from '@/api/service' |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
@ -55,8 +55,26 @@ export default { |
|
|
|
methods: { |
|
|
|
handleCLickReceive(item){ |
|
|
|
this.showRole = true; |
|
|
|
this.serverId = item.id; |
|
|
|
if(item.source === 4){ |
|
|
|
this.getMeasureDetail() |
|
|
|
}else { |
|
|
|
this.getCommonality() |
|
|
|
} |
|
|
|
console.log(item) |
|
|
|
}, |
|
|
|
async getMeasureDetail(){ |
|
|
|
let {data,code,msg} = await getMeasureDetail() |
|
|
|
if(code === 0){ |
|
|
|
console.log(data); |
|
|
|
} |
|
|
|
}, |
|
|
|
async getCommonality(){ |
|
|
|
let {data,code,msg} = await getCommonality() |
|
|
|
if(code === 0){ |
|
|
|
console.log(data); |
|
|
|
} |
|
|
|
}, |
|
|
|
hadelChangeTab(e){ |
|
|
|
this.list = []; |
|
|
|
this.pageNo = 1; |
|
|
|