测试问题修改
This commit is contained in:
parent
9a035c82b7
commit
0d6b4b1407
|
|
@ -189,7 +189,7 @@ function getRecordDetailsList(id) {
|
|||
|
||||
// 修改标识
|
||||
function setEditSign(value, isUpdate) {
|
||||
if (isInit) {
|
||||
if (isInit === 'true') {
|
||||
return value;
|
||||
} else {
|
||||
if (isUpdate && isUpdate === '1') {
|
||||
|
|
@ -200,7 +200,7 @@ function getRecordDetailsList(id) {
|
|||
}
|
||||
}
|
||||
function setEditSign2(imgNum, item, isUpdate) {
|
||||
if (isInit) {
|
||||
if (isInit === 'true') {
|
||||
return "<td style='color:#409eff'>" + imgNum + "<a style='color:#409eff;margin:0 5px;cursor: pointer;' onclick='viewFileDetail(" + JSON.stringify(item) + ",1)'>查看附件>></a></td>";
|
||||
} else {
|
||||
if (isUpdate && isUpdate === '1') {
|
||||
|
|
@ -243,10 +243,8 @@ function getRecordDetailsList(id) {
|
|||
// 修改标识
|
||||
function setEditSign(value, isUpdate) {
|
||||
if (isInit === 'true') {
|
||||
// alert(1);
|
||||
return value;
|
||||
} else {
|
||||
// alert(2);
|
||||
if (isUpdate && isUpdate === '1') {
|
||||
return '<span style="padding:5px;color:#f56c6c;background-color:#f56c6c50;font-weight:bold;">' + value + '</span>';
|
||||
} else {
|
||||
|
|
@ -255,7 +253,7 @@ function getRecordDetailsList(id) {
|
|||
}
|
||||
}
|
||||
function setEditSign2(imgNum, item, isUpdate) {
|
||||
if (isInit) {
|
||||
if (isInit === 'true') {
|
||||
return "<td style='color:#409eff'>" + imgNum + "<a style='color:#409eff;margin:0 5px;cursor: pointer;' onclick='viewFileDetail(" + JSON.stringify(item) + ",2)'>查看附件>></a></td>";
|
||||
} else {
|
||||
if (isUpdate && isUpdate === '1') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue