From 1bb161c3a19b95b546c99db5296758c77cefe1c3 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 11 十一月 2025 16:46:53 +0800
Subject: [PATCH] 点位数据处理无数据的时段展示效果
---
src/views/console/system/menu.vue | 23 +++++++----------------
1 files changed, 7 insertions(+), 16 deletions(-)
diff --git a/src/views/console/system/menu.vue b/src/views/console/system/menu.vue
index 5745c15..e752d72 100644
--- a/src/views/console/system/menu.vue
+++ b/src/views/console/system/menu.vue
@@ -1,14 +1,14 @@
<!--
* @Author: lzhe lzhe@example.com
* @Date: 2024-03-26 10:28:33
- * @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-04-02 11:56:39
- * @FilePath: /smart-web/src/views/master/person/main/index.vue
+ * @LastEditors: gaoshp
+ * @LastEditTime: 2024-11-19 19:25:08
+ * @FilePath: /cps-web/src/views/console/system/menu.vue
* @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="dict-main">
- <el-form :inline="true" :model="searchData" abel-width="80px">
+ <el-form :inline="true" :model="searchData" label-width="80px">
<el-row>
<el-col :span="6">
<el-form-item label="鑿滃崟鍚嶇О">
@@ -23,13 +23,6 @@
<el-col :span="6">
<el-form-item label="鑿滃崟鍒悕">
<el-input v-model="searchData.alias" placeholder="鑿滃崟鍒悕" clearable />
- </el-form-item>
- </el-col>
- <el-col :span="6">
- <el-form-item label="鎵�灞炲簲鐢�">
- <el-select v-model="searchData.belongApplication" style="width: 100%">
- <el-option v-for="item in applicationList" :key="item.code" :label="item.name" :value="item.code"/>
- </el-select>
</el-form-item>
</el-col>
<el-col :span="6">
@@ -65,7 +58,6 @@
<div>{{scope.row.keepAlive == 1?"鏄�":"鍚�"}}</div>
</template>
</el-table-column>
- <el-table-column prop="belongApplication" label="鎵�灞炲簲鐢�"></el-table-column>
<el-table-column prop="sort" label="鑿滃崟鎺掑簭"></el-table-column>
<el-table-column fixed="right" label="鎿嶄綔" width="200">
<template #default="scope">
@@ -124,7 +116,7 @@
methods: {
handleSuccess(formAddMenu) {
this.searchData.parentId = formAddMenu.parentId;
- this.searchClearBtn();
+ this.clearSearch();
},
tableLoad(row,treeNode,resolve) {
this.searchData.parentId= row.id;
@@ -133,14 +125,14 @@
resolve(res.data);
}
})
-
},
clearSearch() {
this.searchData= {
name: "",
code: "",
alias: "",
- belongApplication: ""
+ belongApplication: "",
+ parentId: "0"
}
this.searchBtn();
},
@@ -193,7 +185,6 @@
})
},
table_edit(row,index,fixed){
- this.dialog.save = true
this.$HTTP.get("/api/blade-system/menu/detail?id="+row.id).then(res=> {
if(res.code == 200) {
this.dialog.save = true;
--
Gitblit v1.9.3