|
@@ -57,7 +57,7 @@
|
|
filterable
|
|
filterable
|
|
clearable
|
|
clearable
|
|
remote
|
|
remote
|
|
- :remote-method="searchPmList()"
|
|
|
|
|
|
+ :remote-method="searchPmList"
|
|
>
|
|
>
|
|
<el-option label="请选择" value=""></el-option>
|
|
<el-option label="请选择" value=""></el-option>
|
|
<el-option
|
|
<el-option
|
|
@@ -76,7 +76,7 @@
|
|
filterable
|
|
filterable
|
|
clearable
|
|
clearable
|
|
remote
|
|
remote
|
|
- :remote-method="searchSupplierList()"
|
|
|
|
|
|
+ :remote-method="searchSupplierList"
|
|
>
|
|
>
|
|
<el-option label="请选择" value=""></el-option>
|
|
<el-option label="请选择" value=""></el-option>
|
|
<el-option
|
|
<el-option
|
|
@@ -93,7 +93,7 @@
|
|
size="small"
|
|
size="small"
|
|
type="primary"
|
|
type="primary"
|
|
icon="el-icon-search"
|
|
icon="el-icon-search"
|
|
- @click="searchRecords();"
|
|
|
|
|
|
+ @click="searchRecords"
|
|
>查询
|
|
>查询
|
|
</el-button>
|
|
</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -139,7 +139,7 @@
|
|
<!-- 分页 -->
|
|
<!-- 分页 -->
|
|
<div class="page pull-left">
|
|
<div class="page pull-left">
|
|
<el-pagination
|
|
<el-pagination
|
|
- @current-change="handlePager();"
|
|
|
|
|
|
+ @current-change="handlePager"
|
|
:current-page="formSearch.pageNo"
|
|
:current-page="formSearch.pageNo"
|
|
:page-size="formSearch.pageSize"
|
|
:page-size="formSearch.pageSize"
|
|
:total="totalElements"
|
|
:total="totalElements"
|
|
@@ -276,8 +276,16 @@ export default {
|
|
|
|
|
|
this.loadUserRole(this.user);
|
|
this.loadUserRole(this.user);
|
|
|
|
|
|
- if (this.curUserRole.isSuperLeader || this.curUserRole.isPM) {
|
|
|
|
|
|
+ if (this.curUserRole.isSuperLeader) {
|
|
this.hasPermit = true;
|
|
this.hasPermit = true;
|
|
|
|
+ // this.searchPmList();
|
|
|
|
+ // this.searchSupplierList();
|
|
|
|
+ } else if (this.curUserRole.isPM) {
|
|
|
|
+ this.hasPermit = true;
|
|
|
|
+ //this.loadPmInfo(this.user);
|
|
|
|
+ } else if (this.curUserRole.isSupplier) {
|
|
|
|
+ this.hasPermit = false;
|
|
|
|
+ //this.loadSupplierInfo(this.user);
|
|
} else {
|
|
} else {
|
|
this.hasPermit = false;
|
|
this.hasPermit = false;
|
|
}
|
|
}
|