No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

2 líneas
3.3 KiB

  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/learning/Keywordsearch"],{342:function(t,e,n){"use strict";(function(t){n(5),n(6);r(n(4));var e=r(n(343));function r(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n(1)["createPage"])},343:function(t,e,n){"use strict";n.r(e);var r=n(344),o=n(346);for(var s in o)"default"!==s&&function(t){n.d(e,t,(function(){return o[t]}))}(s);var i,a=n(17),c=Object(a["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"34931b39",null,!1,r["components"],i);c.options.__file="pages/learning/Keywordsearch.vue",e["default"]=c.exports},344:function(t,e,n){"use strict";n.r(e);var r=n(345);n.d(e,"render",(function(){return r["render"]})),n.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(e,"components",(function(){return r["components"]}))},345:function(t,e,n){"use strict";var r;n.r(e),n.d(e,"render",(function(){return o})),n.d(e,"staticRenderFns",(function(){return i})),n.d(e,"recyclableRender",(function(){return s})),n.d(e,"components",(function(){return r}));var o=function(){var t=this,e=t.$createElement;t._self._c},s=!1,i=[];o._withStripped=!0},346:function(t,e,n){"use strict";n.r(e);var r=n(347),o=n.n(r);for(var s in r)"default"!==s&&function(t){n.d(e,t,(function(){return r[t]}))}(s);e["default"]=o.a},347:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n(67),n(11);var r={data:function(){return{customerId:"",listarr:[],keyword:"",skpl:"",disabled:!1}},onLoad:function(t){this.customerId=t.customerId,this.keyword=t.keyword,this.skpl=t.skpl,2==this.skpl?(this.searchinfo(),this.disabled=!0):this.disabled=!1},methods:{formatTime:function(t){t=t.toFixed(0);var e=t%60;e<10&&(e="0"+e);var n=Math.floor(t/60);return n<10&&(n="0"+n),n+":"+e},searchinfo:function(){var t=this;if(0!=this.keyword.length){var e={keyword:this.keyword,customerId:this.customerId};this.$u.post("/corpus/keyWordsMatching",e).then((function(e){e.forEach((function(t){t.Content=JSON.parse(t.transferContent)})),e.forEach((function(e){e.Content.time=t.formatTime(e.Content.bg/1e3),e.Content.text=t.brightKeyword(e.Content.onebest)})),t.listarr=e}))}},brightKeyword:function(t){return-1!==t.indexOf(this.keyword)?t.replace(this.keyword,"<font style='color: red'>".concat(this.keyword,"</font>")):t},toaidoinfo:function(t,e,n){if(t.customerId=this.customerId,t.id=e,t.index=n,2==this.skpl)this.infostust(t);else{var r=getCurrentPages(),o=r[r.length-2];o.setData({info:t}),wx.navigateBack({delta:1})}},infostust:function(e){console.log("zobudao");var n=JSON.parse(JSON.stringify([e]));n[0].onebest="";var r={pageNum:1,pageSize:100,query:{customerId:this.customerId}};this.$u.post("/corpus/findByPage",r).then((function(e){if(0==e[0].merge){var r=e[0];t.navigateTo({url:"/pages/main/details2?customerId=".concat(r.customerId,"&status=").concat(r.status,"&itemobj=").concat(JSON.stringify(n[0]),"&stateisshow=","2")})}else{var o=e[0];t.navigateTo({url:"/pages/main/details?customerId=".concat(o.customerId,"&status=").concat(o.status,"&itemobj=").concat(JSON.stringify(n[0]),"&stateisshow=","2")})}}))}}};e.default=r}).call(this,n(1)["default"])}},[[342,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/learning/Keywordsearch.js.map