| src/router/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/view/chengtou/zoneAnalyse.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/view/diligenceTools/checkCityInvestmentZone.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/view/enterpriseControl/managementItem.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/view/enterpriseControl/offSiteCheck.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/router/index.js
@@ -30,6 +30,7 @@ if (['newsDetail', 'publicMessage_tool', 'loanSchemeAndRecoveryPlan','offSiteCheckQYTP','fundMonitoring','paymentMonitoring','siteCheck','managementItem','basicAttributes_tool','reportFormsManage'].indexOf(to.name) > -1) { bool = false } console.log(to.name,'name') if (from.name) { localStorage.setItem('setUrlRec', to.name) } src/view/chengtou/zoneAnalyse.vue
@@ -11,12 +11,12 @@ <div style="width: 150px"> <Row style="vertical-align: middle;display: inline-block;margin-bottom: 12px"> <Col span="24"> <DatePicker transfer :clearable=false format="yyyy年" size="large" @on-change="areaChange" v-model="areaTime" type="year" placement="bottom-start" placeholder="请选择时间" style="width: 100%" class="ipt_width"></DatePicker> <DatePicker transfer :clearable=false format="yyyy年" size="large" @on-change="areaChangeYear" v-model="areaTime" type="year" placement="bottom-start" placeholder="请选择时间" style="width: 100%" class="ipt_width"></DatePicker> </Col> </Row> </div> <div style="width: 200px;margin-left: 12px"> <Cascader :data="areaList" v-model="areaCascaderValue" size="large" @on-change="areaChange"></Cascader> <Cascader :data="areaList" v-model="areaCascaderValue" size="large" @on-change="areaChange" placeholder="请选择区域"></Cascader> </div> <div style="width: 150px;margin-left: 12px"> <Select v-model="areaAdministration" @@ -27,16 +27,16 @@ <Option v-for="item in levelList" :value="item" :key="item" :label="item">{{item}}</Option> </Select> </div> <div style="width: 150px;margin-left: 12px"> <Select v-model="areakoujing" size="large" @on-change="koujing" placeholder="请选择口径" > <Option value="全口径" label="全口径">全口径</Option> <Option value="本级口径" label="本地口径">本级口径</Option> </Select> </div> <!-- <div style="width: 150px;margin-left: 12px">--> <!-- <Select v-model="areakoujing"--> <!-- size="large"--> <!-- @on-change="koujing"--> <!-- placeholder="请选择口径"--> <!-- >--> <!-- <Option value="全口径" label="全口径">全口径</Option>--> <!-- <Option value="本级口径" label="本地口径">本级口径</Option>--> <!-- </Select>--> <!-- </div>--> <div style="position: absolute;right: 12px;"> <Poptip title="选择展示项" trigger="hover" class="assessCard" transfer placement="right"> <div style="margin-left: 20px;height: 40px;line-height: 40px;border: 1px solid #dcdee2;padding: 0 10px;border-radius: 3px;">标签配置</div> @@ -406,8 +406,8 @@ } }, mounted () { // let a=new Date() this.areaTime='2019' let a=new Date('2020') this.areaTime=a this.areaColumns=this.areaColumnsClone this.areaColumnsList=this.areaColumns this.getLevelList() @@ -631,8 +631,8 @@ $('.addModalwidth').css({'transition':'width 0.5s','right':'0','width':'200px'}) }, checkAreaclick(params){ console.log(params) this.$router.push({path:'/checkCityInvestmentZone',query:{orderByType:this.orderByType,orderByCol:this.orderByCol,area:params.Area,year:JSON.parse(JSON.stringify(this.areaTime)),city:params.City,province:params.Province,level:params.Level,kj:this.areakoujing}}) console.log(params) this.$router.push({path:'/checkCityInvestmentZone',query:{orderByType:this.orderByType,orderByCol:this.orderByCol,area:params.Area,year:JSON.parse(JSON.stringify(this.areaTime)),city:params.City,province:params.Province,level:params.Level,kj:'全口径'}}) }, changePageIndex(page){ this.pageIndex=page @@ -661,7 +661,7 @@ city:b, area:c, year:this.areaTime.getFullYear(), kj:this.areakoujing, // kj:this.areakoujing, orderByCol:this.orderByCol, orderByType:this.orderByType, } @@ -689,9 +689,10 @@ }) }, getAreaList(){ console.log(this.areaTime) this.areaList=[] let data={ year:this.areaTime.getFullYear() } axios.request({ url: '/CityInvestment/GetAreaCascader', @@ -701,7 +702,7 @@ if (res.data.Check) { this.areaList=JSON.parse(JSON.stringify(res.data.Data)) } else { this.areaList=[] } }, res => { @@ -734,6 +735,13 @@ }) }, areaChangeYear(){ this.pageIndex=1 this.$nextTick(()=>{ this.getAreaList() this.getPlatform() }) }, areaChange () { this.pageIndex=1 this.$nextTick(()=>{ src/view/diligenceTools/checkCityInvestmentZone.vue
@@ -58,12 +58,7 @@ <div style="display: flex"> <div id="container" style="width: 50%;height: 400px"></div> <div style="width: 50%;height: 400px;"> <div style="height: 380px;line-height: 29px;margin: 0 0 0 17px;display: -webkit-box;-webkit-box-orient: vertical; -webkit-line-clamp: 13; text-overflow: ellipsis; overflow: hidden; overflow-wrap: break-word; text-indent: 2rem" v-html="tab1List.Introduce"> <div :class="tab1List.Introduce?'thingIntroduce':'nothingIntroduce'" v-html="tab1List.Introduce?tab1List.Introduce:'暂无数据'"> </div> <div style="text-align: right;color: #008FE0">查看更多>></div> @@ -85,11 +80,11 @@ </tr> <tr :class="levelQuery!='区县级'?'trcontent1':'trcontent2'"> <td style="border-right: 0;">GDP(亿元)</td> <td style="border-right: 0;">{{tab1List.GDPZL?CustomMethods.numTo$(tab1List.GDPZL):'0.00'}}</td> <td style="border-right: 0;">{{tab1List.GDPZL_Ranking?tab1List.GDPZL_Ranking:'--'}}</td> <td style="border-right: 0;">{{tab1List.gdp?CustomMethods.numTo$(tab1List.gdp):'0.00'}}</td> <td style="border-right: 0;">{{tab1List.gdp_ranking?tab1List.gdp_ranking:'--'}}</td> <td style="border-right: 0;">城镇居民人均可支配收入(元)</td> <td style="border-right: 0;">{{tab1List.RJKZPSR?CustomMethods.numTo$(tab1List.RJKZPSR):'0.00'}}</td> <td>{{tab1List.RJKZPSR_Ranking?tab1List.RJKZPSR_Ranking:'--'}}</td> <td style="border-right: 0;">{{tab1List.czjmrjkzpsr?CustomMethods.numTo$(tab1List.czjmrjkzpsr):'0.00'}}</td> <td>{{tab1List.czjmrjkzpsr_ranking?tab1List.czjmrjkzpsr_ranking:'--'}}</td> </tr> <tr v-show="levelQuery!='区县级'"> <td class="koujinclass"> @@ -99,27 +94,27 @@ </tr> <tr class="content2border"> <td>一般公共预算收入(亿元)</td> <td>{{tab1List.YYSR?CustomMethods.numTo$(tab1List.YYSR):'0.00'}}</td> <td>{{tab1List.YSSR_Ranking?tab1List.YSSR_Ranking:'--'}}</td> <td>{{tab1List.ybggyssr?CustomMethods.numTo$(tab1List.ybggyssr):'0.00'}}</td> <td>{{tab1List.ybggyssr_ranking?tab1List.ybggyssr_ranking:'--'}}</td> <td>政府性基金收入(亿元)</td> <td>{{tab1List.JJSR?CustomMethods.numTo$(tab1List.JJSR):'0.00'}}</td> <td>{{tab1List.JJSR_Ranking?tab1List.JJSR_Ranking:'--'}}</td> <td>{{tab1List.zfxjjsr?CustomMethods.numTo$(tab1List.zfxjjsr):'0.00'}}</td> <td>{{tab1List.zfxjjsr_ranking?tab1List.zfxjjsr_ranking:'--'}}</td> </tr> <tr class="content3border"> <td>其中:税收收入(亿元)</td> <td>{{tab1List.YSSR_SS?CustomMethods.numTo$(tab1List.YSSR_SS):'0.00'}}</td> <td>{{tab1List.YSSR_SS_Ranking?tab1List.YSSR_SS_Ranking:'--'}}</td> <td>{{tab1List.sssr?CustomMethods.numTo$(tab1List.sssr):'0.00'}}</td> <td>{{tab1List.sssr_ranking?tab1List.sssr_ranking:'--'}}</td> <td>其中:土地出让收入(亿元)</td> <td>{{tab1List.JJSR_TD?CustomMethods.numTo$(tab1List.JJSR_TD):'0.00'}}</td> <td>{{tab1List.JJSR_TD_Ranking?tab1List.JJSR_TD_Ranking:'--'}}</td> <td>{{tab1List.tdcrsr?CustomMethods.numTo$(tab1List.tdcrsr):'0.00'}}</td> <td>{{tab1List.tdcrsr_ranking?tab1List.tdcrsr_ranking:'--'}}</td> </tr> <tr class="content4border"> <td>一般公共预算支出(亿元)</td> <td>{{tab1List.YSZC?CustomMethods.numTo$(tab1List.YSZC):'0.00'}}</td> <td>{{tab1List.YSZC_Ranking?tab1List.YSZC_Ranking:'--'}}</td> <td>{{tab1List.ybggyszc?CustomMethods.numTo$(tab1List.ybggyszc):'0.00'}}</td> <td>{{tab1List.ybggyszc_ranking?tab1List.ybggyszc_ranking:'--'}}</td> <td>地方政府债务余额(亿元)</td> <td>{{tab1List.NMYE_ZE?CustomMethods.numTo$(tab1List.NMYE_ZE):'0.00'}}</td> <td>{{tab1List.NMYE_ZE_Ranking?tab1List.NMYE_ZE_Ranking:'--'}}</td> <td>{{tab1List.dfzfzwye?CustomMethods.numTo$(tab1List.dfzfzwye):'0.00'}}</td> <td>{{tab1List.dfzfzwye_ranking?tab1List.dfzfzwye_ranking:'--'}}</td> </tr> </table> </Card> @@ -301,7 +296,7 @@ methods:{ getAreaList(){ let data={ year:this.yearDetail } axios.request({ url: '/CityInvestment/GetAreaCascader', @@ -337,10 +332,10 @@ this.zoneTwo="" this.zoneThree="" for(let i=0;i<data.length;i++){ console.log(data[i].children) // console.log(data[i].children) if(data[i].children.length>0){ for(let j=0;j<data[i].children.length;j++){ console.log(data[i].children[j].children) // console.log(data[i].children[j].children) if(data[i].children[j].children.length>0){ for (let k=0;k<data[i].children[j].children.length;k++){ if(data[i].children[j].children[k].nodeKey===params){ @@ -358,6 +353,8 @@ this.areaQuery=this.zoneThree this.getzone() this.getAreaData() //this.provinceQuery+this.cityQuery+this.areaQuery console.log(this.areaList) setTimeout(()=>{ this.loadingScroll=false },1200) @@ -366,7 +363,7 @@ // let a=this.$refs.tree.getSelectedNodes() // console.log(this.areaList,data,a) if(data){ console.log(data[0].children.length) // console.log(data[0].children.length) if(data[0].children.length==0||data[0].children==undefined){ this.loadingScroll=true this.changeZone(this.areaList,data[0].nodeKey) @@ -466,7 +463,7 @@ **/ getzhibiaoListTab3(){ let data={ type:this.reportName // type:this.reportName } axios.request({ url: '/CityInvestment/GetColName', @@ -491,12 +488,13 @@ let a=[] let time let timearr=[] a.push(this.areaQuery) a.push(this.provinceQuery+this.cityQuery+this.areaQuery) // console.log(a) let sortarr=this.yeararr2.sort((x,y)=>{ return x-y }) let data={ type:this.reportName, // type:this.reportName, years: sortarr, areas:a, colType:1 @@ -589,6 +587,7 @@ let a=[] let time let timearr=[] let area=[] c.push({ title:"指标类别", key:"Desc1", @@ -616,14 +615,15 @@ this.tab3Columns=c this.tab3Columns[0].minWidth = 180 this.yeararr2=a area.push(this.provinceQuery+this.cityQuery+this.areaQuery) this.$nextTick(()=>{ let sortarr=this.yeararr2.sort((x,y)=>{ return x-y }) let data={ type:this.reportName, // type:this.reportName, years: sortarr, areas:this.areaQuery, areas:area, colType:1 } axios.request({ @@ -705,7 +705,7 @@ province:this.provinceQuery, city:this.cityQuery, area:this.areaQuery, kj:this.kj, // kj:this.kj, orderByCol:this.orderByCol, orderByType:this.orderByType, } @@ -755,12 +755,14 @@ return this.zhibiao.includes(item.Desc1) }) this.tab2TableList=a this.loadingtab2=false }else{ // this.tab2TableList=this.cloneData //this.tab2TableList=this.cloneData this.tab2TableList=[] } this.loadingtab2=false },500) },0) // console.log(this.tab2TableList,this.zhibiao,a,this.cloneData) }) } }, @@ -775,6 +777,7 @@ let a=[] let time let timearr=[] let area=[] c.push({ title:"指标", key:"Desc1", @@ -797,14 +800,16 @@ this.tab2Columns=c this.tab2Columns[0].minWidth = 180 this.yeararr2=a area.push(this.provinceQuery+this.cityQuery+this.areaQuery) // console.log(area) this.$nextTick(()=>{ let sortarr=this.yeararr2.sort((x,y)=>{ return x-y }) let data={ type:this.reportName, // type:this.reportName, years: sortarr, areas:this.areaQuery, areas:area, colType:1 } axios.request({ @@ -826,10 +831,9 @@ } } } this.tab2TableList=res.data.Data // this.tab2TableList=res.data.Data this.cloneData=res.data.Data this.zhibiaoSelecttab2(this.zhibiao) this.loadingtab2=false } else { this.loadingtab2=false } @@ -876,12 +880,12 @@ let a=[] let time let timearr=[] a.push(this.areaQuery) a.push(this.provinceQuery+this.cityQuery+this.areaQuery) let sortarr=this.yeararr2.sort((x,y)=>{ return x-y }) let data={ type:this.reportName, // type:this.reportName, years: sortarr, areas:a, colType:1 @@ -905,7 +909,7 @@ } } } this.tab2TableList=res.data.Data // this.tab2TableList=res.data.Data this.cloneData=res.data.Data let c=[] let b @@ -929,7 +933,6 @@ }) } this.tab2Columns=c this.loadingtab2=false this.zhibiaoSelecttab2(this.zhibiao) } else { this.loadingtab2=false @@ -944,7 +947,7 @@ getzhibiaoList(){ let a=[] let data={ type:this.reportName //type:this.reportName } axios.request({ url: '/CityInvestment/GetColName', @@ -977,7 +980,7 @@ }, init(){ maps.init("SRGBZ-FLCKU-2TIVH-BFHUM-D5CTO-LFBHQ",()=>{ let myLatlng=new qq.maps.LatLng(this.tab1List.Latitude,this.tab1List.Longitude) let myLatlng=new qq.maps.LatLng(this.tab1List.Latitude?this.tab1List.Latitude:0,this.tab1List.Longitude?this.tab1List.Longitude:0) //this.tab1List.Latitude,this.tab1List.Longitude let myOptions={ zoom:8, @@ -997,7 +1000,8 @@ }, changeTab(data){ if(this.tab==="tab1"){ this.init() this.getAreaData() console.log("1") }else if(this.tab==='tab2'){ this.areaTime=[] this.areaTime.push(this.CustomMethods.getNowDate(this.yeararr[0])) @@ -1098,6 +1102,20 @@ </script> <style> .nothingIntroduce{ text-align: center; height: 380px; display: -webkit-box;-webkit-box-orient: vertical; line-height: 380px; } .thingIntroduce{ height: 380px;line-height: 29px;margin: 0 0 0 17px;display: -webkit-box;-webkit-box-orient: vertical; -webkit-line-clamp: 13; text-overflow: ellipsis; overflow: hidden; overflow-wrap: break-word; text-indent: 2rem } .content2border td{ border:1px solid rgb(128, 128, 128); text-align: center!important; src/view/enterpriseControl/managementItem.vue
@@ -2352,13 +2352,25 @@ } }) this.sharedivarr.join(',') console.log(this.sharedivarr) // console.log(this.sharedivarr,'2355') } else if (a != '' && a != undefined && a != null && a.indexOf(',') < 0) { if (a === this.addfundmodel.Custodian) { this.sharedivarr = [] } else { this.sharedivarr.push(a) } let quchong=[] for(let i=0;i<this.sharedivarr.length;i++){ for(let j=i+1;j<this.sharedivarr.length;j++){ if(this.sharedivarr[i]===this.sharedivarr[j]){ i++ j=i } } quchong.push(this.sharedivarr[i]) } this.sharedivarr=quchong // console.log(this.sharedivarr,'2362') } else if (a === '' || a === null) { this.sharedivarr = [] } src/view/enterpriseControl/offSiteCheck.vue
@@ -25,8 +25,8 @@ <div style="width:270px"> <FormItem> <Select @on-open-change="opencloseFun" filterable v-model="offSiteCheckModel.companyName" style="width: 100%" label="企业名称" size="large" @on-select="companySelect"> <Option value="all">全部</Option> <Option :value="item.CompanyName" v-for="item in CompanyNameList">{{item.CompanyName}}</Option> <Option value="all">监控企业全部</Option> <Option :value="item.CompanyName" v-for="item in CompanyNameList" :key="item.CompanyName">{{item.CompanyName}}</Option> </Select> </FormItem> </div> @@ -41,7 +41,7 @@ <div style="width: 150px;margin-left: 15px"> <FormItem> <Select filterable v-model="offSiteCheckModel.Name" style="width: 100%" label="预警等级" size="large" @on-select="planSelect"> <Option value="0">全部</Option> <Option value="0">预警等级全部</Option> <Option value="3">红色</Option> <Option value="2">黄色</Option> <Option value="1">绿色</Option> @@ -59,7 +59,7 @@ <div style="width:240px;margin-left: 15px;margin-right: 15px"> <FormItem> <Select @on-open-change="eventTypeChange" filterable v-model="offSiteCheckModel.type" style="width: 100%" label="事件类别" size="large" @on-select="typeSelect"> <Option value="all">全部</Option> <Option value="all">预警模块全部</Option> <Option v-for="item in typelist" :value="item.Id">{{item.Name}}</Option> </Select> </FormItem> @@ -96,17 +96,17 @@ <Poptip placement="right-start" transfer trigger="hover" word-wrap height="300" width="500"> <div slot="content" style="max-height: 300px;overflow: auto;"> <div v-for="item in params.row.Content" style="display: flex;padding:0 10px 0 0"> <span style="margin: 5px 0;display: inline-block;white-space: nowrap;}" v-html="item.Name"></span> <span style="margin: 5px 0;display: inline-block;white-space: nowrap;" v-html="item.Name"></span> <span style="margin: 5px 0;display: inline-block">:</span> <span style="margin: 5px 0;display: inline-block" v-show="item.Value===''||item.Value===null">--</span> <span style="margin: 5px 0;display: inline-block;word-break: break-all;" v-show="item.Value!=''&&item.Value!=null" v-html="item.Value"></span> <span style="margin: 5px 0;display: inline-block;word-break: break-all;" v-if="item.Value!=''&&item.Value!=null" v-html="item.Name.indexOf('元')>-1||item.Name.indexOf('(元)')>-1?CustomMethods.numTo$(item.Value):item.Value"></span> </div> </div> <div v-for="item in params.row.Content" style="display: flex"> <span style="margin: 5px 0;display: inline-block;white-space: nowrap;}" v-html="item.Name"></span> <span style="margin: 5px 0;display: inline-block;white-space: nowrap;" v-html="item.Name"></span> <span style="margin: 5px 0;display: inline-block">:</span> <span style="margin: 5px 0;display: inline-block" v-show="item.Value===''||item.Value===null">--</span> <span style="margin: 5px 0;display: inline-block" v-show="item.Value!=''&&item.Value!=null" v-html="item.Value?item.Value.length>150?`${item.Value.substring(0, 150)}...`:item.Value:'--'"></span> <span style="margin: 5px 0;display: inline-block" v-if="item.Value!=''&&item.Value!=null" v-html="item.Name.indexOf('(元)')>-1||item.Name.indexOf('(元)')>-1?(item.Value?item.Value.length>150?`${item.Value.substring(0, 150)}...`:CustomMethods.numTo$(item.Value):'--'):(item.Value?item.Value.length>150?`${item.Value.substring(0, 150)}...`:item.Value:'--')"></span> </div> </Poptip> </template> @@ -7572,7 +7572,7 @@ let Area=1 this.EventType=params.row.EventType if(this.EventType==='深度信息-企业图谱-实际控制人'){ localStorage.setItem('powerAccess',"offSiteCheckQYTP") // localStorage.setItem('powerAccess',"offSiteCheckQYTP") Area=1 window.open(`#/offSiteCheckQYTP?name=${params.row.CompanyName}&Area=${Area}`, '_blank') this.tab1PopModal=false @@ -8159,31 +8159,34 @@ this.getDeliveryNoticeCheckListDetail(this.annualReportDetails) }else if(this.EventType==='资金监控-收款计划'){ this.tab1PopModal=false localStorage.setItem('powerAccess',"fundMonitoring") // localStorage.setItem('powerAccess',"fundMonitoring") window.open(`#/fundMonitoring?params=${JSON.stringify(this.annualReportDetails)}&go='go'`, '_blank') }else if(this.EventType==='资金监控-收款逾期'){ this.tab1PopModal=false localStorage.setItem('powerAccess',"fundMonitoring") // localStorage.setItem('powerAccess',"fundMonitoring") window.open(`#/fundMonitoring?params=${JSON.stringify(this.annualReportDetails)}&go='go'`, '_blank') }else if(this.EventType==='资金监控-付款计划'){ this.tab1PopModal=false localStorage.setItem('powerAccess',"paymentMonitoring") // localStorage.setItem('powerAccess',"paymentMonitoring") window.open(`#/paymentMonitoring?params=${JSON.stringify(this.annualReportDetails)}&go='go'`, '_blank') }else if(this.EventType==='资金监控-付款逾期'){ this.tab1PopModal=false localStorage.setItem('powerAccess',"paymentMonitoring") // localStorage.setItem('powerAccess',"paymentMonitoring") window.open(`#/paymentMonitoring?params=${JSON.stringify(this.annualReportDetails)}&go='go'`, '_blank') }else if(this.EventType==='企业监控-现场检查'){ this.tab1PopModal=false localStorage.setItem('powerAccess',"siteCheck") // localStorage.setItem('setUrlRec',"siteCheck") // localStorage.setItem('powerAccess',"siteCheck") console.log(localStorage.getItem('powerAccess')) window.open(`#/siteCheck?params=${JSON.stringify(this.annualReportDetails)}&go='go'`, '_blank') }else if(this.EventType==='企业监控-管理事项'){ this.tab1PopModal=false localStorage.setItem('powerAccess',"managementItem") // localStorage.setItem('setUrlRec',"managementItem") //localStorage.setItem('powerAccess',"managementItem") window.open(`#/managementItem?params=${JSON.stringify(this.annualReportDetails)}&go='go'`, '_blank') }else if(this.EventType==='信用评级'){ this.tab1PopModal=false localStorage.setItem('powerAccess',"basicAttributes_tool") // localStorage.setItem('powerAccess',"basicAttributes_tool") window.open(`#/basicAttributes_tool?name=${params.row.CompanyName}&go='go'`, '_blank') }else if(this.EventType==='租赁融资'){ this.tab1PopModal=true