修改 弹框样式
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
</template>
|
||||
</TableHeader>
|
||||
<div class="box">
|
||||
<div id="luckysheet" v-loading="tableStore.table.loading" :style="`height: calc(${tableStore.table.height} + 45px)`"></div>
|
||||
<div id="luckysheet" v-loading="tableStore.table.loading"
|
||||
:style="`height: calc(${tableStore.table.height} + 45px)`"></div>
|
||||
</div>
|
||||
</pane>
|
||||
</splitpanes>
|
||||
@@ -39,7 +40,7 @@ import 'splitpanes/dist/splitpanes.css'
|
||||
import { Splitpanes, Pane } from 'splitpanes'
|
||||
// import data from './123.json'
|
||||
defineOptions({
|
||||
name: 'reportCore/statistics'
|
||||
name: 'govern/reportCore/statistics/index'
|
||||
})
|
||||
const height = mainHeight(20)
|
||||
const size = ref(0)
|
||||
@@ -95,7 +96,7 @@ const tableStore = new TableStore({
|
||||
}
|
||||
})
|
||||
provide('tableStore', tableStore)
|
||||
|
||||
const flag = ref(true)
|
||||
onMounted(() => {
|
||||
const dom = document.getElementById('navigation-splitpanes')
|
||||
if (dom) {
|
||||
@@ -106,6 +107,7 @@ getTemplateByDept({ id: dictData.state.area[0].id }).then((res: any) => {
|
||||
templatePolicy.value = res.data
|
||||
Template.value = res.data[0]
|
||||
reportForm.value = res.data[0]?.reportForm
|
||||
|
||||
})
|
||||
|
||||
|
||||
@@ -114,10 +116,11 @@ const changetype = (val: any) => {
|
||||
}
|
||||
|
||||
const handleNodeClick = (data: any, node: any) => {
|
||||
console.log(data.level, "+++++++++++++");
|
||||
if (data.level == 3) {
|
||||
dotList.value = data
|
||||
tableStore.index()
|
||||
setTimeout(() => {
|
||||
tableStore.index()
|
||||
},500)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user