diff --git a/src/api/system/dept.ts b/src/api/system/dept.ts index befae46..363a960 100644 --- a/src/api/system/dept.ts +++ b/src/api/system/dept.ts @@ -41,7 +41,7 @@ // 添加组织机构 export function addDept(data: object) { return request({ - url: '/sys/extend/dept/add', + url: '/sys/dept/add', method: 'post', data, }) @@ -49,7 +49,7 @@ // 修改组织机构 export function updateDept(data: object) { return request({ - url: '/sys/extend/dept/update', + url: '/sys/dept/update', method: 'post', data, }) @@ -57,7 +57,7 @@ // 删除组织机构 export function delDept(id: string) { return request({ - url: '/sys/extend/dept/delete', + url: '/sys/dept/delete', method: 'post', data: { id, diff --git a/src/api/system/dept.ts b/src/api/system/dept.ts index befae46..363a960 100644 --- a/src/api/system/dept.ts +++ b/src/api/system/dept.ts @@ -41,7 +41,7 @@ // 添加组织机构 export function addDept(data: object) { return request({ - url: '/sys/extend/dept/add', + url: '/sys/dept/add', method: 'post', data, }) @@ -49,7 +49,7 @@ // 修改组织机构 export function updateDept(data: object) { return request({ - url: '/sys/extend/dept/update', + url: '/sys/dept/update', method: 'post', data, }) @@ -57,7 +57,7 @@ // 删除组织机构 export function delDept(id: string) { return request({ - url: '/sys/extend/dept/delete', + url: '/sys/dept/delete', method: 'post', data: { id, diff --git a/src/views/data/electricity/components/networkBranch.vue b/src/views/data/electricity/components/networkBranch.vue index 2ebb537..bb664b7 100644 --- a/src/views/data/electricity/components/networkBranch.vue +++ b/src/views/data/electricity/components/networkBranch.vue @@ -29,8 +29,10 @@ // 查询时间段范围 const loadingTable = ref(true) const columns = ref([ - { text: '支路首端节点', value: 'fbusId', align: 'center' }, - { text: '支路末端节点', value: 'tbusId', align: 'center' }, + { text: '首端节点名称', value: 'fbusName', align: 'center' }, + { text: '首端节点编号', value: 'fbusId', align: 'center' }, + { text: '末端节点名称', value: 'tbusName', align: 'center' }, + { text: '末端节点编号', value: 'tbusId', align: 'center' }, { text: '支路电阻标幺值', value: 'r', align: 'center' }, // { text: '支路电纳标幺值', value: 'b', align: 'center' }, // { text: '长距离输电容量', value: 'ratea', align: 'center' },