样式调整

This commit is contained in:
zhujiyan
2024-08-27 18:37:46 +08:00
parent f8995d043b
commit e9a0347b0e
8 changed files with 466 additions and 166 deletions

View File

@@ -63,6 +63,10 @@
>查询</el-button
>
<el-button :icon="Refresh" @click="handleRefresh">重置</el-button>
<el-button type="primary" :icon="Upload" @click="handleRefresh">导入</el-button>
<el-button type="primary" :icon="Check" @click="handleRefresh">合并</el-button>
<el-button type="primary" :icon="Plus" @click="handleRefresh">新增</el-button>
<el-button type="danger" :icon="Delete" @click="handleRefresh">删除</el-button>
</el-form-item>
</el-form>
@@ -150,6 +154,8 @@ import {
Download,
Upload,
View,
Check,
Plus,
Refresh,
Search,
} from "@element-plus/icons-vue";
@@ -270,7 +276,7 @@ const columns = reactive<ColumnProps<User.ResUserList>[]>([
},
{
prop: "numberFromName",
label: "数字源名称",
label: "源名称",
render: (scope) => {
return scope.row.numberFromName == 0
? "分钟统计数据最大值"
@@ -349,22 +355,6 @@ const columns = reactive<ColumnProps<User.ResUserList>[]>([
: scope.row.checkReport;
},
},
{
prop: "parentNode",
label: "父节点",
width: 90,
render: (scope) => {
return scope.row.checkReport == 0
? "/"
: scope.row.checkReport == 1
? "检测计划1"
: scope.row.checkReport == 2
? "检测计划2"
: scope.row.checkReport == 3
? "检测计划3"
: scope.row.checkReport;
},
},
{ prop: "operation", label: "操作", fixed: "right", width: 250 },
]);
//重置查询条件