@wwanghee
2016-12-02T02:37:33.000000Z
字数 494
阅读 539
1、组件名称:
来电商城设置组件—funcall.setup.js,位于
/club/themes/server/node_modules/gxh/module_dev/lib/business/funcall/funcall.setup.js
2、使用方法:
1)引用:
var funcallSetup = require('lib/business/funcall/funcall.setup.js');
2)调用:
打开来电ITEM预览页,参数只需传来电ITEM的ID
funcallSetup.openFunCallPreview(id, function (progress) {//回调函数传递进度数值,用于进度展示//progress的范围为0-100,100表示进度完成});
设置来电ITEM,参数只需传来电ITEM的ID
funcallSetup.setFunCall(id, function (progress) {//回调函数传递进度数值,用于进度展示//progress的范围为0-100,100表示进度完成});