修改报表接口

This commit is contained in:
GGJ
2024-10-12 13:43:38 +08:00
parent 328837eb31
commit 2eec490f04
2 changed files with 4 additions and 2 deletions

View File

@@ -63,13 +63,14 @@ import { audit, add } from '@/api/cs-harmonic-boot/mxgraph';
import { Edit } from '@element-plus/icons-vue' import { Edit } from '@element-plus/icons-vue'
import popup from './components/popup.vue' import popup from './components/popup.vue'
defineOptions({ defineOptions({
name: 'govern/manage/gplot' name: 'mxgraph/graph-list'
}) })
const tableRef = ref() const tableRef = ref()
const popupRef = ref() const popupRef = ref()
let DOMIN = window.location.origin let DOMIN = window.location.origin
console.log("🚀 ~ DOMIN:", DOMIN) console.log("🚀 ~ DOMIN:", DOMIN)
let STATIC_URL = DOMIN + '/api/system-boot/image/toStream?bgImage='
let STATIC_URL = DOMIN + '/api/system-boot/file/download?filePath='
localStorage.setItem('STATIC_URL', STATIC_URL) localStorage.setItem('STATIC_URL', STATIC_URL)
const tableStore = new TableStore({ const tableStore = new TableStore({
showPage: false, showPage: false,

View File

@@ -96,6 +96,7 @@ const tableStore = new TableStore({
} }
}) })
provide('tableStore', tableStore) provide('tableStore', tableStore)
tableStore.table.params.resourceType = 1
const flag = ref(true) const flag = ref(true)
onMounted(() => { onMounted(() => {
const dom = document.getElementById('navigation-splitpanes') const dom = document.getElementById('navigation-splitpanes')