Browse Source

Merge remote-tracking branch 'origin/master'

main
kami 1 year ago
parent
commit
9771b49d84
  1. 34
      src/views/datav/Jwpy.vue

34
src/views/datav/Jwpy.vue

@ -562,28 +562,20 @@ function getData() {
//
GetGLFW().then((res) => {
console.log("GetGLFW ==== " + res)
dcmyd.value = res.lstson
console.log("dcmyd.value ==== " + dcmyd.value)
dcmyd.value=res
option1.value.xAxis.data = dcmyd.value[0].lstson.map(item => item.SonPeriodName);
option1.value.series[0].data = dcmyd.value[0].lstson.map(item => item.FinalRP);
});
//
GetZRSJXF().then((res) => {
console.log("GetZRSJXF ==== " + res)
let tempTable = res.lstShen
console.log("tempTable ==== " + tempTable)
tempTable = tempTable.filter(item => item.Name !== null)
tableData.value = tempTable;
tableData.value = res.lstShen
});
//
GetZHMYLPM().then((res) => {
console.log("GetZHMYLPM ==== " + res)
tableData1.value = res.lstCity
let temp = res.lstSheng;
console.log("temp ==== " + temp)
tableData1.value = res[0].lstCity
let temp = res[0].lstSheng;
const group2 = temp.filter(item => item.SetName === "(省)县市考评");
const group3 = temp.filter(item => item.SetName === "(省)区");
tableData2.value = group2
@ -593,7 +585,7 @@ function getData() {
//
GetBMYYBQS().then((res) => {
console.log("GetBMYYBQS ==== " + res)
bmyybqs.value = res
bmyybqs.value = res;
option2.value.xAxis.data = bmyybqs.value.map(item => item.SonPeriodName);
option2.value.series[0].data = bmyybqs.value.map(item => item.QACount);
@ -601,7 +593,8 @@ function getData() {
//
GetDXFX().then((res) => {
dxfx.value = res.lstson
console.log("GetDXFX ==== " + res)
dxfx.value = res;
option3.value.xAxis.data = dxfx.value[0].lstson.map(item => item.MasterName);
option3.value.series[0].data = dxfx.value[0].lstson.map(item => item.FinalRP);
option3.value.series[1].data = dxfx.value[1].lstson.map(item => item.FinalRP);
@ -609,9 +602,9 @@ function getData() {
});
GetRCSQQK().then((res) => {
let text = res.lstShen
let text = res
text = text.filter(item => item.Name !== null)
tableData4.value= text
tableData4.value = text
});
// GetZRSJXF().then((res) => { });
@ -634,8 +627,7 @@ setTimeout(() => {
}]
//
dcmyd.value =
[
dcmyd.value = [
{
Bak: "满意度",
FinalRP: 95.3,
@ -1151,7 +1143,7 @@ setTimeout(() => {
option3.value.series[0].data = dxfx.value[0].lstson.map(item => item.FinalRP);
option3.value.series[1].data = dxfx.value[1].lstson.map(item => item.FinalRP);
option3.value.series[2].data = dxfx.value[2].lstson.map(item => item.FinalRP);
//
//
let tempTable = [
{
"MasterID": "37",
@ -1341,6 +1333,7 @@ setTimeout(() => {
tempTable = tempTable.filter(item => item.Name !== null)
tableData.value = tempTable
//
let temp = [
{
"OrganizeID": null,
@ -1496,7 +1489,7 @@ setTimeout(() => {
"MydRanking": "1",
"State3": 490980
}
]
] //
tableData2.value = group2
tableData3.value = group3
@ -1607,7 +1600,6 @@ setTimeout(() => {
}
]
text = text.filter(item => item.Name !== null)
tableData4.value = text
}, 2000)

Loading…
Cancel
Save