From 06057d33c65653f80ccf716a396b89052e2d8eb6 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期六, 03 六月 2023 02:06:31 +0800
Subject: [PATCH] 更新部分代码
---
management/guns-admin/src/main/webapp/static/modular/system/tOrder/tOrderException.js | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/management/guns-admin/src/main/webapp/static/modular/system/tOrder/tOrderException.js b/management/guns-admin/src/main/webapp/static/modular/system/tOrder/tOrderException.js
index e2ed33a..1765d0a 100644
--- a/management/guns-admin/src/main/webapp/static/modular/system/tOrder/tOrderException.js
+++ b/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>' +' ' +
+ return '<a href="#" onclick="TOrderException.searchTOrderExceptionDetail('+row.id+')" style="color:green">详情</a>' +' ' +
'<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>' +' ' +
+ return '<a href="#" onclick="TOrderException.searchTOrderExceptionDetail('+row.id+')" style="color:green">详情</a>' +' ' +
'<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 () {
--
Gitblit v1.7.1