panle ceklilis
This commit is contained in:
@ -2,9 +2,7 @@ import axios from 'axios'
|
|||||||
import { useUsersStore } from '@/stores/usersStore'
|
import { useUsersStore } from '@/stores/usersStore'
|
||||||
import router from '@/router'
|
import router from '@/router'
|
||||||
|
|
||||||
// axios.defaults.baseURL = 'http://panel.cekilisevi.gov.tr:5001/'
|
axios.defaults.baseURL = 'https://panel.cekilisevi.gov.tr:5001/'
|
||||||
axios.defaults.baseURL = 'https://mpiapi.beyaz.net/'
|
|
||||||
// axios.defaults.baseURL = 'https://localhost:7241/'
|
|
||||||
//axios.defaults.timeout = 2000;
|
//axios.defaults.timeout = 2000;
|
||||||
axios.defaults.headers['Content-Type'] = 'application/json; charset=utf-8'
|
axios.defaults.headers['Content-Type'] = 'application/json; charset=utf-8'
|
||||||
import { useDataStore } from '@/stores/dataStore'
|
import { useDataStore } from '@/stores/dataStore'
|
||||||
|
|||||||
@ -6,7 +6,7 @@ let connectionId = "";
|
|||||||
|
|
||||||
export const connectToHub = async () => {
|
export const connectToHub = async () => {
|
||||||
connection = new signalR.HubConnectionBuilder()
|
connection = new signalR.HubConnectionBuilder()
|
||||||
.withUrl("https://mpiapi.beyaz.net/uploadHub", {
|
.withUrl("https://panel.cekilisevi.gov.tr:5001/uploadHub", {
|
||||||
withCredentials: false // Bu zorunlu, yoksa cookie vs gönderilmez
|
withCredentials: false // Bu zorunlu, yoksa cookie vs gönderilmez
|
||||||
}) // backend adresine göre düzenle
|
}) // backend adresine göre düzenle
|
||||||
.withAutomaticReconnect()
|
.withAutomaticReconnect()
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import PopupYonetimi from "../views/PopupYonetimi.vue";
|
import PopupYonetimi from '../views/PopupYonetimi.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
path: '/site-yonetimi/popup-yonetimi/:popupId',
|
path: '/site-yonetimi/popup-yonetimi/:popupId',
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
<form-input
|
<form-input
|
||||||
v-model='panelPopup.baslik'
|
v-model='panelPopup.baslik'
|
||||||
label='Başlık' />
|
label='Başlık' />
|
||||||
|
<form-input
|
||||||
|
v-model='panelPopup.url'
|
||||||
|
label='Url' />
|
||||||
<form-file
|
<form-file
|
||||||
v-model='panelPopup.resimUrl'
|
v-model='panelPopup.resimUrl'
|
||||||
label='Resim Url'
|
label='Resim Url'
|
||||||
@ -85,8 +88,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'resimUrl',
|
name: 'resimUrl',
|
||||||
title: 'Resim Url',
|
title: 'Resim Url'
|
||||||
sort: true
|
},
|
||||||
|
{
|
||||||
|
name: 'url',
|
||||||
|
title: 'Url'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'durum',
|
name: 'durum',
|
||||||
@ -113,6 +119,7 @@
|
|||||||
panelPopup.value = {
|
panelPopup.value = {
|
||||||
baslik: '',
|
baslik: '',
|
||||||
resimUrl: '',
|
resimUrl: '',
|
||||||
|
url:'',
|
||||||
durum: false
|
durum: false
|
||||||
}
|
}
|
||||||
panel.value = true
|
panel.value = true
|
||||||
|
|||||||
@ -8,7 +8,7 @@ export const useDataStore = defineStore('dataStore', () => {
|
|||||||
const globalDataStore = useGlobalDataStore()
|
const globalDataStore = useGlobalDataStore()
|
||||||
const toastStore = useToastStore()
|
const toastStore = useToastStore()
|
||||||
|
|
||||||
const siteBase = ref<string>('https://mpiapi.beyaz.net/')
|
const siteBase = ref<string>('https://panel.cekilisevi.gov.tr:5001/')
|
||||||
const apiBase = ref<string>('api/')
|
const apiBase = ref<string>('api/')
|
||||||
const panelData = reactive<Record<string, any>>({})
|
const panelData = reactive<Record<string, any>>({})
|
||||||
const pageData = reactive<Record<string, any>>({})
|
const pageData = reactive<Record<string, any>>({})
|
||||||
|
|||||||
Reference in New Issue
Block a user