|
@@ -1,16 +1,11 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="p-2">
|
|
<div class="p-2">
|
|
|
- <!-- <transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
|
|
|
|
|
|
+ <transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
|
|
<div class="mb-[10px]" v-show="showSearch">
|
|
<div class="mb-[10px]" v-show="showSearch">
|
|
|
<el-card shadow="hover">
|
|
<el-card shadow="hover">
|
|
|
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="68px">
|
|
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="68px">
|
|
|
- <el-form-item label="字典名称" prop="dictType">
|
|
|
|
|
- <el-select v-model="queryParams.dictType" style="width: 200px">
|
|
|
|
|
- <el-option v-for="item in typeOptions" :key="item.dictId" :label="item.dictName" :value="item.dictType" />
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="字典标签" prop="dictLabel">
|
|
|
|
|
- <el-input v-model="queryParams.dictLabel" placeholder="请输入字典标签" clearable style="width: 200px" @keyup.enter="handleQuery" />
|
|
|
|
|
|
|
+ <el-form-item label="站点名称" prop="dictLabel">
|
|
|
|
|
+ <el-input v-model="queryParams.dictLabel" placeholder="请输入站点名称" clearable style="width: 200px" @keyup.enter="handleQuery" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
|
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
|
|
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
|
|
@@ -19,7 +14,7 @@
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</div>
|
|
</div>
|
|
|
- </transition> -->
|
|
|
|
|
|
|
+ </transition>
|
|
|
<el-card shadow="hover">
|
|
<el-card shadow="hover">
|
|
|
<template #header>
|
|
<template #header>
|
|
|
<el-row :gutter="10" class="mb8">
|
|
<el-row :gutter="10" class="mb8">
|
|
@@ -47,7 +42,7 @@
|
|
|
<el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange">
|
|
<el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange">
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
<el-table-column label="字典编码" align="center" prop="dictCode" v-if="false" />
|
|
<el-table-column label="字典编码" align="center" prop="dictCode" v-if="false" />
|
|
|
- <el-table-column label="字典标签" align="center" prop="dictLabel">
|
|
|
|
|
|
|
+ <el-table-column label="站点名称" align="center" prop="dictLabel">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<span v-if="(scope.row.listClass === '' || scope.row.listClass === 'default') && (scope.row.cssClass === '' || scope.row.cssClass == null)">{{ scope.row.dictLabel }}</span>
|
|
<span v-if="(scope.row.listClass === '' || scope.row.listClass === 'default') && (scope.row.cssClass === '' || scope.row.cssClass == null)">{{ scope.row.dictLabel }}</span>
|
|
|
<el-tag v-else :type="(scope.row.listClass === 'primary' || scope.row.listClass === 'default') ? '' : scope.row.listClass" :class="scope.row.cssClass">{{ scope.row.dictLabel }}</el-tag>
|
|
<el-tag v-else :type="(scope.row.listClass === 'primary' || scope.row.listClass === 'default') ? '' : scope.row.listClass" :class="scope.row.cssClass">{{ scope.row.dictLabel }}</el-tag>
|