安灯呼叫规则增加复制功能,系统用户管理,增加钉钉id号字段
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <PropertyGroup> |
| | | <NameOfLastUsedPublishProfile>C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-LayUI\WebTM\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> |
| | | <NameOfLastUsedPublishProfile>D:\æºäºè¿æ\MES\MES-WEB-LayUI\WebTM\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> |
| | | <ProjectView>ProjectFiles</ProjectView> |
| | | <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig> |
| | | <UseIISExpress>true</UseIISExpress> |
| | |
| | | , "HPlanNo": data.ç¹æ£è®¡åå
ç |
| | | , "HMouldID": data.HMouldID == undefined ? 0 : data.HPlanInterID |
| | | , "HMouldDotCheckRuleName": data.å¨å
·ç¹æ£è§ç¨åæ®å· |
| | | , "HMouldDotCheckRuleID": data.HMouldDotCheckRuleID == undefined ? 0 : data.HPlanInterID |
| | | , "HMouldDotCheckRuleID": data.HMouldDotCheckRuleID == undefined ? 0 : data.HMouldDotCheckRuleID |
| | | , "HErrNote": data.å¼å¸¸æ
åµè®°å½ //å¼å¸¸æ
åµè®°å½ |
| | | , "HBigSafeNote": data.é大å®å
¨éæ£è®°å½ //é大å®å
¨éæ£è®°å½ |
| | | , "HDotCheckNote": data.ç¹æ£æ°æ® //ç¹æ£æ°æ® |
| | | , "HShiftsID": data.HShiftsID == undefined ? 0 : data.HPlanInterID |
| | | , "HShiftsID": data.HShiftsID == undefined ? 0 : data.HShiftsID |
| | | , "HShiftsName": data.çæ¬¡åç§° //çæ¬¡åç§° |
| | | }); |
| | | if (data.æç»ç»è®º == "ä¸åæ ¼") { |
| | |
| | | var option2 = []; |
| | | var HModName = "Sc_MouldDotCheckBillList"; |
| | | var HBillType = "3821"; |
| | | var titleData = ["hmainid", "HPlanInterID", "HDotCheckItemID", "åæ®ID", "HMouldID", "hsubid", "HManagerID", "æºå主å
ç ", "æºååå
ç ", "HBillType","HMouldDotCheckRuleID"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | var titleData = ["hmainid", "HPlanInterID", "HDotCheckItemID", "åæ®ID", "HMouldID", "hsubid", "HManagerID", "æºå主å
ç ", "æºååå
ç ", "HBillType", "HMouldDotCheckRuleID","HShiftsID"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | //#endregion |
| | | |
| | | //#region è¿å
¥é¡µé¢å³å è½½ |
| | |
| | | } else if ($("#HErrMsgBackTypeName").val() == "模å
·åå ") { |
| | | $("#HHandleEmpName").val("å´æ"); //ææ´¾å¤ç人 |
| | | $("#HHandleEmpID").val(162686); //ææ´¾å¤ç人 |
| | | } else if ($("#HErrMsgBackTypeName").val() == "ä¸åæ ¼åå ") { |
| | | } else if ($("#HErrMsgBackTypeName").val() == "æµè¯åå ") { |
| | | $("#HHandleEmpName").val("åæé"); //ææ´¾å¤ç人 |
| | | $("#HHandleEmpID").val(162622); //ææ´¾å¤ç人 |
| | | } else if ($("#HErrMsgBackTypeName").val() == "ç¯å¢åå ") { |
| | | $("#HHandleEmpName").val("åæé"); //ææ´¾å¤ç人 |
| | | $("#HHandleEmpID").val(162622); //ææ´¾å¤ç人 |
| | | } |
| | |
| | | </ul> |
| | | <div class="layui-tab-content" style="height: 700px;"> |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-form-item" style="margin-top:30px"> |
| | | <div class="layui-form-item" style="margin-top:30px" > |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline" style="margin-left:200px"> |
| | | <label class="radio-label"> |
| | |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline" style="margin-left:400px"> |
| | | <label class="radio-label"> |
| | | <input type="radio" name="faultType" value="设å¤å¼å¸¸">设å¤å¼å¸¸ |
| | | <input type="radio" name="faultType" value="设å¤åå ">设å¤åå |
| | | </label> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline" style="margin-left:200px"> |
| | | <label class="radio-label"> |
| | | <input type="radio" name="faultType" value="ç©æå¼å¸¸">ç©æå¼å¸¸ |
| | | <input type="radio" name="faultType" value="ææåå ">ææåå |
| | | </label> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item" style="margin-top:90px"> |
| | | <div class="layui-form-item" style="margin-top:60px"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline" style="margin-left:200px"> |
| | | <label class="radio-label"> |
| | | <input type="radio" name="faultType" value="æ£æµåå ">æ£æµåå |
| | | <input type="radio" name="faultType" value="模å
·åå ">模å
·åå |
| | | </label> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline" style="margin-left:400px"> |
| | | <label class="radio-label"> |
| | | <input type="radio" name="faultType" value="ä¸åæ ¼åå ">ä¸åæ ¼åå |
| | | <input type="radio" name="faultType" value="æµè¯åå ">æµè¯åå |
| | | </label> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item" style="margin-top:60px"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline" style="margin-left:200px"> |
| | | <label class="radio-label"> |
| | | <input type="radio" name="faultType" value="ç¯å¢åå ">ç¯å¢åå |
| | | </label> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | |
| | | Pub_Close(1); |
| | | }); |
| | | |
| | | document.querySelectorAll('input[name="faultType"]').forEach(function (radio) { |
| | | // è·åææå称为 faultType çåéæé® |
| | | const radios = document.querySelectorAll('input[name="faultType"]'); |
| | | |
| | | // 为æ¯ä¸ªåéæé®æ·»å change äºä»¶çå¬å¨ |
| | | radios.forEach(function (radio) { |
| | | radio.addEventListener('change', function () { |
| | | if (this.checked) { // åªæè¢«éä¸çradioæä¼è§¦å |
| | | var value = this.value; // è·åéä¸çradioçå¼ |
| | | if (this.checked) { |
| | | var value = this.value; |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | skin: 'layui-layer-rim', |
| | | title: 'å¼å¸¸åé¦å', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | |
| | | "HSourceBillNo": HSourceBillNo //æµè½¬å¡å· |
| | | }); |
| | | |
| | | //éè¿ç´¢å¼è·åå°å½åiframeå¼¹åºå± |
| | | // éè¿ç´¢å¼è·åå°å½å iframe å¼¹åºå± |
| | | var iframe = window['layui-layer-iframe' + index]; |
| | | //è°ç¨iframeå¼¹åºå±å
çæ¹æ³ |
| | | // è°ç¨ iframe å¼¹åºå±å
çæ¹æ³ |
| | | iframe.edit(data); |
| | | }, |
| | | }); |
| | |
| | | }); |
| | | }); |
| | | |
| | | // è·åææçåéæé®çç¶å
ç´ div.layui-input-inline |
| | | const radioContainers = document.querySelectorAll('.layui-input-inline'); |
| | | |
| | | // 为æ¯ä¸ªç¶å
ç´ æ·»å ç¹å»äºä»¶çå¬å¨ |
| | | radioContainers.forEach(function (container) { |
| | | container.addEventListener('click', function (event) { |
| | | // 夿ç¹å»çå
ç´ æ¯å¦æ¯åéæé®æè
å
¶ç´æ¥åå
ç´ |
| | | if (event.target.tagName === 'INPUT' || event.target.parentNode.tagName === 'INPUT') { |
| | | const clickedRadio = event.target.tagName === 'INPUT' ? event.target : event.target.parentNode.querySelector('input'); |
| | | if (clickedRadio && clickedRadio.checked) { |
| | | var value = clickedRadio.value; |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', |
| | | title: 'å¼å¸¸åé¦å', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['100%', '100%'], |
| | | maxmin: true, |
| | | content: './Sc_Add_MESExecptFeedBackBillList.html?OperationType=4&linterid=&HSouceBillType=', |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (dom, index) { |
| | | var data = []; |
| | | data.push({ |
| | | "HICMOBillNo": HICMOBillNo,//å·¥åå· |
| | | "HSourceName": HSourceName, //è®¾å¤ |
| | | "HType": value, //å¼å¸¸ç±»å |
| | | "HSourceBillNo": HSourceBillNo //æµè½¬å¡å· |
| | | }); |
| | | |
| | | // éè¿ç´¢å¼è·åå°å½å iframe å¼¹åºå± |
| | | var iframe = window['layui-layer-iframe' + index]; |
| | | // è°ç¨ iframe å¼¹åºå±å
çæ¹æ³ |
| | | iframe.edit(data); |
| | | }, |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | }); |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | | </script> |
| | |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width:110px;">ééIDå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HDingDingUserID" id="HDingDingUserID" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | |
| | | , "HWorkCenterID": data.HWorkCenterID |
| | | , "HWorkCenterName": data.å·¥ä½ä¸å¿ |
| | | , "HICNumber": data.ICå¡å· |
| | | , "HDingDingUserID": data.ééIDå· |
| | | }); |
| | | |
| | | } else { |
| | |
| | | ////ç¦ç¨ç»ç»é项 |
| | | //$("#HOrgID").attr("disabled", true); |
| | | OperationType = 1; |
| | | |
| | | //åå§å项ç®é¶æ®µè¡¨ |
| | | get_InitGrid(); |
| | | |
| | | //çæå¹¶è®¾ç½®ä¸»è¡¨çå
ç ååæ®å· |
| | | createBillNo(); |
| | | |
| | | |
| | | //åå§åå¶å人åå¶åæ¶é´ |
| | | $("#HMaker").val(sessionStorage["HUserName"]); |
| | | $("#HMakerDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | |
| | | //åå§åæ¥æ |
| | | $("#HDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | |
| | | |
| | | } |
| | | else if (OperationType == 2) {//å¦æä¿®æ¹åèµ°ä¸é¢ new //ç¼è¾ |
| | | OperationType = 1; |
| | | //åå§å项ç®é¶æ®µè¡¨ |
| | | get_InitGrid(); |
| | | RoadBillMain(linterid); |
| | | //çæå¹¶è®¾ç½®ä¸»è¡¨çå
ç ååæ®å· |
| | | createBillNo(); |
| | | //åå§åå¶å人åå¶åæ¶é´ |
| | | $("#HMaker").val(sessionStorage["HUserName"]); |
| | | $("#HMakerDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | //åå§åæ¥æ |
| | | $("#HDate").val(Format(new Date(), "yyyy-MM-dd")); |
| | | } |
| | | else if (OperationType == 3) {//å¦æä¿®æ¹åèµ°ä¸é¢ new //ç¼è¾ |
| | | ////ç¦ç¨ç»ç»é项 |
| | |
| | | |
| | | //主表 èµå¼ |
| | | form.val("formData", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HInterID": data[0]["hmainid"] |
| | | , "HBillNo": data[0]["åæ®å·"] |
| | | "HInterID": OperationType == 2 ? "" : data[0]["hmainid"] |
| | | , "HBillNo": OperationType == 2 ? "" : data[0]["åæ®å·"] |
| | | , "HDate": formatDate(data[0]["æ¥æ"]) |
| | | , "HDeptID": data[0]["HDeptID"] |
| | | , "HDeptName": data[0]["åèµ·é¨é¨"] |
| | |
| | | <div class="layui-btn-container"> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="set_AddNew"><i class="layui-icon layui-icon-file-b"></i>æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="set_ShowBill"><i class="layui-icon layui-icon-form"></i>ç¼è¾</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="set_Copy" id="set_Copy"><i class="layui-icon layui-icon-form"></i>å¤å¶</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="set_DeleteBill"><i class="layui-icon layui-icon-delete"></i>å é¤</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>å·æ°</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Audit"><i class="layui-icon layui-icon-radio"></i>å®¡æ ¸</button> |
| | |
| | | break; |
| | | //ç¼è¾ |
| | | case 'set_ShowBill': set_ShowBill(); |
| | | break; |
| | | //å¤å¶ |
| | | case 'set_Copy': set_Copy(); |
| | | break; |
| | | //å é¤ |
| | | case 'set_DeleteBill': set_DeleteBill(); |
| | |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120 }); |
| | | } |
| | | } |
| | | } |
| | | ////卿æ¾ç¤ºåå |
| | | //option = { |
| | | // elem: '#mainTable' |
| | | // , toolbar: '#toolbarDemo' |
| | | // , cols: [col] |
| | | // , data: data1.data |
| | | // , height: 800 |
| | | // , page: true |
| | | // , totalRow: true |
| | | // , cellMinWidth: 90 |
| | | // , limit: 50 |
| | | // , limits: [50, 500, 5000, 20000] |
| | | // , done: function (res, curr, count) { |
| | | // soulTable.render(this); |
| | | // } |
| | | //} |
| | | } |
| | | |
| | | option.cols = [col]; |
| | | option.data = data1.data; |
| | |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var linterid = data[0].hmainid.toString(); |
| | | //if (AllowLoadData(sSubStr) != false) {//é空éªè¯ |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | |
| | | } |
| | | //#endregion |
| | | |
| | | //å¤å¶ |
| | | function set_Copy() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var linterid = data[0].hmainid.toString(); |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: 'æ°å¢' + HPageTitle |
| | | , shift: 0//å¼¹åºå¨ç» |
| | | , content: '../../è´¨é管ç/å®ç¯é级å¼å«è§å/OA_AndengFlowRuleBillMain.html?OperationType=2&linterid=' + linterid + '&HSouceBillType=' |
| | | , end: function () { |
| | | //å·æ°é¡µé¢, |
| | | location.reload(); |
| | | } |
| | | }) |
| | | } else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ç¼è¾ï¼'); |
| | | } |
| | | } |
| | | |
| | | |
| | | //#region å é¤ |
| | | function set_DeleteBill() { |