username@email.com
2022-06-15 0e6d0e8975e92a6395d2d9f692edd5a7d0984c5a
zhengcaioa/zhengcaioa/Views/CooperOrder/EditTousushu.cshtml
@@ -713,7 +713,7 @@
                    }
                </select>
                <input type="hidden" name="complaintItemId" value="@complaintItemDTOs[i].Id" />
            </div>
@@ -738,7 +738,11 @@
                        <div class="col-sm-8 col-md-8">
                            《@(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents
                        </div>
                <input type="hidden" name="Law" value="@complaintItemDTOs[i].sysCodeDtls[j].Comments" />
                <input type="hidden" name="complaintItemIdlaw" value="@complaintItemDTOs[i].Id" />
                <div class="col-sm-1 col-md-1" grouptype="Vdata">
                    <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
                </div>
                    </div>
                }
@@ -749,7 +753,11 @@
                        <div class="col-sm-8 col-md-8">
                            《@(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents
                        </div>
            <input type="hidden" name="Law" value="@complaintItemDTOs[i].sysCodeDtls[j].Comments" />
            <input type="hidden" name="complaintItemIdlaw" value="@complaintItemDTOs[i].Id" />
            <div class="col-sm-1 col-md-1" grouptype="Vdata">
                <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
            </div>
                    </div>
                }
@@ -782,7 +790,7 @@
                    }
                </select>
                <input type="hidden" name="complaintItemId" value="@complaintItemDTOs[i].Id" />
            </div>
            
@@ -805,7 +813,11 @@
                        <div class="col-sm-8 col-md-8">
                            《@(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents
                        </div>
                <input type="hidden" name="Law" value="@complaintItemDTOs[i].sysCodeDtls[j].Comments" />
                <input type="hidden" name="complaintItemIdlaw" value="@complaintItemDTOs[i].Id" />
                <div class="col-sm-1 col-md-1" grouptype="Vdata">
                    <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
                </div>
                    </div>
                }
@@ -817,7 +829,11 @@
                            《@(complaintItemDTOs[i].sysCodeDtls[j].CodeSn)》@(complaintItemDTOs[i].sysCodeDtls[j].Classify2):@complaintItemDTOs[i].sysCodeDtls[j].Contents
                        </div>
            <input type="hidden" name="Law" value="@complaintItemDTOs[i].sysCodeDtls[j].Comments" />
            <input type="hidden" name="complaintItemIdlaw" value="@complaintItemDTOs[i].Id" />
            <div class="col-sm-1 col-md-1" grouptype="Vdata">
                <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
            </div>
                    </div>
                }
            }
@@ -897,12 +913,16 @@
                @*<a class="btn btn-success" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;">
                        <i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;<span class="bold">删除</span>
                    </a>*@
                <a class="btn btn-success" href="javascript:void(0)" onclick="printPosition();" style="margin-left:4px; border-radius:4px;">
                @*<a class="btn btn-success" href="javascript:void(0)" onclick="printPosition();" style="margin-left:4px; border-radius:4px;">
                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">打印</span>
        </a>*@
                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition(1);" style="margin-left:4px; border-radius:4px;">
                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">保存</span>
                </a>
                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;">
                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition(2);" style="margin-left:4px; border-radius:4px;">
                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">提交</span>
                </a>
                <input type="hidden"  id="Status" name="Status" value="0" />
            </div>
        </div>
@@ -972,7 +992,7 @@
        // 保存岗位信息
        var savePosition = function () {
        var savePosition = function (Status) {
            if ($.trim($("#TsrName").val()) == '') {
                toastr.warning("投诉人不能为空");
@@ -1042,7 +1062,7 @@
                toastr.warning("副本数量不能为空");
                return;
            }
            $("#Status").val(Status);
            //var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" }
            $.ajax({
@@ -1171,11 +1191,11 @@
        function Questionchangge(i) {
            var challengeItemId = document.getElementsByName("complaintItemId")[i].value;
            var sss = document.getElementsByName("Question")[i].value;
            $.ajax({
                type: "GET",
                url: "/CooperOrder/getQuestionLaw?id=" + sss + "&no=" + i,
                url: "/CooperOrder/getQuestionLaw?id=" + sss + "&no=" + i + "&challengeItemId=" + challengeItemId,
                dataType: "json",
                global: false,
                data: "",
@@ -1195,7 +1215,11 @@
                                               《` + data.DataList[i].CodeSn + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + `
                                            </div>
<input type="hidden"  name="Law" value="` + data.DataList[i].Comments + `" />
  <input type="hidden"   name="complaintItemIdlaw" value="` + data.Remark + `" />
                                                <div class="col-sm-1 col-md-1" grouptype="Vdata">
                                                    <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
                                                </div>
                                        </div>
                                           `;
                            } else {
@@ -1206,7 +1230,11 @@
                                                 《` + data.DataList[i].CodeSn + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + `
                                            </div>
<input type="hidden"  name="Law" value="` + data.DataList[i].Comments + `" />
  <input type="hidden"   name="complaintItemIdlaw" value="` + data.Remark + `" />
                                                <div class="col-sm-1 col-md-1" grouptype="Vdata">
                                                    <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
                                                </div>
                                        </div>
                                          `;
                            }
@@ -1439,7 +1467,7 @@
                                                    }
                                                </select>
  <input type="hidden"  name="complaintItemId" value="`+ (guid()) + `" />
                                            </div>
                                        </div>
@@ -1523,6 +1551,21 @@
            }
        }
        function dellawBtn(obj) {
            $(obj).parent().parent().remove();
        }
        function guid() {
            function S4() {
                return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
            }
            return (S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4());
        }
    </script>
</body>
</html>