Commit 36b78669 by yuhao

Merge branch 'dev_xzeq_xz' of http://39.99.224.27:9022/changchao/founder_vue into dev_xzeq_xz

parents 619f47db e9a89087
...@@ -69,7 +69,7 @@ export function zztCharts(row) { ...@@ -69,7 +69,7 @@ export function zztCharts(row) {
axisTick: { show: false, }, axisTick: { show: false, },
axisLabel: {//x轴文字的配置 axisLabel: {//x轴文字的配置
show: true, show: true,
rotate: 0, rotate: 30,
textStyle: { textStyle: {
color: "#242424", color: "#242424",
...@@ -141,10 +141,7 @@ export function zztCharts(row) { ...@@ -141,10 +141,7 @@ export function zztCharts(row) {
], ],
grid: { grid: {
x: 80, bottom: 80,
y: 70,
x2: 5,
y2: 25,
borderWidth: 1, borderWidth: 1,
}, },
}; };
......
...@@ -62,9 +62,9 @@ ...@@ -62,9 +62,9 @@
{{ JqzsFa.fatb }},造成经济损失{{ JqzsFa.ssje }}元同比上期 ({{ {{ JqzsFa.fatb }},造成经济损失{{ JqzsFa.ssje }}元同比上期 ({{
JqzsFa.sstbs JqzsFa.sstbs
}}元)<span :class="JqzsFa.tbJeclass == 'up' ? 'upclass' : 'downclass'">{{ JqzsFa.tbJeclass == "up" ? "⬆" : "⬇" }}</span>{{ JqzsFa.sszb }},环比上期 ({{ JqzsFa.sshbs }}元)<span :class="JqzsFa.hbJeclass == 'up' ? 'upclass' : 'downclass'">{{ JqzsFa.hbJeclass == "up" ? "⬆" : "⬇" }}</span> }}元)<span :class="JqzsFa.tbJeclass == 'up' ? 'upclass' : 'downclass'">{{ JqzsFa.tbJeclass == "up" ? "⬆" : "⬇" }}</span>{{ JqzsFa.sszb }},环比上期 ({{ JqzsFa.sshbs }}元)<span :class="JqzsFa.hbJeclass == 'up' ? 'upclass' : 'downclass'">{{ JqzsFa.hbJeclass == "up" ? "⬆" : "⬇" }}</span>
{{ JqzsFa.sshb }}。本期共破获刑事案件{{ JqzsPa.fas }},环比上期 {{ JqzsFa.sshb }}。本期共破获刑事案件{{ JqzsPa.fas }},环比上期
({{ JqzsPa.fahbs }}起) ({{ JqzsPa.fahbs }}起)
<span :class="JqzsFa.hbAjclass == 'up' ? 'upclass' : 'downclass'">{{ JqzsFa.hbAjclass == "up" ? "⬆" : "⬇" }}</span>{{ JqzsPa.fahb }},同比期上期 ({{ JqzsPa.fatbs }}) <span :class="JqzsFa.hbAjclass == 'up' ? 'upclass' : 'downclass'">{{ JqzsFa.hbAjclass == "up" ? "⬆" : "⬇" }}</span>{{ JqzsPa.fahb }},同比期上期 ({{ JqzsPa.fatbs }})
<span :class="JqzsFa.tbAjclass == 'up' ? 'upclass' : 'downclass'">{{ JqzsFa.tbAjclass == "up" ? "⬆" : "⬇" }}</span>{{ JqzsPa.fatb }} <span :class="JqzsFa.tbAjclass == 'up' ? 'upclass' : 'downclass'">{{ JqzsFa.tbAjclass == "up" ? "⬆" : "⬇" }}</span>{{ JqzsPa.fatb }}
</p> </p>
</div> </div>
...@@ -132,14 +132,14 @@ ...@@ -132,14 +132,14 @@
}}{{ scope.row["fatb"] }}</span> }}{{ scope.row["fatb"] }}</span>
</div> </div>
<div v-else-if="columnTitle.label == '损失环比'"> <div v-else-if="columnTitle.label == '损失环比'">
<span>环比上期:{{ scope.row["sshbs"] }}</span> <span>环比上期:{{ scope.row["sshbs"] }}</span>
<span :class=" <span :class="
scope.row.hbJeclass == 'up' ? 'upclass' : 'downclass' scope.row.hbJeclass == 'up' ? 'upclass' : 'downclass'
">{{ scope.row["hbJeclass"] == "up" ? "⬆" : "⬇" ">{{ scope.row["hbJeclass"] == "up" ? "⬆" : "⬇"
}}{{ scope.row["sshb"] }}</span> }}{{ scope.row["sshb"] }}</span>
</div> </div>
<div v-else-if="columnTitle.label == '损失同比'"> <div v-else-if="columnTitle.label == '损失同比'">
<span>同比去年:{{ scope.row["sstbs"] }}</span> <span>同比去年:{{ scope.row["sstbs"] }}</span>
<span :class=" <span :class="
scope.row.tbJeclass == 'up' ? 'upclass' : 'downclass' scope.row.tbJeclass == 'up' ? 'upclass' : 'downclass'
">{{ scope.row["tbJeclass"] == "up" ? "⬆" : "⬇" ">{{ scope.row["tbJeclass"] == "up" ? "⬆" : "⬇"
...@@ -335,8 +335,8 @@ ...@@ -335,8 +335,8 @@
}}起。 }}起。
</p> </p>
</div> </div>
<div id="zdajfa" <div id="zdajPa"
ref="zdajfa" ref="zdajPa"
style="height: 400px; width: 100%; padding-top: 6px"></div> style="height: 400px; width: 100%; padding-top: 6px"></div>
<div class="table"> <div class="table">
<el-table id="ajzbQuery" <el-table id="ajzbQuery"
...@@ -525,7 +525,7 @@ export default { ...@@ -525,7 +525,7 @@ export default {
}, },
{ {
label: "损失占比", label: "损失占比",
prop: "fahb", prop: "sszb",
}, },
{ {
label: "损失环比", label: "损失环比",
...@@ -1365,7 +1365,7 @@ export default { ...@@ -1365,7 +1365,7 @@ export default {
let namefa = [], let namefa = [],
valuefa = []; valuefa = [];
fa.list.forEach((item, index) => { fa.list.forEach((item, index) => {
if (index == self.tableDataPa.length - 1) { if (index == self.zdajFa.list.length - 1) {
return; return;
} }
namefa.push(item.dwmc); namefa.push(item.dwmc);
...@@ -1382,14 +1382,14 @@ export default { ...@@ -1382,14 +1382,14 @@ export default {
let namepa = [], let namepa = [],
valuepa = []; valuepa = [];
pa.list.forEach((item, index) => { pa.list.forEach((item, index) => {
if (index == self.tableDataPa.length - 1) { if (index == self.zdajPa.list.length - 1) {
return; return;
} }
namepa.push(item.dwmc); namepa.push(item.dwmc);
valuepa.push(item.ajs); valuepa.push(item.ajs);
}); });
let objpa = { x: namepa, y: valuepa, title: "辖区各地破案情况" }; let objpa = { x: namepa, y: valuepa, title: "重大案件破案情况" };
let gxqpaEcharts = this.$echarts.init(this.$refs.gxqpa); let gxqpaEcharts = this.$echarts.init(this.$refs.zdajPa);
window.onresize = () => { window.onresize = () => {
gxqpaEcharts.resize(); gxqpaEcharts.resize();
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment