gaoluyang
3 天以前 bc365ef47ae4e01754aeadbae26170e11c9bb80e
src/views/collaborativeApproval/notificationManagement/meetSetting/index.vue
@@ -44,7 +44,7 @@
        <el-table-column label="操作" align="center" width="200">
          <template #default="scope">
            <el-button type="primary" link @click="handleEdit(scope.row)">编辑</el-button>
            <el-button type="danger" link @click="handleDelete(scope.row)">删除</el-button>
            <el-button type="danger" link @click="handleDelete(scope.row)" v-hasPermi="['collaborativeApproval:meetSetting:remove']">删除</el-button>
          </template>
        </el-table-column>
      </el-table>
@@ -93,8 +93,8 @@
      </el-form>
      <template #footer>
        <div class="dialog-footer">
          <el-button @click="cancel">取 消</el-button>
          <el-button type="primary" @click="submitForm">确 定</el-button>
          <el-button @click="cancel">取 消</el-button>
        </div>
      </template>
    </el-dialog>
@@ -102,7 +102,7 @@
</template>
<script setup>
import { ref, reactive, onMounted, getCurrentInstance } from 'vue'
import { ref, reactive, onActivated, getCurrentInstance } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { Plus } from '@element-plus/icons-vue'
import Pagination from '@/components/Pagination/index.vue'
@@ -276,8 +276,7 @@
  proxy.download('/meeting/export', { ...searchForm }, '会议室设置.xlsx')
}
// 页面加载时获取数据
onMounted(() => {
onActivated(() => {
  getList()
})
</script>
@@ -313,8 +312,6 @@
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
   text-align: center;
}
</style>