|
@@ -172,6 +172,39 @@ export default {
|
|
|
created() { }, //生命周期 - 创建完成(可以访问当前this实例)
|
|
|
beforeMount() { }, //生命周期 - 挂载之前
|
|
|
methods: {
|
|
|
+ async init_tdgy_jt_jg(params) {
|
|
|
+ const that = this;
|
|
|
+ let obj = {
|
|
|
+ jscType: 'jsc_tdgy_jt_yelx',
|
|
|
+ id: params ? params.id : '4602'
|
|
|
+ };
|
|
|
+ let data = await QueryList(obj);
|
|
|
+ let arr = [];
|
|
|
+ data.data.forEach((res) => {
|
|
|
+ arr.push(
|
|
|
+ {
|
|
|
+ type: res.tdyt,
|
|
|
+ data: [{
|
|
|
+ name: "未供应", value: res.ce_crmj
|
|
|
+ },
|
|
|
+ { name: "已供应", value: res.sj_crmj }]
|
|
|
+ }
|
|
|
+ )
|
|
|
+
|
|
|
+ })
|
|
|
+ store.state.cockpit_tdgy.jt_jg = arr;
|
|
|
+ console.log('store.state.cockpit_tdgy.jt_jg: ', store.state.cockpit_tdgy.jt_jg);
|
|
|
+
|
|
|
+ store.state.cockpit_tdgy.jt_jg.forEach((res) => {
|
|
|
+ if (res.type == "商业商服") {
|
|
|
+ this.$refs.tdgy_echart_sfyd.setOptions(res.data);
|
|
|
+ }
|
|
|
+ if (res.type == "工业用地") {
|
|
|
+ this.$refs.tdgy_echart_gyyd.setOptions(res.data);
|
|
|
+
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
init_gy_jg_echart() {
|
|
|
|
|
|
var dom = document.getElementById("gy_jg_echart");
|
|
@@ -759,6 +792,7 @@ export default {
|
|
|
const that = this;
|
|
|
this.$nextTick(() => {
|
|
|
|
|
|
+ this.init_tdgy_jt_jg();
|
|
|
|
|
|
this.init_tdgy_gy_jd();
|
|
|
that.init_echart();
|
|
@@ -769,14 +803,15 @@ export default {
|
|
|
{ name: "以划拨", value: 21 },
|
|
|
{ name: "已出让", value: 24 },
|
|
|
]);
|
|
|
- this.$refs.tdgy_echart_sfyd.setOptions([
|
|
|
- { name: "未供应", value: 12.86 },
|
|
|
- { name: "已供应", value: 21.56 },
|
|
|
- ]);
|
|
|
- this.$refs.tdgy_echart_gyyd.setOptions([
|
|
|
- { name: "未供应", value: 12.65 },
|
|
|
- { name: "已供应", value: 21.21 },
|
|
|
- ]);
|
|
|
+ // store.start.cockpit_tdgy.jt_jg
|
|
|
+ // this.$refs.tdgy_echart_sfyd.setOptions([
|
|
|
+ // { name: "未供应", value: 12.86 },
|
|
|
+ // { name: "已供应", value: 21.56 },
|
|
|
+ // ]);
|
|
|
+ // this.$refs.tdgy_echart_gyyd.setOptions([
|
|
|
+ // { name: "未供应", value: 12.65 },
|
|
|
+ // { name: "已供应", value: 21.21 },
|
|
|
+ // ]);
|
|
|
});
|
|
|
},
|
|
|
beforeUpdate() { }, //生命周期 - 更新之前
|
|
@@ -823,11 +858,11 @@ export default {
|
|
|
|
|
|
span {
|
|
|
color: #fff;
|
|
|
- font-size: 14px;
|
|
|
- font-weight: bold;
|
|
|
- position: relative;
|
|
|
- bottom: -0.2rem;
|
|
|
- right: -2.3rem;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ position: relative;
|
|
|
+ bottom: -0.2rem;
|
|
|
+ right: -2.3rem;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -835,10 +870,12 @@ export default {
|
|
|
position: fixed;
|
|
|
left: 10rem;
|
|
|
}
|
|
|
+
|
|
|
.right_tab {
|
|
|
position: fixed;
|
|
|
left: 19rem;
|
|
|
}
|
|
|
+
|
|
|
.selectTab {
|
|
|
/deep/ .el-input__inner {
|
|
|
// padding-right: 30px;
|