| | |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{3639:function(t,e,s){var n=s("4ea9");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("3ecd78bb",n,!0,{sourceMap:!1,shadowMode:!1})},4730:function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but.apply(void 0,arguments)}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},"4ea9":function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-6be88127]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-6be88127]{font-size:%?48?%;font-weight:300}.content .title[data-v-6be88127],\r\n.content .buttons[data-v-6be88127]{padding:%?30?%}.content .title .a[data-v-6be88127],\r\n.content .buttons .a[data-v-6be88127]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-6be88127],\r\n.content .buttons .b[data-v-6be88127]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-6be88127],\r\n.content .two[data-v-6be88127],\r\n.content .three[data-v-6be88127]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-6be88127],\r\n.content .one uni-input[data-v-6be88127],\r\n.content .one .stitle[data-v-6be88127],\r\n.content .one .msg[data-v-6be88127],\r\n.content .two .line[data-v-6be88127],\r\n.content .two uni-input[data-v-6be88127],\r\n.content .two .stitle[data-v-6be88127],\r\n.content .two .msg[data-v-6be88127],\r\n.content .three .line[data-v-6be88127],\r\n.content .three uni-input[data-v-6be88127],\r\n.content .three .stitle[data-v-6be88127],\r\n.content .three .msg[data-v-6be88127]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-6be88127],\r\n.content .two .msg[data-v-6be88127],\r\n.content .three .msg[data-v-6be88127]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-6be88127],\r\n.content .two .line[data-v-6be88127],\r\n.content .three .line[data-v-6be88127]{border-bottom:%?2?% solid #000}.content .red[data-v-6be88127]{color:red}.content .green[data-v-6be88127]{color:#409eff}.content img[data-v-6be88127]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-6be88127]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(){var e=this,s=this;if(t("log",this.doit," at pages/index/index.vue:100"),this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/blade-jfpts/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",success:function(t){s.axiosMsg={code:t.data.code,msg:t.data.msg},e.oks=!0,wx.showLoading({title:"提交完成请关闭",mask:!0})},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(e){var s="",n="";t("log",e," at pages/index/index.vue:159"),""==e?(s="0",n="请输入票号"):(s="1",n=e),this.msgT.state=s,this.msgT.msg=n},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("4730"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("fdf8");var o,c=s("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"6be88127",null,!1,n["a"],o);e["default"]=r.exports},fdf8:function(t,e,s){"use strict";var n=s("3639"),a=s.n(n);a.a}}]); |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{3639:function(t,e,s){var n=s("4ea9");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("3ecd78bb",n,!0,{sourceMap:!1,shadowMode:!1})},4730:function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but.apply(void 0,arguments)}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},"4ea9":function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-6be88127]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-6be88127]{font-size:%?48?%;font-weight:300}.content .title[data-v-6be88127],\r\n.content .buttons[data-v-6be88127]{padding:%?30?%}.content .title .a[data-v-6be88127],\r\n.content .buttons .a[data-v-6be88127]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-6be88127],\r\n.content .buttons .b[data-v-6be88127]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-6be88127],\r\n.content .two[data-v-6be88127],\r\n.content .three[data-v-6be88127]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-6be88127],\r\n.content .one uni-input[data-v-6be88127],\r\n.content .one .stitle[data-v-6be88127],\r\n.content .one .msg[data-v-6be88127],\r\n.content .two .line[data-v-6be88127],\r\n.content .two uni-input[data-v-6be88127],\r\n.content .two .stitle[data-v-6be88127],\r\n.content .two .msg[data-v-6be88127],\r\n.content .three .line[data-v-6be88127],\r\n.content .three uni-input[data-v-6be88127],\r\n.content .three .stitle[data-v-6be88127],\r\n.content .three .msg[data-v-6be88127]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-6be88127],\r\n.content .two .msg[data-v-6be88127],\r\n.content .three .msg[data-v-6be88127]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-6be88127],\r\n.content .two .line[data-v-6be88127],\r\n.content .three .line[data-v-6be88127]{border-bottom:%?2?% solid #000}.content .red[data-v-6be88127]{color:red}.content .green[data-v-6be88127]{color:#409eff}.content img[data-v-6be88127]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-6be88127]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(){var e=this,s=this;if(t("log",this.doit," at pages/index/index.vue:100"),this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",success:function(t){s.axiosMsg={code:t.data.code,msg:t.data.msg},e.oks=!0,wx.showLoading({title:"提交完成请关闭",mask:!0})},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(e){var s="",n="";t("log",e," at pages/index/index.vue:159"),""==e?(s="0",n="请输入票号"):(s="1",n=e),this.msgT.state=s,this.msgT.msg=n},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("4730"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("fdf8");var o,c=s("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"6be88127",null,!1,n["a"],o);e["default"]=r.exports},fdf8:function(t,e,s){"use strict";var n=s("3639"),a=s.n(n);a.a}}]); |
| | |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{2207:function(t,e,s){"use strict";var n=s("2c52"),a=s.n(n);a.a},"23ec":function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but("post")}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},"2c52":function(t,e,s){var n=s("b8ff");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("7f7a807a",n,!0,{sourceMap:!1,shadowMode:!1})},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(e){var s=this;if(this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/blade-jfpts/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:e,success:function(n){s.axiosMsg={code:n.data.code,msg:n.data.msg},200==n.data.code?(t("log","git"==e?"use git":"use post"," at pages/index/index.vue:123"),s.oks=!0,wx.showLoading({title:"激活成功",mask:!0})):405==n.data.code&&s.but("git")},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(t){var e="",s="";""==t?(e="0",s="请输入票号"):(e="1",s=t),this.msgT.state=e,this.msgT.msg=s},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){this.cc()},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},b8ff:function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-f682892e]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-f682892e]{font-size:%?48?%;font-weight:300}.content .title[data-v-f682892e],\r\n.content .buttons[data-v-f682892e]{padding:%?30?%}.content .title .a[data-v-f682892e],\r\n.content .buttons .a[data-v-f682892e]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-f682892e],\r\n.content .buttons .b[data-v-f682892e]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-f682892e],\r\n.content .two[data-v-f682892e],\r\n.content .three[data-v-f682892e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-f682892e],\r\n.content .one uni-input[data-v-f682892e],\r\n.content .one .stitle[data-v-f682892e],\r\n.content .one .msg[data-v-f682892e],\r\n.content .two .line[data-v-f682892e],\r\n.content .two uni-input[data-v-f682892e],\r\n.content .two .stitle[data-v-f682892e],\r\n.content .two .msg[data-v-f682892e],\r\n.content .three .line[data-v-f682892e],\r\n.content .three uni-input[data-v-f682892e],\r\n.content .three .stitle[data-v-f682892e],\r\n.content .three .msg[data-v-f682892e]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-f682892e],\r\n.content .two .msg[data-v-f682892e],\r\n.content .three .msg[data-v-f682892e]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-f682892e],\r\n.content .two .line[data-v-f682892e],\r\n.content .three .line[data-v-f682892e]{border-bottom:%?2?% solid #000}.content .red[data-v-f682892e]{color:red}.content .green[data-v-f682892e]{color:#409eff}.content img[data-v-f682892e]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-f682892e]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("23ec"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("2207");var o,c=s("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"f682892e",null,!1,n["a"],o);e["default"]=r.exports}}]); |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{2207:function(t,e,s){"use strict";var n=s("2c52"),a=s.n(n);a.a},"23ec":function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but("post")}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},"2c52":function(t,e,s){var n=s("b8ff");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("7f7a807a",n,!0,{sourceMap:!1,shadowMode:!1})},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(e){var s=this;if(this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:e,success:function(n){s.axiosMsg={code:n.data.code,msg:n.data.msg},200==n.data.code?(t("log","git"==e?"use git":"use post"," at pages/index/index.vue:123"),s.oks=!0,wx.showLoading({title:"激活成功",mask:!0})):405==n.data.code&&s.but("git")},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(t){var e="",s="";""==t?(e="0",s="请输入票号"):(e="1",s=t),this.msgT.state=e,this.msgT.msg=s},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){this.cc()},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},b8ff:function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-f682892e]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-f682892e]{font-size:%?48?%;font-weight:300}.content .title[data-v-f682892e],\r\n.content .buttons[data-v-f682892e]{padding:%?30?%}.content .title .a[data-v-f682892e],\r\n.content .buttons .a[data-v-f682892e]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-f682892e],\r\n.content .buttons .b[data-v-f682892e]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-f682892e],\r\n.content .two[data-v-f682892e],\r\n.content .three[data-v-f682892e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-f682892e],\r\n.content .one uni-input[data-v-f682892e],\r\n.content .one .stitle[data-v-f682892e],\r\n.content .one .msg[data-v-f682892e],\r\n.content .two .line[data-v-f682892e],\r\n.content .two uni-input[data-v-f682892e],\r\n.content .two .stitle[data-v-f682892e],\r\n.content .two .msg[data-v-f682892e],\r\n.content .three .line[data-v-f682892e],\r\n.content .three uni-input[data-v-f682892e],\r\n.content .three .stitle[data-v-f682892e],\r\n.content .three .msg[data-v-f682892e]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-f682892e],\r\n.content .two .msg[data-v-f682892e],\r\n.content .three .msg[data-v-f682892e]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-f682892e],\r\n.content .two .line[data-v-f682892e],\r\n.content .three .line[data-v-f682892e]{border-bottom:%?2?% solid #000}.content .red[data-v-f682892e]{color:red}.content .green[data-v-f682892e]{color:#409eff}.content img[data-v-f682892e]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-f682892e]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("23ec"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("2207");var o,c=s("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"f682892e",null,!1,n["a"],o);e["default"]=r.exports}}]); |
| | |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"2f79":function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but("post")}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},3185:function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-54b16c56]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-54b16c56]{font-size:%?48?%;font-weight:300}.content .title[data-v-54b16c56],\r\n.content .buttons[data-v-54b16c56]{padding:%?30?%}.content .title .a[data-v-54b16c56],\r\n.content .buttons .a[data-v-54b16c56]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-54b16c56],\r\n.content .buttons .b[data-v-54b16c56]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-54b16c56],\r\n.content .two[data-v-54b16c56],\r\n.content .three[data-v-54b16c56]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-54b16c56],\r\n.content .one uni-input[data-v-54b16c56],\r\n.content .one .stitle[data-v-54b16c56],\r\n.content .one .msg[data-v-54b16c56],\r\n.content .two .line[data-v-54b16c56],\r\n.content .two uni-input[data-v-54b16c56],\r\n.content .two .stitle[data-v-54b16c56],\r\n.content .two .msg[data-v-54b16c56],\r\n.content .three .line[data-v-54b16c56],\r\n.content .three uni-input[data-v-54b16c56],\r\n.content .three .stitle[data-v-54b16c56],\r\n.content .three .msg[data-v-54b16c56]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-54b16c56],\r\n.content .two .msg[data-v-54b16c56],\r\n.content .three .msg[data-v-54b16c56]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-54b16c56],\r\n.content .two .line[data-v-54b16c56],\r\n.content .three .line[data-v-54b16c56]{border-bottom:%?2?% solid #000}.content .red[data-v-54b16c56]{color:red}.content .green[data-v-54b16c56]{color:#409eff}.content img[data-v-54b16c56]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-54b16c56]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(e){var s=this;if(this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/blade-jfpts/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:e,success:function(n){s.axiosMsg={code:n.data.code,msg:n.data.msg},200==n.data.code?(t("log","git"==e?"use git":"use post"," at pages/index/index.vue:123"),s.oks=!0,wx.showLoading({title:"激活成功",mask:!0})):405==n.data.code&&s.but("git")},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(t){var e="",s="";""==t?(e="0",s="请输入票号"):(e="1",s=t),this.msgT.state=e,this.msgT.msg=s},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},"8e0b":function(t,e,s){"use strict";var n=s("c361"),a=s.n(n);a.a},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},c361:function(t,e,s){var n=s("3185");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("10fb0ebc",n,!0,{sourceMap:!1,shadowMode:!1})},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("2f79"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("8e0b");var c,o=s("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"54b16c56",null,!1,n["a"],c);e["default"]=r.exports}}]); |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"2f79":function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but("post")}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},3185:function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-54b16c56]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-54b16c56]{font-size:%?48?%;font-weight:300}.content .title[data-v-54b16c56],\r\n.content .buttons[data-v-54b16c56]{padding:%?30?%}.content .title .a[data-v-54b16c56],\r\n.content .buttons .a[data-v-54b16c56]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-54b16c56],\r\n.content .buttons .b[data-v-54b16c56]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-54b16c56],\r\n.content .two[data-v-54b16c56],\r\n.content .three[data-v-54b16c56]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-54b16c56],\r\n.content .one uni-input[data-v-54b16c56],\r\n.content .one .stitle[data-v-54b16c56],\r\n.content .one .msg[data-v-54b16c56],\r\n.content .two .line[data-v-54b16c56],\r\n.content .two uni-input[data-v-54b16c56],\r\n.content .two .stitle[data-v-54b16c56],\r\n.content .two .msg[data-v-54b16c56],\r\n.content .three .line[data-v-54b16c56],\r\n.content .three uni-input[data-v-54b16c56],\r\n.content .three .stitle[data-v-54b16c56],\r\n.content .three .msg[data-v-54b16c56]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-54b16c56],\r\n.content .two .msg[data-v-54b16c56],\r\n.content .three .msg[data-v-54b16c56]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-54b16c56],\r\n.content .two .line[data-v-54b16c56],\r\n.content .three .line[data-v-54b16c56]{border-bottom:%?2?% solid #000}.content .red[data-v-54b16c56]{color:red}.content .green[data-v-54b16c56]{color:#409eff}.content img[data-v-54b16c56]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-54b16c56]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(e){var s=this;if(this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:e,success:function(n){s.axiosMsg={code:n.data.code,msg:n.data.msg},200==n.data.code?(t("log","git"==e?"use git":"use post"," at pages/index/index.vue:123"),s.oks=!0,wx.showLoading({title:"激活成功",mask:!0})):405==n.data.code&&s.but("git")},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(t){var e="",s="";""==t?(e="0",s="请输入票号"):(e="1",s=t),this.msgT.state=e,this.msgT.msg=s},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},"8e0b":function(t,e,s){"use strict";var n=s("c361"),a=s.n(n);a.a},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},c361:function(t,e,s){var n=s("3185");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("10fb0ebc",n,!0,{sourceMap:!1,shadowMode:!1})},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("2f79"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("8e0b");var c,o=s("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"54b16c56",null,!1,n["a"],c);e["default"]=r.exports}}]); |
| | |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"2e1b":function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but.apply(void 0,arguments)}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},"6f06":function(t,e,s){"use strict";s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){console.log("提交完成")},but:function(){var t=this,e=this;if(console.log(this.doit),this.doit){var s={name:e.name,identityCard:e.ID,ticketCode:e.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/blade-jfpts/activation/activation/submit",data:s,header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",success:function(s){e.axiosMsg={code:s.data.code,msg:s.data.msg},t.oks=!0,wx.showLoading({title:"提交完成请关闭",mask:!0})},fail:function(t){e.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else wx.showLoading({title:"信息有误",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(t){var e="",s="";console.log(t),""==t?(e="0",s="请输入票号"):(e="1",s=t),this.msgT.state=e,this.msgT.msg=s},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n},"74f2":function(t,e,s){"use strict";var n=s("f8d1"),a=s.n(n);a.a},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},dbe9:function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-5b16b436]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-5b16b436]{font-size:%?48?%;font-weight:300}.content .title[data-v-5b16b436],\r\n.content .buttons[data-v-5b16b436]{padding:%?30?%}.content .title .a[data-v-5b16b436],\r\n.content .buttons .a[data-v-5b16b436]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-5b16b436],\r\n.content .buttons .b[data-v-5b16b436]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-5b16b436],\r\n.content .two[data-v-5b16b436],\r\n.content .three[data-v-5b16b436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-5b16b436],\r\n.content .one uni-input[data-v-5b16b436],\r\n.content .one .stitle[data-v-5b16b436],\r\n.content .one .msg[data-v-5b16b436],\r\n.content .two .line[data-v-5b16b436],\r\n.content .two uni-input[data-v-5b16b436],\r\n.content .two .stitle[data-v-5b16b436],\r\n.content .two .msg[data-v-5b16b436],\r\n.content .three .line[data-v-5b16b436],\r\n.content .three uni-input[data-v-5b16b436],\r\n.content .three .stitle[data-v-5b16b436],\r\n.content .three .msg[data-v-5b16b436]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-5b16b436],\r\n.content .two .msg[data-v-5b16b436],\r\n.content .three .msg[data-v-5b16b436]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-5b16b436],\r\n.content .two .line[data-v-5b16b436],\r\n.content .three .line[data-v-5b16b436]{border-bottom:%?2?% solid #000}.content .red[data-v-5b16b436]{color:red}.content .green[data-v-5b16b436]{color:#409eff}.content img[data-v-5b16b436]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-5b16b436]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},de84:function(t,e,s){"use strict";s.r(e);var n=s("2e1b"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("74f2");var o,c=s("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"5b16b436",null,!1,n["a"],o);e["default"]=r.exports},f8d1:function(t,e,s){var n=s("dbe9");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("30aba39e",n,!0,{sourceMap:!1,shadowMode:!1})}}]); |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"2e1b":function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but.apply(void 0,arguments)}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},"6f06":function(t,e,s){"use strict";s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){console.log("提交完成")},but:function(){var t=this,e=this;if(console.log(this.doit),this.doit){var s={name:e.name,identityCard:e.ID,ticketCode:e.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/activation/activation/submit",data:s,header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",success:function(s){e.axiosMsg={code:s.data.code,msg:s.data.msg},t.oks=!0,wx.showLoading({title:"提交完成请关闭",mask:!0})},fail:function(t){e.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else wx.showLoading({title:"信息有误",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(t){var e="",s="";console.log(t),""==t?(e="0",s="请输入票号"):(e="1",s=t),this.msgT.state=e,this.msgT.msg=s},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n},"74f2":function(t,e,s){"use strict";var n=s("f8d1"),a=s.n(n);a.a},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},dbe9:function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-5b16b436]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-5b16b436]{font-size:%?48?%;font-weight:300}.content .title[data-v-5b16b436],\r\n.content .buttons[data-v-5b16b436]{padding:%?30?%}.content .title .a[data-v-5b16b436],\r\n.content .buttons .a[data-v-5b16b436]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-5b16b436],\r\n.content .buttons .b[data-v-5b16b436]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-5b16b436],\r\n.content .two[data-v-5b16b436],\r\n.content .three[data-v-5b16b436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-5b16b436],\r\n.content .one uni-input[data-v-5b16b436],\r\n.content .one .stitle[data-v-5b16b436],\r\n.content .one .msg[data-v-5b16b436],\r\n.content .two .line[data-v-5b16b436],\r\n.content .two uni-input[data-v-5b16b436],\r\n.content .two .stitle[data-v-5b16b436],\r\n.content .two .msg[data-v-5b16b436],\r\n.content .three .line[data-v-5b16b436],\r\n.content .three uni-input[data-v-5b16b436],\r\n.content .three .stitle[data-v-5b16b436],\r\n.content .three .msg[data-v-5b16b436]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-5b16b436],\r\n.content .two .msg[data-v-5b16b436],\r\n.content .three .msg[data-v-5b16b436]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-5b16b436],\r\n.content .two .line[data-v-5b16b436],\r\n.content .three .line[data-v-5b16b436]{border-bottom:%?2?% solid #000}.content .red[data-v-5b16b436]{color:red}.content .green[data-v-5b16b436]{color:#409eff}.content img[data-v-5b16b436]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-5b16b436]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},de84:function(t,e,s){"use strict";s.r(e);var n=s("2e1b"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("74f2");var o,c=s("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"5b16b436",null,!1,n["a"],o);e["default"]=r.exports},f8d1:function(t,e,s){var n=s("dbe9");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("30aba39e",n,!0,{sourceMap:!1,shadowMode:!1})}}]); |
| | |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"09b1":function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but.apply(void 0,arguments)}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},"18c0":function(t,e,s){"use strict";var n=s("d370"),a=s.n(n);a.a},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(){var e=this,s=this;if(t("log",this.doit," at pages/index/index.vue:100"),this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/blade-jfpts/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",success:function(t){s.axiosMsg={code:t.data.code,msg:t.data.msg},200==t.data.code&&(e.oks=!0,wx.showLoading({title:"激活成功",mask:!0}))},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(e){var s="",n="";t("log",e," at pages/index/index.vue:161"),""==e?(s="0",n="请输入票号"):(s="1",n=e),this.msgT.state=s,this.msgT.msg=n},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){this.cc()},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},b868:function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-8e2dc350]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-8e2dc350]{font-size:%?48?%;font-weight:300}.content .title[data-v-8e2dc350],\r\n.content .buttons[data-v-8e2dc350]{padding:%?30?%}.content .title .a[data-v-8e2dc350],\r\n.content .buttons .a[data-v-8e2dc350]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-8e2dc350],\r\n.content .buttons .b[data-v-8e2dc350]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-8e2dc350],\r\n.content .two[data-v-8e2dc350],\r\n.content .three[data-v-8e2dc350]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-8e2dc350],\r\n.content .one uni-input[data-v-8e2dc350],\r\n.content .one .stitle[data-v-8e2dc350],\r\n.content .one .msg[data-v-8e2dc350],\r\n.content .two .line[data-v-8e2dc350],\r\n.content .two uni-input[data-v-8e2dc350],\r\n.content .two .stitle[data-v-8e2dc350],\r\n.content .two .msg[data-v-8e2dc350],\r\n.content .three .line[data-v-8e2dc350],\r\n.content .three uni-input[data-v-8e2dc350],\r\n.content .three .stitle[data-v-8e2dc350],\r\n.content .three .msg[data-v-8e2dc350]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-8e2dc350],\r\n.content .two .msg[data-v-8e2dc350],\r\n.content .three .msg[data-v-8e2dc350]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-8e2dc350],\r\n.content .two .line[data-v-8e2dc350],\r\n.content .three .line[data-v-8e2dc350]{border-bottom:%?2?% solid #000}.content .red[data-v-8e2dc350]{color:red}.content .green[data-v-8e2dc350]{color:#409eff}.content img[data-v-8e2dc350]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-8e2dc350]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},d370:function(t,e,s){var n=s("b868");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("722623e4",n,!0,{sourceMap:!1,shadowMode:!1})},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("09b1"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("18c0");var c,o=s("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"8e2dc350",null,!1,n["a"],c);e["default"]=r.exports}}]); |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"09b1":function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but.apply(void 0,arguments)}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},"18c0":function(t,e,s){"use strict";var n=s("d370"),a=s.n(n);a.a},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(){var e=this,s=this;if(t("log",this.doit," at pages/index/index.vue:100"),this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",success:function(t){s.axiosMsg={code:t.data.code,msg:t.data.msg},200==t.data.code&&(e.oks=!0,wx.showLoading({title:"激活成功",mask:!0}))},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(e){var s="",n="";t("log",e," at pages/index/index.vue:161"),""==e?(s="0",n="请输入票号"):(s="1",n=e),this.msgT.state=s,this.msgT.msg=n},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){this.cc()},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},b868:function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-8e2dc350]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-8e2dc350]{font-size:%?48?%;font-weight:300}.content .title[data-v-8e2dc350],\r\n.content .buttons[data-v-8e2dc350]{padding:%?30?%}.content .title .a[data-v-8e2dc350],\r\n.content .buttons .a[data-v-8e2dc350]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-8e2dc350],\r\n.content .buttons .b[data-v-8e2dc350]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-8e2dc350],\r\n.content .two[data-v-8e2dc350],\r\n.content .three[data-v-8e2dc350]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-8e2dc350],\r\n.content .one uni-input[data-v-8e2dc350],\r\n.content .one .stitle[data-v-8e2dc350],\r\n.content .one .msg[data-v-8e2dc350],\r\n.content .two .line[data-v-8e2dc350],\r\n.content .two uni-input[data-v-8e2dc350],\r\n.content .two .stitle[data-v-8e2dc350],\r\n.content .two .msg[data-v-8e2dc350],\r\n.content .three .line[data-v-8e2dc350],\r\n.content .three uni-input[data-v-8e2dc350],\r\n.content .three .stitle[data-v-8e2dc350],\r\n.content .three .msg[data-v-8e2dc350]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-8e2dc350],\r\n.content .two .msg[data-v-8e2dc350],\r\n.content .three .msg[data-v-8e2dc350]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-8e2dc350],\r\n.content .two .line[data-v-8e2dc350],\r\n.content .three .line[data-v-8e2dc350]{border-bottom:%?2?% solid #000}.content .red[data-v-8e2dc350]{color:red}.content .green[data-v-8e2dc350]{color:#409eff}.content img[data-v-8e2dc350]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-8e2dc350]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},d370:function(t,e,s){var n=s("b868");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("722623e4",n,!0,{sourceMap:!1,shadowMode:!1})},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("09b1"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("18c0");var c,o=s("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"8e2dc350",null,!1,n["a"],c);e["default"]=r.exports}}]); |
| | |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0fa3":function(t,e,s){"use strict";var n=s("6b45"),a=s.n(n);a.a},"2af8":function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-55df11b2]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-55df11b2]{font-size:%?48?%;font-weight:300}.content .title[data-v-55df11b2],\r\n.content .buttons[data-v-55df11b2]{padding:%?30?%}.content .title .a[data-v-55df11b2],\r\n.content .buttons .a[data-v-55df11b2]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-55df11b2],\r\n.content .buttons .b[data-v-55df11b2]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-55df11b2],\r\n.content .two[data-v-55df11b2],\r\n.content .three[data-v-55df11b2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-55df11b2],\r\n.content .one uni-input[data-v-55df11b2],\r\n.content .one .stitle[data-v-55df11b2],\r\n.content .one .msg[data-v-55df11b2],\r\n.content .two .line[data-v-55df11b2],\r\n.content .two uni-input[data-v-55df11b2],\r\n.content .two .stitle[data-v-55df11b2],\r\n.content .two .msg[data-v-55df11b2],\r\n.content .three .line[data-v-55df11b2],\r\n.content .three uni-input[data-v-55df11b2],\r\n.content .three .stitle[data-v-55df11b2],\r\n.content .three .msg[data-v-55df11b2]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-55df11b2],\r\n.content .two .msg[data-v-55df11b2],\r\n.content .three .msg[data-v-55df11b2]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-55df11b2],\r\n.content .two .line[data-v-55df11b2],\r\n.content .three .line[data-v-55df11b2]{border-bottom:%?2?% solid #000}.content .red[data-v-55df11b2]{color:red}.content .green[data-v-55df11b2]{color:#409eff}.content img[data-v-55df11b2]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-55df11b2]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},"6b45":function(t,e,s){var n=s("2af8");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("51327066",n,!0,{sourceMap:!1,shadowMode:!1})},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(){var e=this,s=this;if(t("log",this.doit," at pages/index/index.vue:100"),this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/blade-jfpts/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",success:function(t){s.axiosMsg={code:t.data.code,msg:t.data.msg},200==t.data.code&&(e.oks=!0,wx.showLoading({title:"激活成功",mask:!0}))},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(e){var s="",n="";t("log",e," at pages/index/index.vue:161"),""==e?(s="0",n="请输入票号"):(s="1",n=e),this.msgT.state=s,this.msgT.msg=n},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},cca3:function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but.apply(void 0,arguments)}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("cca3"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("0fa3");var o,c=s("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"55df11b2",null,!1,n["a"],o);e["default"]=r.exports}}]); |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0fa3":function(t,e,s){"use strict";var n=s("6b45"),a=s.n(n);a.a},"2af8":function(t,e,s){var n=s("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content[data-v-55df11b2]{margin:0 auto;width:90%;height:100%;padding:%?5?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background-color:#fff;-webkit-border-radius:%?20?%;border-radius:%?20?%;-webkit-box-shadow:0 0 %?10?% #888;box-shadow:0 0 %?10?% #888;position:relative;top:%?10?%}.content .title[data-v-55df11b2]{font-size:%?48?%;font-weight:300}.content .title[data-v-55df11b2],\r\n.content .buttons[data-v-55df11b2]{padding:%?30?%}.content .title .a[data-v-55df11b2],\r\n.content .buttons .a[data-v-55df11b2]{background-color:#409eff;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .title .b[data-v-55df11b2],\r\n.content .buttons .b[data-v-55df11b2]{background-color:#c7c7c7;color:#fff;-webkit-border-radius:%?60?%;border-radius:%?60?%}.content .one[data-v-55df11b2],\r\n.content .two[data-v-55df11b2],\r\n.content .three[data-v-55df11b2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?10?%}.content .one .line[data-v-55df11b2],\r\n.content .one uni-input[data-v-55df11b2],\r\n.content .one .stitle[data-v-55df11b2],\r\n.content .one .msg[data-v-55df11b2],\r\n.content .two .line[data-v-55df11b2],\r\n.content .two uni-input[data-v-55df11b2],\r\n.content .two .stitle[data-v-55df11b2],\r\n.content .two .msg[data-v-55df11b2],\r\n.content .three .line[data-v-55df11b2],\r\n.content .three uni-input[data-v-55df11b2],\r\n.content .three .stitle[data-v-55df11b2],\r\n.content .three .msg[data-v-55df11b2]{width:%?560?%;padding-bottom:%?15?%}.content .one .msg[data-v-55df11b2],\r\n.content .two .msg[data-v-55df11b2],\r\n.content .three .msg[data-v-55df11b2]{font-size:%?26?%;height:%?20?%}.content .one .line[data-v-55df11b2],\r\n.content .two .line[data-v-55df11b2],\r\n.content .three .line[data-v-55df11b2]{border-bottom:%?2?% solid #000}.content .red[data-v-55df11b2]{color:red}.content .green[data-v-55df11b2]{color:#409eff}.content img[data-v-55df11b2]{width:%?35?%;height:%?35?%;position:relative;top:%?6?%}.scuss[data-v-55df11b2]{position:absolute;top:%?-100?%;left:%?-100?%;width:500%;height:500%;background-color:#efefef}',""]),t.exports=e},"6b45":function(t,e,s){var n=s("2af8");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("4f06").default;a("51327066",n,!0,{sourceMap:!1,shadowMode:!1})},"6f06":function(t,e,s){"use strict";(function(t){s("ac1f"),s("841c"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{times:"",ticket:"",name:"",ID:"",msgT:{state:null,msg:""},msgN:{state:null,msg:""},msgI:{state:null,msg:""},axiosMsg:{code:"",msg:""},oks:!1}},computed:{doit:function(){return 1==this.msgT.state&&1==this.msgN.state&&1==this.msgI.state}},methods:{buts:function(){t("log","提交完成"," at pages/index/index.vue:96")},but:function(){var e=this,s=this;if(t("log",this.doit," at pages/index/index.vue:100"),this.doit){var n={name:s.name,identityCard:s.ID,ticketCode:s.ticket,activation:"1"};wx.request({url:"https://web.byisf.com/api/activation/activation/submit",data:n,header:{"content-type":"application/x-www-form-urlencoded"},method:"POST",success:function(t){s.axiosMsg={code:t.data.code,msg:t.data.msg},200==t.data.code&&(e.oks=!0,wx.showLoading({title:"激活成功",mask:!0}))},fail:function(t){s.axiosMsg={code:0,msg:t},wx.showLoading({title:"失去连接 请稍等",mask:!0}),setTimeout((function(){wx.hideLoading()}),500)}})}else this.rees()},checkOUR:function(t,e){var s=this;clearTimeout(this.times),this.times=setTimeout((function(){t(e),clearTimeout(s.times)}),200)},checkTicket:function(e){var s="",n="";t("log",e," at pages/index/index.vue:161"),""==e?(s="0",n="请输入票号"):(s="1",n=e),this.msgT.state=s,this.msgT.msg=n},checkName:function(t){var e="",s="";""==t?(s="请输入名字",e="0"):-1!=t.search(/[^\u4e00-\u9fa5]/)?(s="请输入汉字",e="0"):t.length>5?(s="名字太长",e="0"):(s="输入正确",e="1"),this.msgN.state=e,this.msgN.msg=s},checkID:function(t){var e=/^[1-9]\d{5}(18|19|20|21|22)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,s="",n="";""==t?(n="请输入身份证",s="0"):0!=t.search(e)?(n="身份证错误",s="0"):(n="输入正确",s="1"),this.msgI.state=s,this.msgI.msg=n},rees:function(){this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)},cc:function(){this.ticket="23",this.name="我二",this.ID="333333199701014455",this.checkTicket(this.ticket),this.checkName(this.name),this.checkID(this.ID)}},mounted:function(){},watch:{ticket:function(){this.checkOUR(this.checkTicket,this.ticket)},name:function(){this.checkOUR(this.checkName,this.name)},ID:function(){this.checkOUR(this.checkID,this.ID)}}};e.default=n}).call(this,s("0de9")["log"])},"7a43":function(t,e,s){t.exports=s.p+"static/img/tg.0350b2e2.png"},c085:function(t,e,s){"use strict";s.r(e);var n=s("6f06"),a=s.n(n);for(var i in n)"default"!==i&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},cca3:function(t,e,s){"use strict";var n;s.d(e,"b",(function(){return a})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{attrs:{id:"our"}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"title"},[t._v("填写信息")]),n("v-uni-view",{staticClass:"one"},[n("v-uni-view",{staticClass:"stitle"},[t._v("票号:")]),n("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入正确票号"},model:{value:t.ticket,callback:function(e){t.ticket=e},expression:"ticket"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgT.state,expression:"msgT.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgT.state,expression:"msgT.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgT.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgT.state,expression:"msgT.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgT.msg))])])],1),n("v-uni-view",{staticClass:"two"},[n("v-uni-view",{staticClass:"stitle"},[t._v("姓名:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgN.state,expression:"msgN.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgN.state,expression:"msgN.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgN.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgN.state,expression:"msgN.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgN.msg))])])],1),n("v-uni-view",{staticClass:"three"},[n("v-uni-view",{staticClass:"stitle"},[t._v("身份证:")]),n("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入正确身份证"},model:{value:t.ID,callback:function(e){t.ID=e},expression:"ID"}}),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"msg"},[n("span",{directives:[{name:"show",rawName:"v-show",value:null==t.msgI.state,expression:"msgI.state == null"}],staticClass:"black"}),n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.msgI.state,expression:"msgI.state == 0"}],staticClass:"red"},[n("img",{attrs:{src:s("dabe"),alt:"no"}}),t._v(t._s(t.msgI.msg))]),n("span",{directives:[{name:"show",rawName:"v-show",value:1==t.msgI.state,expression:"msgI.state == 1"}],staticClass:"green"},[n("img",{attrs:{src:s("7a43"),alt:"yes"}}),t._v(t._s(t.msgI.msg))])])],1),n("v-uni-view",{staticClass:"buttons"},[n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:!t.oks,expression:"!oks"}],staticClass:"a",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.but.apply(void 0,arguments)}}},[t._v("确认激活")]),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.oks,expression:"oks"}],staticClass:"b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buts.apply(void 0,arguments)}}},[t._v("确认激活")])],1)],1)],1)},i=[]},dabe:function(t,e,s){t.exports=s.p+"static/img/jg.fbe1fed3.png"},de84:function(t,e,s){"use strict";s.r(e);var n=s("cca3"),a=s("c085");for(var i in a)"default"!==i&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("0fa3");var o,c=s("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"55df11b2",null,!1,n["a"],o);e["default"]=r.exports}}]); |
| | |
| | | <!-- <div class="r-b-t-main"> |
| | | <span class="r-b-t-left">设备标签</span> |
| | | <span class="r-b-t-right"> |
| | | <div |
| | | class="r-b-t-r-label" |
| | | v-for="(value,index) in labels" |
| | | <div |
| | | class="r-b-t-r-label" |
| | | v-for="(value,index) in labels" |
| | | :key="index" |
| | | > |
| | | {{value}} |
| | | {{value}} |
| | | </div> |
| | | </span> |
| | | </div> --> |
| | |
| | | |
| | | var xhr = null |
| | | , my = this |
| | | , url = '/api/blade-jfpts/depl/selectInfo?deviceNumber=' + dat.deviceNumber; |
| | | , url = '/api/depl/selectInfo?deviceNumber=' + dat.deviceNumber; |
| | | if (XMLHttpRequest) { //http请求 |
| | | xhr = new XMLHttpRequest(); |
| | | } else { |
| | |
| | | } |
| | | // var imgdatas = imgD.data[0].paddress.split(','); |
| | | my.imgsl = imgdatas.length == 0 ? ['no'] : imgdatas; |
| | | // my.imgsl = [ //最多3张照片 |
| | | // my.imgsl = [ //最多3张照片 |
| | | // "https://resource-city.sensoro.com/B8D675A3C4F71C5C8DE2FD764881BE57", |
| | | |
| | | // "https://resource-city.sensoro.com/1723C1A66DB44F792564F3648E5AA1EE", |
| | |
| | | getUser(dat) { |
| | | var xhr = null |
| | | , my = this |
| | | , url = '/api/blade-jfpts/equipment/equipment/detail?id=' + dat; |
| | | , url = '/api/equipment/equipment/detail?id=' + dat; |
| | | // if (XMLHttpRequest) { //http请求 |
| | | // xhr = new XMLHttpRequest(); |
| | | // } else { |
| | |
| | | </script> |
| | | </body> |
| | | |
| | | </html> |
| | | </html> |
| | |
| | | v-show="imgSrc.length > 0"></el-image> |
| | | <span v-show="imgSrc.length == 0">暂无现场图片</span> |
| | | </el-card> --> |
| | | |
| | | |
| | | <el-card class="scene-image-box"> |
| | | <!-- <el-image v-for="url in imgSrc" :key="url" :src="url" :preview-src-list="srcList" v-show="imgSrc.length"></el-image> --> |
| | | <el-image v-for="url in imgSrc" :key="url" :src="url" v-show="imgSrc.length"></el-image> |
| | | <span v-show="imgSrc.length == 0">暂无现场图片</span> |
| | | </el-card> |
| | | |
| | | |
| | | |
| | | |
| | | </el-tab-pane> |
| | | <el-tab-pane label="现场视频" name="third"> |
| | | <el-card> |
| | |
| | | // console.log(this.datas.id) |
| | | axios({ |
| | | method: "post", |
| | | url: "/api/blade-jfpts/feedback/feedback/selectFeedEdit", |
| | | url: "/api/feedback/feedback/selectFeedEdit", |
| | | params: { |
| | | jid: this.datas.id, |
| | | }, |
| | |
| | | </script> |
| | | </body> |
| | | |
| | | </html> |
| | | </html> |
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | url: 'https://web.byisf.com/api/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $("#client_bc").off("click").click(function () { |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/updateClinent?', |
| | | url: 'https://web.byisf.com/api/equipment/equipment/updateClinent?', |
| | | data: { |
| | | "id": code, |
| | | |
| | |
| | | |
| | | // 查看设备的详细信息 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | url: 'https://web.byisf.com/api/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/suser/suser/detail?id=' + code, |
| | | url: 'https://web.byisf.com/api/suser/suser/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var viewVideoLayer = null; |
| | | // 查看保安人员的详细信息 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectInfo?snumber=' + code, |
| | | url: 'https://web.byisf.com/api/security/security/selectInfo?snumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code, |
| | | url: 'https://web.byisf.com/api/alarm/alarm/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | return |
| | | } |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/saves', |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: result.rname, |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/deletejj', |
| | | url: 'https://web.byisf.com/api/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | function updateJType(id, czTime, bz, jjTime) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | url: 'https://web.byisf.com/api/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectry', |
| | | url: 'https://web.byisf.com/api/security/security/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectry', |
| | | url: 'https://web.byisf.com/api/security/security/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry', |
| | | url: 'https://web.byisf.com/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'https://web.byisf.com/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'https://web.byisf.com/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'https://web.byisf.com/api/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'https://web.byisf.com/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'https://web.byisf.com/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'https://web.byisf.com/api/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').empty(); |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | url: 'https://web.byisf.com/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'https://web.byisf.com/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'https://web.byisf.com/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.entityPolygonAll.clear(); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/queryBa', |
| | | url: 'https://web.byisf.com/api/alarm/alarm/queryBa', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | } |
| | | }) |
| | | // $.ajax({ |
| | | // url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList', |
| | | // url: 'https://web.byisf.com/api/security/security/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'https://web.byisf.com/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'https://web.byisf.com/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'https://web.byisf.com/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: "https://web.byisf.com/api/blade-jfpts/alarm/alarm/page?current=1&size=99999&waringType=&beginTime=" + beginTime + "&endTime=" +endTime +"&province=36&city=3601&district=" + addvcd, |
| | | url: "https://web.byisf.com/api/alarm/alarm/page?current=1&size=99999&waringType=&beginTime=" + beginTime + "&endTime=" +endTime +"&province=36&city=3601&district=" + addvcd, |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li ownerid='all'>全部</li>")); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/lx/lx/seleclx', |
| | | url: 'https://web.byisf.com/api/lx/lx/seleclx', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li>全部</li>")); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | url: 'https://web.byisf.com/api/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'https://web.byisf.com/api/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'https://web.byisf.com/api/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | open: function() { |
| | | var that = this; |
| | | $.ajax({ |
| | | url: '/api/blade-jfpts/equipment/equipment/pageDept?deviceName='+ window.clientID, |
| | | url: '/api/equipment/equipment/pageDept?deviceName='+ window.clientID, |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function(data) { |
| | |
| | | open: function () { |
| | | var that = this; |
| | | $.ajax({ |
| | | url: '/api/blade-jfpts/equipment/equipment/pages?current=1&size=1000', |
| | | url: '/api/equipment/equipment/pages?current=1&size=1000', |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry', |
| | | url: 'https://web.byisf.com/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'https://web.byisf.com/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'https://web.byisf.com/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'https://web.byisf.com/api/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'https://web.byisf.com/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'https://web.byisf.com/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'https://web.byisf.com/api/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').empty(); |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | url: 'https://web.byisf.com/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'https://web.byisf.com/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'https://web.byisf.com/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList', |
| | | url: 'https://web.byisf.com/api/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'https://web.byisf.com/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'https://web.byisf.com/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'https://web.byisf.com/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry', |
| | | url: 'https://web.byisf.com/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'https://web.byisf.com/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'https://web.byisf.com/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'https://web.byisf.com/api/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'https://web.byisf.com/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'https://web.byisf.com/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'https://web.byisf.com/api/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').empty(); |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | url: 'https://web.byisf.com/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'https://web.byisf.com/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'https://web.byisf.com/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList', |
| | | url: 'https://web.byisf.com/api/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'https://web.byisf.com/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'https://web.byisf.com/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'https://web.byisf.com/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/saves', |
| | | url: 'https://web.byisf.com/api/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: $(_self).data('rname'), |
| | |
| | | |
| | | // 行政区 |
| | | // $.ajax({ |
| | | // url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | // url: 'https://web.byisf.com/api/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | |
| | | // // 警情类型下拉 |
| | | // $.ajax({ |
| | | // url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selectScount', |
| | | // url: 'https://web.byisf.com/api/alarm/alarm/selectScount', |
| | | // type: 'GET', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | that.updateRealTable = table.render({ |
| | | elem: '#real_time_table' |
| | | , height: (layerTabHei - 20) |
| | | , url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selectList' //数据接口 |
| | | , url: 'https://web.byisf.com/api/alarm/alarm/selectList' //数据接口 |
| | | , method: "post" |
| | | , where: { jtype: '', beginTime: that.realBeginTime, endTime: that.realEndTime } |
| | | , parseData: function (res) { //res 即为原始返回的数据 |
| | |
| | | that.realTimeQuery = setInterval(function () { |
| | | if (that.historyPoliceId != null) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selecttx', |
| | | url: 'https://web.byisf.com/api/alarm/alarm/selecttx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/deletejj', |
| | | url: 'https://web.byisf.com/api/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | |
| | | updateJType: function (id, czTime, bz, jjTime) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | url: 'https://web.byisf.com/api/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | open: function() { |
| | | var that = this; |
| | | $.ajax({ |
| | | url: "/api/blade-jfpts/equipment/equipment/listAll", |
| | | url: "/api/equipment/equipment/listAll", |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function(res) { |
| | |
| | | dom.empty(); //警情信息 |
| | | var that = this; |
| | | $.ajax({ |
| | | url: "/api/blade-jfpts/alarm/alarm/page?current=1&size=99999&waringType=&beginTime=" + beginTime + "&endTime=" + endTime + "&province=36&city=3601&district=" + addvcd, |
| | | url: "/api/alarm/alarm/page?current=1&size=99999&waringType=&beginTime=" + beginTime + "&endTime=" + endTime + "&province=36&city=3601&district=" + addvcd, |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function(data) { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li ownerid='all'>全部</li>")); |
| | | $.ajax({ |
| | | url: '/api/blade-jfpts/lx/lx/seleclx', |
| | | url: '/api/lx/lx/seleclx', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function(data) { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li>全部</li>")); |
| | | // $.ajax({ |
| | | // url: '/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | // url: '/api/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | // type: 'GET', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | // dom.append(str) |
| | | |
| | | $.ajax({ |
| | | url: '/api/blade-jfpts/equipment/equipment/listAll?deviceType=' + deviceType, |
| | | url: '/api/equipment/equipment/listAll?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function(data) { |
| | |
| | | } |
| | | }); |
| | | return Widget; |
| | | }); |
| | | }); |
| | |
| | | $.ajax({ |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | url: "/api/blade-jfpts/equipment/equipment/selectEquimentPlayInfo?number=" + deviceNumber + "&bmp=" + "m3u8" + "&manufacturer=" + manufacturer, |
| | | url: "/api/equipment/equipment/selectEquimentPlayInfo?number=" + deviceNumber + "&bmp=" + "m3u8" + "&manufacturer=" + manufacturer, |
| | | success: function (data) { |
| | | realStartVideo($('.realtime-view-video-box video')[0], data.data.address) |
| | | } |
| | |
| | | methods: { |
| | | getDataList() { |
| | | var that = this; |
| | | var url = 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/listAll'; |
| | | var url = 'https://web.byisf.com/api/equipment/equipment/listAll'; |
| | | axios.get(url).then((res) => { |
| | | that.getdata = res.data.data; |
| | | that.beginCome(); |
| | |
| | | // this.map.invalidateSize(true);//应用地图高度 |
| | | // this.move.followFinger(this.map, 'up'); |
| | | } |
| | | }) |
| | | }) |
| | |
| | | methods: { |
| | | getDataList() { |
| | | var that = this; |
| | | // var url = 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/listAll'; |
| | | // var url = 'https://web.byisf.com/api/equipment/equipment/listAll'; |
| | | // axios.get(url).then((res) => { |
| | | // that.getdata = res.data.data; |
| | | that.beginCome(); |
| | |
| | | // this.map.invalidateSize(true);//应用地图高度 |
| | | // this.move.followFinger(this.map, 'up'); |
| | | } |
| | | }) |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/page', |
| | | url: '/api/alarm/alarm/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/selectInfo', |
| | | url: '/api/alarm/alarm/selectInfo', |
| | | method: 'post', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/remove', |
| | | url: '/api/alarm/alarm/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/save', |
| | | url: '/api/alarm/alarm/save', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/update', |
| | | url: '/api/alarm/alarm/update', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/animalHeat/animalHeat/page', |
| | | url: '/api/animalHeat/animalHeat/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | size, |
| | | } |
| | | }) |
| | | } |
| | | } |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/article/article/page', |
| | | url: '/api/article/article/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/article/article/remove', |
| | | url: '/api/article/article/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/article/article/submit', |
| | | url: '/api/article/article/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/article/article/submit', |
| | | url: '/api/article/article/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getNotice = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/article/article/detail', |
| | | url: '/api/article/article/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | | } |
| | | }) |
| | | } |
| | | } |
| | |
| | | |
| | | export const getList = (current, size, params, department) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/attendance/page', |
| | | url: '/api/attendance/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/attendance/detail', |
| | | url: '/api/attendance/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/attendance/remove', |
| | | url: '/api/attendance/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/attendance/submit', |
| | | url: '/api/attendance/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/attendance/submit', |
| | | url: '/api/attendance/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params,pid) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/pageDept', |
| | | url: '/api/equipment/equipment/pageDept', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getListliu = (current, size, params,pid) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/pageDept', |
| | | url: '/api/equipment/equipment/pageDept', |
| | | method: 'get', |
| | | params: { |
| | | pid, |
| | |
| | | } |
| | | // export const getListliuf = (current, size, params,pid) => { |
| | | // return request({ |
| | | // url: '/api/blade-jfpts/equipment/equipment/pageDept', |
| | | // url: '/api/equipment/equipment/pageDept', |
| | | // method: 'get', |
| | | // params: { |
| | | // ...params, |
| | |
| | | } |
| | | export const getAll = () => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/listAll', |
| | | url: '/api/equipment/equipment/listAll', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/remove', |
| | | url: '/api/equipment/equipment/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/submit', |
| | | url: '/api/equipment/equipment/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/submit', |
| | | url: '/api/equipment/equipment/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const updates = (expireTime,deviceNumber) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/updateexpireTime', |
| | | url: '/api/equipment/equipment/updateexpireTime', |
| | | method: 'post', |
| | | params: { |
| | | expireTime, |
| | |
| | | |
| | | export const getclient = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/detail', |
| | | url: '/api/equipment/equipment/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const getdataL = (data) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/pageDept', |
| | | url: '/api/equipment/equipment/pageDept', |
| | | method: 'get', |
| | | params: { |
| | | ...data |
| | |
| | | |
| | | export const getGalarm = (dataG) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/page', |
| | | url: '/api/alarm/alarm/page', |
| | | method: 'get', |
| | | params: { |
| | | ...dataG |
| | |
| | | |
| | | export const getnum = (dataM) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/queryYearAlarm', |
| | | url: '/api/alarm/alarm/queryYearAlarm', |
| | | method: 'get', |
| | | params: { |
| | | ...dataM |
| | |
| | | }) |
| | | } |
| | | |
| | | export const getImg = (dataImg,methods) => { |
| | | export const getImg = (dataImg,methods) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/depl/selectInfo', |
| | | url: '/api/depl/selectInfo', |
| | | method: methods, |
| | | params: { |
| | | ...dataImg |
| | |
| | | }) |
| | | } |
| | | |
| | | export const getVideo = (deviceCode) => { |
| | | export const getVideo = (deviceCode) => { |
| | | return request({ |
| | | url: 'https://web.byisf.com:18000/GetPlayUrl', |
| | | method: 'get', |
| | |
| | | ...deviceCode |
| | | } |
| | | }) |
| | | } |
| | | } |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/district/district/list', |
| | | url: '/api/district/district/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/district/district/detail', |
| | | url: '/api/district/district/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/district/district/remove', |
| | | url: '/api/district/district/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/district/district/submit', |
| | | url: '/api/district/district/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/district/district/submit', |
| | | url: '/api/district/district/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/dj/dj/list', |
| | | url: '/api/dj/dj/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/dj/dj/detail', |
| | | url: '/api/dj/dj/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/dj/dj/remove', |
| | | url: '/api/dj/dj/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/dj/dj/submit', |
| | | url: '/api/dj/dj/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/dj/dj/submit', |
| | | url: '/api/dj/dj/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/list', |
| | | url: '/api/equipment/equipment/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getLazyList = (parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/lazy-list', |
| | | url: '/api/equipment/equipment/lazy-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/detail', |
| | | url: '/api/equipment/equipment/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/remove', |
| | | url: '/api/equipment/equipment/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/save', |
| | | url: '/api/equipment/equipment/save', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/update', |
| | | url: '/api/equipment/equipment/update', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getDeptTree = () => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/tree', |
| | | url: '/api/equipment/equipment/tree', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export const getDeptTrees = () => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/suser/suser/selectName', |
| | | url: '/api/suser/suser/selectName', |
| | | method: 'get', |
| | | }) |
| | | } |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/healthcode/healthcode/page', |
| | | url: '/api/healthcode/healthcode/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | size, |
| | | } |
| | | }) |
| | | } |
| | | } |
| | |
| | | |
| | | export const getList = (currentPage, pageSize, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/parcel/parcel/getParcelDetailPage', |
| | | url: '/api/parcel/parcel/getParcelDetailPage', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getKindList = (currentPage, pageSize, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/parcel/parcel/getParcelkindDetailPage', |
| | | url: '/api/parcel/parcel/getParcelkindDetailPage', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getParcelPic = (imgUrl) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/parcel/parcel/getParcelPic', |
| | | url: '/api/parcel/parcel/getParcelPic', |
| | | method: 'get', |
| | | params: { |
| | | imgUrl |
| | |
| | | |
| | | export const exportParcelStatis = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/parcel/parcel/export-parcelStatis', |
| | | url: '/api/parcel/parcel/export-parcelStatis', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | size, |
| | | } |
| | | }) |
| | | } |
| | | } |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/jingdan/jingdan/remove', |
| | | url: '/api/jingdan/jingdan/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/jingdan/jingdan/submit', |
| | | url: '/api/jingdan/jingdan/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/jingdan/jingdan/submit', |
| | | url: '/api/jingdan/jingdan/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getclient = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/jingdan/jingdan/detail', |
| | | url: '/api/jingdan/jingdan/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/jingdan/jingdan/page', |
| | | url: '/api/jingdan/jingdan/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/page', |
| | | url: '/api/alarm/alarm/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/remove', |
| | | url: '/api/alarm/alarm/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/submit', |
| | | url: '/api/alarm/alarm/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/submit', |
| | | url: '/api/alarm/alarm/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getclient = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/detail', |
| | | url: '/api/alarm/alarm/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/security/security/detail', |
| | | url: '/api/security/security/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/security/security/remove', |
| | | url: '/api/security/security/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/security/security/submit', |
| | | url: '/api/security/security/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/security/security/submit', |
| | | url: '/api/security/security/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | | } |
| | |
| | | |
| | | export const selectIndexCount = (params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/catalogs/catalogs/selectIndexCount', |
| | | url: '/api/catalogs/catalogs/selectIndexCount', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const selectAlertScount = (params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/selectAlertScount', |
| | | url: '/api/alarm/alarm/selectAlertScount', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const selAlarmDayAveragePro = (params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/selAlarmDayAveragePro', |
| | | url: '/api/alarm/alarm/selAlarmDayAveragePro', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const selConfirmTimePro = (params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/selConfirmTimePro', |
| | | url: '/api/alarm/alarm/selConfirmTimePro', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const selAlarmTimeDis = (params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/selAlarmTimeDis', |
| | | url: '/api/alarm/alarm/selAlarmTimeDis', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | } |
| | | }) |
| | | } |
| | | } |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/street/street/page', |
| | | url: '/api/street/street/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/street/street/detail', |
| | | url: '/api/street/street/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/street/street/remove', |
| | | url: '/api/street/street/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/street/street/submit', |
| | | url: '/api/street/street/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/street/street/submit', |
| | | url: '/api/street/street/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (res) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/listAll', |
| | | url: '/api/equipment/equipment/listAll', |
| | | method: 'get', |
| | | params: {...res} |
| | | }) |
| | | } |
| | | } |
| | |
| | | |
| | | export const getList = () => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/selectListSe', |
| | | url: '/api/alarm/alarm/selectListSe', |
| | | method: 'get', |
| | | params: {} |
| | | }) |
| | |
| | | |
| | | export const getEquipmentList = () => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/selectEq', |
| | | url: '/api/alarm/alarm/selectEq', |
| | | method: 'get', |
| | | params: {} |
| | | }) |
| | |
| | | |
| | | export const getDayWarnList = () => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/alarm/alarm/selectAlertScount', |
| | | url: '/api/alarm/alarm/selectAlertScount', |
| | | method: 'get', |
| | | params: {} |
| | | }) |
| | |
| | | |
| | | export const getEquipments = () => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/SeleCs', |
| | | url: '/api/equipment/equipment/SeleCs', |
| | | method: 'post', |
| | | params: {} |
| | | }) |
| | |
| | | |
| | | export const getEquipment = () => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/SeleC', |
| | | url: '/api/equipment/equipment/SeleC', |
| | | method: 'post', |
| | | params: {} |
| | | }) |
| | | } |
| | | } |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/suser/suser/list', |
| | | url: '/api/suser/suser/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/suser/suser/details', |
| | | url: '/api/suser/suser/details', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/suser/suser/remove', |
| | | url: '/api/suser/suser/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/suser/suser/save', |
| | | url: '/api/suser/suser/save', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/suser/suser/update', |
| | | url: '/api/suser/suser/update', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/task/task/page', |
| | | url: '/api/task/task/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/task/task/selectInfo', |
| | | url: '/api/task/task/selectInfo', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/task/task/remove', |
| | | url: '/api/task/task/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/task/task/insertTask', |
| | | url: '/api/task/task/insertTask', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/task/task/submit', |
| | | url: '/api/task/task/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/zc/list', |
| | | url: '/api/zc/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/zc/detail', |
| | | url: '/api/zc/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/zc/remove', |
| | | url: '/api/zc/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/zc/submit', |
| | | url: '/api/zc/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/zc/submit', |
| | | url: '/api/zc/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const inster = (row) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/zc/inster', |
| | | url: '/api/zc/inster', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | axios({ |
| | | method: "post", |
| | | url: "/api/blade-jfpts/xlfeedback/xlfeedback/put-objecty", |
| | | url: "/api/xlfeedback/xlfeedback/put-objecty", |
| | | data: wavformData, |
| | | params: { |
| | | jid: that.form.id, |
| | |
| | | |
| | | axios |
| | | .post( |
| | | "/api/blade-jfpts/alarm/alarm/updateJtype", |
| | | "/api/alarm/alarm/updateJtype", |
| | | {}, |
| | | { |
| | | params: { |
| | |
| | | that.dialogTableVisible = false; |
| | | axios({ |
| | | method: "post", |
| | | url: `/api/blade-jfpts/rvideo/stop`, |
| | | url: `/api/rvideo/stop`, |
| | | params: { |
| | | jid: row.id, |
| | | }, |
| | |
| | | query: that.form, |
| | | }); |
| | | }, 10); |
| | | |
| | | |
| | | } else { |
| | | that.$router.push({ |
| | | path: "/policeTracking/track", |
| | |
| | | layerRealtime(jid) { |
| | | var that = this; |
| | | axios({ |
| | | url: "/api/blade-jfpts/alarm/alarm/page", |
| | | url: "/api/alarm/alarm/page", |
| | | method: "get", |
| | | params: { |
| | | id: jid, |
| | |
| | | var that = this; |
| | | axios |
| | | .post( |
| | | "/api/blade-jfpts/alarm/alarm/updateJtype", |
| | | "/api/alarm/alarm/updateJtype", |
| | | {}, |
| | | { |
| | | params: { |
| | |
| | | |
| | | axios({ |
| | | method: "post", |
| | | url: `/api/blade-jfpts/rvideo/stop`, |
| | | url: `/api/rvideo/stop`, |
| | | params: { |
| | | jid: row.id, |
| | | }, |
| | |
| | | |
| | | axios({ |
| | | method: "post", |
| | | url: "/api/blade-jfpts/xlfeedback/xlfeedback/put-objecty", |
| | | url: "/api/xlfeedback/xlfeedback/put-objecty", |
| | | data: wavformData, |
| | | params: { |
| | | jid: that.form.id, |
| | |
| | | .then((result) => { |
| | | axios({ |
| | | method: "post", |
| | | url: `/api/blade-jfpts/rvideo/rVoids`, |
| | | url: `/api/rvideo/rVoids`, |
| | | params: { |
| | | url: result.data.data.flv, |
| | | uid: userId, |
| | |
| | | prop: "alarmId", |
| | | searchSpan: 4, |
| | | type: "tree", |
| | | dicUrl: "/api/blade-jfpts/security/security/selectry", |
| | | dicUrl: "/api/security/security/selectry", |
| | | props: { |
| | | label: "sname", |
| | | value: "snumber" |
| | |
| | | prop: "addvcd", |
| | | search: true, |
| | | type: "tree", |
| | | dicUrl: "/api/blade-jfpts/district/district/selectd", |
| | | dicUrl: "/api/district/district/selectd", |
| | | props: { |
| | | label: "addvnm", |
| | | value: "addvcds" |
| | |
| | | let endTime = this.$route.query.endTime==undefined? '':this.$route.query.endTime; |
| | | let status = this.$route.query.status==undefined? '':this.$route.query.status; |
| | | let timeDesc = this.$route.query.timeDesc==undefined? '':this.$route.query.timeDesc; |
| | | window.open(`/api/blade-jfpts/animalHeat/animalHeat/export-animalHeat?begTime=${begTime}&endTime=${endTime}&status=${status}&timeDesc=${timeDesc}`); |
| | | window.open(`/api/animalHeat/animalHeat/export-animalHeat?begTime=${begTime}&endTime=${endTime}&status=${status}&timeDesc=${timeDesc}`); |
| | | }); |
| | | }, |
| | | //数据报表导出 |
| | |
| | | let endTime = this.$route.query.endTime==undefined? '':this.$route.query.endTime; |
| | | let status = this.$route.query.status==undefined? '':this.$route.query.status; |
| | | let timeDesc = this.$route.query.timeDesc==undefined? '':this.$route.query.timeDesc; |
| | | //window.open(`/api/blade-jfpts/animalHeat/animalHeat/getAnimalHeatStatis?begTime=${begTime}&endTime=${endTime}&status=${status}&timeDesc=${timeDesc}`); |
| | | //window.open(`/api/animalHeat/animalHeat/getAnimalHeatStatis?begTime=${begTime}&endTime=${endTime}&status=${status}&timeDesc=${timeDesc}`); |
| | | window.open(`https://web.byisf.com/api/blade-report/ureport/preview?_u=blade-animalHeat.statis.ureport.xml&begTime=${begTime}&endTime=${endTime}&status=${status}&timeDesc=${timeDesc}`); |
| | | }, |
| | | //修改行颜色 |
| | |
| | | } |
| | | this.activeClass=4; |
| | | } |
| | | |
| | | |
| | | //初始进入默认展示当天数据 |
| | | if(this.activeClass==0 && this.query.dateTime==null){ |
| | | params = { |
| | |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }).then(() => { |
| | | window.open(`/api/blade-jfpts/attendance/export-Attendance?name=${this.search.name}&beginTime=${this.search.releaseTimeRange[0]} |
| | | window.open(`/api/attendance/export-Attendance?name=${this.search.name}&beginTime=${this.search.releaseTimeRange[0]} |
| | | &endTime=${this.search.releaseTimeRange[1]}&attendancetype=${this.search.attendancetype}`); |
| | | }); |
| | | }, |
| | |
| | | label: "上级菜单", |
| | | prop: "pid", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-jfpts/catalogs/catalogs/tree", |
| | | dicUrl: "/api/catalogs/catalogs/tree", |
| | | hide: true, |
| | | props: { |
| | | label: "title" |
| | |
| | | this.eventDetails = useD; |
| | | }, |
| | | getdata() { |
| | | // const url = `/api/blade-jfpts/equipment/equipment/pageDept?deviceName=${this.myDeviceNumber}¤t=1&size=10&pid=` |
| | | // const url = `/api/equipment/equipment/pageDept?deviceName=${this.myDeviceNumber}¤t=1&size=10&pid=` |
| | | // axios.get(url) |
| | | var that = this; |
| | | var data = { |
| | |
| | | if (manufacturer == "HK"){ |
| | | axios |
| | | .get( |
| | | `/api/blade-jfpts/equipment/equipment/selectEquimentPlayInfo?number=${deviceNumber}&bmp=m3u8&manufacturer=${manufacturer}` |
| | | `/api/equipment/equipment/selectEquimentPlayInfo?number=${deviceNumber}&bmp=m3u8&manufacturer=${manufacturer}` |
| | | ) |
| | | .then((result) => { |
| | | that.videoSource = result.data.data.address; |
| | |
| | | |
| | | newAxios |
| | | .post( |
| | | "/api/blade-jfpts/jingdan/jingdan/updateInfo", |
| | | "/api/jingdan/jingdan/updateInfo", |
| | | {}, |
| | | { |
| | | params: { |
| | |
| | | |
| | | newAxios |
| | | .post( |
| | | "/api/blade-jfpts/position/position/selectry?coordinate=" + |
| | | "/api/position/position/selectry?coordinate=" + |
| | | "point(" + |
| | | this.form.jd + |
| | | ", " + |
| | |
| | | label: "用户类型", |
| | | prop: "tnumber", |
| | | type: "select", |
| | | dicUrl: "/api/blade-jfpts/lx/lx/seleclx", |
| | | dicUrl: "/api/lx/lx/seleclx", |
| | | props: { |
| | | label: "types", |
| | | value: "tnumber" |
| | |
| | | width: 80, |
| | | prop: "addvcd", |
| | | type: "select", |
| | | dicUrl: "/api/blade-jfpts/district/district/selectd", |
| | | dicUrl: "/api/district/district/selectd", |
| | | props: { |
| | | label: "addvnm", |
| | | value: "addvcds" |
| | |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }).then(() => { |
| | | window.open(`/api/blade-jfpts/healthcode/healthcode/export-healthcode?begTime=${this.$route.query.startTime}&endTime=${this.$route.query.endTime}&type=${this.$route.query.type}&timeDesc=${this.$route.query.timeDesc}`); |
| | | window.open(`/api/healthcode/healthcode/export-healthcode?begTime=${this.$route.query.startTime}&endTime=${this.$route.query.endTime}&type=${this.$route.query.type}&timeDesc=${this.$route.query.timeDesc}`); |
| | | }); |
| | | }, |
| | | //数据报表导出 |
| | |
| | | icon="el-icon-download" |
| | | @click="handleExport">导出 |
| | | </el-button> |
| | | |
| | | |
| | | <el-button type="warning" |
| | | size="small" |
| | | plain |
| | |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }).then(() => { |
| | | window.open(`/api/blade-jfpts/parcel/parcel/export-parcel?startTime=${this.$route.query.startTime}&endTime=${this.$route.query.endTime}&decisioDiagramResult=${this.$route.query.decisioDiagramResult}`); |
| | | window.open(`/api/parcel/parcel/export-parcel?startTime=${this.$route.query.startTime}&endTime=${this.$route.query.endTime}&decisioDiagramResult=${this.$route.query.decisioDiagramResult}`); |
| | | }); |
| | | }, |
| | | //数据报表导出 |
| | |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }).then(() => { |
| | | window.open(`/api/blade-jfpts/parcel/parcel/export-parcelKind?startTime=${this.$route.query.startTime}&endTime=${this.$route.query.endTime}&decisioDiagramResult=${this.$route.query.decisioDiagramResult}&timeDesc=${this.$route.query.timeDesc}`); |
| | | window.open(`/api/parcel/parcel/export-parcelKind?startTime=${this.$route.query.startTime}&endTime=${this.$route.query.endTime}&decisioDiagramResult=${this.$route.query.decisioDiagramResult}&timeDesc=${this.$route.query.timeDesc}`); |
| | | }); |
| | | }, |
| | | //数据报表导出 |
| | |
| | | multiple: true, |
| | | leafOnly: "", |
| | | span: 24, |
| | | dicUrl: "/api/blade-jfpts/catalogs/catalogs/getBigTree", |
| | | dicUrl: "/api/catalogs/catalogs/getBigTree", |
| | | props: { |
| | | label: "title" |
| | | }, |
| | |
| | | } |
| | | |
| | | axios({ |
| | | url: '/api/blade-jfpts/alarm/alarm/submit', |
| | | url: '/api/alarm/alarm/submit', |
| | | method: 'post', |
| | | data: that.form |
| | | }).then((resdata) => { |
| | |
| | | |
| | | getReceivingAlarm() { |
| | | axios |
| | | .get(`/api/blade-jfpts/operation/list?jid=${this.form.id}`) |
| | | .get(`/api/operation/list?jid=${this.form.id}`) |
| | | .then((res) => { |
| | | this.receivingList = res.data.data.records; |
| | | }); |
| | |
| | | getAudios() { |
| | | axios({ |
| | | method: "get", |
| | | url: "/api/blade-jfpts/avideo/list", |
| | | url: "/api/avideo/list", |
| | | params: { |
| | | jid: this.form.id, |
| | | }, |
| | |
| | | getImgAndVideo() { |
| | | axios({ |
| | | method: "post", |
| | | url: "/api/blade-jfpts/feedback/feedback/selectFeedEdit", |
| | | url: "/api/feedback/feedback/selectFeedEdit", |
| | | params: { |
| | | jid: this.form.id, |
| | | }, |
| | |
| | | var that = this; |
| | | axios({ |
| | | method: "get", |
| | | url: "/api/blade-jfpts/alarm/alarm/page", |
| | | url: "/api/alarm/alarm/page", |
| | | params: { |
| | | id: that.form.id, |
| | | }, |
| | |
| | | prop: "securityArr", |
| | | type: "tree", |
| | | multiple: true, |
| | | dicUrl: "/api/blade-jfpts/catalogs/catalogs/getBigTree", |
| | | dicUrl: "/api/catalogs/catalogs/getBigTree", |
| | | props: { |
| | | label: "title" |
| | | }, |
| | |
| | | type: "warning", |
| | | }).then(() => { |
| | | window.open( |
| | | `/api/blade-jfpts/alarm/alarm/export-alarm?beginTime=${this.$route.query.startTime}&endTime=${this.$route.query.endTime}&waringType=${this.$route.query.waringType}&timeDesc=${this.$route.query.timeDesc}` |
| | | `/api/alarm/alarm/export-alarm?beginTime=${this.$route.query.startTime}&endTime=${this.$route.query.endTime}&waringType=${this.$route.query.waringType}&timeDesc=${this.$route.query.timeDesc}` |
| | | ); |
| | | }); |
| | | }, |
| | |
| | | prop: "addvcd", |
| | | search: true, |
| | | type: "tree", |
| | | dicUrl: "/api/blade-jfpts/district/district/selectd", |
| | | dicUrl: "/api/district/district/selectd", |
| | | props: { |
| | | label: "addvnm", |
| | | value: "addvcds" |
| | |
| | | width:70, |
| | | prop: "type", |
| | | type: "select", |
| | | dicUrl: "/api/blade-jfpts/lx/lx/seleclx", |
| | | dicUrl: "/api/lx/lx/seleclx", |
| | | props: { |
| | | label: "types", |
| | | value: "tnumber" |