|
@@ -147,9 +147,9 @@
|
|
:prop="table.prop" align="center" :width="table.width" :fixed="table.fixed" />
|
|
:prop="table.prop" align="center" :width="table.width" :fixed="table.fixed" />
|
|
<el-table-column label="操作" align="center" fixed="right">
|
|
<el-table-column label="操作" align="center" fixed="right">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button style="margin:5px 0" type="success" size="small" plain @click="input(scope.row.id)">填报抽样单
|
|
|
|
|
|
+ <el-button style="margin:5px 0" type="primary" size="small" plain @click="input(scope.row.id)">填报抽样单
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button style="margin-bottom:5px" type="success" size="small" @click="getCydlist(scope.row.id)">查看抽样单列表
|
|
|
|
|
|
+ <el-button style="margin-bottom:5px" type="primary" size="small" @click="getCydlist(scope.row.id)">查看抽样单列表
|
|
</el-button>
|
|
</el-button>
|
|
<!-- <el-button type="success" size="small" plain @click="sampleDetail(scope.row.sample_id)" @focus="getSampleListDialog = true">查看抽样单列表
|
|
<!-- <el-button type="success" size="small" plain @click="sampleDetail(scope.row.sample_id)" @focus="getSampleListDialog = true">查看抽样单列表
|
|
</el-button> -->
|
|
</el-button> -->
|
|
@@ -211,7 +211,7 @@
|
|
:prop="table.prop" align="center" :width="table.width" :fixed="table.fixed" />
|
|
:prop="table.prop" align="center" :width="table.width" :fixed="table.fixed" />
|
|
<el-table-column label="操作" align="center" fixed="right">
|
|
<el-table-column label="操作" align="center" fixed="right">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button style="margin:5px 0" type="success" size="small" @click="getJcdList(scope.row.id)">查看检测单列表
|
|
|
|
|
|
+ <el-button style="margin:5px 0" type="primary" size="small" @click="getJcdList(scope.row.id)">查看检测单列表
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -232,7 +232,7 @@
|
|
:prop="table.prop" align="center" :width="table.width" :fixed="table.fixed" />
|
|
:prop="table.prop" align="center" :width="table.width" :fixed="table.fixed" />
|
|
<el-table-column label="操作" align="center" fixed="right" width="350px">
|
|
<el-table-column label="操作" align="center" fixed="right" width="350px">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button style="margin:5px 5px" type="success" size="mini" plain
|
|
|
|
|
|
+ <el-button style="margin:5px 5px" type="primary" size="mini" plain
|
|
@click="getSamplesLists(scope.row.id)">获取样品列表</el-button>
|
|
@click="getSamplesLists(scope.row.id)">获取样品列表</el-button>
|
|
|
|
|
|
<!-- <el-button style="margin:5px 5px" type="primary" size="mini" plain @click="creatpdf(scope.row.sample_id)">生成检测报告
|
|
<!-- <el-button style="margin:5px 5px" type="primary" size="mini" plain @click="creatpdf(scope.row.sample_id)">生成检测报告
|
|
@@ -265,7 +265,7 @@
|
|
<el-table-column label="操作" align="center">
|
|
<el-table-column label="操作" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-col style="margin-bottom: 5px;">
|
|
<el-col style="margin-bottom: 5px;">
|
|
- <el-button style="margin:5px 5px" type="success" size="mini" v-if="scope.row.jcd==null" plain
|
|
|
|
|
|
+ <el-button style="margin:5px 5px" type="primary" size="mini" v-if="scope.row.jcd==null" plain
|
|
@click="getJcdObj(scope.row.id,scope.row.cyd_id)">填报检测单</el-button>
|
|
@click="getJcdObj(scope.row.id,scope.row.cyd_id)">填报检测单</el-button>
|
|
<!-- <el-button style="margin:5px 5px" type="primary" v-else size="mini" plain @click="update(scope.row)">修改</el-button> -->
|
|
<!-- <el-button style="margin:5px 5px" type="primary" v-else size="mini" plain @click="update(scope.row)">修改</el-button> -->
|
|
<el-button style="margin:5px 5px" type="primary" size="mini" plain @click="putJcdStatus(scope.row.jcd.id,scope.row.cyd_id)" v-else-if="scope.row.jcd.jcd_status == '1'">上报检测单
|
|
<el-button style="margin:5px 5px" type="primary" size="mini" plain @click="putJcdStatus(scope.row.jcd.id,scope.row.cyd_id)" v-else-if="scope.row.jcd.jcd_status == '1'">上报检测单
|
|
@@ -323,7 +323,7 @@
|
|
</div>
|
|
</div>
|
|
<!-- <div v-show="jcd.jcd_result==0"> -->
|
|
<!-- <div v-show="jcd.jcd_result==0"> -->
|
|
<div style="display: flex;flex-direction: row;float: right;margin-bottom: 10px;" v-show="jcd.jcd_result==0">
|
|
<div style="display: flex;flex-direction: row;float: right;margin-bottom: 10px;" v-show="jcd.jcd_result==0">
|
|
- <el-button type="success" size="small" plain @click="addJcxItemDialog = true">新增不合格项</el-button>
|
|
|
|
|
|
+ <el-button type="primary" size="small" plain @click="addJcxItemDialog = true">新增不合格项</el-button>
|
|
</div>
|
|
</div>
|
|
<div v-show="jcd.jcd_result==0" id="additems">
|
|
<div v-show="jcd.jcd_result==0" id="additems">
|
|
<!-- 表格数据区域-->
|
|
<!-- 表格数据区域-->
|
|
@@ -338,7 +338,7 @@
|
|
<el-table-column label="操作" align="center">
|
|
<el-table-column label="操作" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-col>
|
|
<el-col>
|
|
- <el-button type="success" size="mini" @click="delJcdItem(scope.row.id)">删除</el-button>
|
|
|
|
|
|
+ <el-button type="primary" size="mini" @click="delJcdItem(scope.row.id)">删除</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -397,7 +397,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="footer">
|
|
<div class="footer">
|
|
- <el-button type="success" style="margin-bottom:30px;" size="small" @click="putJcd()">完成</el-button>
|
|
|
|
|
|
+ <el-button type="primary" style="margin-bottom:30px;" size="small" @click="putJcd()">完成</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
@@ -426,7 +426,7 @@
|
|
</el-form>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
<div class="footer">
|
|
- <el-button type="success" style="margin-bottom:30px;" size="small" @click="postJcdItem('jcxform')">保存</el-button>
|
|
|
|
|
|
+ <el-button type="primary" style="margin-bottom:30px;" size="small" @click="postJcdItem('jcxform')">保存</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<!-- ///////////////////////////////////////////检测报告生成-------难、、、、、、、、、、、、、、、、、、、、、、 -->
|
|
<!-- ///////////////////////////////////////////检测报告生成-------难、、、、、、、、、、、、、、、、、、、、、、 -->
|