Commit 745a1a49 authored by 陶进's avatar 陶进

提交一下

parent 05ce003c
Pipeline #135 failed with stages
const { app } = require('electron').remote
const axios = require('axios')
const path = app.getAppPath()
const baseUrl = require(path + '/config/url').baseUrl
const baseUrl = require(path + '/build_config/url').baseUrl
const { BrowserWindow } = require('electron').remote
var info = JSON.parse(localStorage.getItem('userInfo'))
......
module.exports = {
assetsSheet: function(){
return {
F001D: ['报告年度', false, false],
ENDDATE: ['截止日期', false, false],
F003V: ['合并类型', false, false],
FF001: ['流动资产', false, true],
F006N: ['货币资金', true, false],
F007N: ['以公允价值计量且其变动计入当期损益的金融资产', true, false],
F008N: ['应收票据', true, false],
F009N: ['应收账款', true, false],
F010N: ['预付款项', true, false],
F011N: ['其他应收款', true, false],
F012N: ['应收关联公司款', true, false],
F013N: ['应收利息', true, false],
F014N: ['应收股利', true, false],
F015N: ['存货', true, false],
F016N: ['其中:消耗性生物资产', true, false],
F017N: ['一年内到期的非流动资产', true, false],
F018N: ['其他流动资产', true, false],
F019N: ['流动资产合计', true, false],
FF002: ['非流动资产', false, true],
F020N: ['可供出售金融资产', true, false],
F021N: ['持有至到期投资', true, false],
F022N: ['长期应收款', true, false],
F023N: ['长期股权投资', true, false],
F024N: ['投资性房地产', true, false],
F025N: ['固定资产', true, false],
F026N: ['在建工程', true, false],
F027N: ['工程物资', true, false],
F028N: ['固定资产清理', true, false],
F029N: ['生产性生物资产', true, false],
F030N: ['油气资产', true, false],
F031N: ['无形资产', true, false],
F032N: ['开发支出', true, false],
F033N: ['商誉', true, false],
F034N: ['长期待摊费用', true, false],
F035N: ['递延所得税资产', true, false],
F036N: ['其他非流动资产', true, false],
F037N: ['非流动资产合计', true, false],
F038N: ['资产总计', true, false],
FF003: ['流动负债', false, true],
F039N: ['短期借款', true, false],
F040N: ['以公允价值计量且其变动计入当期损益的金融负债', true, false],
F041N: ['应付票据', true, false],
F042N: ['应付账款', true, false],
F043N: ['预收款项', true, false],
F044N: ['应付职工薪酬', true, false],
F045N: ['应交税费', true, false],
F046N: ['应付利息', true, false],
F047N: ['应付股利', true, false],
F048N: ['其他应付款', true, false],
F049N: ['应付关联公司款', true, false],
F050N: ['一年内到期的非流动负债', true, false],
F051N: ['其他流动负债', true, false],
F052N: ['流动负债合计', true, false],
FF004: ['非流动负债', false, true],
F053N: ['长期借款', true, false],
F054N: ['应付债券', true, false],
F055N: ['长期应付款', true, false],
F056N: ['专项应付款', true, false],
F057N: ['预计负债', true, false],
F058N: ['递延所得税负债', true, false],
F059N: ['其他非流动负债', true, false],
F060N: ['非流动负债合计', true, false],
F061N: ['负债合计', true, false],
FF005: ['所有者权益(或股东权益)', false, true],
F062N: ['实收资本(或股本)', true, false],
F063N: ['资本公积', true, false],
F064N: ['盈余公积', true, false],
F072N: ['专项储备', true, false],
F066N: ['减:库存股', true, false],
F076N: ['一般风险准备', true, false],
F065N: ['未分配利润', true, false],
F073N: ['归属于母公司所有者权益', true, false],
F067N: ['少数股东权益', true, false],
F068N: ['外币报表折算价差', true, false],
F069N: ['非正常经营项目收益调整', true, false],
F070N: ['所有者权益(或股东权益)合计', true, false],
F071N: ['负债和所有者(或股东权益)合计', true, false],
MEMO: ['备注', false, false],
F074N: ['其他综合收益', true, false],
F075N: ['递延收益-非流动负债', true, false],
F077N: ['结算备付金', true, false],
F078N: ['拆出资金', true, false],
F079N: ['发放贷款及垫款-流动资产', true, false],
F080N: ['衍生金融资产', true, false],
F081N: ['应收保费', true, false],
F082N: ['应收分保账款', true, false],
F083N: ['应收分保合同准备金', true, false],
F084N: ['买入返售金融资产', true, false],
F085N: ['划分为持有待售的资产', true, false],
F086N: ['发放贷款及垫款-非流动资产', true, false],
F087N: ['向中央银行借款', true, false],
F088N: ['吸收存款及同业存放', true, false],
F089N: ['拆入资金', true, false],
F090N: ['衍生金融负债', true, false],
F091N: ['卖出回购金融资产款', true, false],
F092N: ['应付手续费及佣金', true, false],
F093N: ['应付分保账款', true, false],
F094N: ['保险合同准备金', true, false],
F095N: ['代理买卖证券款', true, false],
F096N: ['代理承销证券款', true, false],
F097N: ['划分为持有待售的负债', true, false],
F098N: ['预计负债-流动负债', true, false],
F099N: ['递延收益-流动负债', true, false],
F100N: ['其中:优先股-非流动负债', true, false],
F101N: ['永续债-非流动负债', true, false],
F102N: ['长期应付职工薪酬', true, false],
F103N: ['其他权益工具', true, false],
F104N: ['其中:优先股-所有者权益', true, false],
F105N: ['永续债-所有者权益', true, false],
F005V: ['报表来源', false, false],
DECLAREDATE: ['公告日期', false, false]
}
},
basicInfo: function(){
return [
{
ORGNAME: '机构名称'
},
{
F001V: '英文名称',
F010D: '成立日期',
SECNAME: '股票简称',
SECCODE: '股票代码'
},
{
F003V: '证券类别',
F005V: '交易市场',
F006D: '上市日期'
},
{
F003V: '法人代表',
F004V: '注册地址',
F005V: '办公地址',
F006V: '邮政编码',
F007N: '注册资金(万)',
F009V: '货币名称',
F011V: '机构网址',
F012V: '电子信箱',
F013V: '联系电话',
F014V: '联系传真',
F015V: '主营业务',
F016V: '经营范围',
F017V: '机构简介',
F041V: '董事长',
F042V: '总经理',
F018V: '董事会秘书',
F019V: '董秘电话',
F020V: '董秘传真',
F021V: '董秘邮箱',
F022V: '证券事务代表',
F026V: '所属省份',
F028V: '所属城市',
F039V: '会计师事务所',
F040V: '律师事务所',
F044V: '入选指数',
F046V: '保荐机构',
F047V: '主承销商'
}
]
},
topBrass: function(){
return {
DECLAREDATE: '公告日期',
F002V: '姓名',
F007D: '任职日期',
F008D: '离任日期',
F009V: '职务名称',
F010V: '性别',
F012V: '出生年份',
F013V: '国籍',
F017V: '学历',
F019V: '个人简介'
}
},
stockChangesHistory: function(){
return {
VARYDATE: '变动日期',
F003N: '变动后总股本(万股)',
F021N: '已流通股份(万股)',
F001F: '已流通比例(%)',
F028N: '流通受限股份(万股)',
F002V: '变动原因',
DECLAREDATE: '公告日期'
}
},
stockChangesDetail: function(){
return {
VARYDATE: ['变动日期', false, false],
F002V: ['变动原因', false, false],
F003N: ['总股本', false, false],
F004N: ['未流通股份', false, false],
F005N: ['发起人股份', false, false],
F006N: ['国家持股', false, false],
F007N: ['国有法人持股', false, false],
F008N: ['境内法人持股', false, false],
F009N: ['境外法人持股', false, false],
F010N: ['自然人持股', false, false],
F011N: ['募集法人股', false, false],
F012N: ['内部职工股', false, false],
F013N: ['转配股', false, false],
F014N: ['其他流通受限股份', false, false],
F015N: ['优先股', false, false],
F016N: ['其他未流通股', false, false],
F021N: ['已流通股份', false, false],
F022N: ['人民币普通股', false, false],
F023N: ['境内上市外资股(B股)', false, false],
F024N: ['境外上市外资股(H股)', false, false],
F025N: ['高管股', false, false],
F026N: ['其他流通股', false, false],
F028N: ['流通受限股份', false, false],
F017N: ['配售法人股', false, false],
F018N: ['战略投资者持股', false, false],
F019N: ['证券投资基金持股', false, false],
F020N: ['一般法人持股', false, false],
F029N: ['国家持股(受限)', false, false],
F030N: ['国有法人持股(受限)', false, false],
F031N: ['其他内资持股(受限)', false, false],
F032N: ['其中:境内法人持股', false, false],
F033N: ['其中:境内自然人持股', false, false],
F034N: ['外资持股(受限)', false, false],
F035N: ['其中:境外法人持股', false, false],
F036N: ['其中:境外自然人持股', false, false],
F037N: ['其中:限售高管股', false, false],
F038N: ['其中:限售B股', false, false],
F040N: ['其中:限售H股', false, false],
DECLAREDATE: ['公告日期', false, false]
}
},
toppTenHolder: function(){
return {
F001N: '名次',
F002V: '股东名称',
F005N: '持股数量(股)',
F006N: '占总股本比例(%)',
F004V: '股东类别',
F011V: '股本性质'
}
},
stockFocus: function(){
return {
ENDDATE: '截止日期',
F001N: '股东总户数',
F007N: '户均持股',
F008N: '户均持股比例'
}
},
holderFrozen: function(){
return {
DECLAREDATE: '公告日期',
F010D: '冻结起始日',
F011D: '冻结终止日',
F012D: '解冻日期',
F002V: '被冻结当事人',
F004V: '被冻结股份性质',
F005N: '冻结数量',
F006N: '占总股份比例'
// F009V: '冻结事项'
}
},
holderPledge: function(){
return {
DECLAREDATE: '公告日期',
F009D: '质押起始日',
F010D: '质押终止日',
F011D: '质押解除日',
F002V: '出质人',
F005V: '质押股份性质',
F006N: '质押数量',
F007N: '占总股本比例'
// F008V: '质押事项'
}
},
controller: function(){
return {
ENDDATE: '截止日期',
F002V: '实际控制人名称',
F002V: '直接控制人名称',
F002V: '直接持有人名称',
F005N: '控股数量(万股)',
F006N: '控股比例(%)',
F008V: '控制类型',
F014V: '实际控制人类型'
}
},
historyPrice: function(){
return {
TRADEDATE: '交易日期',
F002N: '昨日收盘价',
F003N: '今日开盘价',
F004N: '成交数量',
F005N: '最高成交价',
F006N: '最低成交价',
F007N: '最近成交价',
F008N: '总笔数',
F010N: '涨跌幅(%)',
F012N: '换手率(%)',
F013N: '振幅(%)',
F020N: '发行总股本',
F021N: '流通股本'
}
},
historyListPrice: function(){
return {
SECNAME: '公司名称',
TRADEDATE: '交易日期',
F002N: '昨日收盘价',
F003N: '今日开盘价',
F004N: '成交数量',
F005N: '最高成交价',
F006N: '最低成交价',
F007N: '最近成交价',
F008N: '总笔数',
F010N: '涨跌幅(%)',
F012N: '换手率(%)',
F013N: '振幅(%)',
F020N: '发行总股本',
F021N: '流通股本'
}
},
financing: function(){
return {
TRADEDATE: ['交易日期', false],
F001N: ['融资余额', true],
F002N: ['融资买入额', true],
F004N: ['融券余量', true],
F006N: ['融券卖出量', true],
F008N: ['融券余量金额', true],
F009N: ['融资融券余额', true]
}
},
specialTip: function(){
return {
F005D: '发生日期',
F004V: '事件种类',
F006V: '事件内容'
}
},
publicMessage: function(){
return {
F003C: '交易类型',
F004N: '排名',
F005V: '营业部(席位)名称',
F006N: '买入金额',
F007N: '卖出金额'
}
},
financialSummary: function(){
return {
SECCODE: ['证券代码', false, false],
SECNAME: ['证券简称', false, false],
F001D: ['报告年度', false, false],
FF001: ['报告期', false, true],
F003V: ['合并类型', false, false],
FF002: ['利润表摘要', false, true],
F035N: ['营业总收入', true, false],
F052N: ['同比(%)', false, false],
F036N: ['营业总成本', true, false],
F018N: ['营业利润', true, false],
F058N: ['同比(%)', false, false],
F024N: ['利润总额', true, false],
F027N: ['净利润', true, false],
F053N: ['同比(%)', false, false],
F028N: ['归属母公司股东的净利润', true, false],
F077N: ['非经常性损益', true, false],
F076N: ['扣非后归属母公司股东的净利润', true, false],
F056N: ['研发费用', true, false],
FF003: ['资产负债表摘要', false, true],
F019N: ['流动资产', true, false],
F025N: ['固定资产', true, false],
F023N: ['长期股权投资', true, false],
F038N: ['资产总计', true, false],
F056N: ['同比(%)', false, false],
F052N: ['流动负债', true, false],
F060N: ['非流动负债', true, false],
F061N: ['负债合计', true, false],
F070N: ['股东权益', true, false],
F071N: ['归属母公司股东的权益', true, false],
FF004: ['现金流量表摘要', false, true],
F006N: ['销售商品提供劳务收到的现金', true, false],
F046N: ['折旧与摊销', true, false],
F015N: ['经营活动现金净流量', true, false],
F027N: ['投资活动现金净流量', true, false],
F036N: ['筹资活动现金净流量', true, false],
F039N: ['现金净增加额', true, false],
F041N: ['期末现金余额', true, false],
FF005: ['关键比率', false, true],
F081N: ['ROE(平均)(%)', false, false],
F014N: ['ROE(摊薄)(%)', false, false],
F067N: ['ROE(加权)(%)', false, false],
F068N: ['扣非后ROE(加权)(%)', false, false],
F016N: ['ROA(%)', false, false],
F078N: ['毛利率(%)', false, false],
F017N: ['净利润率(%)', false, false],
F041N: ['资产负债比率(%)', false, false],
F042N: ['流动比率(%)', false, false],
F043N: ['速动比率(%)', false, false],
F023N: ['存货周转率', false, false],
F022N: ['应收账款周转率', false, false],
F025N: ['总资产周转率', false, false],
F063N: ['经营活动现金净流量与净利润比率(%)', false, false],
FF006: ['每股指标', false, true],
F004N: ['EPS(基本)', false, false],
F005N: ['EPS(稀释)', false, false],
F006N: ['扣非后EPS(基本)', false, false],
F008N: ['每股净资产', false, false],
F007N: ['每股未分配利润', false, false],
F059N: ['每股现金流量', false, false],
F060N: ['每股经营现金流量', false, false]
}
},
financialSummaryWhere: function(){
return {
hs_profit_statement: ['SECCODE', 'SECNAME', 'F001D', 'F002V', 'F003V', 'F035N', 'F052N', 'F036N', 'F018N', 'F058N', 'F024N', 'F027N', 'F028N', 'F056N'],
hs_balance_sheet: ['F019N', 'F025N', 'F023N', 'F038N', 'F056N', 'F052N', 'F060N', 'F061N', 'F070N', 'F071N'],
hs_cash_flow_statement: ['F006N', 'F046N', 'F015N', 'F027N', 'F036N', 'F039N', 'F041N'],
hs_financial_target: ['F081N', 'F014N', 'F067N', 'F068N', 'F016N', 'F078N', 'F017N', 'F041N', 'F042N', 'F052N', 'F053N', 'F043N', 'F023N', 'F022N', 'F025N', 'F076N', 'F077N', 'F063N', 'F004N', 'F005N', 'F006N', 'F008N', 'F007N', 'F059N', 'F060N']
}
},
profitSheet: function(){
return {
STARTDATE: ['开始日期', false, false],
ENDDATE: ['截止日期', false, false],
F001D: ['报告年度', false, false],
F003V: ['合并类型', false, false],
F005V: ['报表来源', false, false],
F035N: ['一、营业总收入', true, true],
F006N: ['其中:营业收入', true, false],
F036N: ['二、营业总成本', true, true],
F007N: ['其中:营业成本', true, false],
F008N: ['营业税金及附加', true, false],
F009N: ['销售费用', true, false],
F010N: ['管理费用', true, false],
F011N: ['堪探费用', true, false],
F012N: ['财务费用', true, false],
F013N: ['资产减值损失', true, false],
F014N: ['加:公允价值变动净收益', true, false],
F015N: ['投资收益', true, false],
F016N: ['其中:对联营企业和合营企业的投资收益', true, false],
F037N: ['汇兑收益', true, false],
F017N: ['影响营业利润的其他科目', true, false],
F018N: ['三、营业利润', true, true],
F019N: ['加:补贴收入', true, false],
F020N: ['营业外收入', true, false],
F021N: ['减:营业外支出', true, false],
F022N: ['其中:非流动资产处置损失', true, false],
F023N: ['加:影响利润总额的其他科目', true, false],
F024N: ['四、利润总额', true, true],
F025N: ['减:所得税', true, false],
F026N: ['加:影响净利润的其他科目', true, false],
F027N: ['五、净利润', true, true],
F028N: ['归属于母公司所有者的净利润', true, false],
F029N: ['少数股东损益', true, true],
F031N: ['(一)基本每股收益', true, false],
F032N: ['(二)稀释每股收益', true, false],
F038N: ['七、其他综合收益', true, true],
F039N: ['八、综合收益总额', true, true],
F040N: ['其中:归属于母公司', true, false],
F041N: ['其中:归属于少数股东', true, false],
MEMO: ['备注', false, true],
F033N: ['利息收入', true, false],
F034N: ['已赚保费', true, false],
F042N: ['手续费及佣金收入', true, false],
F043N: ['利息支出', true, false],
F044N: ['手续费及佣金支出', true, false],
F045N: ['退保金', true, false],
F046N: ['赔付支出净额', true, false],
F047N: ['提取保险合同准备金净额', true, false],
F048N: ['保单红利支出', true, false],
F049N: ['分保费用', true, false],
F050N: ['其中:非流动资产处置利得', true, false],
F051N: ['其他收益', true, false],
DECLAREDATE: ['公告日期', false, false]
}
},
cashSheet: function(){
return {
STARTDATE: ['开始日期', false, false],
ENDDATE: ['截止日期', false, false],
F001D: ['报告年度', false, false],
F003V: ['合并类型', false, false],
FF001: ['经营活动产生的现金流量:', false, true],
F006N: [' 销售商品、提供劳务收到的现金', true, false],
F007N: ['收到的税费返还', true, false],
F008N: ['收到其他与经营活动有关的现金', true, false],
F009N: ['经营活动现金流入小计', true, false],
F010N: ['购买商品、接受劳务支付的现金', true, false],
F011N: ['支付给职工以及为职工支付的现金', true, false],
F012N: ['支付的各项税费', true, false],
F013N: ['支付其他与经营活动有关的现金', true, false],
F014N: ['经营活动现金流出小计', true, false],
F015N: ['经营活动产生的现金流量净额', true, false],
FF002: ['投资活动产生的现金流量:', false, true],
F016N: ['收回投资收到的现金', true, false],
F017N: ['取得投资收益收到的现金', true, false],
F018N: ['处置固定资产、无形资产和其他长期资产收回的现金净额', true, false],
F019N: ['处置子公司及其他营业单位收到的现金净额', true, false],
F020N: ['收到其他与投资活动有关的现金', true, false],
F021N: ['投资活动现金流入小计', true, false],
F022N: ['购建固定资产、无形资产和其他长期资产支付的现金', true, false],
F023N: ['投资支付的现金', true, false],
F076N: ['质押贷款净增加额', true, false],
F024N: ['取得子公司及其他营业单位支付的现金净额', true, false],
F025N: ['支付其他与投资活动有关的现金', true, false],
F026N: ['投资活动现金流出小计', true, false],
F027N: ['投资活动产生的现金流量净额', true, false],
FF003: ['筹资活动产生的现金流量:', false, true],
F028N: ['吸收投资收到的现金', true, false],
F029N: ['取得借款收到的现金', true, false],
F077N: ['发行债券收到的现金', true, false],
F030N: ['收到其他与筹资活动有关的现金', true, false],
F031N: ['筹资活动现金流入小计', true, false],
F032N: ['偿还债务支付的现金', true, false],
F033N: ['分配股利、利润或偿付利息支付的现金', true, false],
F034N: ['支付其他与筹资活动有关的现金', true, false],
F035N: ['筹资活动现金流出小计', true, false],
F036N: ['筹资活动产生的现金流量净额', true, false],
F037N: [' 四、汇率变动对现金的影响', true, false],
F038N: ['四(2)、其他原因对现金的影响', true, false],
F039N: ['五、现金及现金等价物净增加额', true, false],
F040N: ['期末现金及现金等价物余额', true, false],
F041N: ['期末现金及现金等价物余额', true, false],
F044N: ['净利润', true, false],
F045N: ['加:资产减值准备', true, false],
F046N: ['固定资产折旧、油气资产折耗、生产性生物资产折旧', true, false],
F047N: ['无形资产摊销', true, false],
F048N: ['长期待摊费用摊销', true, false],
F049N: ['处置固定资产、无形资产和其他长期资产的损失', true, false],
F050N: ['固定资产报废损失', true, false],
F051N: ['公允价值变动损失', true, false],
F052N: ['财务费用', true, false],
F053N: ['投资损失', true, false],
F054N: ['递延所得税资产减少', true, false],
F055N: ['递延所得税负债增加', true, false],
F056N: ['存货的减少', true, false],
F057N: ['经营性应收项目的减少', true, false],
F058N: ['经营性应付项目的增加', true, false],
F059N: ['其他', true, false],
F060N: ['经营活动产生的现金流量净额2', true, false],
F062N: ['债务转为资本', true, false],
F063N: ['一年内到期的可转换公司债券', true, false],
F064N: ['融资租入固定资产', true, false],
F066N: ['现金的期末余额', true, false],
F067N: ['减:现金的期初余额', true, false],
F068N: ['加:现金等价物的期末余额', true, false],
F069N: ['减:现金等价物的期初余额', true, false],
F070N: ['加:其他原因对现金的影响2', true, false],
F071N: ['现金及现金等价物净增加额2', true, false],
F072N: ['客户存款和同业存放款项净增加额', true, false],
F073N: ['向中央银行借款净增加额', true, true],
F074N: ['向其他金融机构拆入资金净增加额', true, false],
F075N: ['收到原保险合同保费取得的现金', true, false],
F078N: ['收到再保险业务现金净额', true, false],
F079N: ['保户储金及投资款净增加额', true, false],
F080N: ['处置以公允价值计量且其变动计入当期损益的金融资产净增加额', true, false],
F081N: ['收取利息、手续费及佣金的现金', true, false],
F082N: ['拆入资金净增加额', true, false],
F083N: ['回购业务资金净增加额', true, false],
F084N: ['客户贷款及垫款净增加额', true, false],
F085N: ['存放中央银行和同业款项净增加额', true, false],
F086N: ['支付原保险合同赔付款项的现金', true, false],
F087N: ['支付利息、手续费及佣金的现金', true, false],
F088N: ['支付保单红利的现金', true, false],
F089N: ['其中:子公司吸收少数股东投资收到的现金', true, false],
F090N: ['其中:子公司支付给少数股东的股利、利润', true, false],
F091N: ['投资性房地产的折旧及摊销', true, false],
F005V: ['报表来源', false, false],
DECLAREDATE: ['公告日期', false, false]
}
},
financeAssetsSheet: function(){
return {
ENDDATE: ['截止日期', false, false],
F001D: ['报告年度', false, false],
F003V: ['合并类型', false, false],
F006N: ['存放同业款项', true, false],
F007N: ['货币资金', true, false],
F008N: ['其中:客户资金存款', true, false],
F009N: ['现金及存放中央银行款项', true, false],
F010N: ['结算备付金', true, false],
F011N: ['其中:客户备付金', true, false],
F012N: ['贵金属', true, false],
F013N: ['拆出资金', true, false],
F014N: ['交易性金融资产', true, false],
F015N: ['衍生金融资产', true, false],
F016N: ['买入返售金融资产', true, false],
F096N: ['应收款项', true, false],
F017N: ['应收利息', true, false],
F018N: ['应收保费', true, false],
F019N: ['应收代位追偿款', true, false],
F020N: ['应收分保帐款', true, false],
F021N: ['应收分保未到期责任准备金', true, false],
F022N: ['应收分保未决赔款准备金', true, false],
F023N: ['应收分保寿险责任准备金', true, false],
F024N: ['应收分保长期健康险责任准备金', true, false],
F025N: ['保户质押贷款', true, false],
F026N: ['定期存款', true, false],
F027N: ['发放贷款及垫款', true, false],
F028N: ['存出保证金', true, false],
F029N: ['代理业务资产', true, false],
F030N: ['应收款项类投资', true, false],
F031N: ['预付款项', true, false],
F032N: ['可供出售金融资产', true, false],
F033N: ['持有至到期投资', true, false],
F034N: ['长期股权投资', true, false],
F091N: ['贷款及应收款类金融资产', true, false],
F035N: ['存出资本保证金', true, false],
F036N: ['投资性房地产', true, false],
F037N: ['存货', true, false],
F038N: ['固定资产', true, false],
F039N: ['在建工程', true, false],
F040N: ['无形资产', true, false],
F041N: ['其中:交易席位费', true, false],
F101N: ['商誉', true, false],
F042N: ['长期待摊费用', true, false],
F043N: ['固定资产清理', true, false],
F044N: ['独立帐户资产', true, false],
F045N: ['递延所得税资产', true, false],
F046N: ['其他资产', true, false],
F047N: ['资产总计', true, false],
F048N: ['向中央银行借款', true, false],
F049N: ['同业及其他金融机构存放款项', true, false],
F050N: ['短期借款', true, false],
F051N: ['其中:质押借款', true, false],
F052N: ['拆入资金', true, false],
F053N: ['交易性金融负债', true, false],
F054N: ['衍生金融负债', true, false],
F055N: ['卖出回购金融资产款', true, false],
F056N: ['吸收存款', true, false],
F057N: ['代理买卖证券款', true, false],
F058N: ['代理承销证券款', true, false],
F059N: ['应付帐款', true, false],
F060N: ['应付票据', true, false],
F061N: ['预收款项', true, false],
F062N: ['预收保费', true, false],
F063N: ['应付手续费及佣金', true, false],
F064N: ['应付分保帐款', true, false],
F066N: ['应付职工薪酬', true, false],
F065N: ['应交税费', true, false],
F067N: ['应付利息', true, false],
F068N: ['代理业务负债', true, false],
F102N: ['应付短期融资款', true, false],
F103N: ['应付款项', true, false],
F069N: ['预计负债', true, false],
F070N: ['应付赔付款', true, false],
F071N: ['应付保单红利', true, false],
F072N: ['保户储金及投资款', true, false],
F073N: ['未到期责任准备金', true, false],
F074N: ['未决赔款准备金', true, false],
F075N: ['寿险责任准备金', true, false],
F076N: ['长期健康险责任准备金', true, false],
F077N: ['长期借款', true, false],
F078N: ['应付债券', true, false],
F095N: ['其中:优先股-负债', true, false],
F079N: ['独立帐户负债', true, false],
F080N: ['递延所得税负债', true, false],
F081N: ['其他负债', true, false],
F082N: ['负债合计', true, false],
F083N: ['实收资本(或股本)', true, false],
F097N: ['其他权益工具', true, false],
F098N: ['其中:优先股-权益', true, false],
F099N: ['永续债-权益', true, false],
F084N: ['资本公积', true, false],
F085N: ['减:库存股', true, false],
F100N: ['其他综合收益', true, false],
F086N: ['盈余公积', true, false],
F087N: ['一般风险准备', true, false],
F088N: ['未分配利润', true, false],
F090N: ['外币报表折算差额', true, false],
F094N: ['归属于母公司所有者权益', true, false],
F089N: ['少数股东权益', true, false],
F092N: ['所有者权益(或股东权益)合计', true, false],
F093N: ['负债和所有者权益(或股东权益)总计', true, false],
F005V: ['报表来源', false, false],
DECLAREDATE: ['公告日期', false, false]
}
},
financeProfitSheet: function(){
return {
STARTDATE: ['开始日期', false, false],
ENDDATE: ['截止日期', false, false],
F001D: ['报告年度', false, false],
F003V: ['合并类型', false, false],
F006N: ['一、营业收入', true, false],
F007N: ['利息净收入', true, false],
F008N: ['其中:利息收入', true, false],
F009N: ['其中:利息支出', true, false],
F010N: ['手续费及佣金净收入', true, false],
F011N: ['其中:手续费及佣金收入', true, false],
F012N: ['其中:手续费及佣金支出', true, false],
F013N: ['其中:代理买卖证券业务净收入', true, false],
F014N: ['其中:证券承销业务净收入', true, false],
F015N: ['其中:委托客户管理资产业务净收入', true, false],
F016N: ['已赚保费', true, false],
F017N: ['保险业务收入', true, false],
F018N: ['其中:分保费收入', true, false],
F019N: ['减:分出保费', true, false],
F020N: ['提取未到期责任准备金', true, false],
F021N: ['投资收益', true, false],
F022N: ['其中:对联营企业和合营企业的投资收益', true, false],
F023N: ['公允价值变动收益', true, false],
F024N: ['汇兑收益', true, false],
F025N: ['其他业务收入', true, false],
F026N: ['二、营业支出', true, false],
F027N: ['退保金', true, false],
F028N: ['赔付支出', true, false],
F029N: ['减:摊回赔付支出', true, false],
F030N: ['提取保险责任准备金', true, false],
F031N: ['减:摊回保险责任准备金', true, false],
F032N: ['保单红利支出', true, false],
F033N: ['分保费用', true, false],
F034N: ['营业税金及附加', true, false],
F035N: ['手续费及佣金支出2', true, false],
F036N: ['业务及管理费', true, false],
F037N: ['减:摊回分保费用', true, false],
F038N: ['资产减值损失', true, false],
F039N: ['其他业务成本', true, false],
F040N: ['三、营业利润', true, false],
F041N: ['加:补贴收入', true, false],
F042N: ['营业外收入', true, false],
F043N: ['减:营业外支出', true, false],
F044N: ['加:影响利润总额的其他科目', true, false],
F045N: ['四、利润总额', true, false],
F046N: ['减:所得税', true, false],
F047N: ['加:影响净利润的其他科目', true, false],
F048N: ['五、净利润', true, false],
F049N: ['(一)归属于母公司所有者的净利润', true, false],
F050N: ['(二)少数股东损益', true, false],
F052N: ['(一)基本每股收益', true, false],
F053N: ['(二)稀释每股收益', true, false],
F057N: ['七、其他综合收益', true, false],
F054N: ['八、综合收益总额', true, false],
F055N: ['其中:归属于母公司', true, false],
F056N: ['其中:归属于少数股东', true, false],
F062N: ['其它收益', true, false],
F005V: ['报表来源', false, false],
DECLAREDATE: ['公告日期', false, false]
}
},
financeCashSheet: function(){
return {
'STARTDATE': ['开始日期', false, false],
'ENDDATE': ['截止日期', false, false],
'F001D': ['报告年度', false, false],
'F005V': ['报表来源', false, false],
'F003V': ['合并类型', false, false],
'F066N': ['客户贷款及垫款净减少额', true, false],
'F007N': ['客户存款和同业存放款项净增加额', true, false],
'F008N': ['向中央银行借款净增加额', true, false],
'F067N': ['存放中央银行和同业款项净减少额', true, false],
'F009N': ['向其他金融机构拆入资金净增加额', true, false],
'F010N': ['收取利息、手续费及佣金的现金', true, false],
'F011N': ['处置交易性金融资产净增加额', true, false],
'F012N': ['拆入资金净增加额', true, false],
'F013N': ['回购业务资金净增加额', true, false],
'F014N': ['销售商品、提供劳务收到的现金', true, false],
'F015N': ['收到的税费返还', true, false],
'F016N': ['收到原保险合同保费取得的现金', true, false],
'F017N': ['收到再保业务现金净额', true, false],
'F018N': ['保户储金及投资款净增加额', true, false],
'F019N': ['收到其他与经营活动有关的现金', true, false],
'F020N': ['经营活动现金流入小计', true, false],
'F021N': ['客户贷款及垫款净增加额', true, false],
'F059N': ['客户存放及同业存放款项净减少额', true, false],
'F022N': ['存放中央银行和同业款项净增加额', true, false],
'F060N': ['向中央银行借款净减少额', true, false],
'F061N': ['向其他金融机构拆出资金净增加额', true, false],
'F064N': ['购入交易性金融资产净增加额', true, false],
'F065N': ['回购业务资金净减少额', true, false],
'F023N': ['支付利息、手续费及佣金的现金', true, false],
'F024N': ['购买商品、提供劳务支付的现金', true, false],
'F062N': ['支付再保业务现金净额', true, false],
'F063N': ['保户储金及投资款净减少额', true, false],
'F025N': ['支付原保险合同赔付款项的现金', true, false],
'F026N': ['支付保单红利的现金', true, false],
'F027N': ['支付给职工以及为职工支付的现金', true, false],
'F028N': ['支付的各项税费', true, false],
'F029N': ['支付其他与经营活动有关的现金', true, false],
'F030N': ['经营活动现金流出小计', true, false],
'F031N': ['经营活动产生的现金流量净额', true, false],
'F033N': ['收回投资收到的现金', true, false],
'F034N': ['取得投资收益收到的现金', true, false],
'F035N': ['收到其他与投资活动有关的现金', true, false],
'F068N': ['处置固定资产、无形资产和其他长期资产所收回的现金', true, false],
'F036N': ['投资活动现金流入小计', true, false],
'F037N': ['投资支付的现金', true, false],
'F038N': ['质押贷款净增加额', true, false],
'F039N': ['购建固定资产、无形资产和其他长期资产支付的现金', true, false],
'F040N': ['支付其他与投资活动有关的现金', true, false],
'F041N': ['投资活动现金流出小计', true, false],
'F042N': ['投资活动产生的现金流量净额', true, false],
'F044N': ['吸收投资收到的现金', true, false],
'F045N': ['发行债券收到的现金', true, false],
'F046N': ['取得借款收到的现金', true, false],
'F047N': ['收到其他与筹资活动有关的现金', true, false],
'F048N': ['筹资活动现金流入小计', true, false],
'F049N': ['偿还债务支付的现金', true, false],
'F050N': ['分配股利、利润或偿付利息支付的现金', true, false],
'F051N': ['支付其他与筹资活动有关的现金', true, false],
'F052N': ['筹资活动现金流出小计', true, false],
'F053N': ['筹资活动产生的现金流量净额', true, false],
'F054N': ['四、汇率变动对现金的影响', true, false],
'F055N': ['四(2)、其他原因对现金的影响', true, false],
'F056N': ['五、现金及现金等价物净增加额', true, false],
'F057N': ['期初现金及现金等价物余额', true, false],
'F058N': ['期末现金及现金等价物余额', true, false],
'F071N': ['净利润', true, false],
'F072N': ['加:资产减值准备', true, false],
'F073N': ['固定资产折旧、油气资产折耗、生产性生物资产折旧', true, false],
'F074N': ['无形资产摊销', true, false],
'F075N': ['长期待摊费用摊销', true, false],
'F076N': ['处置固定资产、无形资产和其他长期资产的损失', true, false],
'F077N': ['固定资产报废损失', true, false],
'F078N': ['公允价值变动损失', true, false],
'F079N': ['财务费用', true, false],
'F080N': ['投资损失', true, false],
'F081N': ['递延所得税资产减少', true, false],
'F082N': ['递延所得税负债增加', true, false],
'F083N': ['存货的减少', true, false],
'F084N': ['经营性应收项目的减少', true, false],
'F085N': ['经营性应付项目的增加', true, false],
'F086N': ['其他', true, false],
'F087N': ['经营活动产生的现金流量净额2', true, false],
'F089N': ['债务转为资本', true, false],
'F090N': ['一年内到期的可转换公司债券', true, false],
'F091N': ['融资租入固定资产', true, false],
'F092N': ['3、现金及现金等价物净变动情况:', true, false],
'F093N': ['现金的期末余额', true, false],
'F094N': ['减:现金的期初余额', true, false],
'F095N': ['加:现金等价物的期末余额', true, false],
'F096N': ['减:现金等价物的期初余额', true, false],
'F097N': ['加:其他原因对现金的影响2', true, false],
'F098N': ['现金及现金等价物净增加额', true, false],
'F099N': ['投资性房地产的折旧及摊销', true, false],
'DECLAREDATE': ['公告日期', false, false]
}
},
everyStockIndex: function(){
return {
'STARTDATE': ['开始日期', false, false],
'ENDDATE': ['截止日期', false, false],
'F069D': ['报告年度', false, false],
'F003V': ['合并类型', false, false],
'F003N': ['每股收益', true, false],
'F004N': ['基本每股收益', true, false],
'F005N': ['稀释每股收益', true, false],
'F006N': ['扣除非经常性损益每股收益', true, false],
'F007N': ['每股未分配利润', true, false],
'F008N': ['每股净资产', true, false],
'F009N': ['调整后每股净资产', true, false],
'F010N': ['每股资本公积金', true, false]
}
},
profitAbility: function(){
return {
'STARTDATE': ['开始日期', false, false],
'ENDDATE': ['截止日期', false, false],
'F069D': ['报告年度', false, false],
'F003V': ['合并类型', false, false],
'F011N': ['营业利润率', true, false],
'F012N': ['营业税金率', true, false],
'F013N': ['营业成本率', true, false],
'F014N': ['净资产收益率', true, false],
'F015N': ['投资收益率', true, false],
'F016N': ['总资产报酬率', true, false],
'F017N': ['净利润率', true, false],
'F018N': ['管理费用率', true, false],
'F019N': ['财务费用率', true, false],
'F020N': ['成本费用利润率', true, false],
'F021N': ['三费比重', true, false]
}
},
operateAbility: function(){
return {
'STARTDATE': ['开始日期', false, false],
'ENDDATE': ['截止日期', false, false],
'F069D': ['报告年度', false, false],
'F003V': ['合并类型', false, false],
'F022N': ['应收账款周转率', true, false],
'F023N': ['存货周转率', true, false],
'F024N': ['运营资金周转率', true, false],
'F025N': ['总资产周转率', true, false],
'F026N': ['固定资产周转率', true, false],
'F027N': ['应收账款周转天数', true, false],
'F028N': ['存货周转天数', true, false],
'F029N': ['流动资产周转率', true, false],
'F030N': ['流动资产周转天数', true, false],
'F031N': ['总资产周转天数', true, false],
'F032N': ['股东权益周转率', true, false]
}
},
assetsStructure: function(){
return {
'STARTDATE': ['开始日期', false, false],
'ENDDATE': ['截止日期', false, false],
'F069D': ['报告年度', false, false],
'F003V': ['合并类型', false, false],
'F033N': ['流动资产比率', true, false],
'F034N': ['货币资金比率', true, false],
'F035N': ['交易性金融资产比率', true, false],
'F036N': ['存货比率', true, false],
'F037N': ['固定资产比率', true, false],
'F038N': ['负债结构比', true, false],
'F039N': ['产权比率', true, false],
'F040N': ['净资产比率', true, false],
'F041N': ['资产负债比率', true, false]
}
},
debtPayingAbility: function(){
return {
'STARTDATE': ['开始日期', false, false],
'ENDDATE': ['截止日期', false, false],
'F069D': ['报告年度', false, false],
'F003V': ['合并类型', false, false],
'F042N': ['流动比率', true, false],
'F043N': ['速动比率', true, false],
'F044N': ['现金比率', true, false],
'F045N': ['利息保障倍数', true, false],
'F046N': ['营运资金', true, false],
'F047N': ['非流动负债比率', true, false],
'F048N': ['流动负债比率', true, false],
'F049N': ['保守速动比率', true, false],
'F050N': ['现金到期债务比率', true, false],
'F051N': ['有形资产净值债务率', true, false]
}
},
growthAbility: function(){
return {
'STARTDATE': ['开始日期', false, false],
'ENDDATE': ['截止日期', false, false],
'F069D': ['报告年度', false, false],
'F003V': ['合并类型', false, false],
'F052N': ['营业收入增长率', true, false],
'F053N': ['净利润增长率', true, false],
'F054N': ['净资产增长率', true, false],
'F055N': ['固定资产增长率', true, false],
'F056N': ['总资产增长率', true, false],
'F057N': ['投资收益增长率', true, false],
'F058N': ['营业利润增长率', true, false]
}
},
cashFlow: function(){
return {
'STARTDATE': ['开始日期', false, false],
'ENDDATE': ['截止日期', false, false],
'F069D': ['报告年度', false, false],
'F003V': ['合并类型', false, false],
'F059N': ['每股现金流量', true, false],
'F060N': ['每股经营现金流量', true, false],
'F061N': ['经营净现金比率(短期债务)', true, false],
'F062N': ['经营净现金比率(全部债务)', true, false],
'F063N': ['经营活动现金净流量与净利润比率', true, false],
'F064N': ['营业收入现金含量', true, false],
'F065N': ['全部资产现金回收率', true, false]
}
},
profitQuality: function(){
return {
'STARTDATE': ['开始日期', false, false],
'ENDDATE': ['截止日期', false, false],
'F069D': ['报告年度', false, false],
'F003V': ['合并类型', false, false],
'F066N': ['净资产收益率(扣除非经常性损益)', true, false],
'F067N': ['净资产收益率-加权', true, false],
'F068N': ['净资产收益率-加权(扣除非经常性损益)', true, false],
'F076N': ['扣除非经常性损益后的净利润', true, false],
'F077N': ['非经常性损益合计', true, false],
'F078N': ['毛利率', true, false],
'F079N': ['期间费用率', true, false],
'F080N': ['现金转换周期', true, false],
'F082N': ['净利含金量', true, false],
'F083N': ['非经常性损益占比', true, false],
'F084N': ['期间费用增长率', true, false],
'F085N': ['基本获利能力', true, false],
'F086N': ['应收账款占比', true, false],
'F087N': ['存货占比', true, false],
'F088N': ['年化期间费用毛利比', true, false]
}
},
dividendInfo: function(){
return {
'F001D': ['分红年度', false, false],
'F002D': ['董事会预案公告日期', false, false],
'F003V': ['董事会预案分红说明', false, false],
'F004D': ['股东大会预案公告日期', false, false],
'F005V': ['股东大会预案分红说明', false, false],
'F006D': ['实施方案公告日期', false, false],
'F007V': ['实施方案分红说明', false, false],
'F008N': ['分配股本基数(实施)', false, false],
'F009D': ['股本基准年度', false, false],
'F010N': ['送股比例', false, false],
'F011N': ['转增比例', false, false],
'F012N': ['派息比例(人民币)', false, false],
'F013N': ['派息比例(美元)', false, false],
'F014N': ['派息比例(港币)', false, false],
'F015N': ['送股数量', false, false],
'F016N': ['转增数量', false, false],
'F017N': ['派息金额(人民币)', false, false],
'F018D': ['A股股权登记日', false, false],
'F019D': ['B股股权登记日', false, false],
'F020D': ['A股除权日', false, false],
'F021D': ['B股除权基准日', false, false],
'F022D': ['B股最后交易日', false, false],
'F023D': ['派息日(A)', false, false],
'F024D': ['派息日(B)', false, false],
'F025D': ['A股送红股到帐日', false, false],
'F026D': ['A股新增股份上市日', false, false],
'F027D': ['B股新增股份上市日', false, false],
'F028N': ['送转前总股本', false, false],
'F029N': ['送转后总股本', false, false],
'F030N': ['送转前流通股本', false, false],
'F031N': ['送转后流通股本', false, false],
'F033N': ['分配股本基数(董)', false, false],
'F034N': ['分配股本基数(股)', false, false],
'F036V': ['方案进度', false, false],
'F037D': ['取消分红公告日期', false, false],
'F038D': ['A股转赠股份到帐日', false, false],
'F039D': ['B股转赠股份到帐日', false, false],
'F040D': ['B股送红股到帐日', false, false],
'F041N': ['汇率', false, false]
}
},
historyDividend: function(){
return {
F001D: '分红年度',
F017N: '派息金额(人民币)',
extra: '归属于母公司股东的净利润',
F012N: '派息比例',
FF001: '派息比例(%)(计算)'
}
},
ipo: function(){
return {
'F003N': ['总发行数量', false, false],
'F004N': ['公开发行数量', false, false],
'F007N': ['每股面值', false, false],
'F008N': ['发行价格(人民币)', false, false],
'F009N': ['发行价格(外币)', false, false],
'F011V': ['外币币种', false, false],
'F012N': ['加权发行市盈率', false, false],
'F013N': ['摊薄发行市盈率', false, false],
'F014N': ['发行前每股净资产', false, false],
'F015N': ['发行后每股净资产', false, false],
'F016V': ['发行定价方式', false, false],
'F017N': ['询价上限', false, false],
'F018N': ['询价下限', false, false],
'F019V': ['发行对象', false, false],
'F021V': ['发行方式', false, false],
'F023V': ['承销方式', false, false],
'SORTNAME': ['发行地区', false, false],
'F024V': ['主要发起人', false, false],
'F025V': ['分配承诺', false, false],
'F026N': ['预计募集资金', false, false],
'F027N': ['实际募资总额', false, false],
'F028N': ['实际募资净额(人民币)', false, false],
'F029N': ['实际募资净额(外币)', false, false],
'F030N': ['发行费用总额', false, false],
'F031N': ['承销费用', false, false],
'F032N': ['每股发行费用', false, false],
'F034D': ['招股公告日期', false, false],
'F075D': ['市值计算日', false, false],
'F035D': ['上网发行日期', false, false],
'F036D': ['二级市场配售日期', false, false],
'F071D': ['网下配售起始日', false, false],
'F076D': ['网下配售截止日', false, false],
'F037D': ['其他发行日期', false, false],
'F038V': ['申购代码1', false, false],
'F039V': ['申购简称1', false, false],
'F040V': ['申购代码2', false, false],
'F041V': ['申购简称2', false, false],
'F042N': ['网上申购上限', false, false],
'F043N': ['上网发行数量', false, false],
'F044N': ['二级市场配售数量', false, false],
'F045N': ['网下配售数量', false, false],
'F046N': ['回拨数量', false, false],
'F048V': ['回拨方式', false, false],
'F049N': ['承销余额', false, false],
'F050N': ['上网发行中签率', false, false],
'F051N': ['二级市场配售发行中签率', false, false],
'F052N': ['网下配售中签率', false, false],
'F053N': ['超额认购倍数', false, false],
'F054N': ['网上有效申购股数', false, false],
'F055N': ['网上有效申购户数', false, false],
'F056N': ['网上有效申购资金', false, false],
'F057N': ['二级配售有效申购股数', false, false],
'F058N': ['二级配售有效申购户数', false, false],
'F059N': ['二级配售有效申购资金', false, false],
'F077N': ['网下有效申购股数', false, false],
'F078N': ['网下有效申购户数', false, false],
'F079N': ['网下有效申购资金', false, false],
'F063N': ['一般法人有效申购股数', false, false],
'F064N': ['一般法人获配数量', false, false],
'F065N': ['一般法人获配户数', false, false],
'F060N': ['战略投资者有效申购股数', false, false],
'F061N': ['战略投资者获配数量', false, false],
'F062N': ['战略投资者获配户数', false, false],
'F066N': ['证券基金有效申购数量', false, false],
'F067N': ['证券基金获配数量', false, false],
'F068N': ['证券基金获配户数', false, false],
'F069D': ['上市公告日期', false, false],
'F070D': ['资金到帐日', false, false],
'F081N': ['战略投资者锁定期', false, false],
'F082C': ['是否累计询价', false, false],
'F083D': ['现场推介起始日', false, false],
'F084D': ['现场推介截止日', false, false],
'F085D': ['网上路演起始日', false, false],
'F086V': ['申购价格范围', false, false],
'F087D': ['初步询价开始日期', false, false],
'F088D': ['初步询价截止日期', false, false],
'F089D': ['发行价格区间公告日期', false, false],
'F090D': ['网下冻结资金返还日期', false, false],
'F091D': ['网上冻结资金返还日期', false, false],
'F092D': ['定价公告日期', false, false],
'F093N': ['网下投资者锁定期', false, false],
'F094N': ['预计发行股数', false, false],
'F095N': ['网上预设发行数量比例', false, false],
'F096N': ['网下预设发行数量比例', false, false],
'F097N': ['网上申购下限', false, false],
'F098N': ['网下申购上限', false, false],
'F099N': ['网下申购下限', false, false],
'F100N': ['网下申购单位', false, false],
'F101N': ['网上申购单位', false, false],
'F102D': ['网下申购截止日', false, false],
'F104N': ['网上预设发行数量', false, false],
'F105N': ['网下预设发行数量', false, false],
'F106N': ['网下超额认购倍数', false, false],
'F107N': ['战略投资者发行量比例', false, false],
'F108D': ['摇号结果公告日', false, false],
'F109D': ['中签率公告日', false, false],
'F110C': ['是否行使超额配售权', false, false],
'F111N': ['超额配售数量', false, false],
'F112N': ['初步询价超额认购倍数', false, false],
'F113N': ['预计新增发行数量上限', false, false],
'F114N': ['预计老股东转让数量上限', false, false],
'F115N': ['预计战略配售数量上限', false, false],
'F116N': ['战略投资者配售数量', false, false],
'F117N': ['老股东转让数量', false, false],
'F119N': ['老股东转让发行费用', false, false],
'F121N': ['网下申购剔除比例', false, false],
'F122N': ['网下申购剔除价格下限', false, false],
'F123V': ['IPO阶段进展状态', false, false]
}
},
secondaryOffering: function(){
return [
{
'DECLAREDATE': ['公告日期', false, false],
'SORTNAME': ['股票类别', false, false],
'F003N': ['每股面值', false, false],
'F004N': ['发行规模', false, false],
'F005V': ['发行对象', false, false],
'F006V': ['发行定价方式', false, false],
'F009N': ['预计募资金额(万元)', false, false],
'F010V': ['预计募资投向', false, false],
'F012V': ['方案进度', false, false],
'F013D': ['股东决议公告日期', false, false],
'F014D': ['增发获准公告日期', false, false],
'F015V': ['变更说明', false, false],
'F016N': ['发行价格', false, false],
'F017V': ['发行方式', false, false],
'F018D': ['股东决议有效期截止日', false, false],
'F019V': ['方案状态', false, false],
'F020D': ['终止公告日期', false, false]
},
{
'DECLAREDATE': ['公告日期', false, false],
'SORTNAME': ['股票类别', false, false],
'F004N': ['总发行数量(万股)', false, false],
'F005N': ['公开发行数量(万股)', false, false],
'F008N': ['每股面值', false, false],
'F009N': ['发行价格(人民币,元)', false, false],
'F010N': ['发行价格(外币,元)', false, false],
'F011V': ['币种', false, false],
'F013N': ['竞价上限(元)', false, false],
'F014N': ['竞价下限(元)', false, false],
'F015V': ['发行定价方式', false, false],
'F016V': ['老股东配售方式', false, false],
'F017N': ['老股东配售价格(元)', false, false],
'F018N': ['老股东配售比例(股)', false, false],
'F019N': ['加权发行市盈率', false, false],
'F020N': ['摊薄发行市盈率', false, false],
'F021N': ['发行前每股净资产(元)', false, false],
'F022N': ['发行后每股净资产(元)', false, false],
'F023N': ['预计募资金额(万元)', false, false],
'F024N': ['实际募资总额(万元)', false, false],
'F120N': ['其中现金', false, false],
'F025N': ['实际募资净额(人民币,万元)', false, false],
'F026N': ['实际募资净额(外币,万元)', false, false],
'F027N': ['发行费用总额(万元)', false, false],
'F028N': ['承销费用(万元)', false, false],
'F029N': ['每股发行费用(元)', false, false],
'SORTNAME': ['发行地区', false, false],
'F030V': ['发行对象', false, false],
'F021V': ['发行方式', false, false],
'F022V': ['承销方式', false, false],
'F035V': ['分配承诺', false, false],
'F036C': ['是否除权', false, false],
'F037D': ['股权登记日', false, false],
'F038D': ['除权日', false, false],
'F041N': ['发行前总股本(万股)', false, false],
'F042N': ['发行后总股本(万股)', false, false],
'F079N': ['发行前流通股本(万股)', false, false],
'F080N': ['发行后流通股本(万股)', false, false],
'F043D': ['网上发行日期', false, false],
'F044D': ['网下询价配售开始日', false, false],
'F084D': ['网下询价配售结束日', false, false],
'F045D': ['其他发行日期', false, false],
'F046N': ['网上申购上限(万股)', false, false],
'F047V': ['申购代码1', false, false],
'F048V': ['申购简称1', false, false],
'F049V': ['申购代码2', false, false],
'F050V': ['申购简称2', false, false],
'F051N': ['网上发行中签率', false, false],
'F052N': ['网下发行中签率', false, false],
'F053N': ['起额认购倍数', false, false],
'F057N': ['网上发行数量(万股)', false, false],
'F058N': ['老股东配售数量(万股)', false, false],
'F059N': ['网下配售数量(万股)', false, false],
'F060N': ['承销余额(万股)', false, false],
'F061N': ['回拨数量(万股)', false, false],
'F047V': ['回拨方式编码', false, false],
'F048V': ['回拨方式', false, false],
'F054N': ['网上有效申购股数(亿股)', false, false],
'F055N': ['网上有效申购资金(亿元)', false, false],
'F056N': ['网上有效申购户数(户)', false, false],
'F064N': ['老股东有效申购股数(亿股)', false, false],
'F065N': ['老股东有效申购户数(户)', false, false],
'F066N': ['老股东有效申购资金(亿元)', false, false],
'F067N': ['网下有效申购户数(户)', false, false],
'F069N': ['网下有效申购股数(亿股)', false, false],
'F085N': ['网下有效申购资金(亿元)', false, false],
'F068N': ['一般法人申购数量(万股)', false, false],
'F070N': ['一般法人配售数量(万股)', false, false],
'F071N': ['一般法人配售户数(户)', false, false],
'F086N': ['证券基金申购数量(万股)', false, false],
'F072N': ['证券基金配售数量(万股)', false, false],
'F073N': ['证券基金配售户数(户)', false, false],
'F087N': ['战略投资者申购数量(万股)', false, false],
'F074N': ['战略投资者配售数量(万股)', false, false],
'F075N': ['战略投资者配售户数(户)', false, false],
'F076D': ['上市公告日期', false, false],
'F077D': ['增发股上市日', false, false],
'F078D': ['资金到帐日', false, false],
'F090N': ['预计发行股数(万股)', false, false],
'F091N': ['网上预设发行数量比例(%)', false, false],
'F092N': ['网下预设发行数量比例(%)', false, false],
'F093D': ['网上路演起始日', false, false],
'F094V': ['招股意向书网址', false, false],
'F095D': ['原股东优先申购日', false, false],
'F096N': ['原股东最多认购数占发行数比例(%)', false, false],
'F097N': ['网下申购数量下限(股)', false, false],
'F099N': ['网下申购定金(%)', false, false],
'F100N': ['A 类投资者网下申购中签比例(%)', false, false],
'F101N': ['B 类投资者网下申购中签比例(%)', false, false],
'F102N': ['A类投资者网下申购单位(万股)', false, false],
'F118N': ['B类投资者网下申购单位(万股)', false, false],
'F103N': ['网下申购数量上限(万股)', false, false],
'F104N': ['A类投资者认购下限(万股)', false, false],
'F105N': ['B类投资者认购下限(万股)', false, false],
'F106N': ['A类锁定期(月)', false, false],
'F108D': ['网下资金退缴日', false, false],
'F109N': ['网上申购数量下限(股)', false, false],
'F110N': ['网上申购单位(股)', false, false],
'F111D': ['网上资金退款日', false, false],
'F112D': ['网上中签结果公告日', false, false],
'F113N': ['本次上市的无流通限制及锁定安排的股份(万股)', false, false],
'F114N': ['发行后每股收益(元)', false, false],
'F116D': ['停牌截止日期', false, false],
'F117D': ['停牌起始日期', false, false],
'F119D': ['网下中签率公布及退款日', false, false],
'F122D': ['网下申购定金到帐日', false, false]
}
]
},
rightsIssue: function(){
return [
{
'DECLAREDATE': ['公告日期', false, false],
'SORTNAME': ['股票类别', false, false],
'F003V': ['董事会预案内容', false, false],
'F004V': ['股东大会预案内容', false, false],
'F005N': ['配股比例(董)', false, false],
'F006N': ['配股比例(股)', false, false],
'F007N': ['每股面值', false, false],
'F008N': ['配股基准股本', false, false],
'F009D': ['股本基准年度', false, false],
'F010N': ['预计配股价格上限', false, false],
'F011N': ['预计配股价格下限', false, false],
'F012V': ['配股价格确定方式', false, false],
'F013N': ['预计配股数量', false, false],
'F014N': ['预计募集资金', false, false],
'F015V': ['预计募资投向', false, false],
'F017V': ['方案进度', false, false],
'F018D': ['股东决议公告日期', false, false],
'F019D': ['配股获准公告日期', false, false],
'F020V': ['变更说明', false, false]
},
{
'DECLAREDATE': ['公告日期', false, false],
'SORTNAME': ['股票类别', false, false],
'F004N': ['配股比例', false, false],
'F005N': ['配股价格', false, false],
'F006N': ['预计配股数量', false, false],
'F007N': ['预计募集资金', false, false],
'F008N': ['预计发行费用', false, false],
'F022V': ['承销方式', false, false],
'F011D': ['股权登记日', false, false],
'F012D': ['除权基准日', false, false],
'F013D': ['配股缴款起始日', false, false],
'F014D': ['配股缴款截止日', false, false],
'F017N': ['实际配股数量', false, false],
'F018N': ['承销余额', false, false],
'F019N': ['实际募资总额', false, false],
'F020N': ['实际募资净额', false, false],
'F021N': ['发行费用总额', false, false],
'F022N': ['承销费用', false, false],
'F023D': ['资金到账日', false, false],
'F024N': ['配股前总股本', false, false],
'F025N': ['配股后总股本', false, false],
'F041N': ['配股前流通股本', false, false],
'F042N': ['配股后流通股本', false, false],
'F043N': ['国家股实配数量', false, false],
'F044N': ['法人股实配数量', false, false],
'F045N': ['职工股实配数量', false, false],
'F046N': ['转配股实配数量', false, false],
'F047N': ['其他股份实配数量', false, false],
'F026N': ['公众股实配数量', false, false],
'F027N': ['大股东认购数量', false, false],
'F028V': ['大股东认购方式', false, false],
'F029N': ['可转配股数量', false, false],
'F030N': ['法人获转配数量', false, false],
'F031N': ['公众获转配数量', false, false],
'F032N': ['每股配权转让费', false, false],
'F034V': ['公众配售简称', false, false],
'F036V': ['其他配售简称', false, false],
'F037D': ['上市公告日期', false, false],
'F038D': ['配股上市日', false, false],
'F039D': ['配股权证交易起始日', false, false],
'F040D': ['配股权证交易截止日', false, false],
'F048D': ['配股失败,退还申购款日期', false, false],
'F049D': ['停牌起始日', false, false],
'F053D': ['停牌截止日', false, false],
'F050V': ['配售对象', false, false],
'F021V': ['发行方式', false, false],
'F052D': ['配股发行结果公告日', false, false],
'F055N': ['委托单位', false, false]
}
]
},
intermediary: function(){
return {
'F001D': '发行起始日',
'F003V': '发行类别',
'F005V': '中介机构类别',
'F007V': '中介机构名称',
'F008N': '承销数量(万股)',
'F009N': '承销比例(%)',
'F010D': '变更日期'
}
},
investmentPlan: function(){
return {
'DECLAREDATE': ['发行配股开始日', false, false],
'F001N': ['项目序号', false, false],
'F002V': ['项目名称', false, false],
'F004V': ['项目性质', false, false],
'F006V': ['项目类别', false, false],
'F008V': ['项目状态', false, false],
'F009N': ['计划投资金额(万元)', true, false],
'F010N': ['计划投入募集资金(万元)', true, false],
'F011N': ['预计年新增销售收入(万元)', true, false],
'F012N': ['预计年新增净利润(万元)', true, false],
'F013N': ['预计投资年利润率(%)', false, false],
'F014N': ['项目建设年限', false, false],
'F015N': ['项目回收年限', false, false],
'F016V': ['项目简介', false, false],
'SORTNAME': ['投资省份', false, false],
'F020V': ['投资行业', false, false],
'F021D': ['变更公告日期', false, false],
'F022V': ['变更情况说明', false, false]
}
},
totalInvestment: function(){
return {
'DECLAREDATE': '公告日期',
'F003V': '发行类别',
'F003N': '实际募集资金净额',
'F004D': '发行起始日',
'F005V': '证券名称',
'SORTNAME': '证券类别'
}
},
seniorHolderChange: function(){
return {
'ENDDATE': ['截止日期', false, false],
'DECLAREDATE': ['公告日期', false, false],
'HUMANNAME': ['变动人', false, false],
'F001V': ['董监高姓名', false, false],
'F002V': ['董监高职务', false, false],
'F003V': ['变动人与董监高关系', false, false],
'F004N': ['期初持股数量(股)', false, false],
'F005N': ['期末持股数量(股)', false, false],
'F006N': ['变动数量(股)', false, false],
'F007N': ['变动比例(‰)', false, false],
'F008N': ['成交均价(元)', false, false],
'F009N': ['期末市值(万元)', false, false],
'F010V': ['持股变动原因', false, false]
}
},
holdersMeeting: function(){
return {
'DECLAREDATE': '公告日期',
'F001D': '会议召开日期',
'F003V': '股东大会类别',
'F006V': '会议召开地点'
}
},
importantHolderChange: function(){
return {
'DECLAREDATE': ['公告日期', false, false],
'varydate': ['增(减)持截止日', false, false],
'F001C': ['增(减)持类型', false, false],
'F002V': ['股东名称', false, false],
'F004N': ['变动数量', false, false],
'F005N': ['变动数量占总股本比例', false, false],
'F006N': ['变动后占比', false, false],
'F007V': ['增(减)持价格上限', false, false]
}
},
stockUnlimit: function(){
return [
{
'DECLAREDATE': '公告日期',
'F001V': '股东名称',
'F003D': '实际解除限售日',
'F004N': '实际解除限售数量',
'F005N': '实际解除限售比例',
'F006V': '限售原因',
'F008N': '实际可流通数量'
},
{
'F002D': '预计解除限售日期',
'DECLAREDATE': '公告日期',
'F003N': '预计解除限售数量',
'F001V': '股东名称',
'F006V': '限售原因',
'F006N': '序号'
}
]
},
preDisclosureTime: function(){
return {
'F001D': '报告期',
'F002D': '预约披露日期',
'F003D': '变更日1',
'F004D': '变更日2',
'F005D': '变更日3',
'F006D': '实际批露日期'
}
},
performanceForecast: function(){
return {
'DECLAREDATE': ['公告日期', false, false],
'F001D': ['报告年度', false, false],
'F003V': ['业绩类型', false, false],
'F004V': ['业绩预告内容', false, false],
'F005V': ['业绩变化原因', false, false],
'F006C': ['报告期最新记录标识', false, false],
'F007N': ['本期净利润下限', false, false],
'F008N': ['本期净利润上限', false, false],
'F009N': ['本期净利润增减幅下限', false, false],
'F010N': ['本期净利润增减幅上限', false, false]
}
},
auditOpinions: function(){
return {
DECLAREDATE: ['公告日期', false, false],
F001D: ['报告年度', false, false],
F002C: ['是否经审计', false, false],
F003V: ['境内会计师事务所ID', false, false],
F004V: ['境内会计师事务所名称', false, false],
F005V: ['境内会计师事务所签名注册会计师', false, false],
F006V: ['境内会计师事务所审计意见类型编码', false, false],
F007V: ['境内会计师事务所审计意见类型', false, false],
F008V: ['非标准审计意见的事项内容', false, false],
F009V: ['境外会计师事务所ID', false, false],
F010V: ['境外会计师事务所名称', false, false],
F011V: ['境外会计师事务所签名注册会计师', false, false],
FF012V: ['境外审计报告会计师事务所审计意见类型编码', false, false],
FF013V: ['境外审计报告会计师事务所审计意见类型', false, false],
F014V: ['境外审计意见非标准的事项说明', false, false],
F015V: ['董事会对会计师事务所出具的有保留意见书、解释说明', false, false],
F016V: ['监事会对董事会就上述事项的说明所表示的意见', false, false]
}
},
performanceShortReport: function(){
return {
DECLAREDATE: ['公告日期', false, false],
STARTDATE: ['开始日期', false, false],
ENDDATE: ['截止日期', false, false],
F005V: ['报表来源', false, false],
F003N: ['净利润', false, false],
F004N: ['总资产', false, false],
F005N: ['股东权益(不含少数股东权益)', false, false],
F006N: ['每股收益', false, false],
F007N: ['净资产收益率', false, false],
F008N: ['净资产收益率-加权', false, false],
F009N: ['每股净资产', false, false]
}
}
}
......@@ -52,7 +52,7 @@
</div>
<div class="index-tab tab" style="min-width: 38px; flex: none">
<div class="icon-bg" @click="reloadActivePage">
<span class="iconfont" style="font-size: 12px;line-height: 16px">&#xe63a;</span>
<span class="iconfont" style="font-size: 12px;line-height: 20px">&#xe63a;</span>
</div>
</div>
<div class="tab-container">
......@@ -131,10 +131,10 @@
const ipcRenderer = require('electron').ipcRenderer
const { app } = require('electron').remote
const path = app.getAppPath()
const env = require(path + '/config/url').env
const env = require(path + '/build_config/url').env
const Datastore = require('nedb')
const { BrowserWindow } = require('electron').remote
const loadUrl = eval(require(path + '/config/url').loadUrl)
const loadUrl = require(path + '/build_config/url').loadUrl
new Vue({
el: '#index',
......
......@@ -91,9 +91,9 @@
disable: false,
title: "股市行情",
detail: '',
id: 'stockList',
id: 'stockMarket',
name: '全部A股',
path: './stockList.html',
path: '../../main_views/stockMarket/stockMarket.html',
useful: 1
},
{
......
const { app } = require('electron').remote
const path = app.getAppPath()
const init = require(path + '/src/assist/loadVue.js')
var value = init(__filename, __dirname)
console.log(__filename)
console.log(__dirname)
console.log(value)
//以上代码引入vue、css等,初始化
const { ipcRenderer } = require('electron')
const { historyListPrice } = require(path + '/src/assist/dictionary.js')
module.exports[value.name] = {
data: function () {
return {
selectType: '1',
inputCompany: '',
inputSearch: '',
reportType: '2',
conditionWidth: '196px',
showCondition: true,
tableData: [],
defaultProps: {
children: 'children',
label: 'label'
},
total: 0,
psize: 50,
currentPage: 1,
companyList: [],
selectLoading: false,
inputCode: [],
whereOr: [],
whereOrArrayAnd: [],
showTable: false,
industryData: [],
positionData: [],
industryCompany: [],
// 新的数据
historyPrice: historyListPrice(),
choosedDate: '2019-01-21',
sort: [{
'FieldName': 'TRADEDATE',
'State': 2
}],
tabTitle: ['行业', '地域'],
isShowTab: 0,
moveLeft: '0',
moveWidth: '0'
}
},
template: value.template,
computed: {
current() {
return (this.currentPage - 1) * this.psize
}
},
mounted() {
this.getIndustryData()
this.getPositionData()
// 新的请求
this.getStockList()
this.$nextTick(
function () {
this.changeTabs(0)
}
)
},
methods: {
changeTabs(index) {
this.isShowTab = index
var length = this.tabTitle[index].length * 13
var tab = document.getElementById('tab' + index).offsetLeft
var width = document.getElementById('tab' + index).offsetWidth
var move = (width - length) / 2
this.moveWidth = length + 'px'
this.moveLeft = tab + move + 'px'
},
goToCompanyIndex(name, code) {
// 前往公司Kline
var params = {
id: 'kilne' + code,
name: name + 'k线图',
src: './kline.html?id=' + code + '&name=' + name
}
ipcRenderer.send('openPage', params)
},
hideSearch() {
this.conditionWidth = '16px'
this.showCondition = false
},
showSearch() {
this.conditionWidth = '196px'
this.showCondition = true
},
handleColor(e) {
if (e.column.property === 'F010N' && e.row.F010N > 0) {
return 'color: red'
} else if (e.column.property === 'F010N' && e.row.F010N < 0) {
return 'color: green'
}
if (e.column.property === 'SECNAME') {
return 'text-decoration: underline; cursor: pointer'
}
},
changeSort(e) {
if (e.order === null) {
this.sort = [{
'FieldName': 'TRADEDATE',
'State': 2
}]
} else if (e.order === 'ascending') {
this.sort = [{
'FieldName': 'TRADEDATE',
'State': 2
}, {
'FieldName': 'F010N',
'State': 1
}]
} else if (e.order === 'descending') {
this.sort = [{
'FieldName': 'TRADEDATE',
'State': 2
}, {
'FieldName': 'F010N',
'State': 2
}]
}
this.getStockList()
},
//处理whereOr
handleArray(array, fieldName, newFieldName) {
var newArray = []
array.map((item) => {
var newObj = item
newObj[fieldName] = newFieldName + '.' + newObj[fieldName].split('.')[0]
newArray.push(newObj)
})
return newArray
},
getStockList() {
var that = this
that.showTable = false
console.log(that.whereOr)
http.netPost('Data/Stock/GetHsData', {
'CollectionName': 'hs_stock_history_market',
'Where': [
{
'FieldName': 'hs_stock_history_market.TRADEDATE',
'State': 1,
'Value': that.choosedDate
}
],
'WhereOr': that.handleArray(that.whereOr, 'FieldName', 'hs_stock_history_market'),
'Sort': that.sort,
'Current': (that.currentPage - 1) * that.psize,
'Psize': that.psize
})
.then((res) => {
that.total = res.data.Data.Total
that.showTable = true
that.tableData = res.data.Data.Records
})
},
changeDate() {
this.getStockList()
},
marketNodeClick(e) {
console.log(e)
this.getMarketCompany(e.code)
},
// 获取行业信息
getIndustryData() {
var that = this
that.showTable = false
var Where = []
var WhereOr = [
{
'FieldName': 'F003V',
'State': 2,
'Value': '008001'
},
{
'FieldName': 'F003V',
'State': 2,
'Value': '008003'
}
]
http.netPost('Data/Data/GetData', {
"DBName": "bfstock_public",
'condition': {
'CollectionName': 'hs_industry_category',
'Where': Where,
'WhereOr': WhereOr,
'Current': 0,
'Psize': 9999
}
})
.then((res) => {
that.industryData = JSON.parse(JSON.stringify(that.toTree(res.data.Data.Records)))
console.log(that.industryData)
})
},
// 递归行业数据
toTree(data) {
var map = {}
data.forEach(function (item) {
map[item.SORTCODE] = item
item.level = 0
})
console.log(map)
var val = []
data.forEach(function (item) {
// 以当前遍历项的pid,去map对象中找到索引的id
item.label = item.SORTNAME
var parent = map[item.PARENTCODE]
// console.log(map[item.PARENTCODE])
// 如果找到索引,那么说明此项不在顶级当中,那么需要把此项添加到,他对应的父级中
if (parent) {
(parent.children || (parent.children = [])).push(item)
} else {
// 如果没有在map中找到对应的索引ID,那么直接把 当前的item添加到 val结果集中,作为顶级
console.log('val')
val.push(item)
}
})
return val
},
// 获取行业公司
getIndustryCompany(level, query) {
var that = this
var code = ''
that.selectLoading = true
if (level === 1) {
code = 'F009V'
} else if (level === 2) {
code = 'F010V'
} else if (level === 3) {
code = 'F011V'
} else if (level === 4) {
code = 'F012V'
} else if (level === 5) {
code = 'F013V'
}
http.netPost('Data/Stock/GetHsData', {
'CollectionName': 'hs_stock_plate',
'Where': [
{
'FieldName': code,
'State': 1,
'Value': query
}
],
'Current': 0,
'Psize': 9999
})
.then((res) => {
var newArray = []
res.data.Data.Records.forEach((item) => {
newArray.push(
{
'FieldName': 'SECCODE',
'State': 2,
'Value': item.SECCODE
}
)
})
console.log(newArray)
that.whereOr = newArray
that.whereOrArrayAnd = []
that.getStockList()
})
},
industryNodeClick(a, b) {
this.getIndustryCompany(b.level, a.SORTCODE)
},
// 获取地域信息
getPositionData() {
var that = this
that.showTable = false
var Where = []
http.netPost('Data/Stock/GetHsData', {
'CollectionName': 'hs_district_category',
'Where': Where,
'Current': 0,
'Psize': 9999
})
.then((res) => {
// that.positionData = JSON.parse(JSON.stringify(that.toTree(res.data.Data.Records)))
var newArray = []
for (var i = 0; i < res.data.Data.Records.length; i++) {
res.data.Data.Records[i].label = res.data.Data.Records[i].SORTNAME
if (res.data.Data.Records[i].PARENTCODE === '0') {
newArray.push(res.data.Data.Records[i])
}
}
for (var x = 0; x < newArray.length; x++) {
newArray[x].children = []
for (var y = 0; y < res.data.Data.Records.length; y++) {
if (res.data.Data.Records[y].PARENTCODE === newArray[x].SORTCODE && res.data.Data.Records[y].SORTNAME !== '') {
var newCode = res.data.Data.Records[y].SORTCODE
res.data.Data.Records[y].SORTCODE = []
res.data.Data.Records[y].SORTCODE.push(newCode)
newArray[x].children.push(res.data.Data.Records[y])
} else if (res.data.Data.Records[y].PARENTCODE === newArray[x].SORTCODE && res.data.Data.Records[y].SORTNAME === '') {
newArray[x].children[0].SORTCODE.push(res.data.Data.Records[y].SORTCODE)
}
}
}
that.positionData = newArray
})
},
// 获取地域公司
getPositionCompany(query, level) {
var that = this
var whereOr = []
var where = []
if (level === 2) {
for (var i = 0; i < query.length; i++) {
whereOr.push(
{
'FieldName': 'F010V',
'State': 2,
'Value': query[i]
}
)
}
} else if (level === 1) {
whereOr.push(
{
'FieldName': 'F009V',
'State': 2,
'Value': query
}
)
}
where.push({
'FieldName': 'F003V',
'State': 1,
'Value': 137006
})
http.netPost('Data/Stock/GetHsData', {
'CollectionName': 'hs_stock_plate',
'Where': where,
'WhereOr': whereOr,
'AGGField': [
{
'FieldName': 'SECCODE',
'State': 0,
'ValState': 0
}
],
'GPBField': [
'SECCODE'
],
'Current': 0,
'Psize': 9999
})
.then((res) => {
var newArray = []
if (res.data.Data.Records.length === 0) {
newArray.push(
{
'FieldName': 'SECCODE',
'State': 1,
'Value': ''
}
)
} else {
res.data.Data.Records.forEach((item) => {
newArray.push(
{
'FieldName': 'SECCODE',
'State': 2,
'Value': item.SECCODE
}
)
})
}
that.whereOr = newArray
console.log(that.whereOr)
that.whereOrArrayAnd = []
that.getStockList()
})
},
positionNodeClick(a, b) {
this.getPositionCompany(a.SORTCODE, b.level)
},
handleSizeChange(e) {
this.psize = e
this.getStockList()
},
handleCurrentChange(e) {
this.currentPage = e
this.getStockList()
}
}
}
\ No newline at end of file
<template>
<div style="height: 100%">
<div class="search-condition shadow">
<div style="font-size: 16px; color: #333; margin-bottom: 12px">
全部A股
</div>
<div style="display: flex">
<div style="flex: auto; display: flex; align-items: center">
<div style="display: flex; align-items: center; margin-right: 24px">
<span>选择日期:</span>
<div class="block">
<el-date-picker
class="inline-input"
:clearable="false"
v-model="choosedDate"
@change="changeDate"
value-format="yyyy-MM-dd"
type="date"
size="mini"
style="width: 160px"
placeholder="选择日期"
>
</el-date-picker>
</div>
</div>
<div>
<span>检索条件:</span>
<span>暂无更多检索条件</span>
<!-- <el-select
v-model="inputCompany"
class="inline-input"
size="mini"
filterable
remote
clearable
style="width:160px"
reserve-keyword
placeholder="请输入公司名称或代码"
:remote-method="remoteMethod"
:loading="selectLoading">
<el-option
v-for="item in companyList"
:key="item.HS_SECCODE_SECCODE"
:label="item.SECNAME+ ' ' + item.HS_SECCODE_SECCODE"
:value="item.HS_SECCODE_SECCODE">
<span>{{item.SECNAME}}</span>
<span style="padding: 0 6px"></span>
<span>{{item.HS_SECCODE_SECCODE}}</span>
</el-option>
</el-select>
<el-input placeholder="请输入搜索内容" v-model="inputSearch" clearable size="mini" class="input-with-select inline-input" style="width:240px;">
<el-select v-model="selectType" slot="append" placeholder="请选择" style="width:76px; font-size:13px">
<el-option label="标题" value="1">标题</el-option> -->
<!-- <el-option label="正文" value="2">正文</el-option> -->
<!-- </el-select>
</el-input> -->
<!-- <el-button size="mini" style="margin-left:8px" type="primary" @click="conditionSearch">搜索</el-button> -->
</div>
<!-- <div class="search-container">
<i class="iconfont iconsearch"></i>
<span @click="highLevelSearch">高级搜索</span>
</div> -->
</div>
<!-- <div style="display:flex; align-items:center">
<el-button plain size="mini" @click="openFile">查看下载目录</el-button>
</div> -->
</div>
</div>
<div class="search-result">
<div class="result-condition shadow" :style="{ width: conditionWidth }">
<span
class="iconfont iconopenmenu close-condition"
@click="hideSearch"
v-show="showCondition"
></span>
<span
class="iconfont iconopenmenu open-condition"
@click="showSearch"
v-show="!showCondition"
></span>
<div v-show="!showCondition" style="font-size: 16px">筛选条件</div>
<div
style="font-size: 13px; color: #333; margin-bottom: 12px"
v-show="showCondition"
>
筛选条件
</div>
<div class="my-tabs" v-show="showCondition">
<div class="tabs-list">
<div
v-for="(item, index) in tabTitle"
class="tab"
:id="'tab' + index"
:key="'tab' + index"
@click="changeTabs(index)"
:class="{ active: isShowTab == index }"
>
{{ item }}
</div>
<div
class="move-line"
:style="{ left: moveLeft, width: moveWidth }"
></div>
</div>
<div class="tab-content">
<div
label="行业"
name="行业"
style="padding: 16px 0"
v-show="isShowTab === 0"
>
<el-tree
style="margin-left: -8px"
:data="industryData"
default-expand-all
highlight-current
:props="defaultProps"
@node-click="industryNodeClick"
></el-tree>
</div>
<div
label="地域"
name="地域"
style="padding: 16px 0"
v-show="isShowTab === 1"
>
<el-tree
style="margin-left: -8px"
:data="positionData"
highlight-current
:expand-on-click-node="false"
:props="defaultProps"
@node-click="positionNodeClick"
></el-tree>
</div>
</div>
</div>
</div>
<div
class="result-wrap shadow"
style="padding: 16px 20px; font-size: 13px; overflow: scroll"
>
<el-table
:data="tableData"
v-loading="!showTable"
class="table-container"
style="width: 100%; font-size: 13px"
height="calc(100% - 52px)"
:cell-style="handleColor"
@sort-change="changeSort"
border
size="medium"
:header-cell-style="{ background: '#f5f7fa', color: '#666' }"
>
<el-table-column
show-overflow-tooltip
:prop="key"
v-for="(val, key) in historyPrice"
:sortable="key === 'F010N' ? 'custom' : false"
:width="
key === 'F020N' ||
key === 'F021N' ||
key === 'TRADEDATE' ||
key === 'F010N'
? '130px'
: ''
"
:key="key"
:label="val"
>
<template slot-scope="scope">
<span
@click="
key === 'SECNAME'
? goToCompanyIndex(scope.row.SECNAME, scope.row.SECCODE)
: false
"
>{{ scope.row[key] === null ? "-" : scope.row[key] }}</span
>
</template>
</el-table-column>
</el-table>
<div style="padding-top: 20px">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
:page-sizes="[50, 100, 150]"
:page-size="psize"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
>
</el-pagination>
</div>
</div>
</div>
</div>
</template>
\ No newline at end of file
const { app } = require('electron').remote
const path = app.getAppPath()
const { main } = require(path + '/src/views/main_views/stockMarket/routers/main/main.js')
const routes = [
{ path: '/', component: main }
]
module.exports = {
routes: routes
}
\ No newline at end of file
.report-page-container {
display: flex;
flex-direction: column;
padding: 12px;
flex: 1;
color: #333;
}
.report-page-container .search-condition {
height: 66px;
background: #fff;
margin-bottom: 12px;
padding: 16px 20px;
font-size: 13px;
}
.report-page-container .search-result {
/* display: flex; */
/* flex: 1; */
height: calc(100% - 110px)
}
.report-page-container .result-condition {
margin-right: 12px;
background: #fff;
padding: 16px 20px;
display: flex;
flex-direction: column;
position: relative;
justify-content: center;
position: relative;
float: left;
height: calc(100% - 32px);
}
.report-page-container .result-wrap {
background: #fff;
height: calc(100% - 32px);
}
.report-page-container .inline-input {
margin-left: 8px;
}
.report-page-container .el-table {
font-size: 13px;
color: #666;
}
.report-page-container .el-table .cell {
line-height: 16px;
}
.report-page-container .el-tree-node__label {
font-size: 13px;
}
.report-page-container .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
color: #D0021B;
}
.report-page-container .result-condition .close-condition {
color: #D0021B;
position: absolute;
right: 0;
transform: rotate(180deg);
top: 12px;
cursor: pointer;
}
.report-page-container .result-condition .open-condition {
color: #D0021B;
position: absolute;
right: -20px;
top: 12px;
cursor: pointer;
}
.report-page-container .search-container {
color: #D0021B;
margin-left: 24px;
cursor: pointer;
}
.report-page-container .search-container:hover {
color: #ff0000;
}
.report-page-container .loading-container {
background: #f1f1f1;
height: 100%;
width: 100%;
font-size: 36px;
color: #999;
display: flex;
align-items: center;
}
.report-page-container .loading-wrap {
margin: 0 auto;
}
.report-page-container .download-container {
display: flex;
align-items: center;
}
.report-page-container .download-container .icondownload {
font-size: 16px;
color: #D0021B;
cursor: pointer
}
.report-page-container .download-container .icondownload:hover {
color: #ff0000;
}
.report-page-container .transfor-inner {
display: flex;
}
.report-page-container .transfor-out-container {
background: #F5F7FA;
width: 180px;
height: 320px;
overflow: scroll;
padding: 8px;
border-radius: 4px;
}
.report-page-container .transfor-in-container {
background: #F5F7FA;
width: 180px;
height: 320px;
overflow: scroll;
padding: 8px;
border-radius: 4px;
}
.report-page-container .transfor-btn-container {
width: 32px;
overflow: scroll;
}
.report-page-container .transfor-container .el-tree {
background: none;
}
/* .report-page-container .transfor-container .el-tree-node.is-current{
color: #D0021B;
} */
.report-page-container .transfor-container h3 {
font-size: 13px;
padding: 16px 0;
}
.report-page-container .transfor-container .btn-wrap {
background: #F5F7FA;
width: 20px;
height: 20px;
border-radius: 20px;
text-align: center;
display: flex;
align-items: center;
margin: 16px auto;
cursor: pointer;
font-weight: bold;
}
.report-page-container .transfor-container .btn-wrap:hover {
color: #D0021B;
}
.report-page-container .transfor-container .btn-wrap i {
margin: 0 auto;
}
.report-page-container .transfor-parent-container {
display: flex;
align-items: center;
height: 320px;
padding: 8px;
}
.report-page-container .search-dialog .el-dialog__body {
padding-top: 0;
}
.report-page-container .transfor-container .transfor-inner p {
margin: 6px 0;
font-size: 13px;
padding-left: 8px;
cursor: pointer;
}
.report-page-container .transfor-container .transfor-inner p:hover {
color: #D0021B
}
.report-page-container .buelltin-title {
cursor: pointer;
}
.report-page-container .buelltin-title:hover {
color: #D0021B
}
.production-line-tree .el-tree-node__label{
width: 100%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.my-tabs .tab {
flex: 1;
text-align: center;
line-height: 36px;
cursor: pointer;
position: relative;
}
.my-tabs .tabs-list {
border-bottom: 2px solid #DCDFE6;
display: flex;
position: relative;
height: 36px;
}
.my-tabs .tab.active {
color: #D0021B;
}
.my-tabs .move-line {
position: absolute;
bottom: -2px;
height: 2px;
background: #D0021B;
transition: all .3s;
}
.my-tabs .hide {
display: none;
}
.my-tabs .show {
display: block;
}
.my-tabs .tab-content {
flex: 1;
overflow: scroll;
}
.my-tabs {
display: flex;
flex-direction: column;
flex: 1;
overflow: scroll;
}
.vue-splitter-container{
background: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.splitter-pane-resizer{
opacity: 0.1!important;
}
.tree-box{
padding: 12px;
height: 100%;
box-sizing: border-box;
/* overflow: scroll;
overflow-x: hidden; */
display: flex;
flex-direction: column;
}
.tree-box-inner{
overflow: scroll;
overflow-x: hidden;
flex: auto;
}
.tree-box h3{
margin-bottom: 12px;
font-size: 14px;
}
.main-data-box{
padding: 12px;
}
.side-modal{
position: fixed;
width: 400px;
background: #fff;
height: 100%;
right: 0px;
top: 0;
z-index: 100;
box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
padding: 20px 12px;
box-sizing: border-box;
}
.slide-fade-enter-active {
transition: all .3s ease;
}
.slide-fade-leave-active {
transition: all .1s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.slide-fade-enter, .slide-fade-leave-to
/* .slide-fade-leave-active for below version 2.1.8 */ {
transform: translateX(50px);
opacity: 0;
}
.side-close{
font-size: 20px;
color: #999;
position: absolute;
right: 10px;
top: 10px;
cursor: pointer;
}
.side-close:hover{
color: #D0021B;
}
.side-modal-column{
display: flex;
align-items: baseline;
}
.side-modal-column .title{
min-width: 80px;
text-align: right;
color: #999;
margin-right: 10px;
}
.side-modal-column .detail{
flex: auto;
}
.side-modal h3{
margin-bottom: 20px;
}
.side-modal-column+.side-modal-column{
margin-top: 20px;
}
.detail-line-list+.detail-line-list{
margin-top: 8px;
}
.side-modal-operation{
position: absolute;
width: 100%;
bottom: 0px;
left: 0;
padding: 8px 12px;
box-sizing: border-box;
border-top: 1px solid #eaeaea;
}
.side-modal-inner{
overflow: scroll;
overflow-x: hidden;
height: calc(100% - 66px);
padding-bottom: 12px;
box-sizing: border-box;
}
.side-tree-box{
border: 1px solid #eaeaea;
padding: 12px;
height: 500px;
max-height: 500px;
overflow: scroll;
overflow-x: hidden;
}
.mini-checkbox .el-checkbox__label{
font-size: 12px;
}
.mini-checkbox .el-checkbox{
margin-right: 16px;
}
.flex-column{
display: flex;
align-items: center;
}
.flex-column+.flex-column{
margin-top: 20px;
}
.flex-title{
color: #999;
font-size: 12px;
text-align: right;
margin-right: 8px;
min-width: 80px;
}
.flex-detail{
flex: auto;
}
.flex-sub-title{
color: #999;
font-size: 12px;
margin-bottom: 4px;
}
.sub-detail+.sub-detail{
margin-top: 12px;
}
.sub-detail{
background: rgb(245, 247, 250);
padding: 12px;
display: inline-block;
}
#app {
height: calc(100% - 24px);
width: calc(100% - 24px);
display: flex;
background: #F6F6F6;
}
.container{
height: 100%;
display: flex;
flex-direction: column;
}
.filter-box{
/* background: #f1f1f1; */
padding: 12px;
margin-bottom: 12px;
border: 1px solid #eaeaea;
border-radius: 4px;
}
.filter-box h4{
margin: 0;
margin-right: 8px;
display: inline-block;
}
.filter-condition{
margin-top: 12px;
}
.main-data-box{
height: 100%;
box-sizing: border-box;
overflow: scroll;
}
.title-expand .icon{
transform: rotate(90deg);
}
.title-expand .icon.active{
transform: rotate(0deg);
}
.title-expand{
cursor: pointer;
color: #999;
display: inline-block;
}
.title-expand .edit-btn{
color: #d0021b;
}
.sub-filter-condition .sub-title{
color: #999;
margin-bottom: 8px;
}
.sub-filter-condition+.sub-filter-condition{
margin-top: 12px;
}
.date-list span{
padding: 4px 8px;
}
.date-list-item{
display: inline-block;
margin-right: 8px;
background: rgb(245, 247, 250);
border-radius: 4px;
}
.date-list .icon{
cursor: pointer;
}
.date-list .icon:hover{
color: #d0021b;
}
.date-list-item.no-bg{
background: none;
color: #d0021b;
cursor: pointer;
}
.date-list-item.no-bg span{
padding: 8px 0px;
}
.text-icon{
color: #d0021b;
cursor: pointer;
}
.text-icon.disabled{
color: #999;
cursor: not-allowed;
}
.side-modal.flex{
display: flex;
flex-direction: column;
}
.selected-company-list{
flex: auto;
overflow: scroll;
overflow-x: hidden;
}
/* .myPagination{
margin-top: 12px;
} */
.mini-radio .el-radio__label{
font-size: 12px;
}
.mini-radio .el-radio{
margin-right: 15px;
}
.date-list-item .disabled{
color: #999;
cursor: not-allowed;
}
.custom-tree-node .active{
background: #ffabb3;
}
.progress-tip{
font-size: 12px;
margin-left: 12px;
}
.mini-result-select .el-select-dropdown__item{
font-size: 12px;
height: 24px;
line-height: 24px;
}
.mini-result-select .el-select-group__title{
line-height: 24px;
}
.sub-detail-list{
display: inline-block;
padding: 0 12px;
}
.sub-detail-list+.sub-detail-list{
border-left: 1px solid #eaeefb;
}
.sub-detail{
background-color: #f9fafc;
padding: 8px;
border: 1px solid #eaeefb;
border-radius: 4px;
display: inline-block;
}
.sub-title{
font-size: 12px;
color: #999;
margin-bottom: 4px;
}
.filter-icon{
color: #c0c4cc;
cursor: pointer;
}
.filter-icon.active{
color: #d0021b;
}
.mini-size .el-tabs__item {
font-size: 12px;
height: 28px;
line-height: 28px;
}
.industry-tree-box {
max-height: 300px;
overflow: scroll;
overflow-x: hidden;
font-size: 12px;
}
.mini-size .el-tree-node__label {
font-size: 12px;
}
.small-checkbox .el-checkbox__label{
font-size: 12px;
}
.my-caret-wrapper.caret-wrapper {
display: inline-flex;
flex-direction: column;
align-items: center;
height: 34px;
width: 24px;
vertical-align: middle;
cursor: pointer;
overflow: initial;
position: relative;
}
.my-caret-wrapper .sort-caret {
width: 0;
height: 0;
border: 5px solid transparent;
position: absolute;
left: 7px;
}
.my-caret-wrapper .sort-caret.ascending {
border-bottom-color: #c0c4cc;
top: 5px;
}
.my-caret-wrapper .sort-caret.ascending.active {
border-bottom-color: #d0021b;
}
.my-caret-wrapper .sort-caret.descending {
border-top-color: #c0c4cc;
bottom: 7px;
}
.my-caret-wrapper .sort-caret.descending.active {
border-top-color: #d0021b;
}
.block-checkbox .el-checkbox{
display: block;
}
.block-radio .el-radio{
display: block;
margin-bottom: 12px;
}
.filter-action{
padding-top: 8px;
border-top: 1px solid #eaeaea;
margin-top: 8px;
}
.filter-action .tag{
cursor: pointer;
}
.header-name.active{
color: #d0021b;
}
.filter-pop{
max-height: 400px;
display: flex;
flex-direction: column;
}
.block-filter-list{
flex: auto;
overflow: overlay;
overflow-x: hidden;
}
.block-filter-box{
margin-bottom: 12px
}
.block-checkbox .active .el-checkbox__label{
background: #ffabb3;
}
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../../../static/plTable/index.css">
<link rel="stylesheet" href="../../../static/element/theme/index.css">
<link rel="stylesheet" href="../../../static/global/global.css">
<link rel="stylesheet" href="./stockMarket.css">
</head>
<body>
<div id="app" class="report-page-container">
<router-view></router-view>
</div>
</body>
<script src="../../../static/vue/vue.min.js"></script>
<script src="../../../static/element/index.js"></script>
<script src="../../../static/vue-router/vue-router.js"></script>
<script src='../../../static/xlsx/xlsx.full.min.js'></script>
<script src="../../../static/plTable/index.js"></script>
<script>
const { app } = require('electron').remote
const path = app.getAppPath()
const { routes } = require(path + '/src/views/main_views/stockMarket/routers/router.js')
const router = new VueRouter({ routes })
const http = require(path + '/src/assist/axios.js')
var info = JSON.parse(localStorage.getItem('userInfo'))
const { splitPane } = require('vue-splitpane')
Vue.component('split-pane', splitPane)
new Vue({
router,
el: '#app',
data: function() {
return {
}
},
mounted () {
},
methods: {
}
})
</script>
</html>
\ No newline at end of file
......@@ -10,7 +10,7 @@
</head>
<body>
<div id="app" v-cloak>
<div id="app">
<router-view></router-view>
</div>
</body>
......
module.exports = (filename, dirname)=>{
const fs = require('fs')
const os = require('os')
const platform = os.platform()
const filePath = filename.replace('.js','.vue')
const dirName = dirname.replace('.js','.vue')
var name
if(platform == 'darwin'){
name = dirName.split('/').pop()
}else{
name = dirName.split('\\').pop()
}
var data = fs.readFileSync(filePath);
var str = data.toString()
str.substring(0, str.lastIndexOf('</template>'))
str = str.replace('<template>','')
var head = document.getElementsByTagName('head')[0];
var link = document.createElement('link');
var href = filename.replace('.js','.css')
link.href = href;
link.rel = 'stylesheet';
link.type = 'text/css';
head.appendChild(link);
return {
name: name,
template: str
}
}
\ No newline at end of file
// module.exports = (filename, dirname)=>{
// const fs = require('fs')
// const os = require('os')
// const platform = os.platform()
// const filePath = filename.replace('.js','.vue')
// const dirName = dirname.replace('.js','.vue')
// var name
// if(platform == 'darwin'){
// name = dirName.split('/').pop()
// }else{
// name = dirName.split('\\').pop()
// }
// var data = fs.readFileSync(filePath);
// var str = data.toString()
// str.substring(0, str.lastIndexOf('</template>'))
// str = str.replace('<template>','')
// var head = document.getElementsByTagName('head')[0];
// var link = document.createElement('link');
// var href = filename.replace('.js','.css')
// link.href = href;
// link.rel = 'stylesheet';
// link.type = 'text/css';
// head.appendChild(link);
// return {
// name: name,
// template: str
// }
// }
\ No newline at end of file
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