问题修改
This commit is contained in:
parent
a349ab51b3
commit
7be6102054
|
|
@ -258,7 +258,6 @@ function setOperRecordInfo(list, obj) {
|
||||||
let imgUrl = '../../../images/user_head_icon.png';
|
let imgUrl = '../../../images/user_head_icon.png';
|
||||||
let imgUrl2 = '../../../images/time_icon.png';
|
let imgUrl2 = '../../../images/time_icon.png';
|
||||||
$.each(list, function (index, item) {
|
$.each(list, function (index, item) {
|
||||||
console.error(item);
|
|
||||||
|
|
||||||
let operData = "";
|
let operData = "";
|
||||||
let dept = '';
|
let dept = '';
|
||||||
|
|
|
||||||
|
|
@ -219,7 +219,6 @@ function sel(selectStatus, that, id) {
|
||||||
console.error(fileList);
|
console.error(fileList);
|
||||||
|
|
||||||
let item = JSON.parse($(that).parents('tr').attr('item'));
|
let item = JSON.parse($(that).parents('tr').attr('item'));
|
||||||
console.error(item);
|
|
||||||
if (selectStatus) {
|
if (selectStatus) {
|
||||||
$(that).prop('checked', true);
|
$(that).prop('checked', true);
|
||||||
if (item.type === '车辆') {
|
if (item.type === '车辆') {
|
||||||
|
|
@ -670,7 +669,6 @@ function removeCarFormData(id) {
|
||||||
}
|
}
|
||||||
// 添加吊车信息 isDriverSet: 是否需要驾驶员1 是 0 否
|
// 添加吊车信息 isDriverSet: 是否需要驾驶员1 是 0 否
|
||||||
function addCraneFormData(id, num, isDriverSet, item) {
|
function addCraneFormData(id, num, isDriverSet, item) {
|
||||||
console.error(item);
|
|
||||||
formNum++;
|
formNum++;
|
||||||
let length = $('.dispatch').length;
|
let length = $('.dispatch').length;
|
||||||
let html = '<div class="dispatch dispatch-box2 crane-' + id + '" id="model-' + (id + '-' + num) + '" modelId="' + item.modelId + '" id2="' + item.id + '" contractId = "' + item.contractId + '">' +
|
let html = '<div class="dispatch dispatch-box2 crane-' + id + '" id="model-' + (id + '-' + num) + '" modelId="' + item.modelId + '" id2="' + item.id + '" contractId = "' + item.contractId + '">' +
|
||||||
|
|
|
||||||
|
|
@ -215,7 +215,7 @@ function setStatusColor(value) {
|
||||||
color = "#19be6b";
|
color = "#19be6b";
|
||||||
name = '全部派车'
|
name = '全部派车'
|
||||||
}
|
}
|
||||||
return '<span style="color:' + color + '"> ● ' + name + "</span>";
|
return '<span style="color:' + color + '"> ● </span>'+name+'';
|
||||||
}
|
}
|
||||||
|
|
||||||
// 导出
|
// 导出
|
||||||
|
|
|
||||||
|
|
@ -253,7 +253,7 @@ function setStatusColor(value) {
|
||||||
color = "#19be6b";
|
color = "#19be6b";
|
||||||
name = '已派车'
|
name = '已派车'
|
||||||
}
|
}
|
||||||
return '<span style="color:' + color + '"> ● ' + name + "</span>";
|
return '<span style="color:' + color + '"> ● </span>' + name + '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// 需求计划详情
|
// 需求计划详情
|
||||||
|
|
@ -282,5 +282,6 @@ function dispatchCarDetail(obj, type) {
|
||||||
obj.id = obj.planId;
|
obj.id = obj.planId;
|
||||||
obj.pageType = 1;
|
obj.pageType = 1;
|
||||||
obj.typeName = obj.typeName === 1 ? '车辆' : '吊车';
|
obj.typeName = obj.typeName === 1 ? '车辆' : '吊车';
|
||||||
|
obj.proName = objParam.proName;
|
||||||
openIframeByParamObj2("homePlanDetail", "详情", '../welcome/plan_dispatch_detail.html', "92%", "95%", obj);
|
openIframeByParamObj2("homePlanDetail", "详情", '../welcome/plan_dispatch_detail.html', "92%", "95%", obj);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue