| | |
| | | <template> |
| | | <el-dialog v-model="dialogVisible" title="目标分解" width="70%" draggable> |
| | | <el-dialog v-model="dialogVisible" :fullscreen="full" title="目标分解" width="70%" draggable> |
| | | <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button> |
| | | <el-form :model="form" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="11"> |
| | |
| | | </el-row> |
| | | </el-form> |
| | | <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick"> |
| | | <el-tab-pane label="目标指标分解" name="1"> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="目标指标分解" name="1"> </el-tab-pane> |
| | | </el-tabs> |
| | | <el-table :data="tableData" style="width: 100%"> |
| | | <el-table-column align="center" type="index" label="序号" width="70" /> |
| | |
| | | </template> |
| | | <script lang="ts"> |
| | | import { defineComponent, ref, reactive } from 'vue'; |
| | | import { Search } from '@element-plus/icons-vue'; |
| | | import DailogSearch from '../../../../components/DailogSearch/DailogSearch.vue' |
| | | import { Search, FullScreen } from '@element-plus/icons-vue'; |
| | | import DailogSearch from '../../../../components/DailogSearch/DailogSearch.vue'; |
| | | export default defineComponent({ |
| | | components:{DailogSearch}, |
| | | setup() { |
| | |
| | | }, |
| | | ]; |
| | | // 安全目标指标弹窗 |
| | | const Shows=ref() |
| | | const Shows = ref(); |
| | | const daiInpt=()=>{ |
| | | Shows.value.openDailog() |
| | | Shows.value.openDailog(); |
| | | }; |
| | | //全屏 |
| | | const full = ref(false); |
| | | const toggleFullscreen = () => { |
| | | if (full.value == false) { |
| | | full.value = true; |
| | | } else { |
| | | full.value = false; |
| | | } |
| | | }; |
| | | return { |
| | | form, |
| | | dialogVisible, |
| | |
| | | Shows, |
| | | daiInpt, |
| | | Search, |
| | | full, |
| | | toggleFullscreen, |
| | | FullScreen, |
| | | }; |
| | | }, |
| | | }); |