|
|
@ -41,6 +41,11 @@ layui.define([ 'form', 'laydate', 'table','element','upload','resourcesInfoApi',
|
|
|
|
var resourcesInfoType = $("select[name='resourcesInfoType']").val(); //资源类型(详细见数据字典,resources_info_type)
|
|
|
|
var resourcesInfoType = $("select[name='resourcesInfoType']").val(); //资源类型(详细见数据字典,resources_info_type)
|
|
|
|
var sourceType = 2;
|
|
|
|
var sourceType = 2;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var addType = $("input[name='addType']").val();
|
|
|
|
|
|
|
|
if(addType === "院校上传"){
|
|
|
|
|
|
|
|
sourceType = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var ret = "";
|
|
|
|
var ret = "";
|
|
|
|
if($.isEmpty(resourcesInfoId)){
|
|
|
|
if($.isEmpty(resourcesInfoId)){
|
|
|
|
var resourcesInfoJson = new Array();
|
|
|
|
var resourcesInfoJson = new Array();
|
|
|
|