| | |
| | | m.loginRightList = HttpUtility.UrlDecode(cookies.Values["loginRightList".ToUpper()]); |
| | | return m; |
| | | } |
| | | |
| | | |
| | | public static string GetJsVersion() |
| | | { |
| | | return System.Configuration.ConfigurationManager.AppSettings["webVersion"].ToString(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// http get 读取数据 |
| | | /// </summary> |
| | |
| | | var APIURL = "http://192.168.1.92:81/"; |
| | | var APIURL = "http://192.168.1.187:81/"; |
| | | /*var APIURL = "http://localhost:5263/";*/ |
| | | //http://192.168.1.145:81/swagger/index.html |
| | | String.prototype.trim = function () { |
| | |
| | | <div id="app" v-cloak> |
| | | <div ref="searchForm" id="searchForm"> |
| | | <van-nav-bar |
| | | title="装配车间:1号注塑机" |
| | | :title="fjInfor.title" |
| | | left-text="返回" |
| | | right-text="更多操作" |
| | | :right-text="fjInfor.guid.length<=0?'':'更多操作'" |
| | | left-arrow |
| | | @click-left="onClickLeft" |
| | | @click-right="showAction = true" |
| | |
| | | <tr> |
| | | <td><span class="font-remark">已入库数:</span>{{fjInfor.yrks}}</td> |
| | | <td><span class="font-remark">剩余数量:</span>{{fjInfor.sysl}}</td> |
| | | <td><span class="font-remark">巡检情况:</span> <van-tag :type="fjInfor.xj*1==1?'success':'danger'" round >{{fjInfor.xj*1==1?'合格':'未检'}}</van-tag></td> |
| | | <td><span class="font-remark">巡检情况:</span><van-tag :type="fjInfor.xj*1==1?'success':'danger'" round >{{fjInfor.xj*1==1?'合格':'未检'}}</van-tag></td> |
| | | </tr> |
| | | <tr> |
| | | <td><span class="font-remark">可打印数:</span>{{fjInfor.kdysl}}</td> |
| | | <td><span class="font-remark">已打数量:</span>{{fjInfor.ydsl}}</td> |
| | | <td><span class="font-remark">齐套标识:</span> <van-tag :type="fjInfor.qt*1==1?'success':'danger'" round >{{fjInfor.qt*1==1?'已齐套':'未齐套'}}</van-tag></td> |
| | | <td><span class="font-remark">齐套标识:</span><van-tag :type="fjInfor.qt*1==1?'success':'danger'" round >{{fjInfor.qt*1==1?'已齐套':'未齐套'}}</van-tag></td> |
| | | </tr> |
| | | <tr> |
| | | <td colspan="3"> |
| | |
| | | </van-field> |
| | | </van-col> |
| | | <van-col span="12"> |
| | | <van-button round block type="info" native-type="submit" style="margin-top:5px;" >确定打码报工</van-button> |
| | | <van-button round block type="info" native-type="submit" style="margin-top:5px;">确定打码报工</van-button> |
| | | <van-button round block type="danger" style="margin-top:5px;" color="linear-gradient(to right, #ff6034, #ee0a24)">距离下一次报工时间还有20秒,如果你想紧急报工,请点击切换账号</van-button> |
| | | </van-col> |
| | | </van-row> |
| | |
| | | <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="server"> |
| | | </asp:Content> |
| | | <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" runat="server"> |
| | | <script src="/Scripts/element-resize-detector.min.js?<%=WebApp.Utility.GetJsVersion() %>"></script> |
| | | <script src="/BaoGong/Scripts/element-resize-detector.min.js?<%=WebApp.Utility.GetJsVersion() %>"></script> |
| | | <script src="js/fjByPrd.js?<%=WebApp.Utility.GetJsVersion() %>"></script> |
| | | </asp:Content> |
| | |
| | | <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="Server"> |
| | | </asp:Content> |
| | | <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" runat="Server"> |
| | | <script src="/Scripts/element-resize-detector.min.js?<%=WebApp.Utility.GetJsVersion() %>"></script> |
| | | <script src="/BaoGong/Scripts/element-resize-detector.min.js?<%=WebApp.Utility.GetJsVersion() %>"></script> |
| | | <script src="/BaoGong/js/fjDefault.js?<%=WebApp.Utility.GetJsVersion() %>"></script> |
| | | </asp:Content> |
| | |
| | | }, |
| | | _userLogin() { |
| | | var that = this; |
| | | var cjId = that.Request("cjId"); |
| | | if (cjId.length<= 0) { |
| | | that.$toast.fail("请先选择车间"); |
| | | return; |
| | | } |
| | | that.isLoading = true; |
| | | that.AxiosHttp("post", 'User/UserLogin', { |
| | | accountNo: that.formCustom.phone, |
| | |
| | | var json = res; |
| | | if (json.rtnCode * 1 > 0) { |
| | | Cookies.set('loginGuid', json.rtnData.loginGuid); |
| | | var cjId = "100100"; |
| | | window.location.href = ("/BaoGong/fjDefault.aspx?math=" + Math.random() + "&cjId=" + cjId); |
| | | // window.location.href = ("/BaoGong/fjDefault.aspx?math=" + Math.random() + "&cjId=" + that.Request("cjId")); |
| | | } |
| | | else { |
| | | that.$toast.fail(json.rtnMsg); |
| | |
| | | that.$notify({ type: 'success', message: json.message }); |
| | | that.$playSound('success'); |
| | | |
| | | //that.sendMessage(json.data.tbBillList); |
| | | that.sendPrintMessage(json.data.tbBillList); |
| | | |
| | | that.$refs.barcode.focus(); |
| | | that.getModel(); |
| | |
| | | </asp:Content> |
| | | |
| | | <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> |
| | | <script src="Js/Scll.js?<%=12333616 %>"></script> |
| | | <script src="Js/Scll.js?<%=12333617 %>"></script> |
| | | </asp:Content> |
| | |
| | | http://go.microsoft.com/fwlink/?LinkId=169433 |
| | | --> |
| | | <configuration> |
| | | <appSettings> |
| | | |
| | | <add key="webTitle" value="龙巍环境科技有限公司 | 报工系统"/> |
| | | <add key="webVersion" value="516"/> |
| | | </appSettings> |
| | | <!-- |
| | | 有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。 |
| | | |