|
@@ -10,28 +10,29 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="样品名称" prop="sampleName">
|
|
|
+ <el-form-item label="送检单位" prop="inspectName">
|
|
|
<el-input
|
|
|
- v-model="queryParams.sampleName"
|
|
|
- placeholder="请输入样品名称"
|
|
|
+ v-model="queryParams.inspectName"
|
|
|
+ placeholder="请输入送检单位"
|
|
|
clearable
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="送检单位名称" prop="inspectName">
|
|
|
+ <el-form-item label="样品名称" prop="sampleName">
|
|
|
<el-input
|
|
|
- v-model="queryParams.inspectName"
|
|
|
- placeholder="请输入送检单位名称"
|
|
|
+ v-model="queryParams.sampleName"
|
|
|
+ placeholder="请输入样品名称"
|
|
|
clearable
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="委托单位名称" prop="entrustName">
|
|
|
+
|
|
|
+ <el-form-item label="委托单位" prop="entrustName">
|
|
|
<el-input
|
|
|
v-model="queryParams.entrustName"
|
|
|
- placeholder="请输入委托单位名称"
|
|
|
+ placeholder="请输入委托单位"
|
|
|
clearable
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
@@ -90,38 +91,39 @@
|
|
|
</el-row>
|
|
|
|
|
|
<el-table v-loading="loading" :data="reportDetailList" @selection-change="handleSelectionChange" :max-height="tableMaxHeight">
|
|
|
- <el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="报告ID" align="center" prop="reportId" />
|
|
|
- <el-table-column label="报告编号" align="center" prop="reportNumber" />
|
|
|
- <el-table-column label="样品名称" align="center" prop="sampleName" />
|
|
|
- <el-table-column label="送检单位名称" align="center" prop="inspectName" />
|
|
|
- <el-table-column label="委托单位名称" align="center" prop="entrustName" />
|
|
|
- <el-table-column label="是否合格" align="center" prop="isQualify">
|
|
|
+ <el-table-column fixed type="selection" width="55" align="center" />
|
|
|
+ <!-- <el-table-column label="报告ID" align="center" prop="reportId" /> -->
|
|
|
+ <el-table-column fixed label="报告编号" align="center" prop="reportNumber" width="220"/>
|
|
|
+ <el-table-column label="样品名称" align="center" prop="sampleName" width="180px" />
|
|
|
+ <el-table-column label="送检单位名称" align="center" prop="inspectName" width="180px"/>
|
|
|
+ <el-table-column label="委托单位名称" align="center" prop="entrustName" width="180px"/>
|
|
|
+ <el-table-column label="报告图片" align="center" prop="reportUrl" width="180px">
|
|
|
<template slot-scope="scope">
|
|
|
- <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.isQualify"/>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="报告图片" align="center" prop="reportUrl" width="110px">
|
|
|
- <template slot-scope="scope">
|
|
|
- <img @click="imagew(scope.row.reportUrl)" :src="defaultSettings.urls + scope.row.reportUrl"
|
|
|
- style="width: 100px;height: 100px;" v-if="scope.row.reportUrl !== null" />
|
|
|
+ <img @click="imagew(scope.row.reportUrl)" :src="defaultSettings.urls + '/prod-api' + scope.row.reportUrl"
|
|
|
+ style="width: 120px;height: 120px;" v-if="scope.row.reportUrl !== null" />
|
|
|
<span v-else>暂无数据</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="二维码地址" align="center" prop="qrPath" width="110px" >
|
|
|
+ <el-table-column label="二维码" align="center" prop="qrPath" width="180px" >
|
|
|
<template slot-scope="scope">
|
|
|
- <img @click="imagew(scope.row.qrPath)" :src="defaultSettings.urls + scope.row.qrPath"
|
|
|
- style="width: 100px;height: 100px;" v-if="scope.row.qrPath !== null" />
|
|
|
+ <img @click="imagew(scope.row.qrPath)" :src="defaultSettings.urls + '/prod-api' + scope.row.qrPath"
|
|
|
+ style="width: 120px;height: 120px;" v-if="scope.row.qrPath !== null" />
|
|
|
<span v-else>暂无数据</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="是否删除" align="center" prop="isDel">
|
|
|
+ <el-table-column label="提交时间" align="center" prop="createTime" width="160px"/>
|
|
|
+ <el-table-column label="是否合格" align="center" prop="isQualify" width="100px">
|
|
|
<template slot-scope="scope">
|
|
|
- <dict-tag :options="dict.type.is_del" :value="scope.row.isDel"/>
|
|
|
+ <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.isQualify"/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="备注" align="center" prop="remark" />
|
|
|
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
+ <!-- <el-table-column label="是否删除" align="center" prop="isDel">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <dict-tag :options="dict.type.is_del" :value="scope.row.isDel"/>
|
|
|
+ </template>
|
|
|
+ </el-table-column> -->
|
|
|
+ <el-table-column label="备注" align="center" prop="remark" width="120px"/>
|
|
|
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="120px">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
size="mini"
|
|
@@ -210,11 +212,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
@@ -222,7 +219,7 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<el-dialog title="图片预览" :visible.sync="opende" width="1000px" append-to-body style="text-align: center;">
|
|
|
- <img :src="defaultSettings.urls + urls" style="width: 80%;" >
|
|
|
+ <img :src="defaultSettings.urls + '/prod-api' + urls" style="width: 80%;" >
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</template>
|