hailu
2023-01-13 d271e71a6ccd1b99cd969982df9c8284935dc812
政信大数据
5个文件已修改
190 ■■■■■ 已修改文件
package.json 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/main/components/header-bar/sider-trigger/sider-trigger.vue 54 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/chengtou/zoneAnalyse.vue 98 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/enterpriseControl/bankPunishEvent.vue 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json
@@ -13,6 +13,7 @@
  "dependencies": {
    "@antv/g6": "^4.3.2",
    "axios": "^0.18.0",
    "cascader-multi": "^2.0.3",
    "clipboard": "^2.0.0",
    "codemirror": "^5.38.0",
    "countup": "^1.8.2",
@@ -20,6 +21,7 @@
    "d3": "^5.16.0",
    "dayjs": "^1.7.7",
    "echarts": "^4.9.0",
    "element-ui": "^2.15.12",
    "file-saver": "^2.0.2",
    "html2canvas": "^1.0.0-alpha.12",
    "iview-area": "^1.5.17",
src/components/main/components/header-bar/sider-trigger/sider-trigger.vue
@@ -10,7 +10,7 @@
    </a>
    <div v-show="showMenu">
      <ul @mouseleave="mouseLeave"
          style="position: absolute;background: #fff;width: 800px;z-index: 99999;top:0px;left: 60px;box-shadow: 0px 1px 2px 1px #ccc;border-radius:5px "
          style="position: absolute;background: #fff;width: 1000px;z-index: 99999;top:0px;left: 60px;box-shadow: 0px 1px 2px 1px #ccc;border-radius:5px "
          class="first_ul">
        <li class="first_class">
          <h4>市场大数据</h4>
@@ -49,31 +49,31 @@
<!--            </li>-->
          </ul>
        </li>
<!--        <li class="first_class">-->
<!--          <h4>政信大数据</h4>-->
<!--          <ul>-->
<!--            <li>-->
<!--              <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-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>-->
<!--            </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-shixiangguanli"></span>-->
<!--              <span class="two_class" name="zonedynamics" @click="setVersionInfo('zonedynamics')">区域动态</span>-->
<!--            </li>-->
<!--          </ul>-->
<!--        </li>-->
       <li class="first_class">
         <h4>政信大数据</h4>
         <ul>
           <li>
             <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-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>
           </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-shixiangguanli"></span>
             <span class="two_class" name="zonedynamics" @click="setVersionInfo('zonedynamics')">区域动态</span>
           </li>
         </ul>
       </li>
        <li class="first_class">
          <h4>企业大数据</h4>
          <ul>
@@ -273,7 +273,7 @@
.first_class {
  display: inline-block;
  width: 25%;
  width: 20%;
  box-sizing: border-box;
  vertical-align: top;
  padding: 0 15px;
src/main.js
@@ -18,6 +18,11 @@
import '@/assets/icons/iconfont.css'
import axios from 'axios'
import * as d3 from 'd3'
import cascaderMulti from "cascader-multi";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
Vue.use(cascaderMulti);
// 实际打包时应该不引入mock
/* eslint-disable */
src/view/chengtou/zoneAnalyse.vue
@@ -11,26 +11,27 @@
        <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="areaChangeYear" 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">
        <div style="width: 400px;margin-left: 12px">
          <Cascader filterable :data="areaList" v-model="areaCascaderValue" change-on-select size="large"  @on-change="btncontrol"  placeholder="请选择区域"></Cascader>
          <!-- <cascaderMulti @on-change="btncontrol" size="large" :data="areaList" multiple></cascaderMulti> -->
          <!-- <el-cascader ref="cascader" v-model="areaCascaderValue" :props="props" :options="areaList"
            @change="btncontrol" collapse-tags :clearable="true"></el-cascader> -->
        </div>
        <div style="width: 180px;margin-left: 12px" class="levelclass">
          <Select v-model="areaAdministration"
                  size="large"
                  :max-tag-count="1"  multiple
                  placeholder="请选择行政级别"
                  @on-select="btncontrollevel"
                  @on-change="btelevelchange"
          >
          <Select v-model="areaAdministration" size="large" :max-tag-count="1" multiple placeholder="请选择行政级别"
            @on-select="btncontrollevel" @on-change="btelevelchange">
            <Option  v-for="item in levelList"  :value="item"  :key="item" :label="item">{{item}}</Option>
          </Select>
        </div>
        <div style="margin-left: 12px">
          <Button style="font-size: 14px" :disabled="checkBtn" type="primary" size="large" @click="areaChange">查询</Button>
          <Button style="font-size: 14px" :disabled="checkBtn" type="primary" size="large"
            @click="areaChange">查询</Button>
        </div>
<!--        <div style="width: 150px;margin-left: 12px">-->
<!--          <Select v-model="areakoujing"-->
@@ -44,10 +45,13 @@
<!--        </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>
            <div
              style="margin-left: 20px;height: 40px;line-height: 40px;border: 1px solid #dcdee2;padding: 0 10px;border-radius: 3px;">
              标签配置</div>
            <div slot="content" style="width: 400px;">
              <CheckboxGroup v-model="checkShowList" @on-change="changeTitle">
                <Checkbox v-for="(item,index) in areaColumnsClone" :label="item.title" style="display: block" :disabled="index===goindex"></Checkbox>
                <Checkbox v-for="(item, index) in areaColumnsClone" :label="item.title" style="display: block"
                  :disabled="index === goindex"></Checkbox>
              </CheckboxGroup>
            </div>
@@ -57,26 +61,19 @@
      <div class="cityZone">
        <Table border :columns="areaColumns" :data="areaTableList" :loading="loadingplatform" max-height="600">
          <template slot="action" slot-scope="params">
            <Tooltip content="加入对比"  class="tableActionMargin"  theme="light" transfer max-width="200"
                     placement="top">
              <Icon custom="custom custom-tianjia" size="18"
                    :class="defaultassetsmode ? 'disabledIcon' : 'actionIcon'" @click="addAreaclick(params.row)"/>
            <Tooltip content="加入对比" class="tableActionMargin" theme="light" transfer max-width="200" placement="top">
              <Icon custom="custom custom-tianjia" size="18" :class="defaultassetsmode ? 'disabledIcon' : 'actionIcon'"
                @click="addAreaclick(params.row)" />
            </Tooltip>
            <Tooltip content="查看"  class="tableActionMargin"  theme="light" transfer max-width="200"
                     placement="top">
              <Icon custom="custom custom-chakan" size="18"
                    :class="defaultassetsmode ? 'disabledIcon' : 'actionIcon'" @click="checkAreaclick(params.row)"/>
            <Tooltip content="查看" class="tableActionMargin" theme="light" transfer max-width="200" placement="top">
              <Icon custom="custom custom-chakan" size="18" :class="defaultassetsmode ? 'disabledIcon' : 'actionIcon'"
                @click="checkAreaclick(params.row)" />
            </Tooltip>
          </template>
        </Table>
        <div style="margin-top: 12px">
          <Page :current="pageIndex"
                :total="TotalItems"
                :page-size="50"
                style="text-align: right"
                @on-change="changePageIndex"
                show-elevator
          />
          <Page :current="pageIndex" :total="TotalItems" :page-size="50" style="text-align: right"
            @on-change="changePageIndex" show-elevator />
        </div>
      </div>
      <div v-show="addModalShow" class="addModalwidth">
@@ -92,7 +89,8 @@
            </div>
          </div>
          <div v-show="hideGo">
            <span @click="showModal" style="cursor: pointer"> << </span>
            <span @click="showModal" style="cursor: pointer">
              << </span>
          </div>
        </Card>
      </div>
@@ -107,12 +105,13 @@
  name: 'zoneAnalyse',
  data () {
    return {
      props: { multiple: true, emitPath: true },
      checkBtn:true,
      loadingplatform:false,
      checkShowList:[],
      areaQueryArr:[],
      addModalShow:false,
      areaCascaderValue:["全部"],
      areaCascaderValue: ["全部",'111'],
      defaultassetsmode:false,
      pageIndex:1,
      levelList:[],
@@ -646,6 +645,7 @@
      this.getPlatform()
    },
    getPlatform(){
      // console.log(this.areaCascaderValue);
      let a;
      let b;
      let c;
@@ -724,6 +724,7 @@
              value: "全部",
            })
            this.areaList=area
            console.log(this.areaList);
          }else{
            this.areaList=[{
              label: "全部",
@@ -768,10 +769,34 @@
      })
    },
    btncontrol(){
    getareaCascaderValue(list){
      this.$nextTick(() => {
        if (list === undefined || list === null || list === []) {
          this.areaCascaderValue = ['全部']
        }else if(list.length===1&&list[0].label==='全部'){
          this.areaCascaderValue = ['全部']
        }else{
          for (let i = 0; i < list.length; i++) {
            this.areaCascaderValue.push(list[i].label)
            // console.log(this.areaCascaderValue[i]);
          }
        }
      });
      console.log(this.areaCascaderValue);
    },
    btncontrol(e) {
      // this.$nextTick(() => {
      //   this.areaCascaderValue = []
      //   let list = this.$refs['cascader'].getCheckedNodes()
      //   this.getareaCascaderValue(list)
      //   // console.log(list);
      // });
      this.checkBtn=false
    },
    btncontrollevel(row){
      console.log(row);
      this.$nextTick(() => {
        let a = []
        this.areaAdministration.forEach((val, index) => {
@@ -898,66 +923,77 @@
  float: right;
  margin-left: 5px;
}
.xiangshang{
  display: block;
  cursor: pointer;
  color: #575656;
  line-height: 0.5;
}
.xiangxia{
  display: block;
  cursor: pointer;
  color: #575656;
  line-height: 0.45;
}
.xiangshang1{
  display: block;
  cursor: pointer;
  color: #575656;
  line-height: 0.5;
}
.xiangxia1{
  display: block;
  cursor: pointer;
  color: #575656;
  line-height: 0.45;
}
.xiangshang2{
  display: block;
  cursor: pointer;
  color: #575656;
  line-height: 0.5;
}
.xiangxia2{
  display: block;
  cursor: pointer;
  color: #575656;
  line-height: 0.45;
}
.xiangshang3{
  display: block;
  cursor: pointer;
  color: #575656;
  line-height: 0.5;
}
.xiangxia3{
  display: block;
  cursor: pointer;
  color: #575656;
  line-height: 0.45;
}
.xiangshang4{
  display: block;
  cursor: pointer;
  color: #575656;
  line-height: 0.5;
}
.xiangxia4{
  display: block;
  cursor: pointer;
  color: #575656;
  line-height: 0.45;
}
/*.addclassxiang{*/
/*  color: #4f8cf0;*/
/*}*/
@@ -967,6 +1003,7 @@
  line-height: 35px;
  margin-bottom: 5px;
}
.addModalwidth{
  width: 200px;
  position: fixed;
@@ -974,6 +1011,7 @@
  top: 30%;
  z-index: 4;
}
.levelclass  .ivu-tag-text{
  font-size: 14px;
}
src/view/enterpriseControl/bankPunishEvent.vue
@@ -70,7 +70,7 @@
      
      <Button size="large" v-show="showMore===false"  type="primary" style="margin: 12px 5px;width: 88px;" @click="showMore=!showMore">展开</Button>
      <Button size="large" v-show="showMore===true" type="primary" style="margin: 12px 5px;width: 88px;" @click="showMore=!showMore">收起</Button>
      <Button size="large" icon="ios-search" type="primary" style="margin: 12px 0" @click="searchClick">搜索 </Button>
      <Button size="large" icon="ios-search" type="primary" style="margin: 12px 0" @click="searchClick(1)">搜索 </Button>
</div>
@@ -428,7 +428,7 @@
          </tr>
          <tr class="rentThClass" style="border-style: none;background: #f2f2f2">
            <td style=";width:200px;">主要违法违规事实(案由)</td>
            <td  style="border-right: 1px solid #ccc" colspan="3">{{ detailParams.ay ? detailParams.ay : '--' }}</td>
            <td  style="border-right: 1px solid #ccc" colspan="3" v-html="detailParams.ay ? detailParams.ay : '--'"></td>
          </tr>
          <tr class="rentThClass" style="border-style: none">
            <td style=";width:200px;">行政处罚依据</td>
@@ -1508,6 +1508,7 @@
     *  页面page的change事件
     **/
    changePageIndex(page) {
      console.log(page);
      
      if (page > this.TotalPages) {
        this.pageIndex = 1
@@ -1516,25 +1517,25 @@
      }
      $('.rentScrollOut .ivu-table-body').animate({ scrollTop: 0 }, 'slow')
      if (this.searchChange === 1) {
        this.getRentList()
      } else if (this.searchChange === 2) {
        this.confirmSenior()
      } else if (this.searchChange === 3) {
        this.searchClick()
      }
      // if (this.searchChange === 1) {
      //   this.getRentList()
      // } else if (this.searchChange === 2) {
      //   this.confirmSenior()
      // } else if (this.searchChange === 3) {
        this.searchClick(this.pageIndex)
      // }
      // this.pageIndex = 1
    },
    searchClick() {
    searchClick(page) {
      this.searchChange = 3
      this.confirmSeniorFirst = 1
      this.getRentListFirst = 1
      if (this.searchClickFirst === 1) {
        this.pageIndex = 1
      // if (this.searchClickFirst === 1) {
        this.pageIndex = page
        this.$refs['pagesChange1'].currentPage = 1
        this.searchClickFirst = 0
      }
      // }
      // this.searchClickFirst=0
      this.loadingRent = true
      this.rentList = []
@@ -1755,7 +1756,7 @@
        title: '被处罚单位',
        key: 'fzr',
        align: 'center',
        width: 150,
        width: 250,
        fixed: 'left',
        render: (h, params) => {
          if (params.row.dwmc) {
@@ -1771,7 +1772,7 @@
        title: '处罚机关名称',
        key: 'jgmc',
        align: 'left',
        minWidth: 200,
        minWidth: 150,
        render: (h, params) => {
          if (params.row.jgmc) {
            return h('span', params.row.jgmc)