浏览代码

init

newStyle
lancer 2 年前
父节点
当前提交
ace99f797d
共有 2 个文件被更改,包括 32 次插入1 次删除
  1. +31
    -0
      src/views/Equipment/state.vue
  2. +1
    -1
      src/views/Statistics/trend.vue

+ 31
- 0
src/views/Equipment/state.vue 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存