Commit c8ee483b by lixinming

no message

parent f40ef27c
...@@ -11,6 +11,7 @@ export async function getTargetData() { ...@@ -11,6 +11,7 @@ export async function getTargetData() {
let clomun = ["tlId", "primaryIndicators", "secondaryIndicators", "thirdLevelContent", "thirdLevelScore", "currentScore", "completionProgress"]; let clomun = ["tlId", "primaryIndicators", "secondaryIndicators", "thirdLevelContent", "thirdLevelScore", "currentScore", "completionProgress"];
let partyQualityData = await selectData(OPERATIONALDATATYPE.查询多个, TABLENAME.党建质量三级指标, {}, clomun); let partyQualityData = await selectData(OPERATIONALDATATYPE.查询多个, TABLENAME.党建质量三级指标, {}, clomun);
//todo优化一下 循环方式反了,参考partyBuilding 中的getMidScreen的写法
let partyQualityList = []; let partyQualityList = [];
for (let key in PRIMARYINDICATORS) { for (let key in PRIMARYINDICATORS) {
let primaryIndicatorsData = {}; let primaryIndicatorsData = {};
......
...@@ -24,7 +24,7 @@ import { OPERATIONALDATATYPE, TABLENAME } from "../config/dbEnum"; ...@@ -24,7 +24,7 @@ import { OPERATIONALDATATYPE, TABLENAME } from "../config/dbEnum";
let branch = changeEnumValue(configEnum.BRANCHNAME, bId); //支部名称 let branch = changeEnumValue(configEnum.BRANCHNAME, bId); //支部名称
let param = { bId }; let param = { bId };
let partyQualityScore = await selectData(OPERATIONALDATATYPE.查询多个, TABLENAME.党建质量, param, ["thirdLevelScore", "currentScore"]); let partyQualityScore = await selectData(OPERATIONALDATATYPE.查询多个, TABLENAME.党建质量三级指标, param, ["thirdLevelScore", "currentScore"]);
let massIndex = 0;//得分 let massIndex = 0;//得分
let massCount = 0;//总分 let massCount = 0;//总分
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment