...
|
...
|
@@ -191,7 +191,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'upload', 'common', 'sessions', |
|
|
}
|
|
|
},
|
|
|
{
|
|
|
title: '操作', fixed: 'right', align: 'center',minWidth: 230,
|
|
|
title: '操作', fixed: 'right', align: 'center',minWidth: 280,
|
|
|
templet: '<div>' +
|
|
|
//lsq 新增变更按钮 2022-05-30
|
|
|
'<button data-username="{{d.username}}" lay-tips="人员相关业务变更" type="button" class="layui-btn layui-btn-xs layui-btn-normal user_batch_change_leaders_btn"><i class="layui-icon layui-icon-edit"></i></button>'+
|
...
|
...
|
@@ -302,14 +302,71 @@ layui.define(['table', 'form', 'admin', 'layer', 'upload', 'common', 'sessions', |
|
|
urlParams+=key+'='+param[key]+'&'
|
|
|
}
|
|
|
}
|
|
|
urlParams=urlParams.substr(0,urlParams.length-1)
|
|
|
urlParams=urlParams.substr(0,urlParams.length-1);
|
|
|
let title=`
|
|
|
<div style="display: flex;justify-content: space-between; align-items: center;">
|
|
|
<span>相关业务批量变更</span>
|
|
|
<button id="exportBtn" type="button" class="layui-btn layui-btn-sm layui-btn-normal">导出</button>
|
|
|
</div>
|
|
|
`;
|
|
|
layer.open({
|
|
|
title: ['相关业务批量变更', 'font-size:18px;'],
|
|
|
title: [title, 'font-size:18px;'],
|
|
|
type: 2,
|
|
|
area: ['80%', '90%'],
|
|
|
shadeClose: true,//开启遮罩层
|
|
|
id: 'kpi_line_chart_div',
|
|
|
id: 'batch_change_leaders',
|
|
|
content: ['/vue3/index.html#/vue3/batchChangeLeaders?'+urlParams, 'no'],
|
|
|
success:function (){
|
|
|
|
|
|
$("#exportBtn").unbind().on("click",function () {
|
|
|
debugger
|
|
|
layer.open({
|
|
|
id:'exportChange',
|
|
|
content:'<div id="batch_change_select">123</div>',
|
|
|
btn: ['确定','取消'],
|
|
|
title:'导出相关业务',
|
|
|
type:'1',
|
|
|
area:['320px','170px'],
|
|
|
success:function (){
|
|
|
debugger
|
|
|
//获取字典中的变更相关业务选项卡
|
|
|
admin.req({
|
|
|
url: domainName + '/api-web/manage/ddic/findSucDdics/batch_change_leaders'
|
|
|
, method: 'POST'
|
|
|
, async: false
|
|
|
, success: function (res) {
|
|
|
if(res && res.data){
|
|
|
let content= xmSelect.render({
|
|
|
el: '#batch_change_select',
|
|
|
name: 'batchChangeTab',
|
|
|
// tips: '=服务商=',
|
|
|
// radio: true,
|
|
|
// clickClose: true,
|
|
|
filterable: true,
|
|
|
data:res.data,
|
|
|
prop: {
|
|
|
name: 'ddicName',
|
|
|
value: 'ddicCode'
|
|
|
},
|
|
|
on: function(data){
|
|
|
// setTimeout(function () {
|
|
|
// reloadTable();
|
|
|
// },500)
|
|
|
},
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
yes:function (index,layero) {
|
|
|
layer.msg('导出成功', {icon: 7});
|
|
|
layer.close(index)
|
|
|
}
|
|
|
})
|
|
|
})
|
|
|
|
|
|
|
|
|
},
|
|
|
cancel: function () {
|
|
|
// clearTimeout(obj.lineTimer);
|
|
|
}
|
...
|
...
|
|