From 21530ef5b5574a6c97b42572fe0c2665c081e9eb Mon Sep 17 00:00:00 2001 From: hdy <1105738590@qq.com> Date: 星期三, 03 一月 2024 08:33:10 +0800 Subject: [PATCH] 代码更新 --- jcdm-ui/src/views/main/da/paramCollection/index.vue | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/jcdm-ui/src/views/main/da/paramCollection/index.vue b/jcdm-ui/src/views/main/da/paramCollection/index.vue index e809eff..223ef78 100644 --- a/jcdm-ui/src/views/main/da/paramCollection/index.vue +++ b/jcdm-ui/src/views/main/da/paramCollection/index.vue @@ -1,5 +1,6 @@ <template> <div class="app-container"> + <el-card class="box-card"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form-item label="浜у搧缂栫爜" prop="productCode"> <el-input @@ -17,12 +18,13 @@ @keyup.enter.native="handleQuery" /> </el-form-item> - <el-form-item> + <el-form-item style="float: right"> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">鎼滅储</el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">閲嶇疆</el-button> </el-form-item> </el-form> - + </el-card> + <el-card style="margin-top: 10px" class="box-card"> <el-row :gutter="10" class="mb8"> <el-col :span="1.5"> <el-button @@ -69,7 +71,7 @@ <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> - <el-table v-loading="loading" :data="paramCollectionList" @selection-change="handleSelectionChange"> + <el-table v-loading="loading" border :data="paramCollectionList" @selection-change="handleSelectionChange" v-if="paramCollectionList.length > 0"> <el-table-column type="selection" width="55" align="center" /> <el-table-column label="涓婚敭id" align="center" prop="id" /> <el-table-column label="宸ュ崟缂栧彿" align="center" prop="workOrderNo"> @@ -152,7 +154,7 @@ <!-- <dict-tag :options="dict.type.${column.dictType}" :value="scope.row.type"/>--> <!-- </template>--> </el-table-column> - <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> + <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width" > <template slot-scope="scope"> <el-button size="mini" @@ -171,6 +173,10 @@ </template> </el-table-column> </el-table> + <el-empty v-else> + <span slot="description">鏆傛棤鏁版嵁</span> + </el-empty> + </el-card> <pagination v-show="total>0" -- Gitblit v1.9.3