...
|
...
|
@@ -498,6 +498,25 @@ layui.define(['table', 'form', 'laydate', 'admin', 'layer', 'laytpl', 'common', |
|
|
resize: false,
|
|
|
area: ['80%', '90%'],
|
|
|
success: function (indexm, layero) {
|
|
|
//start 停机模式从数据字典中获取 2022-05-24
|
|
|
admin.req({
|
|
|
url: common.domainName + '/api-web/manage/ddic/findSucDdics/shutdown_plan_mode'
|
|
|
, method: 'POST'
|
|
|
, async: false
|
|
|
}).done(function (res) {
|
|
|
let radioData=res.data;
|
|
|
let htmlRadio='';
|
|
|
if(radioData && radioData.length>0){
|
|
|
radioData.map(item=>{
|
|
|
htmlRadio+=`<input type="radio" data-sort="`+item.ddicSort+`" name="cutoverMode" lay-filter="shutdownplanMode" value="`+item.ddicSort+`" title="`+item.ddicName+`">`
|
|
|
})
|
|
|
}
|
|
|
$('#shutdownDdic').html(htmlRadio);
|
|
|
$('#shutdownDdic [data-sort]:first-child').attr("checked",true)
|
|
|
}).error(function (error) {
|
|
|
console.error(error);
|
|
|
});
|
|
|
//end lsq 2022-05-24
|
|
|
},
|
|
|
yes: function (index, layero) {
|
|
|
$("#saveshutdownplanBtn").trigger("click");
|
...
|
...
|
|