Commit 6a782160 by liuyang

2024-09-09 文档库获取附件类型逻辑调整

parent 3b65c185
...@@ -14,10 +14,12 @@ $(function () { ...@@ -14,10 +14,12 @@ $(function () {
var bizType = $("#inqu_status-0-bizType").val(); var bizType = $("#inqu_status-0-bizType").val();
var operType = $("#inqu_status-0-operType").val(); var operType = $("#inqu_status-0-operType").val();
var ndocId = $("#inqu_status-0-ndocId").val(); var ndocId = $("#inqu_status-0-ndocId").val();
var typeIndex = e.response.docName.lastIndexOf(".");
var type = typeIndex == -1 ? "" : e.response.docName.substring(typeIndex);
var data = { var data = {
docId: docId, docId: docId,
docName: e.response.docName, docName: e.response.docName,
docType: e.response.docType, docType: type,
bizId: matId, bizId: matId,
bizType: bizType, bizType: bizType,
operType: operType, operType: operType,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment