接口bug问题修复

This commit is contained in:
BianLzhaoMin 2024-10-15 17:07:04 +08:00
parent 6c2009474d
commit d9e72092a8
2 changed files with 5 additions and 2 deletions

View File

@ -708,6 +708,7 @@ export default {
// pageNum: 1,
// pageSize: 10,
typeName: undefined,
level: '',
// phonenumber: undefined,
// status: undefined,
// typeId: undefined
@ -848,7 +849,7 @@ export default {
/** 查询新增页面-上级类型下拉树结构 */
getTreeData() {
getMaTypeList().then((response) => {
this.treeOptions = response.data.rows
this.treeOptions = response.data
})
},
/** 查询资产属性下拉 */
@ -874,6 +875,7 @@ export default {
// -
handleNodeClick(data) {
this.queryParams.typeId = data.id
this.queryParams.level = data.level
this.handleQuery()
},
//

View File

@ -1227,7 +1227,7 @@ export default {
},
/* 确定 */
onSubmit() {
const { id, typeName } = this.addFormParams
const { id, typeName,parentId } = this.addFormParams
const addParams = {
parentId: id,
typeName,
@ -1235,6 +1235,7 @@ export default {
const editParams = {
typeId: id,
typeName,
parentId
}
this.$refs['addFormParamsRef'].validate(async (valid) => {