lancer vor 3 Jahren
Ursprung
Commit
ace99f797d
2 geänderte Dateien mit 32 neuen und 1 gelöschten Zeilen
  1. +31
    -0
      src/views/Equipment/state.vue
  2. +1
    -1
      src/views/Statistics/trend.vue

+ 31
- 0
src/views/Equipment/state.vue Datei anzeigen

@@ -3,6 +3,20 @@
<!-- 头 -->
<div class="app-top">
<div class="app-titel" style="margin-left: 15px" v-if="orgType!=3">
<el-select
v-model="houseTypes"
@change="sysChange"
style="width: 100px; margin-right: 10px"
placeholder="请选择"
>
<el-option
v-for="item in options2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
<el-select
v-model="selValue"
@change="selChange1"
@@ -778,6 +792,17 @@ export default {
// { color: "#1989fa", percentage: 80 },
{ color: "#6f7ad3", percentage: 100 },
],
options2: [
{
label: "正式数据",
value: "0,1",
},
{
label: "测试数据",
value: "2,3",
},
],
houseTypes:'0,1'
};
},
computed: {
@@ -809,6 +834,11 @@ export default {
this.zkhousePage();
},
methods: {
sysChange(){
this.choicValue=''
this.selValue='0'
this.getList()
},
selChange1() {
this.choicValue = "";
this.getList();
@@ -831,6 +861,7 @@ export default {
.findHouseByUser({
orgType: localStorage.getItem("orgType"),
houseId: localStorage.getItem("houseId"),
houseTypes: this.houseTypes,
})
.then((res) => {
this.dataList = res.data;


+ 1
- 1
src/views/Statistics/trend.vue Datei anzeigen

@@ -479,7 +479,7 @@ export default {
sysChange(){
this.choicValue=''
this.selValue='0'
this.receptionOverviewOfSystem();
this.getList()
},
// 获取tab2
receptionOverviewOfSystem() {


Laden…
Abbrechen
Speichern