检测项目管理

This commit is contained in:
shidongli 2024-07-12 13:44:37 +08:00
parent 9c79556279
commit 590d94d0f1
3 changed files with 19 additions and 3 deletions

View File

@ -574,6 +574,9 @@ export default {
const id = row.id || this.ids; const id = row.id || this.ids;
getProject(id).then((response) => { getProject(id).then((response) => {
this.form = response.data; this.form = response.data;
if (!this.form.projectSort) {
this.form.projectSort = undefined
}
this.open = true; this.open = true;
this.title = "修改检测项目"; this.title = "修改检测项目";
}); });
@ -656,8 +659,8 @@ export default {
}, },
}; };
</script> </script>
<style scoped> <style lang="scss" scoped>
::v-deep .el-dialog__body { ::v-deep .el-input-number .el-input__inner {
padding-bottom: 60px !important; text-align: left;
} }
</style> </style>

View File

@ -381,6 +381,9 @@ export default {
const id = row.id || this.ids; const id = row.id || this.ids;
getProjectgroup(id).then((response) => { getProjectgroup(id).then((response) => {
this.form = response.data; this.form = response.data;
if (!this.form.groupSort) {
this.form.groupSort = undefined
}
// if(response.data.) // if(response.data.)
response.data.enableStatus; response.data.enableStatus;
this.openedit = true; this.openedit = true;
@ -460,3 +463,8 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss" scoped>
::v-deep .el-input-number .el-input__inner {
text-align: left;
}
</style>

View File

@ -352,6 +352,7 @@ export default {
this.queryParams.termLevel = 2; this.queryParams.termLevel = 2;
this.bankList = []; this.bankList = [];
this.getList(); this.getList();
this.mentlist();
this.itemname = item.id; this.itemname = item.id;
} else { } else {
this.itemname = null; this.itemname = null;
@ -359,6 +360,8 @@ export default {
this.queryParams.parentTermCode = ''; this.queryParams.parentTermCode = '';
this.bankList = []; this.bankList = [];
this.getList(); this.getList();
this.mentlist();
} }
}, },
// //
@ -522,6 +525,7 @@ export default {
this.open = false; this.open = false;
this.bankList = []; this.bankList = [];
this.getList(); this.getList();
this.mentlist();
}); });
} else { } else {
addBank(this.form).then((response) => { addBank(this.form).then((response) => {
@ -529,6 +533,7 @@ export default {
this.open = false; this.open = false;
this.bankList = []; this.bankList = [];
this.getList(); this.getList();
this.mentlist();
}); });
} }
} }