Commit eb2df426 by wangzhihui

bug修复

1 parent c98294a1
...@@ -121,7 +121,11 @@ ${this.title}:${ ...@@ -121,7 +121,11 @@ ${this.title}:${
}, },
xAxis: { xAxis: {
type: "category", type: "category",
splitNumber: 4,
axisLabel: { axisLabel: {
// rotate: 30, // 横轴名称旋转
interval: 0,
show: true,
color: "#000000a6", color: "#000000a6",
fontSize: "11px" fontSize: "11px"
}, },
......
...@@ -72,10 +72,11 @@ export default { ...@@ -72,10 +72,11 @@ export default {
getChartSetOption() { getChartSetOption() {
var option = { var option = {
grid: { grid: {
bottom: "12%", top: "8%",
top: "10%", bottom: "4%",
left: "20px", left: "6%",
right: "20px" right: "6%",
containLabel: true
}, },
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
...@@ -136,8 +137,8 @@ ${this.title}:${ ...@@ -136,8 +137,8 @@ ${this.title}:${
}, },
xAxis: { xAxis: {
type: "category", type: "category",
boundaryGap: false, // boundaryGap: false,
splitNumber: 8, splitNumber: 4,
axisLine: { axisLine: {
show: false show: false
}, },
...@@ -152,6 +153,7 @@ ${this.title}:${ ...@@ -152,6 +153,7 @@ ${this.title}:${
show: false show: false
}, },
axisLabel: { axisLabel: {
// rotate: 30, // 横轴名称旋转
interval: 0, interval: 0,
show: true, show: true,
color: "#000000a6", color: "#000000a6",
......
...@@ -204,10 +204,10 @@ export default { ...@@ -204,10 +204,10 @@ export default {
this.searchFormSearch.sendEndTime = this.lastForm.endTime + " 23:59:59" this.searchFormSearch.sendEndTime = this.lastForm.endTime + " 23:59:59"
this.searchFormSearch.scene = this.longForm.scene // this.searchFormSearch.scene = this.longForm.scene
this.searchFormSearch.startTime = this.lastForm.startTime + " 00:00:00" this.searchFormSearch.startTime = this.lastForm.startTime + " 00:00:00"
this.searchFormSearch.endTime = this.lastForm.endTime + " 23:59:59" this.searchFormSearch.endTime = this.lastForm.endTime + " 23:59:59"
this.searchFormSearch.configId = this.configId // this.searchFormSearch.configId = this.configId
resolve() resolve()
}) })
}, },
...@@ -250,7 +250,7 @@ export default { ...@@ -250,7 +250,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.week-replay { .week-replay {
margin-top: 16px; margin: 16px 0;
background: #fff; background: #fff;
padding: 0 0 16px 0; padding: 0 0 16px 0;
.header { .header {
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
methods: { methods: {
changeBrand(val) { changeBrand(val) {
this.configId = val this.configId = val
this.$refs.lastWeekReplay && this.$refs.lastWeekReplay.handleClick() // this.$refs.lastWeekReplay && this.$refs.lastWeekReplay.handleClick()
}, },
handleRegExp(time) { handleRegExp(time) {
return time.replace(/\//g, "-") return time.replace(/\//g, "-")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!