|
@@ -426,7 +426,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.searchForm.applicantName = localStorage.user_name
|
|
|
+ // this.searchForm.applicantName = localStorage.user_name
|
|
|
this.getTableData();
|
|
|
this.getUserAuth();
|
|
|
getAreaList(localStorage.user_id).then((res) => {
|
|
@@ -461,9 +461,9 @@ export default {
|
|
|
getJobList().then((res) => {
|
|
|
if (res.status == 200) {
|
|
|
this.fgcgyList = res.data;
|
|
|
- // if (res.data.filter(site => site.userId == localStorage.user_id).length){
|
|
|
- // this.searchForm.purchaserId = localStorage.user_id
|
|
|
- // }
|
|
|
+ if (res.data.filter(site => site.userId == localStorage.user_id).length){
|
|
|
+ this.searchForm.purchaserId = localStorage.user_id
|
|
|
+ }
|
|
|
} else {
|
|
|
this.$Message.error("获取分管采购员列表失败!");
|
|
|
}
|