Browse Source

[feat] 工程管理

按照万材要求:使用产品型号管理为测试案例:修改上次更新时间的样式,加上颜色凸显,和鼠标移上去会变成”手“的形状
dev
liuxiaoxu 1 month ago
parent
commit
40e825d0e1
  1. 9
      ruoyi-admin/src/main/resources/templates/system/customerQuote/customerQuote.html
  2. 12
      ruoyi-admin/src/main/resources/templates/system/model/model.html

9
ruoyi-admin/src/main/resources/templates/system/customerQuote/customerQuote.html

@ -271,24 +271,15 @@
}, },
{field: 'applyUserName', title: '申请人',align: 'center'}, {field: 'applyUserName', title: '申请人',align: 'center'},
{field: 'applyTime',title: '申请时间',align: 'center', {field: 'applyTime',title: '申请时间',align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value, 10, "open");
}
}, },
{title:'业务员',field:'businessMembers',align: 'center'}, {title:'业务员',field:'businessMembers',align: 'center'},
{title: '定价时间',field: 'pricingDate',align: 'center'}, {title: '定价时间',field: 'pricingDate',align: 'center'},
{title: '录入人',field: 'createBy',align: 'center'}, {title: '录入人',field: 'createBy',align: 'center'},
{title: '录入时间',field: 'createTime',sortable: true,align: 'center', {title: '录入时间',field: 'createTime',sortable: true,align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value, 10, "open");
}
}, },
{title: '更新人',field: 'updateBy',align: 'center'}, {title: '更新人',field: 'updateBy',align: 'center'},
{ title: '上次修改时间',field: 'updateTime',align: 'center', { title: '上次修改时间',field: 'updateTime',align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value, 10, "open");
}
}, },
{title: '备注',field: 'remark'}, {title: '备注',field: 'remark'},
{ {

12
ruoyi-admin/src/main/resources/templates/system/model/model.html

@ -108,7 +108,17 @@
{ title: '创建人',field: 'createBy',visible: false}, { title: '创建人',field: 'createBy',visible: false},
{ title: '录入时间',field: 'createTime'}, { title: '录入时间',field: 'createTime'},
{ title: '更新人',field: 'updateBy'}, { title: '更新人',field: 'updateBy'},
{ title:'上次更新时间',field: 'updateTime'}, {
title: '上次更新时间',
field: 'updateTime',
formatter: function(value, row, index) {
if (value) {
return '<span style="color:#337ab7; cursor: pointer;">' + value + '</span>';
} else {
return value;
}
}
},
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',

Loading…
Cancel
Save