付延余
2022-05-07 7c2ff43a4f70638fb063d0aa1d2f1624e6cada33
其他业务
3个文件已修改
1个文件已添加
34 ■■■■ 已修改文件
config/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/businessPolicy.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/show/businessPolicy/BusinessPolicy.vue 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/show/otherBusiness/otherBusinessChild/OtherB_PeopleJunShouRu.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
config/index.js
@@ -3,7 +3,7 @@
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require("path");
let url = 'http://192.168.0.130:8081'
let url = 'http://192.168.0.139:8081'
module.exports = {
  dev: {
src/api/businessPolicy.js
New file
@@ -0,0 +1,6 @@
import {postRequest,getRequest} from "../libs/axios";
// 37. 查询营商政策五个统计数量接口
export const getCount = params=> {
  return postRequest('/ybg/webservice/app/policy/getCount.do',params)
}
src/pages/show/businessPolicy/BusinessPolicy.vue
@@ -11,7 +11,7 @@
          />
        </div>
        <div class="text">累计出台政策数量</div>
        <div class="numText"><span>280</span>条</div>
        <div class="numText"><span>{{ CountObj.totalPolicy }}</span>条</div>
      </div>
      <div class="upCentent_item">
        <div class="icon">
@@ -21,7 +21,7 @@
          />
        </div>
        <div class="text">惠及企业数量</div>
        <div class="numText"><span>70</span>万户</div>
        <div class="numText"><span>{{ CountObj.units }}</span>万户</div>
      </div>
      <div class="upCentent_item">
        <div class="icon">
@@ -31,7 +31,7 @@
          />
        </div>
        <div class="text">惠及个人数量</div>
        <div class="numText"><span>25.9</span>万人</div>
        <div class="numText"><span>{{ CountObj.persons }}</span>万人</div>
      </div>
      <div class="upCentent_item">
        <div class="icon">
@@ -41,7 +41,7 @@
          />
        </div>
        <div class="text">减免金额</div>
        <div class="numText"><span>1563</span>万元</div>
        <div class="numText"><span>{{ CountObj.amount }}</span>万元</div>
      </div>
      <div class="upCentent_item">
        <div class="icon">
@@ -51,7 +51,7 @@
          />
        </div>
        <div class="text">新闻报道数量</div>
        <div class="numText"><span>36500</span>条</div>
        <div class="numText"><span>{{ CountObj.news }}</span>条</div>
      </div>
    </div>
    <!-- 表格区 -->
@@ -167,9 +167,11 @@
  </div>
</template>
<script>
import {getCount} from '@/api/businessPolicy'
export default {
  data() {
    return {
      CountObj:{},
      tableData: [
        {
          keshi: "失业处",
@@ -456,6 +458,9 @@
      tableHeight: window.innerHeight * 0.62
    };
  },
  mounted(){
    this.getCount()
  },
  methods: {
    tableRowClassName({rowIndex}) {
      if (rowIndex % 2 === 0) {
@@ -468,6 +473,15 @@
      console.log(row);
      console.log(row.__ob__.dep.id);
      console.log(row.id);
    },
    // 37. 查询营商政策五个统计数量接口
    getCount(){
      getCount().then(res=>{
        // console.log(res);
        if(res.code === 1000){
          this.CountObj = res.obj
        }
      })
    }
  }
};
src/pages/show/otherBusiness/otherBusinessChild/OtherB_PeopleJunShouRu.vue
@@ -167,7 +167,7 @@
    // 32. 查询居民可支配收入分析图数据接口
    getIncomeLine() {
      getIncomeLine().then(res => {
        console.log(res);
        // console.log(res);
        if(res.code===1000){
          this.echartsSeries = res.obj
          this.Init_echarts()