|
|
@@ -55,6 +55,7 @@
|
|
|
<el-link type="primary" :underline="false" @click="openNumber(row)">
|
|
|
合格证
|
|
|
</el-link>
|
|
|
+ <jimureportBrowse style="display: inline-block;margin-left: 5px;" v-if="row.status == 1" text="质检报告" :businessId="row.id" businessCode="qmsqualityinspectionprint"></jimureportBrowse>
|
|
|
<!-- <el-link type="primary" :underline="false">
|
|
|
质检报告
|
|
|
</el-link> -->
|
|
|
@@ -85,7 +86,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import search from './components/search.vue';
|
|
|
-
|
|
|
+import jimureportBrowse from '@/components/jimureport/browseModal.vue'
|
|
|
import { getList, removeItem, updateCertificateNumber } from '@/api/inspectionWork';
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
import { getFile } from '@/api/system/file';
|
|
|
@@ -94,7 +95,8 @@ import { getByCode } from '@/api/system/dictionary-data';
|
|
|
export default {
|
|
|
mixins: [dictMixins],
|
|
|
components: {
|
|
|
- search
|
|
|
+ search,
|
|
|
+ jimureportBrowse
|
|
|
},
|
|
|
data() {
|
|
|
return {
|