|
@@ -169,7 +169,8 @@ Page({
|
|
|
openDocument(e) {
|
|
|
const {
|
|
|
item
|
|
|
- } = e.currentTarget.dataset;
|
|
|
+ } = e.currentTarget.dataset,
|
|
|
+ that = this;
|
|
|
console.log(item)
|
|
|
wx.showLoading({
|
|
|
title: getApp().globalData.Language.getMapText('加载中...'),
|
|
@@ -186,6 +187,15 @@ Page({
|
|
|
success: function (res) {
|
|
|
wx.hideLoading();
|
|
|
console.log('打开文档成功')
|
|
|
+ _Http.basic({
|
|
|
+ "id": 10020701,
|
|
|
+ "content": {
|
|
|
+ "linksid": item.linksid,
|
|
|
+ "attachmentid": item.attachmentid
|
|
|
+ }
|
|
|
+ }).then(res => {
|
|
|
+ console.log("创建记录", res)
|
|
|
+ })
|
|
|
},
|
|
|
fail(e) {
|
|
|
console.log(e)
|