...
|
...
|
@@ -306,7 +306,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'upload', 'common', 'sessions', |
|
|
let title=`
|
|
|
<div style="display: flex;justify-content: space-between; align-items: center;">
|
|
|
<span>"`+$(this).data('nickname')+`"相关业务批量变更</span>
|
|
|
<button id="exportBtn" type="button" class="layui-btn layui-btn-sm layui-btn-normal exportBtn">导出</button>
|
|
|
<!-- <button id="exportBtn" type="button" class="layui-btn layui-btn-sm layui-btn-normal exportBtn">导出</button>-->
|
|
|
</div>
|
|
|
`;
|
|
|
layer.open({
|
...
|
...
|
@@ -317,57 +317,6 @@ layui.define(['table', 'form', 'admin', 'layer', 'upload', 'common', 'sessions', |
|
|
id: 'batch_change_leaders',
|
|
|
content: ['/vue3/index.html#/vue3/batchChangeLeaders?'+urlParams, 'no'],
|
|
|
success:function (layero,index){
|
|
|
console.log("112233",$("#exportBtn"))
|
|
|
|
|
|
$(".exportBtn").unbind('click').on('click', function () {
|
|
|
console.log("669")
|
|
|
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);
|
...
|
...
|
|