|
|
@@ -2,10 +2,21 @@
|
|
|
<div>
|
|
|
<el-dialog title="缺资质准入范围" :visible.sync="checkFileListShow" :close-on-click-modal="false" width="80%">
|
|
|
<el-card class="box-card" style="height: calc(100vh - 115px);">
|
|
|
- <div slot="header">
|
|
|
- <span style="float: right; margin-top: -10px">
|
|
|
- <el-button type="primary" :loading="deleteLoading" size="mini" @click="deleteData('')">批量删除</el-button>
|
|
|
- </span>
|
|
|
+ <div slot="header" style="height: 20px">
|
|
|
+ <el-form ref="form" :inline="true" style="float: right; margin-top: -10px">
|
|
|
+ <el-form-item label="准入范围">
|
|
|
+ <el-input v-model="subName" placeholder="请输入准入范围" size="mini" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="资质">
|
|
|
+ <el-input v-model="fileName" placeholder="请输入资质" size="mini" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button type="primary" size="mini" @click="initData()">查询</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button type="primary" :loading="deleteLoading" size="mini" @click="deleteData('')">批量删除</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
</div>
|
|
|
<el-table :data="subList" border height="calc(100vh - 243px)" size="mini" style="width: 100%" v-loading="tableLoading" highlight-current-row @selection-change="handleSelectionChange">
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
@@ -62,6 +73,8 @@ export default {
|
|
|
currentPage: 1,
|
|
|
currentItemCount: 0,
|
|
|
type: 0,
|
|
|
+ fileName: '',
|
|
|
+ subName: '',
|
|
|
tableLoading: false,
|
|
|
checkFileListShow: false,
|
|
|
deleteLoading: false
|
|
|
@@ -73,6 +86,8 @@ export default {
|
|
|
methods: {
|
|
|
getValue (supplierId, certId, operType) {
|
|
|
this.currentPage = 1
|
|
|
+ this.fileName = ''
|
|
|
+ this.subName = ''
|
|
|
this.size = 10
|
|
|
this.certId = certId
|
|
|
this.operType = operType
|
|
|
@@ -87,6 +102,8 @@ export default {
|
|
|
size: this.size,
|
|
|
Type: this.operType,
|
|
|
SupplierId: this.supplierId,
|
|
|
+ FileName: this.fileName,
|
|
|
+ SubName: this.subName,
|
|
|
CertId: this.certId.toString()
|
|
|
}
|
|
|
api.checkSupplierFileList(fileType, this.$axios).then(res => {
|