|
|
@@ -71,11 +71,12 @@
|
|
|
style="width: 100%"
|
|
|
@sort-change="orderby"
|
|
|
>
|
|
|
- <el-table-column label="操作" width="200px" align="center" fixed="right" show-overflow-tooltip>
|
|
|
+ <el-table-column label="操作" width="260px" align="center" fixed="right" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" @click="toWord(scope.row)" title="下载" size="mini" icon="el-icon-download" width="120px">表单下载</el-button>
|
|
|
<!--<el-button type="text" @click="toPdf(scope.row)" title="导出" size="mini" icon="el-icon-document" width="120px">准入范围</el-button>-->
|
|
|
<el-button type="text" @click="opencertsub(scope.row)" title="导出" size="mini" icon="el-icon-document" width="120px">准入范围</el-button>
|
|
|
+ <el-button type="text" @click="openfilelist(scope.row)" title="导出" size="mini" icon="el-icon-document" width="120px">企业资质</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!--内框表格剩余栏显示-->
|
|
|
@@ -719,6 +720,13 @@
|
|
|
></el-pagination>
|
|
|
</el-card>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog :visible.sync="dialogVisibleSubFile" width="80%">
|
|
|
+ <subfile-list ref="subfileListRef"
|
|
|
+ :SupplierId="SupplierId"
|
|
|
+ height="360px"
|
|
|
+ style="margin-top: 20px"></subfile-list>
|
|
|
+
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -732,8 +740,12 @@ import FileSaver from 'file-saver'
|
|
|
import XLSX from 'xlsx'
|
|
|
import oapi from '@/api/oilsupplier/supplier'
|
|
|
import dataapi from '@/api/oilsupplier/dataentry'
|
|
|
+import SubfileList from '@/pages/select/components/subfilelist'
|
|
|
|
|
|
export default {
|
|
|
+ components: {
|
|
|
+ SubfileList
|
|
|
+ },
|
|
|
created () {
|
|
|
Object.assign(this.searchFormReset, this.searchForm)
|
|
|
// 执行初始化方法
|
|
|
@@ -744,12 +756,13 @@ export default {
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
+ SupplierId: '',
|
|
|
Id: '',
|
|
|
SupplierCertId: '',
|
|
|
SupplierTypeCode: '',
|
|
|
SupplierName: '',
|
|
|
- activeName: 'first',
|
|
|
dialogVisibleCertsSub: false,
|
|
|
+ dialogVisibleSubFile: false,
|
|
|
HSEOptions: [
|
|
|
{
|
|
|
value: '',
|
|
|
@@ -874,7 +887,13 @@ export default {
|
|
|
search () {
|
|
|
this.getCertSub()
|
|
|
},
|
|
|
+ openfilelist (row) {
|
|
|
+ let _this = this
|
|
|
+ _this.dialogVisibleSubFile = true
|
|
|
+ _this.SupplierId = row.Id
|
|
|
+ },
|
|
|
opencertsub (row) {
|
|
|
+ this.certsubList = []
|
|
|
this.dialogVisibleCertsSub = true
|
|
|
this.Id = row.Id
|
|
|
this.SupplierCertId = row.CertId
|