| | |
| | | getKeyUseRecord({ carCode: form.value.carCode, status: form.value.status }) |
| | | .then(res => { |
| | | if (res.code === 200) { |
| | | // data5.value = res.data |
| | | data5.value = res.data |
| | | } |
| | | }) |
| | | } |
| | |
| | | timeOutNumPct: calculatePercentage(res.data.timeOutNum,[res.data.alcoholNum + res.data.timeOutNum + res.data.unCloseNum]), |
| | | unCloseNumPct: calculatePercentage(res.data.unCloseNum,[res.data.alcoholNum + res.data.timeOutNum + res.data.unCloseNum]) |
| | | } |
| | | dataList5.value = [res.data.alcoholNum, res.data.unCloseNum, res.data.timeOutNum] |
| | | dataList5.value = [res.data.alcoholNum, res.data.timeOutNum, res.data.unCloseNum] |
| | | nextTick(() => { |
| | | initEchart1() |
| | | }) |
| | |
| | | itemStyle: { |
| | | borderRadius: 10, |
| | | color: function(params) { |
| | | console.log(params) |
| | | // 使用不同的渐变色 |
| | | let colorList = [ |
| | | {offset: 0, color: colors[params.dataIndex].color1}, // 0% 处的颜色 |
| | |
| | | <div style="position: absolute;bottom: 0;right: 0;width: 10px;height: 10px;border-right: 1px solid #01D9FE;border-bottom: 1px solid #01D9FE;"></div> |
| | | <div style="color: #FFFFFF;font-size: 14px;font-weight: 400;">${params[0].axisValue}</div> |
| | | <div style="display: flex; align-items: center;margin-top: 4px;"> |
| | | <div style="width: 12px;height: 12px;background: #00C2FF;border-radius: 50%;margin-right: 12px;"></div> |
| | | <div style="width: 12px;height: 12px;background: linear-gradient(to bottom, #50afd3, #1d4861);border-radius: 50%;margin-right: 12px;"></div> |
| | | <div style="color: #FFFFFF;font-size: 14px;font-weight: 400;">领取:</div> |
| | | <div style="color: #00F2F3;font-size: 14px;font-weight: 500;">${params[0].data}个</div> |
| | | </div> |
| | | <div style="display: flex; align-items: center;margin-top: 4px;"> |
| | | <div style="width: 12px;height: 12px;background: #FF8A00;border-radius: 50%;margin-right: 12px;"></div> |
| | | <div style="width: 12px;height: 12px;background: linear-gradient(to bottom, rgb(255,184,0), rgba(255, 138, 0, 0.20));border-radius: 50%;margin-right: 12px;"></div> |
| | | <div style="color: #FFFFFF;font-size: 14px;font-weight: 400;">归还:</div> |
| | | <div style="color: #00F2F3;font-size: 14px;font-weight: 500;">${params[1].data}个</div> |
| | | </div> |
| | |
| | | server: { |
| | | proxy: { |
| | | "/system_gateway": { |
| | | // target: "http://192.168.1.45:10010", |
| | | target: "http://192.168.0.7", |
| | | target: "http://192.168.1.45:10010", |
| | | // target: "http://192.168.0.7", |
| | | // target: "http://10.50.250.253:8088/gateway_interface", |
| | | // target: "https://atwl.ahzyssl.com/zhyq_interface", |
| | | changeOrigin: true, |
| | | rewrite: (path) => path.replace(/^\/gateway_interface/, ""), |
| | | rewrite: (path) => path.replace(/^\/system_gateway/, ""), |
| | | }, |
| | | }, |
| | | }, |