From 238595017057e4bc67393915140507785f45b195 Mon Sep 17 00:00:00 2001 From: wujian <14790700720@163.com> Date: 星期三, 31 一月 2024 14:24:47 +0800 Subject: [PATCH] add 追溯报表 --- jcdm-ui/src/views/main/da/paramCollection/index.vue | 28 +++++++++++----------------- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/jcdm-ui/src/views/main/da/paramCollection/index.vue b/jcdm-ui/src/views/main/da/paramCollection/index.vue index 7721cd3..c4cded5 100644 --- a/jcdm-ui/src/views/main/da/paramCollection/index.vue +++ b/jcdm-ui/src/views/main/da/paramCollection/index.vue @@ -73,9 +73,8 @@ <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"></el-table-column> - <el-table-column label="鎬绘垚搴忓垪鍙�" align="center" width="100" prop="sfcCode"></el-table-column> + <el-table-column label="鎬绘垚搴忓垪鍙�" align="center" width="140" prop="sfcCode" ></el-table-column> <el-table-column label="浜у搧缂栧彿" align="center" prop="productCode"></el-table-column> <el-table-column label="浜х嚎缂栧彿" align="center" prop="productionLine"></el-table-column> <el-table-column label="宸ヤ綅缂栧彿" align="center" prop="locationCode"></el-table-column> @@ -84,28 +83,31 @@ <el-table-column label="鍙傛暟鍊�" align="center" prop="paramValue"></el-table-column> <el-table-column label="鍙傛暟涓婇檺" align="center" prop="paramUpper"></el-table-column> <el-table-column label="鍙傛暟涓嬮檺" align="center" prop="paramLower"></el-table-column> - <el-table-column label="鏍囧噯鍊�" align="center" prop="paramStandard"></el-table-column> - <el-table-column label="閲囬泦鏃堕棿" align="center" prop="collectionTime" width="180"> + <el-table-column label="閲囬泦鏃堕棿" align="center" prop="collectionTime" width="160"> <template slot-scope="scope"> - <span>{{ parseTime(scope.row.collectionTime, '{y}-{m}-{d}') }}</span> + <span>{{ parseTime(scope.row.collectionTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span> </template> </el-table-column> <el-table-column label="鐘舵��" align="center" prop="state"></el-table-column> - <el-table-column label="鍙傛暟鍚嶇О" align="center" prop="paramName"></el-table-column> + <el-table-column label="鍙傛暟鍚嶇О" align="center" prop="paramName" width="150" ></el-table-column> <el-table-column label="鍗曚綅" align="center" prop="unit"></el-table-column> <el-table-column label="绫诲瀷" align="center" prop="type"></el-table-column> - <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width" > + <el-table-column fixed="right" width="200" label="鎿嶄綔" align="center" class-name="small-padding fixed-width" > <template slot-scope="scope"> <el-button size="mini" - type="text" + type="success" + plain + style="width: 72px" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['main:paramCollection:edit']" >淇敼</el-button> <el-button size="mini" - type="text" + type="danger" + plain + style="width: 72px" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['main:paramCollection:remove']" @@ -161,14 +163,6 @@ </el-form-item> <el-form-item label="鏍囧噯鍊�" prop="paramStandard"> <el-input v-model="form.paramStandard" type="textarea" placeholder="璇疯緭鍏ュ唴瀹�" /> - </el-form-item> - <el-form-item label="閲囬泦鏃堕棿" prop="collectionTime"> - <el-date-picker clearable - v-model="form.collectionTime" - type="date" - value-format="yyyy-MM-dd" - placeholder="璇烽�夋嫨閲囬泦鏃堕棿"> - </el-date-picker> </el-form-item> <el-form-item label="鐘舵��" prop="state"> <el-input v-model="form.state" placeholder="璇疯緭鍏ョ姸鎬�" /> -- Gitblit v1.9.3