|
@@ -3,13 +3,14 @@
|
|
|
|
|
|
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
|
<el-breadcrumb-item>首页</el-breadcrumb-item>
|
|
|
+ <el-breadcrumb-item>承担单位</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item :to="{ path: '/jc/routineMonitor' }">任务列表</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item>基本信息</el-breadcrumb-item>
|
|
|
</el-breadcrumb>
|
|
|
|
|
|
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
|
|
|
<el-tab-pane label="任务详情" name="first">
|
|
|
- <el-descriptions class="margin-top" title="例行监测任务" :column="2" :size="size" border>
|
|
|
+ <el-descriptions class="margin-top" :title="readForm.task_class+'任务'" :column="2" :size="size" border>
|
|
|
<el-descriptions-item>
|
|
|
<template slot="label">
|
|
|
发布单位
|
|
@@ -183,7 +184,7 @@
|
|
|
@selection-change="handleSelectionChange" style="width: 100%" :row-style="rowStyle"
|
|
|
:cell-style="cellStyle">
|
|
|
<el-table-column type="selection" width="50"></el-table-column>
|
|
|
- <el-table-column label="序号" width="50px">
|
|
|
+ <el-table-column label="序号" width="50px" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.$index+1 }}
|
|
|
</template>
|
|
@@ -191,12 +192,13 @@
|
|
|
|
|
|
<el-table-column :key="table.label" v-for="table in tableHeader" :label="table.label"
|
|
|
:prop="table.prop" align="center" :width="table.width" :fixed="table.fixed" />
|
|
|
- <el-table-column label="操作" align="center" fixed="right">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="success" size="small" plain @click="sampleDetail(scope.row.sample_id)">查看
|
|
|
- </el-button>
|
|
|
+
|
|
|
+ <el-table-column label="操作" width="150px" align="center">
|
|
|
+ <template>
|
|
|
+ <el-button type="success" size="small" plain @click="sampleDetail(scope.row.sample_id)">查看</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+
|
|
|
</el-table>
|
|
|
<!-- 分页器区域-->
|
|
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
|
|
@@ -210,7 +212,7 @@
|
|
|
<el-table :data="tableData" border stripe highlight-current-row style="width: 100%"
|
|
|
:row-style="rowStyle" :cell-style="cellStyle">
|
|
|
<!-- <el-table-column type="selection" width="50"></el-table-column> -->
|
|
|
- <el-table-column label="序号" width="50px">
|
|
|
+ <el-table-column label="序号" width="50px" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.$index+1 }}
|
|
|
</template>
|
|
@@ -218,7 +220,7 @@
|
|
|
|
|
|
<el-table-column :key="table.label" v-for="table in checkHeader" :label="table.label"
|
|
|
:prop="table.prop" align="center" :width="table.width" :fixed="table.fixed" />
|
|
|
- <el-table-column label="操作" align="center" fixed="right" width="220px">
|
|
|
+ <el-table-column label="操作" align="center" width="220px">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="success" size="mini" v-if="scope.row.jc_value_id==null" plain
|
|
|
@click="check(scope.row.sample_id,scope.row.sample_name)">检测</el-button>
|
|
@@ -476,7 +478,7 @@
|
|
|
{
|
|
|
label: '受检单位',
|
|
|
prop: 'units_name',
|
|
|
- width: 180
|
|
|
+ width: 150
|
|
|
},
|
|
|
{
|
|
|
label: '样品产地',
|
|
@@ -489,7 +491,7 @@
|
|
|
}, {
|
|
|
label: '状态',
|
|
|
prop: 'status',
|
|
|
- width: 180
|
|
|
+ width: 150
|
|
|
}
|
|
|
],
|
|
|
checkHeader: [{
|
|
@@ -914,22 +916,22 @@
|
|
|
|
|
|
.el-form-item {
|
|
|
margin-left: 15px;
|
|
|
- // margin: 0 auto;
|
|
|
+ // margin-bottom: 5px;
|
|
|
}
|
|
|
|
|
|
- // .labelItem /deep/ .el-form-item__label {
|
|
|
- // // width: 80px;
|
|
|
- // text-align: center;
|
|
|
- // vertical-align: middle;
|
|
|
- // float: left;
|
|
|
- // font-size: 14px;
|
|
|
- // color: #606266;
|
|
|
- // font-weight: bold;
|
|
|
- // // line-height: 40px;
|
|
|
- // padding: 0 20px 0 0;
|
|
|
- // -webkit-box-sizing: border-box;
|
|
|
- // box-sizing: border-box;
|
|
|
- // }
|
|
|
+ .labelItem /deep/ .el-form-item__label {
|
|
|
+ // width: 80px;
|
|
|
+ text-align: center;
|
|
|
+ vertical-align: middle;
|
|
|
+ float: left;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #606266;
|
|
|
+ font-weight: bold;
|
|
|
+ // line-height: 40px;
|
|
|
+ padding: 0 20px 0 0;
|
|
|
+ -webkit-box-sizing: border-box;
|
|
|
+ box-sizing: border-box;
|
|
|
+ }
|
|
|
|
|
|
.demonstration {
|
|
|
margin: 20px;
|