Commit afc78fde by Joey

fix(@gms/gms-plugin-billexpand): 审批按钮支持单页模式

parent 55601512
......@@ -36,6 +36,15 @@ export default {
}
);
} else {
let href = window.location.href
if (href.indexOf('taskId') > -1) {
href = href.substring(0, href.indexOf('taskId'))
href += 'taskId=' + context.selects[0][param.taskId]
}
else {
href += '?taskId=' + context.selects[0][param.taskId]
}
window.location.href = href
GMS.$hideContainer.addComponent(typesBill, {}, function(c) {
c.templateName = templateName;
c.billId = billId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment