Преглед изворни кода

数据页面默认查询处理

oyq28 пре 1 недеља
родитељ
комит
fbe9ef57e8

+ 7 - 3
imcs-ui/src/views/zuihou/runManageCenter/mesNotice/tab/accept/index.vue

@@ -79,7 +79,8 @@
       <el-table-column align="center" type="selection" width="50" :reserve-selection="true" />
       <!-- 编码 -->
       <el-table-column prop="orderNo" label='订单编号' :show-overflow-tooltip="true" width="180"></el-table-column>
-      <el-table-column prop="lineCode"  label='产线编码' width="180"></el-table-column>
+	  <el-table-column prop="lineCode"  label='产线编码' width="100"></el-table-column>
+      <el-table-column prop="userCode"  label='用户编码' width="120"></el-table-column>
       <el-table-column prop="buType" label='业务类型' width="120" >
 		<template slot-scope="{ row }">			
 			 <div v-for="item in buTypeList" :key="item.value" :value="item" >				
@@ -133,6 +134,7 @@
 			            @click="updateStatus(row)"
 			          />
 		          </el-tooltip>
+
 				  <el-tooltip class="item" content='查看' effect="dark" placement="top-start" >
 			          <i
 			            class="el-icon-view table-operation"
@@ -140,13 +142,14 @@
 			            @click="view(row)"
 			          />
 		          </el-tooltip>
-				  <el-tooltip class="item" content='页面跳转' effect="dark" placement="top-start" v-if="row.status=='1'">
+				  <!--
+				  <el-tooltip class="item" content='页面跳转' effect="dark" placement="top-start" v-if="row.status=='0'">
 			          <i
 			            class="el-icon-bell table-operation"
 			            style="color: #87d068;"
 			            @click="redirect(row)"
 			          />
-		          </el-tooltip>
+		          </el-tooltip> -->
 				  <el-tooltip class="item" content='文件下载' effect="dark" placement="top-start" v-if="row.status=='2'">
 			          <i
 					    v-if="row.children"
@@ -455,6 +458,7 @@
 	
 	      this.queryParams.current = params.current ? params.current : this.queryParams.current
 	      this.queryParams.size = params.size ? params.size : this.queryParams.size
+		  this.queryParams.sort = "createTime"
 	      // 固定参数:dataStatus = 1-入库/出库,2-解锁/锁定
 	      //this.queryParams.model.status = '1'		  
 	     await mesNoticeApi.page(this.queryParams).then(response => {