xuhy
2023-03-01 2fa574ff399acc86528ebe8dd916e6866a3b7df7
management/guns-admin/src/main/webapp/static/modular/system/tOrder/tOrderException.js
@@ -82,10 +82,10 @@
        {title: '操作', visible: true, align: 'center', valign: 'middle',width:150,
            formatter: function (value, row) {
                if (row.userStatus === 1){
                    return '<a href="#" onclick="TOrderException.searchTDriverDetail('+row.id+')" style="color:green">详情</a>' +'&nbsp;' +
                    return '<a href="#" onclick="TOrderException.searchTOrderExceptionDetail('+row.id+')" style="color:green">详情</a>' +'&nbsp;' +
                        '<a href="#" onclick="TOrderException.stop('+row.id+','+row.status+')" style="color:red">冻结</a>'
                }else if (row.userStatus === 2){
                    return '<a href="#" onclick="TOrderException.searchTDriverDetail('+row.id+')" style="color:green">详情</a>' +'&nbsp;' +
                    return '<a href="#" onclick="TOrderException.searchTOrderExceptionDetail('+row.id+')" style="color:green">详情</a>' +'&nbsp;' +
                        '<a href="#" onclick="TOrderException.start('+row.id+','+row.status+')" style="color:green">启用</a>'
                }
            }
@@ -140,6 +140,21 @@
};
/**
 * 打开查看详情(使用中)
 */
TOrderException.searchTOrderExceptionDetail = function (id) {
    var index = layer.open({
        type: 2,
        title: '详情',
        area: ['100%', '100%'], //宽高
        fix: false, //不固定
        maxmin: true,
        content: Feng.ctxPath + '/tOrder/orderExceptionDetail?orderId=' + id
    });
    this.layerIndex = index;
};
/**
 * 删除
 */
TOrderException.delete = function () {