清单列表查询字段
This commit is contained in:
@@ -38,3 +38,11 @@ export function StandardsInfoPage (data) {
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function solostarData (data) {
|
||||
return axios({
|
||||
url: 'api/sarStandProjectLibrary/solostar',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -303,6 +303,7 @@ import eventHub from "@/common/eventHub";
|
||||
import ProjectRelatedPersonnel from "@/components/CustomFormComponents/ProjectRelatedPersonnel";
|
||||
import { dateFormat } from "@/common/date/index";
|
||||
import moment from "moment";
|
||||
import { solostarData } from "@/api/unqualProcess";
|
||||
|
||||
function checkFD(rules, value, callback) {
|
||||
this.value = value;
|
||||
@@ -850,7 +851,11 @@ export default {
|
||||
}
|
||||
],
|
||||
threeOptions: [],
|
||||
loading: false
|
||||
loading: false,
|
||||
|
||||
// 项目分类数组
|
||||
notProjectData: [],
|
||||
projectData: []
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
@@ -880,7 +885,7 @@ export default {
|
||||
this.energyKindOptions = res.data.ENERGYTYPES;
|
||||
this.protypeOptions = res.data.PROTYPE;
|
||||
this.probaseOptions = res.data.PROBASE;
|
||||
this.productTypeOptions = res.data.XMLB;
|
||||
// this.productTypeOptions = res.data.XMLB;
|
||||
this.targetMarketOptions = res.data.SCXX;
|
||||
})
|
||||
},
|
||||
@@ -1207,11 +1212,12 @@ export default {
|
||||
}, res => {
|
||||
if (this.localProTableSearch.prodectCode === "Maintenance") {
|
||||
this.localProTableList = res.data.Maintenance.records;
|
||||
this.productTypeOptions = this.projectData
|
||||
this.total = res.data.Maintenance.total;
|
||||
} else if (this.localProTableSearch.prodectCode === "notMaintenance") {
|
||||
this.localProTableList = res.data.notMaintenance.records;
|
||||
this.productTypeOptions = this.notProjectData
|
||||
this.total = res.data.notMaintenance.total;
|
||||
|
||||
}
|
||||
// this.localProTableList.map((item) => {
|
||||
// this.xmztOptions.map((opr) => {
|
||||
@@ -1385,7 +1391,6 @@ export default {
|
||||
},
|
||||
// 分页点击后方法
|
||||
pageChange(page) {
|
||||
console.log(page);
|
||||
this.page = page;
|
||||
this.getLocalProductTable();
|
||||
},
|
||||
@@ -1538,10 +1543,26 @@ export default {
|
||||
});
|
||||
this.localProEO.productManager = userIdList.join(",");
|
||||
this.localProEO.productManagerShow = userNameList.join(",");
|
||||
},
|
||||
selectSort() {
|
||||
solostarData().then(res=>{
|
||||
res.data.MaintenanceProjectStatus.forEach((item, index)=>{
|
||||
this.projectData.push({
|
||||
label: item,
|
||||
value: index
|
||||
})
|
||||
})
|
||||
res.data.notMaintenanceProjectStatus.forEach((item, index)=>{
|
||||
this.notProjectData.push({
|
||||
label: item,
|
||||
value: index
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
created() {
|
||||
console.log(this.productTypeOptions)
|
||||
this.selectSort()
|
||||
this.getDept().then(res => {
|
||||
this.getUser(res);
|
||||
}, e => {
|
||||
|
||||
@@ -1065,7 +1065,7 @@ export default {
|
||||
}
|
||||
|
||||
.pagination {
|
||||
position: unset;
|
||||
position: absolute!important;
|
||||
}
|
||||
|
||||
.el-steps.el-steps--simple {
|
||||
|
||||
Reference in New Issue
Block a user