Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2021-12-27 10:07:31 +08:00

View File

@@ -193,6 +193,7 @@ export default {
initEchart(data) { initEchart(data) {
var option = { var option = {
tooltip: {},
xAxis: { xAxis: {
type: 'category', type: 'category',
data: data.map((v) => v.name.replace('数量', '').replace('和操办登记', '')), data: data.map((v) => v.name.replace('数量', '').replace('和操办登记', '')),
@@ -225,7 +226,7 @@ export default {
}, },
}, },
axisLabel: { axisLabel: {
show: true, //是否显示刻度标签 show: true,
interval: 0, interval: 0,
}, },
}, },
@@ -244,6 +245,13 @@ export default {
color: '#919191', color: '#919191',
fontSize: 16, fontSize: 16,
}, },
formatter: function (params) {
if (params.value > 0) {
return params.value
} else {
return ' '
}
},
}, },
}, },
}, },
@@ -315,14 +323,13 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
uni-page-body { uni-page-body {
height: 100%; height: 100%;
background: #f3f6f9;
} }
.AppMarryAndDie { .AppMarryAndDie {
height: 100%; height: 100%;
background: #fff;
.msg { .msg {
height: 100%;
background: #fff; background: #fff;
.box { .box {