Commit 1bf0ed4c by lixinming

bug

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