css
shj
2022-07-18 9f4e449a4159c9debf5520a797393bd5df2e5908
src/views/goalManagement/IncentiveRecording/component/DailogAdd.vue
@@ -1,5 +1,6 @@
<template>
   <el-dialog v-model="dialogVisible" title="新建奖惩记录" width="50%" draggable>
   <el-dialog v-model="dialogVisible" :fullscreen="full" title="新建奖惩记录" width="50%" 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="24">
@@ -58,9 +59,9 @@
</template>
<script lang="ts">
import { defineComponent, ref, reactive } from 'vue';
import { Search } from '@element-plus/icons-vue';
import { Search, FullScreen } from '@element-plus/icons-vue';
import DailogSearch from './DailogSearch.vue';
import DailogSearchUser from '/@/components/DailogSearchUser/index.vue'
import DailogSearchUser from '/@/components/DailogSearchUser/index.vue';
export default defineComponent({
   components: { DailogSearch,DailogSearchUser },
   setup() {
@@ -91,6 +92,15 @@
      const daiInpts = () => {
         Show.value.openDailog();
      };
      //全屏
      const full = ref(false);
      const toggleFullscreen = () => {
         if (full.value == false) {
            full.value = true;
         } else {
            full.value = false;
         }
      };
      return {
         form,
         dialogVisible,
@@ -101,6 +111,9 @@
         Show,
         daiInpts,
         Search,
         full,
         toggleFullscreen,
         FullScreen,
      };
   },
});