前端接口对接
This commit is contained in:
parent
c9d843868f
commit
a03ebde181
|
|
@ -10,7 +10,6 @@ layui.use(['element', 'layer', 'form', 'element','laypage'], function(){
|
||||||
})
|
})
|
||||||
//初始化云间公司
|
//初始化云间公司
|
||||||
function init(){
|
function init(){
|
||||||
var subComId = $(window.parent.document).find("select[id='subComId']").val();
|
|
||||||
|
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|
@ -18,9 +17,7 @@ function init(){
|
||||||
url: PATH_URL + '/homePageSelect/getSubCom', // 请求地址
|
url: PATH_URL + '/homePageSelect/getSubCom', // 请求地址
|
||||||
contentType: "application/json; charset=utf-8",
|
contentType: "application/json; charset=utf-8",
|
||||||
async: false,
|
async: false,
|
||||||
data: {
|
data: {}, //获取提交的表单字段
|
||||||
fgsId: subComId
|
|
||||||
}, //获取提交的表单字段
|
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
if(data.code == 200){
|
if(data.code == 200){
|
||||||
let html = '';
|
let html = '';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue