Browse Source

优化界面查询

branch_ccpg_220107
songnan.zhang 3 years ago
parent
commit
908c8f5ae1
  1. 1
      vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue
  2. 17
      vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue
  3. 1
      vue/src/views/pg-fis/basedate/productLine/index.vue

1
vue/src/views/pg-fis/basedate/m100Online/RepetitionMB.vue

@ -517,7 +517,6 @@ export default {
if (this.customerInfo.productLine != "") { if (this.customerInfo.productLine != "") {
this.listQuery.ProductLine = this.customerInfo.productLine; this.listQuery.ProductLine = this.customerInfo.productLine;
} }
console.log(JSON.stringify(this.listQuery)); console.log(JSON.stringify(this.listQuery));
this.$axios this.$axios
.posts( .posts(

17
vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue

@ -455,7 +455,7 @@ export default {
drawer: false, drawer: false,
list: null, list: null,
totalCount: 0, totalCount: 0,
listLoading: true, listLoading: false,
listLoaddingPrint: true, listLoaddingPrint: true,
customerInfo: { customerInfo: {
bomId: "", bomId: "",
@ -636,7 +636,7 @@ export default {
tempsTabs.push({ tempsTabs.push({
label: "柱护板状态", label: "柱护板状态",
prop: "billStatus", prop: "printbillnum",
width: 120, width: 120,
}); });
@ -1344,10 +1344,12 @@ export default {
console.log("获取文件base64编码"); console.log("获取文件base64编码");
console.log(response); console.log(response);
this.formLoading = false; this.formLoading = false;
this.isDisable = false;
this.printpdf(response); // this.printpdf(response); //
}) })
.catch((error) => { .catch((error) => {
this.formLoading = false; this.formLoading = false;
this.isDisable = false;
}); });
} }
}); });
@ -1389,10 +1391,12 @@ export default {
console.log("获取文件base64编码"); console.log("获取文件base64编码");
console.log(response); console.log(response);
this.formLoading = false; this.formLoading = false;
this.isDisable = false;
this.printpdf(response); // this.printpdf(response); //
}) })
.catch((error) => { .catch((error) => {
this.formLoading = false; this.formLoading = false;
this.isDisable = false;
}); });
} }
}) })
@ -1401,6 +1405,7 @@ export default {
message: response.message, message: response.message,
type: "error", type: "error",
}); });
this.isDisable = false;
return; return;
}); });
} }
@ -1469,10 +1474,12 @@ export default {
console.log("获取文件base64编码"); console.log("获取文件base64编码");
console.log(response); console.log(response);
this.formLoading = false; this.formLoading = false;
this.isDisable = false;
this.printpdf(response); // this.printpdf(response); //
}) })
.catch((error) => { .catch((error) => {
this.formLoading = false; this.formLoading = false;
this.isDisable = false;
}); });
} }
}); });
@ -1514,10 +1521,12 @@ export default {
console.log("获取文件base64编码"); console.log("获取文件base64编码");
console.log(response); console.log(response);
this.formLoading = false; this.formLoading = false;
this.isDisable = false
this.printpdf(response); // this.printpdf(response); //
}) })
.catch((error) => { .catch((error) => {
this.formLoading = false; this.formLoading = false;
this.isDisable = false;
}); });
} }
}) })
@ -1526,6 +1535,7 @@ export default {
message: response.message, message: response.message,
type: "error", type: "error",
}); });
this.isDisable = false;
return; return;
}); });
} }
@ -2120,7 +2130,9 @@ export default {
}, },
//线 //线
getProductLine() { getProductLine() {
this.listPLQuery.UserId = this.userInfo.userId; this.listPLQuery.UserId = this.userInfo.userId;
console.log("this.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserIdthis.listPLQuery.UserId"+this.listPLQuery.UserId);
this.$axios this.$axios
.gets("/api/newjit/product-line/list", this.listPLQuery) .gets("/api/newjit/product-line/list", this.listPLQuery)
.then((response) => { .then((response) => {
@ -2233,6 +2245,7 @@ export default {
this.doPrint("printPdf" + date); this.doPrint("printPdf" + date);
window.URL.revokeObjectURL(ifr.src); // URL window.URL.revokeObjectURL(ifr.src); // URL
this.dialogFormVisible = false; this.dialogFormVisible = false;
this.getList();
}, },
httpPost(URL, PARAMS) { httpPost(URL, PARAMS) {
var temp = document.createElement("form"); var temp = document.createElement("form");

1
vue/src/views/pg-fis/basedate/productLine/index.vue

@ -936,6 +936,7 @@ export default {
"/api/newjit/product-line-authority/do-authority",this.saveQuery "/api/newjit/product-line-authority/do-authority",this.saveQuery
) )
.then((response) => { .then((response) => {
debugger
console.log(response); console.log(response);
this.dialogFormVisible = false; this.dialogFormVisible = false;
this.getList(); this.getList();

Loading…
Cancel
Save