新增费用汇总

This commit is contained in:
龙运模
2024-09-10 18:01:12 +08:00
parent dc52b1eb65
commit 17dae88049
13 changed files with 546 additions and 442 deletions
+4 -2
View File
@@ -27,7 +27,9 @@
option: {
deep:true,
handler (v) {
unwarp(this.myChart).setOption(v);
if(unwarp(this.myChart)){
unwarp(this.myChart).setOption(v);
}
}
}
},
@@ -54,7 +56,7 @@
},
methods: {
draw(){
var myChart = echarts.init(this.$refs.scEcharts, 'T');
const myChart = echarts.init(this.$refs.scEcharts, 'T');
myChart.setOption(this.myOptions);
this.myChart = myChart;
window.addEventListener('resize', () => myChart.resize());
+2
View File
@@ -12,6 +12,7 @@
</div>
<div class="searchItem" v-if="item.type == 'select' && ((item.isOpen && item.show) || item.show)">
<label class="name">{{item.name}}</label>
<el-select class="input" :size="size" v-model="params[item.code]" @visible-change="getSelect(item,$event)" :placeholder="item.placeholder" filterable clearable>
<el-option v-for="em in item.data" :key="em" :label="em.label" :value="em[item.code[0]] || em.active_status"></el-option>
</el-select>
@@ -31,6 +32,7 @@
</div>
</div>
</div>
<slot></slot>
</template>
<script>