dd.httpRequest({
url: app.data.API_ROOT + "/xxx/" + this.data.detail.id + "/",
method: "PUT",
headers: {
"Content-Type": "application/json",
"Authorization": "JWT " + dd.getStorageSync({
key: "userinfo"
}).data.token
},
dataType: 'json',
data: JSON.stringify({
status: 1,
handler_desc: this.data.docs,
h_file_list: this.data.file_list
}),
success: function (res) {
dd.alert({
title: '提示',
content: '已完成处理',
buttonText: '我知道了',
});
},
fail: function (res) {
dd.alert({
title: '提示',
content: '请求失败',
buttonText: '我知道了',
});
}
})