fix:gx获取工段用name查询

This commit is contained in:
shijing 2024-11-22 11:32:47 +08:00
parent 37eacdadfe
commit 5c0f9acf2f
6 changed files with 6 additions and 6 deletions

View File

@ -138,7 +138,7 @@ export default {
mounted() {
let that = this;
that.$API.mtm.mgroup.list
.req({ page: 0, search: that.mgroupName })
.req({ page: 0, name: that.mgroupName })
.then((res) => {
if (res.length < 1) {
that.$message.error("获取工段错误");

View File

@ -308,7 +308,7 @@ export default {
}else{//
that.printer_name = localStorage.getItem("printer_name");
that.$API.mtm.mgroup.list
.req({ page: 0, search: that.mgroupName })
.req({ page: 0, name: that.mgroupName })
.then((res) => {
if (res.length < 1) {
that.$message.error("获取工段错误");

View File

@ -273,7 +273,7 @@ export default {
})
}else{
that.$API.mtm.mgroup.list
.req({ page: 0, search: that.mgroupName })
.req({ page: 0, name: that.mgroupName })
.then((res) => {
if (res.length < 1) {
that.$message.error("获取工段错误");

View File

@ -220,7 +220,7 @@ export default {
mounted() {
let that = this;
that.$nextTick(() => {
that.$API.mtm.mgroup.list.req({ page: 0, search: that.mgroupName }).then((res) => {
that.$API.mtm.mgroup.list.req({ page: 0, name: that.mgroupName }).then((res) => {
if (res.length < 1) {
that.$message.error("获取工段错误");
return;

View File

@ -198,7 +198,7 @@ export default {
mounted() {
let that = this;
that.$API.mtm.mgroup.list
.req({ page: 0, search: that.mgroupName })
.req({ page: 0, name: that.mgroupName })
.then((res) => {
if (res.length < 1) {
that.$message.error("获取工段错误");

View File

@ -144,7 +144,7 @@ export default {
mounted() {
let that = this;
that.$API.mtm.mgroup.list
.req({ page: 0, search: that.mgroupName })
.req({ page: 0, name: that.mgroupName })
.then((res) => {
if(res.length != 1){
that.$message.error("获取工段错误");