Procházet zdrojové kódy

tijiaoxiugai

newStyle
douzhuo před 2 roky
rodič
revize
8a29acc6b5
2 změnil soubory, kde provedl 51 přidání a 21 odebrání
  1. +49
    -19
      src/views/Statistics/ReceptionOverview.vue
  2. +2
    -2
      vue.config.js

+ 49
- 19
src/views/Statistics/ReceptionOverview.vue Zobrazit soubor

@@ -51,7 +51,7 @@
</div> -->
<div class="app-titel projectBackend">
<div class="titel-text">筛选日期:</div>
<div style="margin-left: 14px;">
<div style="margin-left: 14px">
<el-button
:class="{ 'el-button--primary': TimetoAhoose == 4 }"
@click="tabtimetap(4)"
@@ -334,7 +334,11 @@
</el-menu> -->
</div>
</div>
<div class="hejisan" style="margin-top:60px;" :style="{opacity: activeName == 1 ? '0' : '1' }">
<div
class="hejisan"
style="margin-top: 60px"
:style="{ opacity: activeName == 1 ? '0' : '1' }"
>
<div class="sanbox1" style="width: 30%; text-align: center">
<div class="text1-1">
{{ activeName == "3" ? "平均执行率" : "合计" }}
@@ -509,8 +513,15 @@
: i + 1 == 3
? '0px 0px 6px 1px #FFCC00'
: '#E5F0FF',
'border': i + 1 == 1 ? '1px solid #FFCAC6' : i + 1 == 2 ? '1px solid #FFD6AA' : i + 1 == 3 ? '1px solid #FFEEAC' : 'none',
}"
border:
i + 1 == 1
? '1px solid #FFCAC6'
: i + 1 == 2
? '1px solid #FFD6AA'
: i + 1 == 3
? '1px solid #FFEEAC'
: 'none',
}"
>{{ i + 1 }}</span
>
<div class="jinboxtit">
@@ -621,8 +632,15 @@
: i + 1 == 3
? '0px 0px 6px 1px #FFCC00'
: '#E5F0FF',
'border': i + 1 == 1 ? '1px solid #FFCAC6' : i + 1 == 2 ? '1px solid #FFD6AA' : i + 1 == 3 ? '1px solid #FFEEAC' : 'none',
}"
border:
i + 1 == 1
? '1px solid #FFCAC6'
: i + 1 == 2
? '1px solid #FFD6AA'
: i + 1 == 3
? '1px solid #FFEEAC'
: 'none',
}"
>{{ i + 1 }}</span
>
<div class="jinboxtit">
@@ -983,7 +1001,7 @@ export default {
params[0].name +
"<br/>" +
params[0].marker +
"接待时:" +
"接待时:" +
parseInt(m) +
":" +
s
@@ -1034,6 +1052,19 @@ export default {
},
yAxis: {
type: "value",
axisLabel: {
formatter: function (params) {
console.log(params)
switch (_this.activeName) {
case "1":
let s = params % 60;
let m = params / 60;
return parseInt(m);
default:
return params;
}
},
},
},
series: [
{
@@ -1073,7 +1104,6 @@ export default {
},
],
};

option && myChart.setOption(option);
window.addEventListener("resize", () => {
myChart.resize();
@@ -1772,8 +1802,8 @@ export default {
text-indent: 20px;
margin-top: 10px;
color: #666666;
display: flex;
align-items: center;
display: flex;
align-items: center;
}

.text2 {
@@ -1975,8 +2005,8 @@ export default {
font-weight: 500;
font-size: 16px;
color: #333333;
display: flex;
align-items: center;
display: flex;
align-items: center;
}

.text2 {
@@ -2008,8 +2038,8 @@ export default {
font-weight: 500;
font-size: 16px;
color: #333333;
display: flex;
align-items: center;
display: flex;
align-items: center;
}

.text2 {
@@ -2044,8 +2074,8 @@ export default {
line-height: 16px;
text-indent: 20px;
margin-top: 20px;
display: flex;
align-items: center;
display: flex;
align-items: center;
}

.text2 {
@@ -2166,8 +2196,8 @@ export default {
background-size: 100%;
margin-left: 6px;
}
/deep/ .el-button--primary{
background: #2671E2 !important;
border: 1px solid #2671E2 !important;
/deep/ .el-button--primary {
background: #2671e2 !important;
border: 1px solid #2671e2 !important;
}
</style>

+ 2
- 2
vue.config.js Zobrazit soubor

@@ -8,8 +8,8 @@
// const url = 'http://62.234.122.43:9999' //正式
// const url = 'http://81.70.55.170:9999' // 新测试服务器IP
// const url = 'http://192.168.31.89:9999' //sh
// const url = 'https://zanyong.hfju.com' // 正式域名
const url = 'http://81.70.55.170:9999' // 新测试
const url = 'https://zanyong.hfju.com' // 正式域名
// const url = 'http://81.70.55.170:9999' // 新测试
// const url = 'http://82.156.35.22:9999' // 新正式ip
const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']


Načítá se…
Zrušit
Uložit