Commit 1bf0ed4c by lixinming

bug

parent 30b152ed
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
.idea
/out
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
/素材
/idea
.idea/workspace.xml
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
/test
/public
/logs
/video
*test*
*.log
\ No newline at end of file
......@@ -2,7 +2,7 @@
import { jhjdTableData, jhjdTableDataV } from '../data/table/jhjdData';
import { doubleYBarCharPackage, keyValuePackage, onceYBarChartPackage, rankPackage, tablePackage } from '../dataPackage/inFrontOut';
import { getDoubleYBarChartOut, getKeyValueOut, getOnceYBarChartOut, getTableOut } from '../dataPackage/out';
import * as jhjdBiz from '../biz/jhjd';
/* 计划进度 */
export function getData(req, res) {
......@@ -41,7 +41,7 @@ export function getData(req, res) {
}
export function getJHJD(req, res) {
let line = req.query.line || -1;
let line = req.query.line || "全部";
let excelData = jhjdTableDataV();
let ret:any = {};
......@@ -112,7 +112,7 @@ export function getJHJD(req, res) {
移交详细.push( {key: C, value: D} );
break;
}
} else if (line == -1) {
} else if (line == "全部") {
switch (B) {
case '证件办理':
证件办理详细.push( {key: C, value: D} );
......@@ -128,7 +128,7 @@ export function getJHJD(req, res) {
})
let zjblxxPackageData = keyValuePackage(证件办理详细);
ret['zjblxx'] = getKeyValueOut('证件办理详细', zjblxxPackageData);
ret['zjblxxxl'] = getKeyValueOut('证件办理详细线路', zjblxxPackageData);
let dqxxxlPackageData = keyValuePackage(动迁详细);
ret['dqxxxl'] = getKeyValueOut('动迁详细线路', dqxxxlPackageData);
......
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