Commit aae4b8dd authored by 张海景's avatar 张海景

update:修改首检确认的逻辑

parent 26481cfc
......@@ -391,10 +391,10 @@ export default {
this.getQcFirstLines();
}
},
async getIpqcList(type, status) {
async getIpqcList(type) {
let params = { ipqcType: type }
if (status) {
params = {status}
if (this.curQcType == 'SJQR') {
params = {status:'PENDING'}
}
const res = await this.$u.api.ipqcList(params);
if (res.code === 200) {
......@@ -552,11 +552,7 @@ export default {
handleClickBtn(type) {
this.qcForm = {};
this.curQcType = type;
if (type == 'SJQR') {
this.getIpqcList(type, 'PENDING');
} else {
this.getIpqcList(type);
}
this.getIpqcList(type);
console.log(type, 'type');
// if (type === 'QCMSG') {
// this.qcMsgVisible = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment