# yy-web-office

> A Vue.js project

Latest version **1.0.27** (published 2019-01-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install yy-web-office
pnpm add yy-web-office
yarn add yy-web-office
bun add yy-web-office
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.27 |
| Published | 2019-01-25 |
| First published | 2019-01-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 15 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | lijian |
| Maintainers | leejian |

## Links

- npm: https://www.npmjs.com/package/yy-web-office
- npm.io page: https://npm.io/package/yy-web-office

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^2.5.11

## Recent versions

- 1.0.27 (latest) — 2019-01-25
- 1.0.26 — 2019-01-22
- 1.0.25 — 2019-01-22
- 1.0.24 — 2019-01-22
- 1.0.23 — 2019-01-22
- 1.0.22 — 2019-01-22
- 1.0.21 — 2019-01-22
- 1.0.20 — 2019-01-22
- 1.0.19 — 2019-01-22
- 1.0.18 — 2019-01-22
- 1.0.17 — 2019-01-22
- 1.0.16 — 2019-01-21
- 1.0.15 — 2019-01-21
- 1.0.13 — 2019-01-21
- 1.0.12 — 2019-01-21
- … 11 more at https://npm.io/package/yy-web-office/versions

## README

# yy-web-office

> A Vue.js project

### -由于参数及接口局限性，目前只支持文库文件

###  使用方法
```sh
    npm install yy-web-office
```
```js
<template>
    <div @click="openMethods">点击打开</div>
</template>
<script>
//组件内部引入
    import webOpenoffice from "yy-web-office"
    export default{
        methods:{
            openMethods(){
                //设置参数
                let params = {
                    fid:02,
                    docFileName:"文库文档",
                    isNewCreated:false,
                    qzid:"01",
                    showHistory:true,
                    fileType:".doc",
                    userName:"lijian",
                    member_id:"213123"
                };
                //调用
                webOpenoffice(params);
            }
        }
    }
</script>
```
### 参数说明
```sh
    fid(必填) - 文档id type -- Number
    docFileName - 文档名 type -- String
    isNewCreated - 是否为新建(默认否) type -- boolean
    qzid(必填) - 圈子id string
    showHistory - 是否显示历史版本(默认显示)  type -- boolean
    fileType - 文档类型  .doc  .xls
    userName - 当前操作文件者
    member_id - 当前操作人员id
```

---
_Source: https://npm.io/package/yy-web-office · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
