| | |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/' |
| | | |
| | | # 任康 |
| | | VUE_APP_API = 'http://localhost:10030/' |
| | | VUE_APP_API = 'http://192.168.0.131:10030/' |
| | | |
| | | # VUE_APP_API = 'http://192.168.0.131:10031/' |
| | |
| | | |
| | | # VUE_APP_API = 'https://dmtest.ahapp.net/yyb_web_api/' |
| | | |
| | | VUE_APP_API = 'http://localhost:10031/' |
| | | # VUE_APP_API = 'http://localhost:10031/' |
| | | |
| | | VUE_APP_API = 'http://192.168.0.131:10031/' |
| | | |
| | | # VUE_APP_API = 'https://www.yyb.red/yyb_web_api/' |
| | |
| | | VUE_APP_CONTEXT_PATH = '/yyb_admin' |
| | | |
| | | # 平台端 |
| | | VUE_APP_API = 'https://dmtest.ahapp.net/yyb_admin_api/' |
| | | VUE_APP_API = 'https://test.doumee.cn/yyb_admin_api/' |
| | | |
| | | # 企业端 |
| | | # VUE_APP_API = 'https://www.yyb.red/yyb_admin_api/' |
| | |
| | | VUE_APP_SYSTEM_TITLE = '云易保客户服务系统-企业端' |
| | | |
| | | # 企业端 |
| | | VUE_APP_API = 'https://dmtest.ahapp.net/yyb_web_api/' |
| | | VUE_APP_API = 'https://test.doumee.cn/yyb_admin_api/' |
| | | |
| | | # 企业端 |
| | | # VUE_APP_API = 'https://www.yyb.red/yyb_web_api/' |
| | |
| | | "integrity": "sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo=", |
| | | "dev": true |
| | | }, |
| | | "ansi-styles": { |
| | | "version": "4.3.0", |
| | | "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", |
| | | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "color-convert": "^2.0.1" |
| | | } |
| | | }, |
| | | "chalk": { |
| | | "version": "4.1.2", |
| | | "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", |
| | | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "ansi-styles": "^4.1.0", |
| | | "supports-color": "^7.1.0" |
| | | } |
| | | }, |
| | | "color-convert": { |
| | | "version": "2.0.1", |
| | | "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", |
| | | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "color-name": "~1.1.4" |
| | | } |
| | | }, |
| | | "color-name": { |
| | | "version": "1.1.4", |
| | | "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", |
| | | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "has-flag": { |
| | | "version": "4.0.0", |
| | | "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", |
| | | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "loader-utils": { |
| | | "version": "2.0.4", |
| | | "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz", |
| | | "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "big.js": "^5.2.2", |
| | | "emojis-list": "^3.0.0", |
| | | "json5": "^2.1.2" |
| | | } |
| | | }, |
| | | "ssri": { |
| | | "version": "8.0.1", |
| | | "resolved": "https://registry.npm.taobao.org/ssri/download/ssri-8.0.1.tgz?cache=0&sync_timestamp=1617826515595&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fssri%2Fdownload%2Fssri-8.0.1.tgz", |
| | |
| | | "dev": true, |
| | | "requires": { |
| | | "minipass": "^3.1.1" |
| | | } |
| | | }, |
| | | "supports-color": { |
| | | "version": "7.2.0", |
| | | "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", |
| | | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "has-flag": "^4.0.0" |
| | | } |
| | | }, |
| | | "vue-loader-v16": { |
| | | "version": "npm:vue-loader@16.8.3", |
| | | "resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz", |
| | | "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "chalk": "^4.1.0", |
| | | "hash-sum": "^2.0.0", |
| | | "loader-utils": "^2.0.0" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "vue-loader-v16": { |
| | | "version": "npm:vue-loader@16.8.3", |
| | | "resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz", |
| | | "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "chalk": "^4.1.0", |
| | | "hash-sum": "^2.0.0", |
| | | "loader-utils": "^2.0.0" |
| | | }, |
| | | "dependencies": { |
| | | "ansi-styles": { |
| | | "version": "4.3.0", |
| | | "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", |
| | | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "color-convert": "^2.0.1" |
| | | } |
| | | }, |
| | | "chalk": { |
| | | "version": "4.1.2", |
| | | "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", |
| | | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "ansi-styles": "^4.1.0", |
| | | "supports-color": "^7.1.0" |
| | | } |
| | | }, |
| | | "color-convert": { |
| | | "version": "2.0.1", |
| | | "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", |
| | | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "color-name": "~1.1.4" |
| | | } |
| | | }, |
| | | "color-name": { |
| | | "version": "1.1.4", |
| | | "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", |
| | | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "has-flag": { |
| | | "version": "4.0.0", |
| | | "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", |
| | | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", |
| | | "dev": true, |
| | | "optional": true |
| | | }, |
| | | "loader-utils": { |
| | | "version": "2.0.4", |
| | | "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz", |
| | | "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "big.js": "^5.2.2", |
| | | "emojis-list": "^3.0.0", |
| | | "json5": "^2.1.2" |
| | | } |
| | | }, |
| | | "supports-color": { |
| | | "version": "7.2.0", |
| | | "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", |
| | | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", |
| | | "dev": true, |
| | | "optional": true, |
| | | "requires": { |
| | | "has-flag": "^4.0.0" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "vue-pdf": { |
| | | "version": "4.3.0", |
| | | "resolved": "https://registry.npmmirror.com/vue-pdf/-/vue-pdf-4.3.0.tgz", |
| | |
| | | export function updReceiveInfo (data) { |
| | | return request.post('/business/settleRisk/updReceiveInfo', data) |
| | | } |
| | | |
| | | // 理赔报案数据报表 |
| | | export function getInsuranceDataVO () { |
| | | return request.get('/business/settleRisk/getInsuranceDataVO') |
| | | } |
| | | |
| | | // 理赔报案数据报表 |
| | | export function getSettleClaimsDataVO () { |
| | | return request.get('/business/settleRisk/getSettleClaimsDataVO') |
| | | } |
| | |
| | | <template> |
| | | <div class="box"> |
| | | <div class="box_shua"> |
| | | <el-button icon="el-icon-refresh" type="primary">刷新数据</el-button> |
| | | <el-button icon="el-icon-refresh" type="primary" @click="getChatData(),getData()">刷新数据</el-button> |
| | | </div> |
| | | <div class="box_head"> |
| | | <div class="box_head_info"> |
| | | <i class="el-icon-info"></i> |
| | | <span>展示当前系统合计总数,每天更新数据</span> |
| | | </div> |
| | | <div class="box_head_list"> |
| | | <div class="box_head_list" v-if="info"> |
| | | <div class="box_head_list_item"> |
| | | <div class="box_head_list_item_top"> |
| | | <span>保险公司数</span> |
| | | <span>本月 +3</span> |
| | | <span>本月 +{{info.insuranceAddTotal}}</span> |
| | | </div> |
| | | <div class="box_head_list_item_bottom">32</div> |
| | | <div class="box_head_list_item_bottom">{{info.insuranceTotal}}</div> |
| | | </div> |
| | | <div class="box_head_list_item"> |
| | | <div class="box_head_list_item_top"> |
| | | <span>保单数</span> |
| | | <span>本月 +12</span> |
| | | <span>本月 +{{info.insuranceApplyAddTotal}}</span> |
| | | </div> |
| | | <div class="box_head_list_item_bottom">88</div> |
| | | <div class="box_head_list_item_bottom">{{info.insuranceApplyTotal}}</div> |
| | | </div> |
| | | <div class="box_head_list_item"> |
| | | <div class="box_head_list_item_top"> |
| | | <span>在保人数</span> |
| | | <span>本月 +300</span> |
| | | <span>本月 +{{info.insuranceUserAddTotal}}</span> |
| | | </div> |
| | | <div class="box_head_list_item_bottom">2,000</div> |
| | | <div class="box_head_list_item_bottom">{{info.insuranceUserTotal}}</div> |
| | | </div> |
| | | <div class="box_head_list_item"> |
| | | <div class="box_head_list_item_top"> |
| | | <span>已收费用合计</span> |
| | | <span>本月 +813,789.00</span> |
| | | <span>本月 +{{info.totalAddFee}}</span> |
| | | </div> |
| | | <div class="box_head_list_item_bottom">¥6,345,654.00</div> |
| | | <div class="box_head_list_item_bottom">¥{{info.totalFee}}</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="box_chart"> |
| | | <div class="box_chart" v-if="chatData"> |
| | | <div class="box_chart_item"> |
| | | <div class="box_chart_item_info"> |
| | | <span>总理赔金额</span> |
| | | <i class="el-icon-info"></i> |
| | | </div> |
| | | <div class="box_chart_item_price">¥2,345,654.00</div> |
| | | <div class="box_chart_item_price">¥{{chatData.settleClaimsTotalFee || ''}}</div> |
| | | <div class="box_chart_item_tu" style="height: 132px" id="tu1"></div> |
| | | </div> |
| | | <div class="box_chart_item"> |
| | |
| | | <span>总理赔案件数</span> |
| | | <i class="el-icon-info"></i> |
| | | </div> |
| | | <div class="box_chart_item_price">1,234</div> |
| | | <div class="box_chart_item_price">{{chatData.settleClaimsTotal || ''}}</div> |
| | | <div class="box_chart_item_tu" style="height: 132px" id="tu2"></div> |
| | | </div> |
| | | <div class="box_chart_item"> |
| | |
| | | <span>平均理赔处理时长</span> |
| | | <i class="el-icon-info"></i> |
| | | </div> |
| | | <div class="box_chart_item_price">10.5天</div> |
| | | <div class="box_chart_item_price">{{chatData.averageSettleClaimsTime || ''}}天</div> |
| | | <div class="box_chart_item_tu" style="height: 132px" id="tu3"></div> |
| | | </div> |
| | | </div> |
| | | <div class="box_shuju"> |
| | | <div class="box_shuju" v-if="chatData"> |
| | | <div class="box_shuju_item"> |
| | | <div class="box_shuju_item_top"> |
| | | <span>受理率</span> |
| | | <i class="el-icon-info"></i> |
| | | </div> |
| | | <div class="box_shuju_item_bottom">95.3%</div> |
| | | <div class="box_shuju_item_bottom">{{chatData.acceptanceRata}}%</div> |
| | | </div> |
| | | <div class="box_shuju_item"> |
| | | <div class="box_shuju_item_top"> |
| | | <span>拒赔率</span> |
| | | <i class="el-icon-info"></i> |
| | | </div> |
| | | <div class="box_shuju_item_bottom">12.8%</div> |
| | | <div class="box_shuju_item_bottom">{{chatData.refuseRata}}%</div> |
| | | </div> |
| | | <div class="box_shuju_item"> |
| | | <div class="box_shuju_item_top"> |
| | | <span>结案率</span> |
| | | <i class="el-icon-info"></i> |
| | | </div> |
| | | <div class="box_shuju_item_bottom">88.9%</div> |
| | | <div class="box_shuju_item_bottom">{{chatData.closeCaseRata}}%</div> |
| | | </div> |
| | | </div> |
| | | <div class="box_content"> |
| | |
| | | <div class="box_content_left_list_item_bottom" v-if="item.title!= ''"> |
| | | <span>较上月</span> |
| | | <div class="box_content_left_list_item_bottom_lv"> |
| | | 8.3% |
| | | {{item.percentage}}% |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | import * as echarts from 'echarts' |
| | | import 'echarts-wordcloud' |
| | | import chinaJSON from '@/assets/china.json' |
| | | import { getInsuranceDataVO, getSettleClaimsDataVO } from '@/api/business/settleRisk' |
| | | export default { |
| | | name: 'dataBoard', |
| | | data () { |
| | |
| | | { |
| | | title: '多次出险', |
| | | num: 0, |
| | | percentage: 0, |
| | | color: '#EF4444', |
| | | backgroundColor: '#FEF2F2' |
| | | }, |
| | | { |
| | | title: '重复报案', |
| | | num: 0, |
| | | percentage: 0, |
| | | color: '#d6f7e5', |
| | | backgroundColor: '#FFF7ED' |
| | | }, |
| | | { |
| | | title: '索赔过多', |
| | | num: 0, |
| | | percentage: 0, |
| | | color: '#CA8A04', |
| | | backgroundColor: '#FEFCE8' |
| | | }, |
| | | { |
| | | title: '新员工出险', |
| | | num: 0, |
| | | percentage: 0, |
| | | color: '#3ea570', |
| | | backgroundColor: '#d6f7e5' |
| | | }, |
| | | { |
| | | title: '敏感词', |
| | | num: 0, |
| | | percentage: 0, |
| | | color: '#2563EB', |
| | | backgroundColor: '#EFF6FF' |
| | | }, |
| | | { |
| | | title: '延迟报案', |
| | | num: 0, |
| | | percentage: 0, |
| | | color: '#4F46E5', |
| | | backgroundColor: '#EEF2FF' |
| | | }, |
| | | { |
| | | title: '新员工保障条款', |
| | | num: 0, |
| | | percentage: 0, |
| | | color: '#9333EA', |
| | | backgroundColor: '#FAF5FF' |
| | | }, |
| | |
| | | color: '#9333EA', |
| | | backgroundColor: '#FAF5FF' |
| | | } |
| | | ] |
| | | ], |
| | | info: null, |
| | | chatData: null |
| | | } |
| | | }, |
| | | created () { |
| | | this.$nextTick(() => { |
| | | this.setChart1() |
| | | this.setChart2() |
| | | this.setChart3() |
| | | this.setChartLipeijine() |
| | | this.setChartDiqu() |
| | | this.setChartAnjianleixing() |
| | | this.setChartShiguleixing() |
| | | this.setChartJieanlv() |
| | | this.setChartGonghzong() |
| | | this.setChartNianlin() |
| | | this.setChartWord() |
| | | }) |
| | | this.getData() |
| | | this.getChatData() |
| | | }, |
| | | methods: { |
| | | getChatData() { |
| | | getSettleClaimsDataVO() |
| | | .then(res => { |
| | | this.chatData = res |
| | | let arr1_x = res.settleClaimsTotalList.map(item => item.dataFirst) |
| | | let arr1_y = res.settleClaimsTotalList.map(item => item.dataSecond) |
| | | |
| | | let arr2_x = res.settleClaimsFeeList.map(item => item.dataFirst) |
| | | let arr2_y = res.settleClaimsFeeList.map(item => item.dataSecond) |
| | | |
| | | let arr3_x = res.averageSettleClaimsList.map(item => item.dataFirst) |
| | | let arr3_y = res.averageSettleClaimsList.map(item => item.dataSecond) |
| | | |
| | | let arr4 = res.sensitiveDataList ? res.sensitiveDataList.map(item => { |
| | | return { |
| | | name: item.dataFirst, |
| | | value: item.dataSecond |
| | | } |
| | | }) : [] |
| | | |
| | | this.list[0].num = res.riskTimesCxTotal |
| | | this.list[0].percentage = res.riskTimesCxRata |
| | | |
| | | this.list[1].num = res.riskRepeatTotal |
| | | this.list[1].percentage = res.riskRepeatRata |
| | | |
| | | this.list[2].num = res.riskTimesSpTotal |
| | | this.list[2].percentage = res.riskTimesSpRata |
| | | |
| | | this.list[3].num = res.riskNewUserTotal |
| | | this.list[3].percentage = res.riskNewUserRata |
| | | |
| | | this.list[4].num = res.riskSensitiveTotal |
| | | this.list[4].percentage = res.riskSensitiveRata |
| | | |
| | | this.list[5].num = res.riskDelayUnitTotal |
| | | this.list[5].percentage = res.riskDelayUnitRata |
| | | |
| | | this.list[6].num = res.riskUnTakeEffectTotal |
| | | this.list[6].percentage = res.riskUnTakeEffectRata |
| | | |
| | | let arr5_x = res.monthTotalMoneyDataList.map(item => item.dataFirst) |
| | | let arr5_y = res.monthTotalMoneyDataList.map(item => item.dataSecond) |
| | | |
| | | let arr6 = res.caseTypeDataList ? res.caseTypeDataList.map(item => { |
| | | return { |
| | | name: item.dataFirst, |
| | | value: item.dataSecond |
| | | } |
| | | }) : [] |
| | | |
| | | let arr7_x = res.typeDataList ? res.typeDataList.map(item => { |
| | | return { |
| | | name: item.dataFirst |
| | | } |
| | | }) : [] |
| | | let arr7_y = res.typeDataList ? res.typeDataList.map(item => Number(item.dataSecond)) : [] |
| | | |
| | | let arr8_x = res.closeRataDataList.map(item => item.dataFirst) |
| | | let arr8_y = res.closeRataDataList.map(item => Number(item.dataSecond)) |
| | | |
| | | let arr9_x = res.workTypeDataList.map(item => item.dataFirst) |
| | | let arr9_y = res.workTypeDataList.map(item => Number(item.dataSecond)) |
| | | |
| | | let arr10_x = res.memberAgeDataList.map(item => item.dataFirst) |
| | | let arr10_y = res.memberAgeDataList.map(item => Number(item.dataSecond)) |
| | | |
| | | let arr11_x = res.areaDataList ? res.areaDataList.map(item => { |
| | | return { |
| | | name: item.dataFirst, |
| | | code: item.dataThird, |
| | | value: item.dataThird |
| | | } |
| | | }) : [] |
| | | |
| | | this.$nextTick(() => { |
| | | this.setChart1(arr1_x, arr1_y) |
| | | this.setChart2(arr2_x, arr2_y) |
| | | this.setChart3(arr3_x, arr3_y) |
| | | this.setChartWord(arr4) |
| | | this.setChartLipeijine(arr5_x, arr5_y) |
| | | this.setChartAnjianleixing(arr6) |
| | | this.setChartShiguleixing(arr7_x, arr7_y) |
| | | this.setChartJieanlv(arr8_x, arr8_y) |
| | | this.setChartGonghzong(arr9_x, arr9_y) |
| | | this.setChartNianlin(arr10_x, arr10_y) |
| | | this.setChartDiqu(arr11_x) |
| | | }) |
| | | }) |
| | | }, |
| | | getData() { |
| | | getInsuranceDataVO() |
| | | .then(res => { |
| | | this.info = res |
| | | }) |
| | | }, |
| | | changeDataType(type){ |
| | | this.dateType = type |
| | | }, |
| | | setChartLipeijine () { |
| | | setChartLipeijine (xData, yData) { |
| | | const chartDom = document.getElementById('tuLipeijine') |
| | | const myChart = echarts.init(chartDom) |
| | | const option = this.getBarOption(['2024-05', '2024-06', '2024-07', '2024-08', '2024-09', '2024-10', '2024-11', '2024-12', '2025-01', '2025-02', '2025-03', '2025-04'], |
| | | [1320, 1322, 1031, 1344, 950, 2360, 210,1320, 1322, 1031, 1344, 950],'#5470c5') |
| | | const option = this.getBarOption(xData, yData,'#5470c5') |
| | | option && myChart.setOption(option) |
| | | }, |
| | | setChartDiqu () { |
| | | setChartDiqu (mapData) { |
| | | const chartDom = document.getElementById('tuDiqu') |
| | | const myChart = echarts.init(chartDom) |
| | | echarts.registerMap('china', chinaJSON) |
| | | const mapData = [ |
| | | { name: '北京市', code: '110000', value: 100 }, |
| | | { name: '天津市', code: '120000', value: 200 }, |
| | | { name: '上海市', code: '310000', value: 300 }, |
| | | { name: '重庆市', code: '500000', value: 400 }, |
| | | { name: '河北省', code: '130000', value: 500 }, |
| | | { name: '河南省', code: '410000', value: 600 }, |
| | | { name: '云南省', code: '530000', value: 10 }, |
| | | { name: '辽宁省', code: '210000', value: 20 }, |
| | | { name: '黑龙江省', code: '230000', value: 30 }, |
| | | { name: '湖南省', code: '430000', value: 40 }, |
| | | { name: '安徽省', code: '340000', value: 60 }, |
| | | { name: '山东省', code: '370000', value: 50 }, |
| | | { name: '新疆维吾尔自治区', code: '650000', value: 70 }, |
| | | { name: '江苏省', code: '320000', value: 10 }, |
| | | { name: '浙江省', code: '330000', value: 20 }, |
| | | { name: '江西省', code: '360000', value: 30 }, |
| | | { name: '湖北省', code: '420000', value: 40 }, |
| | | { name: '广西壮族自治区', code: '450000', value: 0 }, |
| | | { name: '甘肃省', code: '620000', value: 0 }, |
| | | { name: '山西省', code: '140000', value: 0 }, |
| | | { name: '内蒙古自治区', code: '150000', value: 0 }, |
| | | { name: '陕西省', code: '610000', value: 0 }, |
| | | { name: '吉林省', code: '220000', value: 0 }, |
| | | { name: '福建省', code: '350000', value: 0 }, |
| | | { name: '贵州省', code: '520000', value: 0 }, |
| | | { name: '广东省', code: '440000', value: 0 }, |
| | | { name: '青海省', code: '630000', value: 0 }, |
| | | { name: '西藏自治区', code: '540000', value: 0 }, |
| | | { name: '宁夏回族自治区', code: '640000', value: 0 }, |
| | | { name: '四川省', code: '510000', value: 0 }, |
| | | { name: '宁夏省', code: '640000', value: 0 }, |
| | | { name: '海南省', code: '460000', value: 0 }, |
| | | { name: '台湾省', code: '710000', value: 0 }, |
| | | { name: '香港特别行政区', code: '810000', value: 0 }, |
| | | { name: '澳门特别行政区', code: '820003', value: 0 }, |
| | | { name: '南海诸岛', code: '', value: 0 } |
| | | ] |
| | | // const mapData = [ |
| | | // { name: '北京市', code: '110000', value: 100 }, |
| | | // { name: '天津市', code: '120000', value: 200 }, |
| | | // { name: '上海市', code: '310000', value: 300 }, |
| | | // { name: '重庆市', code: '500000', value: 400 }, |
| | | // { name: '河北省', code: '130000', value: 500 }, |
| | | // { name: '河南省', code: '410000', value: 600 }, |
| | | // { name: '云南省', code: '530000', value: 10 }, |
| | | // { name: '辽宁省', code: '210000', value: 20 }, |
| | | // { name: '黑龙江省', code: '230000', value: 30 }, |
| | | // { name: '湖南省', code: '430000', value: 40 }, |
| | | // { name: '安徽省', code: '340000', value: 60 }, |
| | | // { name: '山东省', code: '370000', value: 50 }, |
| | | // { name: '新疆维吾尔自治区', code: '650000', value: 70 }, |
| | | // { name: '江苏省', code: '320000', value: 10 }, |
| | | // { name: '浙江省', code: '330000', value: 20 }, |
| | | // { name: '江西省', code: '360000', value: 30 }, |
| | | // { name: '湖北省', code: '420000', value: 40 }, |
| | | // { name: '广西壮族自治区', code: '450000', value: 0 }, |
| | | // { name: '甘肃省', code: '620000', value: 0 }, |
| | | // { name: '山西省', code: '140000', value: 0 }, |
| | | // { name: '内蒙古自治区', code: '150000', value: 0 }, |
| | | // { name: '陕西省', code: '610000', value: 0 }, |
| | | // { name: '吉林省', code: '220000', value: 0 }, |
| | | // { name: '福建省', code: '350000', value: 0 }, |
| | | // { name: '贵州省', code: '520000', value: 0 }, |
| | | // { name: '广东省', code: '440000', value: 0 }, |
| | | // { name: '青海省', code: '630000', value: 0 }, |
| | | // { name: '西藏自治区', code: '540000', value: 0 }, |
| | | // { name: '宁夏回族自治区', code: '640000', value: 0 }, |
| | | // { name: '四川省', code: '510000', value: 0 }, |
| | | // { name: '宁夏省', code: '640000', value: 0 }, |
| | | // { name: '海南省', code: '460000', value: 0 }, |
| | | // { name: '台湾省', code: '710000', value: 0 }, |
| | | // { name: '香港特别行政区', code: '810000', value: 0 }, |
| | | // { name: '澳门特别行政区', code: '820003', value: 0 }, |
| | | // { name: '南海诸岛', code: '', value: 0 } |
| | | // ] |
| | | const option = { |
| | | tooltip: { |
| | | trigger: 'item', |
| | |
| | | } |
| | | myChart.setOption(option) |
| | | }, |
| | | setChartAnjianleixing () { |
| | | setChartAnjianleixing (data) { |
| | | const chartDom = document.getElementById('tuAnjianleixing') |
| | | const myChart = echarts.init(chartDom) |
| | | const option = { |
| | |
| | | }, |
| | | series: [ |
| | | { |
| | | data: [{ value: 1048, name: 'Search Engine' }, |
| | | { value: 735, name: 'Direct' }, |
| | | { value: 580, name: 'Email' }, |
| | | { value: 484, name: 'Union Ads' }, |
| | | { value: 300, name: 'Video Ads' }], |
| | | data, |
| | | type: 'pie', |
| | | areaStyle: {}, |
| | | smooth: true |
| | |
| | | |
| | | option && myChart.setOption(option) |
| | | }, |
| | | setChartShiguleixing () { |
| | | setChartShiguleixing (indicator, value) { |
| | | if (indicator.length === 0) return; |
| | | var chartDom = document.getElementById('tuShiguleixing'); |
| | | var myChart = echarts.init(chartDom); |
| | | var option = { |
| | | // legend: { |
| | | // data: ['Allocated Budget', 'Actual Spending'] |
| | | // }, |
| | | radar: { |
| | | // shape: 'circle', |
| | | indicator: [ |
| | | {name: '交通事故', max: 16500}, |
| | | {name: '工地受伤', max: 16000}, |
| | | {name: '意外受伤', max: 30000}, |
| | | {name: '其他事故', max: 38000}, |
| | | {name: '医疗事故', max: 52000}, |
| | | {name: '自然灾害', max: 25000} |
| | | ] |
| | | indicator |
| | | }, |
| | | tooltip: { |
| | | trigger: 'item' |
| | |
| | | type: 'radar', |
| | | data: [ |
| | | { |
| | | value: [4200, 3000, 20000, 35000, 50000, 18000], |
| | | value, |
| | | name: '' |
| | | } |
| | | ] |
| | |
| | | } |
| | | option && myChart.setOption(option); |
| | | }, |
| | | setChartJieanlv () { |
| | | setChartJieanlv (xData, yData) { |
| | | const chartDom = document.getElementById('tuJieanlv') |
| | | const myChart = echarts.init(chartDom) |
| | | const option = this.getLineOption(['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], [120, 132, 101, 134, 90, 230, 210],'rgba(207,58,24,0.83)') |
| | | const option = this.getLineOption(xData, yData,'rgba(207,58,24,0.83)') |
| | | option && myChart.setOption(option) |
| | | }, |
| | | setChartGonghzong () { |
| | | setChartGonghzong (dataX, dataY) { |
| | | var chartDom = document.getElementById('tuGongzhong'); |
| | | var myChart = echarts.init(chartDom); |
| | | var option = { |
| | |
| | | }, |
| | | yAxis: { |
| | | type: 'category', |
| | | data: ['Brazil', 'Indonesia', 'USA', 'India', 'China', 'World'] |
| | | data: dataX |
| | | }, |
| | | series: [ |
| | | { |
| | |
| | | itemStyle: { |
| | | color: '#f6d68d' |
| | | }, |
| | | data: [18203, 23489, 29034, 104970, 131744, 630230] |
| | | data: dataY |
| | | } |
| | | ] |
| | | } |
| | | option && myChart.setOption(option); |
| | | }, |
| | | setChartNianlin () { |
| | | setChartNianlin (dataX, dataY) { |
| | | const chartDom = document.getElementById('tuNianlin') |
| | | const myChart = echarts.init(chartDom) |
| | | const option = this.getBarOption(['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], [120, 132, 101, 134, 90, 230, 210],'#80d3ff') |
| | | const option = this.getBarOption(dataX, dataY,'#80d3ff') |
| | | option && myChart.setOption(option) |
| | | }, |
| | | setChartWord () { |
| | | setChartWord (data) { |
| | | // const color = ['#1890FF', '#13C2C2', '#2FC25B', '#009DFF', '#8496FA'] |
| | | const myChart = echarts.init(document.getElementById('wordchart')) |
| | | var option = { |
| | |
| | | // } |
| | | // }, |
| | | // data格式是一个数组 |
| | | data: [{ |
| | | name: '红色', |
| | | value: 200 |
| | | }, |
| | | { |
| | | name: '蓝色', |
| | | value: 300 |
| | | }, |
| | | { |
| | | name: '测试', |
| | | value: 600 |
| | | }, |
| | | { |
| | | name: '重大事故', |
| | | value: 500 |
| | | } |
| | | ] |
| | | data |
| | | } |
| | | ] |
| | | |
| | | } |
| | | myChart.setOption(option) |
| | | }, |
| | | setChart1 () { |
| | | setChart1 (xdata, ydata) { |
| | | const chartDom = document.getElementById('tu1') |
| | | const myChart = echarts.init(chartDom) |
| | | var ydata = [2, 7, 3, 12, 16, 9, 6] |
| | | var xdata = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] |
| | | const option = this.getLineOption(xdata,ydata,'#50A850') |
| | | const option = this.getLineOption(xdata, ydata,'#50A850') |
| | | option && myChart.setOption(option) |
| | | }, |
| | | setChart2 () { |
| | | setChart2 (xdata, ydata) { |
| | | const chartDom = document.getElementById('tu2') |
| | | const myChart = echarts.init(chartDom) |
| | | var ydata = [2, 7, 3, 12, 16, 9, 6] |
| | | var xdata = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] |
| | | const option = this.getLineOption(xdata,ydata,'#f07e6f') |
| | | option && myChart.setOption(option) |
| | | }, |
| | | setChart3 () { |
| | | setChart3 (xdata, ydata) { |
| | | const chartDom = document.getElementById('tu3') |
| | | const myChart = echarts.init(chartDom) |
| | | var ydata = [2, 7, 3, 12, 16, 9, 6] |
| | | var xdata = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] |
| | | const option = this.getLineOption(xdata,ydata,'#8951be') |
| | | option && myChart.setOption(option) |
| | | }, |
| | |
| | | |
| | | // Vue.prototype.$baseUrl = 'http://192.168.0.131:10031/'; |
| | | // Vue.prototype.$baseUrl = 'http://192.168.0.110:10031'; |
| | | // Vue.prototype.$baseUrl = 'https://dmtest.ahapp.net/yyb_web_api/'; |
| | | Vue.prototype.$baseUrl = 'https://www.yyb.red/yyb_web_api/' |
| | | Vue.prototype.$baseUrl = 'https://test.doumee.cn/yyb_web_api/'; |
| | | // Vue.prototype.$baseUrl = 'https://www.yyb.red/yyb_web_api/' |
| | | Vue.prototype.$store = store; |
| | | |
| | | Vue.use(uView); |
| | |
| | | {"version":3,"sources":["uni-app:///main.js","webpack:///D:/豆米/yunyibao/wx/App.vue?36c5","webpack:///D:/豆米/yunyibao/wx/App.vue?398d","uni-app:///App.vue","webpack:///D:/豆米/yunyibao/wx/App.vue?b91a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","App","mpType","prototype","$baseUrl","$store","store","use","uView","app","httpApi","interceptor","$mount","render","staticRenderFns","components","renderjs","component","options","__file","onLaunch","console","onShow","onHide"],"mappings":"+IAAA,MAE2D,eAC3D,WACA,WACA,OACA,gBAmBA,YAIA,YAAqD,2kBA3BrDA,EAAGC,kCAAoCC,EAMvCC,UAAIC,OAAOC,eAAgB,EAC3BC,UAAIC,OAAS,MAKbJ,UAAIK,UAAUC,SAAW,mCACzBN,UAAIK,UAAUE,OAASC,UAEvBR,UAAIS,IAAIC,WAER,IAAMC,EAAM,IAAIX,UAAI,EAAD,CAClBQ,iBACGL,YAKJH,UAAIS,IAAIG,UAASD,GAIjBX,UAAIS,IAAII,UAAaF,GAErB,EAAAA,GAAIG,W,8EChCJ,yHAAIC,EAAQC,EAAmCC,EAC3CC,EADJ,QASIC,EAAY,qBACd,aACAJ,EACAC,GACA,EACA,KACA,KACA,MACA,EACAC,EACAC,GAGFC,EAAUC,QAAQC,OAAS,UACZ,aAAAF,E,yCCvBf,wHAAkvB,eAAG,G,wGCCrvB,CACAG,oBACAC,2BAEAC,oBAeAC,kBACAF,0BAEA,a,gCCvBA,wHAAq4C,eAAG,G","file":"common/main.js","sourcesContent":["import 'uni-pages';\r\n// @ts-ignore\r\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\r\nimport Vue from 'vue'\r\nimport uView from \"uview-ui\";\r\nimport './uni.promisify.adaptor'\r\nimport store from './store/index.js'\r\n\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\n\r\n// Vue.prototype.$baseUrl = 'http://192.168.0.131:10031/';\r\n// Vue.prototype.$baseUrl = 'http://192.168.0.110:10031';\r\n// Vue.prototype.$baseUrl = 'https://dmtest.ahapp.net/yyb_web_api/';\r\nVue.prototype.$baseUrl = 'https://www.yyb.red/yyb_web_api/'\r\nVue.prototype.$store = store;\r\n\r\nVue.use(uView);\r\n\r\nconst app = new Vue({\r\n\tstore,\r\n\t...App\r\n})\r\n\r\n// http接口API抽离\r\nimport httpApi from '@/utils/http.api.js'\r\nVue.use(httpApi, app)\r\n\r\n// 请求拦截器\r\nimport interceptor from '@/utils/http.interceptor.js'\r\nVue.use(interceptor, app)\r\n\r\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","import mod from \"-!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\t// var that = this;\r\n\t\t\t// uni.login({\r\n\t\t\t// \tprovider: 'weixin',\r\n\t\t\t// \tsuccess: async function (loginRes) {\r\n\t\t\t// \t\tlet { code } = loginRes;\r\n\t\t\t// \t\tlet res = await that.$u.api.loginByWxMini({ code })\r\n\t\t\t// \t\tif (!res.data) {\r\n\t\t\t// \t\t\tuni.navigateTo({\r\n\t\t\t// \t\t\t\turl: '/pages/login/login'\r\n\t\t\t// \t\t\t})\r\n\t\t\t// \t\t}\r\n\t\t\t// \t}\r\n\t\t\t// });\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/*每个页面公共css */\r\n\t@import \"uview-ui/index.scss\";\r\n</style>\r\n","import mod from \"-!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""} |
| | | {"version":3,"sources":["uni-app:///main.js","webpack:///D:/豆米/yunyibao/wx/App.vue?36c5","webpack:///D:/豆米/yunyibao/wx/App.vue?398d","uni-app:///App.vue","webpack:///D:/豆米/yunyibao/wx/App.vue?b91a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","App","mpType","prototype","$baseUrl","$store","store","use","uView","app","httpApi","interceptor","$mount","render","staticRenderFns","components","renderjs","component","options","__file","onLaunch","console","onShow","onHide"],"mappings":"+IAAA,MAE2D,eAC3D,WACA,WACA,OACA,gBAmBA,YAIA,YAAqD,2kBA3BrDA,EAAGC,kCAAoCC,EAMvCC,UAAIC,OAAOC,eAAgB,EAC3BC,UAAIC,OAAS,MAIbJ,UAAIK,UAAUC,SAAW,sCAEzBN,UAAIK,UAAUE,OAASC,UAEvBR,UAAIS,IAAIC,WAER,IAAMC,EAAM,IAAIX,UAAI,EAAD,CAClBQ,iBACGL,YAKJH,UAAIS,IAAIG,UAASD,GAIjBX,UAAIS,IAAII,UAAaF,GAErB,EAAAA,GAAIG,W,8EChCJ,yHAAIC,EAAQC,EAAmCC,EAC3CC,EADJ,QASIC,EAAY,qBACd,aACAJ,EACAC,GACA,EACA,KACA,KACA,MACA,EACAC,EACAC,GAGFC,EAAUC,QAAQC,OAAS,UACZ,aAAAF,E,yCCvBf,wHAAkvB,eAAG,G,wGCCrvB,CACAG,oBACAC,2BAEAC,oBAeAC,kBACAF,0BAEA,a,gCCvBA,wHAAq4C,eAAG,G","file":"common/main.js","sourcesContent":["import 'uni-pages';\r\n// @ts-ignore\r\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\r\nimport Vue from 'vue'\r\nimport uView from \"uview-ui\";\r\nimport './uni.promisify.adaptor'\r\nimport store from './store/index.js'\r\n\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\n\r\n// Vue.prototype.$baseUrl = 'http://192.168.0.131:10031/';\r\n// Vue.prototype.$baseUrl = 'http://192.168.0.110:10031';\r\nVue.prototype.$baseUrl = 'https://test.doumee.cn/yyb_web_api/';\r\n// Vue.prototype.$baseUrl = 'https://www.yyb.red/yyb_web_api/'\r\nVue.prototype.$store = store;\r\n\r\nVue.use(uView);\r\n\r\nconst app = new Vue({\r\n\tstore,\r\n\t...App\r\n})\r\n\r\n// http接口API抽离\r\nimport httpApi from '@/utils/http.api.js'\r\nVue.use(httpApi, app)\r\n\r\n// 请求拦截器\r\nimport interceptor from '@/utils/http.interceptor.js'\r\nVue.use(interceptor, app)\r\n\r\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","import mod from \"-!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\t// var that = this;\r\n\t\t\t// uni.login({\r\n\t\t\t// \tprovider: 'weixin',\r\n\t\t\t// \tsuccess: async function (loginRes) {\r\n\t\t\t// \t\tlet { code } = loginRes;\r\n\t\t\t// \t\tlet res = await that.$u.api.loginByWxMini({ code })\r\n\t\t\t// \t\tif (!res.data) {\r\n\t\t\t// \t\t\tuni.navigateTo({\r\n\t\t\t// \t\t\t\turl: '/pages/login/login'\r\n\t\t\t// \t\t\t})\r\n\t\t\t// \t\t}\r\n\t\t\t// \t}\r\n\t\t\t// });\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/*每个页面公共css */\r\n\t@import \"uview-ui/index.scss\";\r\n</style>\r\n","import mod from \"-!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../办公/HBuilderX.3.8.12.20230817/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""} |
| | |
| | | (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{0:function(e,t,n){"use strict";(function(e,t){var r=n(4),o=r(n(11));n(26);var u=r(n(27)),f=r(n(25)),a=r(n(33));n(158);var c=r(n(159)),i=r(n(161)),l=r(n(162));function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}e.__webpack_require_UNI_MP_PLUGIN__=n,f.default.config.productionTip=!1,u.default.mpType="app",f.default.prototype.$baseUrl="https://www.yyb.red/yyb_web_api/",f.default.prototype.$store=c.default,f.default.use(a.default);var s=new f.default(d({store:c.default},u.default));f.default.use(i.default,s),f.default.use(l.default,s),t(s).$mount()}).call(this,n(1)["default"],n(2)["createApp"])},27:function(e,t,n){"use strict";n.r(t);var r=n(28);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n(30);var u,f,a,c,i=n(32),l=Object(i["default"])(r["default"],u,f,!1,null,null,null,!1,a,c);l.options.__file="App.vue",t["default"]=l.exports},28:function(e,t,n){"use strict";n.r(t);var r=n(29),o=n.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},29:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={onLaunch:function(){console.log("App Launch")},onShow:function(){},onHide:function(){console.log("App Hide")}};t.default=r},30:function(e,t,n){"use strict";n.r(t);var r=n(31),o=n.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},31:function(e,t,n){}},[[0,"common/runtime","common/vendor"]]]); |
| | | (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{0:function(e,t,n){"use strict";(function(e,t){var r=n(4),o=r(n(11));n(26);var u=r(n(27)),f=r(n(25)),a=r(n(33));n(158);var c=r(n(159)),i=r(n(161)),l=r(n(162));function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}e.__webpack_require_UNI_MP_PLUGIN__=n,f.default.config.productionTip=!1,u.default.mpType="app",f.default.prototype.$baseUrl="https://test.doumee.cn/yyb_web_api/",f.default.prototype.$store=c.default,f.default.use(a.default);var s=new f.default(d({store:c.default},u.default));f.default.use(i.default,s),f.default.use(l.default,s),t(s).$mount()}).call(this,n(1)["default"],n(2)["createApp"])},27:function(e,t,n){"use strict";n.r(t);var r=n(28);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n(30);var u,f,a,c,i=n(32),l=Object(i["default"])(r["default"],u,f,!1,null,null,null,!1,a,c);l.options.__file="App.vue",t["default"]=l.exports},28:function(e,t,n){"use strict";n.r(t);var r=n(29),o=n.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},29:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={onLaunch:function(){console.log("App Launch")},onShow:function(){},onHide:function(){console.log("App Hide")}};t.default=r},30:function(e,t,n){"use strict";n.r(t);var r=n(31),o=n.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=o.a},31:function(e,t,n){}},[[0,"common/runtime","common/vendor"]]]); |
| | | //# sourceMappingURL=../../.sourcemap/mp-weixin/common/main.js.map |
| | |
| | | { |
| | | "usingComponents": {}, |
| | | "component": true |
| | | "component": true, |
| | | "usingComponents": {} |
| | | } |
| | |
| | | { |
| | | "component": true, |
| | | "usingComponents": { |
| | | "u-icon": "/node-modules/uview-ui/components/u-icon/u-icon" |
| | | }, |
| | | "component": true |
| | | } |
| | | } |