浏览代码

附件传参修改

seimin 3 年之前
父节点
当前提交
6dcab353d1
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      js/index.js

+ 4 - 4
js/index.js

@@ -576,7 +576,7 @@ $(function () {
576
       fileUrl: "url",
576
       fileUrl: "url",
577
       placeId: $.trim($("#place_list").val()),
577
       placeId: $.trim($("#place_list").val()),
578
       requester: loginUser,
578
       requester: loginUser,
579
-      sourceType: "wechatRequesterIncident",
579
+      sourceType: "webRequesterIncident",
580
     };
580
     };
581
     // 自动建单
581
     // 自动建单
582
     if (ifCreate.valueconfig == 1) {
582
     if (ifCreate.valueconfig == 1) {
@@ -1615,7 +1615,7 @@ $(function () {
1615
       contentType: "application/json;charset=UTF-8",
1615
       contentType: "application/json;charset=UTF-8",
1616
       url:
1616
       url:
1617
         baseUrl +
1617
         baseUrl +
1618
-        "common/common/uploadAttachment/wechatRequesterIncident/" +
1618
+        "common/common/uploadAttachment/wxIncident/" +
1619
         id,
1619
         id,
1620
       data: data,
1620
       data: data,
1621
       cache: false,
1621
       cache: false,
@@ -1654,7 +1654,7 @@ $(function () {
1654
           .attr(
1654
           .attr(
1655
             "action",
1655
             "action",
1656
             baseUrl +
1656
             baseUrl +
1657
-              "common/common/uploadAttachment/wechatRequesterIncident/" +
1657
+              "common/common/uploadAttachment/wxIncident/" +
1658
               id
1658
               id
1659
           )
1659
           )
1660
           .submit();
1660
           .submit();
@@ -1671,7 +1671,7 @@ $(function () {
1671
       type: "GET",
1671
       type: "GET",
1672
       contentType: "application/json;charset=UTF-8",
1672
       contentType: "application/json;charset=UTF-8",
1673
       url:
1673
       url:
1674
-        baseUrl + "common/common/listAttachment/wechatRequesterIncident/" + id,
1674
+        baseUrl + "common/common/listAttachment/wxIncident/" + id,
1675
       cache: false,
1675
       cache: false,
1676
       success: function (res) {
1676
       success: function (res) {
1677
         if (res.status == 200) {
1677
         if (res.status == 200) {