1.1.0 • Published 5 months ago

geek-print-config v1.1.0

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

geek-print-config

Geek+ 打印模板配置组件

Geek version Repo link Gitlab link

logo

geek-print-config 主要功能描述。。

组件开发文档

对接

以apollo-fe的picking分支以例(同时支持vue和jQuery)

一、迁移打印工具代码

1、复制文件

src/ 到 src/vue/geeklibs/Print/v4/

// 修改 /apis/print.js 的 request方法为:
const request = opts => {
  return new Promise(resolve => axios({
    ...opts
  }).then(data => {
    resolve(data)
  }))
}
// 修改 /components/apis/index.js 的 request方法为:
const request = opts => {
  return new Promise(resolve => axios({
    ...opts
  }).then(data => {
    resolve(data)
  }))
}

2、添加打印库文件

创建文件夹:src/plugins/LodopFuncs/v2/

复制 picking 分支下的同名文件夹

二、添加菜单

参考 picking 分支如下文件:

src/components/admin/printsManager/*
src/vue/src/wms-fe/router/printsManager
src/vue/src/wms-fe/router/index (添加printsManager路由)
src/vue/src/wms-fe/store/index (添加printsManager状态)
src/vue/src/wms-fe/contents/PrintsManager/*

三、埋点

添加新接口:

src/trans/pick 的 getNodes

src/trans/print 的 getTemplates、getNodes、getTemplateView、getTemplateData

埋点流程见:https://confluence.geekplus.cc/pages/viewpage.action?pageId=134663598

1.1.0

5 months ago

1.0.2-3.1

5 months ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.11

1 year ago

2.0.7

1 year ago

2.0.12

1 year ago

2.0.6

1 year ago

2.0.9

1 year ago

2.0.10

1 year ago

2.0.8

1 year ago

1.0.25

2 years ago

2.0.1

1 year ago

1.0.24

2 years ago

2.0.0

1 year ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.11

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago