Sfoglia il codice sorgente

setTaskcd样式及功能调整

jiangyu 3 anni fa
parent
commit
38b038f449
1 ha cambiato i file con 17 aggiunte e 7 eliminazioni
  1. 17 7
      src/components/jc/setTaskcd.vue

+ 17 - 7
src/components/jc/setTaskcd.vue

@@ -98,7 +98,7 @@
 				<div class="footer">
 					<el-button type="success" size="mini" @click="input()">填报抽样单</el-button>
 					<!-- <el-button type="success" size="mini" @click="next">导出总览</el-button> -->
-					<el-button type="success" size="mini">返回</el-button>
+					<el-button type="success" size="mini" @click="back()">返回</el-button>
 				</div>
 			</el-tab-pane>
 
@@ -134,11 +134,11 @@
 						<el-form-item label="抽样机构" class="select" size="small">
 							<el-input v-model="queryInfo.task_name"></el-input>
 						</el-form-item>
-						<el-button style="height: 30px;margin-left: 10px;" size="mini" type="success"
+						<el-button style="height: 32px;margin-left: 15px;" size="mini" type="success"
 							@click="searchData()">查询
 						</el-button>
 						<!-- 重置 -->
-						<el-button style="height: 30px;margin-left: 5px;" size="mini" type="success" @click="reset()">
+						<el-button style="height: 32px;margin-left: 5px;" size="mini" type="success" @click="reset()">
 							重置
 						</el-button>
 					</el-form>
@@ -658,6 +658,10 @@
 
 				// this.bindForm.endtime_cydsb = res.data.endtime_cydsb
 			},
+			// 任务详情页面返回任务列表
+			async back() {
+				this.$router.push('routineMonitor')
+			},
 			// 修改检测报告
 			// async update(){
 
@@ -908,10 +912,10 @@
 	// 	margin-left: 35%;
 	// }
 
-	// .el-form-item {
-	// 	// margin-bottom: 8px;
-	// 	margin: 0 auto;
-	// }
+	.el-form-item {
+		margin-left: 15px;
+		// margin: 0 auto;
+	}
 
 	// .labelItem /deep/ .el-form-item__label {
 	// 	// width: 80px;
@@ -938,4 +942,10 @@
 		margin-top: 20px;
 		margin-left: 45%;
 	}
+	.el-table{
+		margin-top: 20px;
+	}
+	.el-pagination {
+		margin-top: 25px;
+	}
 </style>