hailu
2023-02-22 937cd63e90b0ed61ce932cddba214030b3ba9cd0
城投优化
7个文件已修改
194 ■■■■ 已修改文件
src/components/main/components/header-bar/header-bar.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/main/components/header-bar/sider-trigger/sider-trigger.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/routers.js 85 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/chengtou/zhengxinCompeny.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/chengtou/zoneAnalyse.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/diligenceTools/checkCityInvestmentZone.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/rentExchangeZF/rentExchangeCompanyZF.vue 60 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/main/components/header-bar/header-bar.vue
@@ -101,6 +101,7 @@
    this.title2 = ''
    this.title3 = ''
    let a = localStorage.getItem('companyStore')
    console.log(localStorage.getItem('companyStore'))
    if (a == 'controlList' || a == 'qiyejiankong') {
      this.title1 = '实时监控中心'
      this.showBoolean = true
@@ -139,6 +140,9 @@
    }  else if (a === 'enterpriseRelationshipMining') {
      this.title1 = '企业挖掘'
      this.showBoolean = true
    } else if (a === 'zoneAnalyses') {
      this.title1 = '政信大数据'
      this.showBoolean = true
    } else {
      this.title1 = '账户信息'
      this.showBoolean = true
@@ -152,6 +156,7 @@
      'setMainTag'
    ]),
    titleMethod (data) {
      // console.log(data)
      let a = localStorage.getItem('companyStore')
      localStorage.removeItem('companyStore')
      this.title1 = ''
@@ -195,6 +200,9 @@
        } else if (data === 'enterpriseRelationshipMining') {
          this.title1 = '企业挖掘'
          this.showBoolean = true
        } else if (data === 'zoneAnalyses'||data==='zongheEvaluates'||data==='zhengxinCompenys'||data==='rongziStructures'||data==='zonedynamics') {
          this.title1 = '政信大数据'
          this.showBoolean = true
        } else {
          this.title1 = '账户信息'
          this.showBoolean = true
src/components/main/components/header-bar/sider-trigger/sider-trigger.vue
@@ -56,14 +56,12 @@
             <span class="ivu-icon custom custom-icon_xinyong_xianxing_jijin-168"></span>
             <span class="two_class" name="zoneAnalyses" @click="setVersionInfo('zoneAnalyses')">区域经济</span>
           </li>
           <li>
             <span class="ivu-icon custom custom-pinggu1"></span>
             <span class="two_class" name="zongheEvaluates" @click="setVersionInfo('zongheEvaluates')">综合评估</span>
           </li>
           <li>
             <span class="ivu-icon custom custom-gongsi1"></span>
             <span class="two_class" name="zhengxinCompenys" @click="setVersionInfo('zhengxinCompenys')">城投平台</span>
           </li>
           <li>
             <span class="ivu-icon custom custom-fenxi3"></span>
             <span class="two_class" name="rongziStructures" @click="setVersionInfo('rongziStructures')">融资分析</span>
@@ -72,6 +70,10 @@
             <span class="ivu-icon custom custom-shixiangguanli"></span>
             <span class="two_class" name="zonedynamics" @click="setVersionInfo('zonedynamics')">区域动态</span>
           </li>
           <li>
             <span class="ivu-icon custom custom-pinggu1"></span>
             <span class="two_class" name="zongheEvaluates" @click="setVersionInfo('zongheEvaluates')">综合评估</span>
           </li>
         </ul>
       </li>
        <li class="first_class">
src/router/routers.js
@@ -57,7 +57,7 @@
        redirect: '/zoneAnalyse',
        meta: {
            notCache: true,
            access: ['no_admin', 'zoneAnalyses', 'zoneCompare', 'zoneDetail'],
            access: ['no_admin', 'zoneAnalyses', 'zoneCompare', 'zoneDetail','zhengxinAreas'],
            icon: 'custom custom-icon_xinyong_xianxing_jijin-168',
            title: '区域经济'
        },
@@ -73,6 +73,19 @@
                },
                component: () =>
                    import ('@/view/chengtou/zoneAnalyse.vue'),
            },
            {
                path: '/zhengxinAreas',
                name: 'zhengxinAreas',
                meta: {
                    access: ['no_admin', 'zhengxinAreas'],
                    notCache: true,
                    icon: 'custom custom-yinhangliushuifenxi_b',
                    title: '区域评估'
                },
                component: () =>
                    // import ('@/view/chengtou/zongheEvaluate.vue')
                    import ('@/view/rentExchangeZF/rentExchangeCompanyZF.vue')
            },
            {
                path: '/checkCityInvestmentZone',
@@ -181,37 +194,12 @@
        ]
    },
    {
        path: '/zongheEvaluates',
        name: 'zongheEvaluates',
        redirect: '/zongheEvaluate',
        meta: {
            notCache: true,
            access: ['no_admin', 'zongheEvaluates'],
            icon: 'custom custom-pinggu1',
            title: '综合评估'
        },
        component: Main,
        children: [{
            path: '/zongheEvaluate',
            name: 'zongheEvaluate',
            meta: {
                access: ['no_admin', 'zongheEvaluates'],
                notCache: true,
                icon: 'custom custom-jiegou1',
                title: '综合评估'
            },
            component: () =>
                // import ('@/view/chengtou/zongheEvaluate.vue')
                import ('@/view/rentExchangeZF/rentExchangeCompanyZF.vue')
        }, ]
    },
    {
        path: '/zhengxinCompenys',
        name: 'zhengxinCompenys',
        redirect: '/zhengxinCompeny',
        meta: {
            notCache: true,
            access: ['no_admin', 'zhengxinCompenys'],
            access: ['no_admin', 'zhengxinCompenys','zhengxinPlats'],
            icon: 'custom custom-gongsi1',
            title: '城投平台'
        },
@@ -227,8 +215,24 @@
            },
            component: () =>
                import ('@/view/chengtou/zhengxinCompeny.vue')
        }, ]
        },
        {
            path: '/zhengxinPlats',
            name: 'zhengxinPlats',
            meta: {
                access: ['no_admin', 'zhengxinPlats'],
                notCache: true,
                icon: 'custom custom-yinhangliushuifenxi_b',
                title: '平台评估'
            },
            component: () =>
                // import ('@/view/chengtou/zongheEvaluate.vue')
                import ('@/view/rentExchangeZF/rentExchangeCompanyZF.vue')
        },
    ]
    },
    {
        path: '/rongziStructures',
        name: 'rongziStructures',
@@ -304,6 +308,31 @@
        }, ]
    },
    {
        path: '/zongheEvaluates',
        name: 'zongheEvaluates',
        redirect: '/zongheEvaluate',
        meta: {
            notCache: true,
            access: ['no_admin', 'zongheEvaluates'],
            icon: 'custom custom-pinggu1',
            title: '综合评估'
        },
        component: Main,
        children: [{
            path: '/zongheEvaluate',
            name: 'zongheEvaluate',
            meta: {
                access: ['no_admin', 'zongheEvaluates'],
                notCache: true,
                icon: 'custom custom-jiegou1',
                title: '综合评估'
            },
            component: () =>
                // import ('@/view/chengtou/zongheEvaluate.vue')
                import ('@/view/rentExchangeZF/rentExchangeCompanyZF.vue')
        }, ]
    },
    {
        path: '/rentExchange',
        name: 'rentExchange',
        redirect: '/rentExchangeCompany',
src/view/chengtou/zhengxinCompeny.vue
@@ -155,7 +155,7 @@
          //  this.shengList.push({label:this.allAreaList[i].label,value:this.allAreaList[i].value})
          // }
          console.log(this.shengList);
          // console.log(this.shengList);
          // this.shengList=
          // if (area) {
          //   area.unshift({
src/view/chengtou/zoneAnalyse.vue
@@ -17,11 +17,11 @@
            </Col>
          </Row>
        </div>
        <div style="width: 400px;margin-left: 12px">
        <div style="width: 250px;margin-left: 12px">
          <!-- <Cascader :data="areaList"></Cascader>  -->
          <!-- <cascaderMulti @on-change="btncontrol" size="large" :data="areaList" multiple></cascaderMulti> -->
          <el-cascader :options="areaList" @change="btncontrol" ref="cascader" collapse-tags
          <el-cascader :options="areaList" @change="btncontrol" ref="cascader" collapse-tags style="width:250px"
            :props="{ multiple: true, checkStrictly: true, }" clearable></el-cascader>
          <!-- <el-cascader :options="areaList" @change="cardChange" ref="cascader" collapse-tags
            :props="{ multiple: true, checkStrictly: true, checkAll: true, expandTrigger: 'hover' }"
@@ -1586,6 +1586,20 @@
  methods: {
 
    getTreeData(data){
                // 循环遍历json数据
                for(var i=0;i<data.length;i++){
                    if(data[i].children.length<1){
                        // children若为空数组,则将children设为undefined
                        data[i].children=undefined;
                    }else {
                        // children若不为空数组,则继续 递归调用 本方法
                        this.getTreeData(data[i].children);
                    }
                }
                return data;
            },
@@ -1836,7 +1850,7 @@
    },
    getPlatform() {
      let Areas = []
      console.log(this.areaCascaderValue);
      // console.log(this.areaCascaderValue);
      let a;
      let b;
      let c;
@@ -1851,7 +1865,7 @@
          b = "";
          c = ""
        } else {
          console.log(this.copyAreaCascaderValue);
          // console.log(this.copyAreaCascaderValue);
          // a = this.areaCascaderValue[0]
          // b = this.areaCascaderValue[1]
          // c = this.areaCascaderValue[2]
@@ -1882,7 +1896,7 @@
        orderByCol: this.orderByCol,
        orderByType: this.orderByType,
      }
      console.log(data)
      // console.log(data)
      axios.request({
        url: '/CityInvestment/GetCityAreaPage',
        data,
@@ -1919,7 +1933,8 @@
          //     label: "全部",
          //     value: "全部",
          //   })
          this.areaList = area
          // this.areaList = area
          this.areaList=this.getTreeData(area)
          // this.copyareaList=this.areaList
          //   //   // console.log(this.areaList);
          // } else {
src/view/diligenceTools/checkCityInvestmentZone.vue
@@ -528,7 +528,7 @@
          //  this.shengList.push({label:this.allAreaList[i].label,value:this.allAreaList[i].value})
          // }
          console.log(this.shengList);
          // console.log(this.shengList);
          // this.shengList=
          // if (area) {
          //   area.unshift({
src/view/rentExchangeZF/rentExchangeCompanyZF.vue
@@ -7,11 +7,20 @@
          <!-- <Icon type="ios-keypad"/> -->
          <Icon v-if="this.$router.currentRoute.name==='zongheEvaluate'" custom="custom custom-jiegou1"></Icon>
          <span v-else class="ivu-icon custom custom-yinhangliushuifenxi_b"></span>
          <!-- <span v-if="this.$router.currentRoute.name==='rentExchangeCompanyZF'" class="ivu-icon custom custom-yinhangliushuifenxi_b"></span> -->
          <!-- <span v-if="this.$router.currentRoute.name==='zhengxinArea'" class="ivu-icon custom custom-yinhangliushuifenxi_b"></span>
          <span v-if="this.$router.currentRoute.name==='zhengxinPlats'" class="ivu-icon custom custom-yinhangliushuifenxi_b"></span> -->
         
          
          <span v-if="this.$router.currentRoute.name==='zongheEvaluate'" style="cursor: pointer;margin-left: 5px">综合评估</span>
          <span v-else style="cursor: pointer;margin-left: 5px">企业评估-政信公司</span>
          <!-- <span v-if="this.$router.currentRoute.name==='zongheEvaluate'" style="cursor: pointer;margin-left: 5px">综合评估</span>
          <span v-if="this.$router.currentRoute.name==='rentExchangeCompanyZF'" style="cursor: pointer;margin-left: 5px">企业评估-政信公司</span>
          <span v-if="this.$router.currentRoute.name==='zhengxinAreas'" style="cursor: pointer;margin-left: 5px">区域评估</span>
          <span v-if="this.$router.currentRoute.name==='zhengxinPlats'" style="cursor: pointer;margin-left: 5px">平台评估</span> -->
          <!-- this.currName -->
          <span v-if="this.currName==='zongheEvaluate'" style="cursor: pointer;margin-left: 5px">综合评估</span>
          <span v-if="this.currName==='rentExchangeCompanyZF'" style="cursor: pointer;margin-left: 5px">企业评估-政信公司</span>
          <span v-if="this.currName==='zhengxinAreas'" style="cursor: pointer;margin-left: 5px">区域评估</span>
          <span v-if="this.currName==='zhengxinPlats'" style="cursor: pointer;margin-left: 5px">平台评估</span>
        </div>
      </Card>
      <Card style="margin-top: 12px">
@@ -88,7 +97,7 @@
          <li class="list" style="padding-left: 130px;width: 100%;">
            <span class="list_name" style="width: 100px;">评估模式</span>
            <div style="padding: 7px 0;">
              <RadioGroup v-model="addMessage.Type">
              <RadioGroup v-model="addMessage.Type" v-if="this.$router.currentRoute.name==='zongheEvaluate'||this.$router.currentRoute.name==='rentExchangeCompanyZF'">
                <Radio label="按公司评估">
                  <span>按公司评估</span>
                </Radio>
@@ -96,6 +105,17 @@
                  <span>按区域评估</span>
                </Radio>
              </RadioGroup>
              <!-- <RadioGroup > -->
                <Radio v-model="singleRadio" v-if="this.$router.currentRoute.name==='zhengxinPlats'">
                  <span>平台评估</span>
                </Radio>
              <!-- </RadioGroup> -->
              <!-- <RadioGroup > -->
                <Radio  v-model="singleRadio" v-if="this.$router.currentRoute.name==='zhengxinAreas'">
                  <span>区域评估</span>
                </Radio>
              <!-- </RadioGroup> -->
            </div>
          </li>
          <li v-if="addMessage.Type == '按公司评估'" class="list" style="padding-left: 130px;width: 100%;">
@@ -107,7 +127,7 @@
                       size="large"
                       @on-change="remoteMethod"
                       :class="addMessage.CompanyName?'':'ErrorTip'"
                       placeholder="请输入租赁公司名称"></Input>
                       placeholder="请输入政信公司名称"></Input>
                <!-- :class="addMessage.CompanyName?'':'ErrorTip'"         -->
                <ul slot="content" style="width: 380px;">
                  <li v-if="optionsList && optionsList.length == 0">无匹配结果</li>
@@ -787,6 +807,8 @@
        CreateTime: '',
        State: '',
        Type: '按公司评估',//评估模式
        Type1: '平台评估',//评估模式
        Type2: '区域评估',//评估模式
      },
      addModalNext: false,//政信新建评估下一步
      addModalPre: false,//政信新建评估上一步
@@ -921,12 +943,14 @@
      reportData: {},
      areaName: '',
      areaReport: [],
      areaReportEcharts: []
      areaReportEcharts: [],
      currName:'',
      singleRadio:true
    }
  },
  mounted () {
    // console.log(this.$router.currentRoute.name==='zongheEvaluate')
    console.log(this.$router.currentRoute.name)
    this.getProvince()
    this.getTags()
    this.GetReportPage(1)
@@ -2788,9 +2812,27 @@
    }
  },
  // watch:{
  //   detailTab(newValue,old){
  //   }
  //   // detailTab(newValue,old){
  //   // }
  // },
  watch: {//数据监听
        $route: {
            handler() {
              // if(this.$router.currentRoute.name==='semiconductorPage'){
                this.currName=this.$router.currentRoute.name
                // <span v-if="this.currName==='zhengxinAreas'" style="cursor: pointer;margin-left: 5px">区域评估</span>
                // if(this.currName==='zhengxinAreas'){
                //   this.addMessage.Type='区域评估'
                // }
                // if(this.currName==='zhengxinPlats'){
                //   this.addMessage.Type='平台评估'
                // }
          // <span v-if="this.currName==='zhengxinPlats'" style="cursor: pointer;margin-left: 5px">平台评估</span>
              // }
            },
            immediate: true,
        },
    },
  computed: {
    //区域经济
    areaDataList () {