|
|
@@ -33,7 +33,7 @@
|
|
|
style="width: 100%" @sort-change="orderby" :row-class-name="tableRowClassName">
|
|
|
<el-table-column label="操作" width="260px" align="center" fixed="right" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button type="text" @click="opencertsub(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>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!--内框表格剩余栏显示-->
|
|
|
@@ -79,10 +79,10 @@
|
|
|
<span style="float: right;">
|
|
|
<el-form ref="form" :inline="true" style="margin-top: -10px">
|
|
|
<el-form-item label="编码">
|
|
|
- <el-input size="mini" v-model="searchFormSub.Code" style="width: 100%"></el-input>
|
|
|
+ <el-input size="mini" v-model="searchFormSub.Code" placeholder="请输入内容" style="width: 100%"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="名称">
|
|
|
- <el-input size="mini" v-model="searchFormSub.Name" style="width: 100%"></el-input>
|
|
|
+ <el-input size="mini" v-model="searchFormSub.Name" placeholder="请输入内容" style="width: 100%"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" @click="search">查询</el-button>
|
|
|
@@ -91,7 +91,7 @@
|
|
|
</el-form>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <el-table :data="certsubList" border size="mini" :row-class-name="subRowClassName">
|
|
|
+ <el-table :data="certsubList" border size="mini" :row-class-name="subRowClassName" v-loading="certsubListLoading">
|
|
|
<!-- <el-table-column label="操作" width="160px" align="center" fixed="right" show-overflow-tooltip>-->
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
<!-- <el-button type="text" style="color: #F56C6C" @click="delcertsubbyid(scope.row)" title="删除" size="mini" icon="el-icon-delete" width="90px">删除</el-button>-->
|
|
|
@@ -163,6 +163,7 @@
|
|
|
conList: [],
|
|
|
loading: false,
|
|
|
dialogVisibleCertsSub: false,
|
|
|
+ certsubListLoading: false,
|
|
|
searchForm: {
|
|
|
AccessCardNo: '',
|
|
|
SupplierName: '',
|
|
|
@@ -369,13 +370,14 @@
|
|
|
})
|
|
|
},
|
|
|
opencertsub (row) {
|
|
|
+ this.currentPageSub = 1
|
|
|
this.certsubList = []
|
|
|
this.dialogVisibleCertsSub = true
|
|
|
+ this.certsubListLoading = true
|
|
|
this.Id = row.Id
|
|
|
this.SupplierCertId = row.CertId
|
|
|
this.SupplierTypeCode = row.SupplierTypeCode
|
|
|
this.SupplierName = row.SupplierName
|
|
|
- this.currentPageSub = 1
|
|
|
this.getCertSub(row)
|
|
|
},
|
|
|
getCertSub (row) {
|
|
|
@@ -393,6 +395,7 @@
|
|
|
.then(res => {
|
|
|
_this.certsubList = res.data.items
|
|
|
_this.currentItemCountSub = res.data.currentItemCount
|
|
|
+ this.certsubListLoading = false
|
|
|
})
|
|
|
.catch(err => {
|
|
|
console.error(err)
|