แก้ path api

This commit is contained in:
STW_TTTY\stwtt 2024-09-13 11:30:00 +07:00
parent df67fd1d6f
commit 4ef591fd72
3 changed files with 3 additions and 3 deletions

View file

@ -97,7 +97,7 @@ function fetchOrganizationActive() {
function fetchTreeStrategy() {
showLoader();
http
.get(config.API.devStrategy + `/indicator`)
.get(config.API.devStrategy + `/edit/indicator`)
.then((res) => {
const data = res.data.result;
nodeplan.value = data;

View file

@ -35,7 +35,7 @@ const titleDialog = ref<string>("");
function fetchDataTree() {
showLoader();
http
.get(config.API.devStrategy + `/edit`)
.get(config.API.devStrategy + `/edit/strategic`)
.then((res) => {
const data: DataStrategic[] = res.data.result;
nodes.value = data;

View file

@ -294,7 +294,7 @@ function fetchData() {
function fetchTree() {
showLoader();
http
.get(config.API.devStrategy + `/edit`)
.get(config.API.devStrategy + `/edit/develop`)
.then((res) => {
const data = res.data.result;
nodes.value = data;